Automated clustering of cascading test defects, regulatory cross-referencing against RBI/PMLA statutes, and verified one-pass code remediation.
| Cluster | Impacted Tests | Root Cause Defect | Code Fix | Compliance | |
|---|---|---|---|---|---|
| Cluster A: Time Span | 5 tests velocity + compression |
compute_time_span_hours() divides by 60 instead of 3600 |
/60 → /3600 |
P0 PMLA | |
| Cluster B: Structuring | 3 tests reporting line checks |
Upper bound hardcoded as 49.5L instead of 51L constant | 49_50_000 → UPPER |
P0 RBI | |
| Cluster C: Circular | 1 test loop detection |
Compares first.sender == last.sender instead of receiver |
.sender → .receiver |
P1 RBI |
RISK_SCORING.md
Clusters investigated concurrently