{
 "checks": {
  "totals": {
   "main": {
    "caught": 8,
    "of": 19,
    "share": 0.42105263157894735
   },
   "main_code": {
    "caught": 8,
    "of": 13,
    "share": 0.6153846153846154
   },
   "main_rule": {
    "caught": 0,
    "of": 6,
    "share": 0.0
   },
   "fresh": {
    "caught": 17,
    "of": 40,
    "share": 0.425
   },
   "fresh_code": {
    "caught": 17,
    "of": 33,
    "share": 0.5151515151515151
   },
   "fresh_rule": {
    "caught": 0,
    "of": 7,
    "share": 0.0
   }
  },
  "totals_by_status": {
   "main": {
    "caught": 9,
    "of": 19,
    "share": 0.47368421052631576
   },
   "main_code": {
    "caught": 9,
    "of": 13,
    "share": 0.6923076923076923
   },
   "main_rule": {
    "caught": 0,
    "of": 6,
    "share": 0.0
   },
   "fresh": {
    "caught": 19,
    "of": 40,
    "share": 0.475
   },
   "fresh_code": {
    "caught": 19,
    "of": 33,
    "share": 0.5757575757575758
   },
   "fresh_rule": {
    "caught": 0,
    "of": 7,
    "share": 0.0
   }
  },
  "target_rules": {
   "main": {
    "caught": 15,
    "of": 19,
    "share": 0.7894736842105263
   },
   "main_code": {
    "caught": 10,
    "of": 13,
    "share": 0.7692307692307693
   },
   "main_rule": {
    "caught": 5,
    "of": 6,
    "share": 0.8333333333333334
   },
   "fresh": {
    "caught": 22,
    "of": 40,
    "share": 0.55
   },
   "fresh_code": {
    "caught": 19,
    "of": 33,
    "share": 0.5757575757575758
   },
   "fresh_rule": {
    "caught": 3,
    "of": 7,
    "share": 0.42857142857142855
   }
  },
  "code_census": {
   "main": {
    "caught": 2,
    "of": 19,
    "share": 0.10526315789473684
   },
   "main_code": {
    "caught": 0,
    "of": 13,
    "share": 0.0
   },
   "main_rule": {
    "caught": 2,
    "of": 6,
    "share": 0.3333333333333333
   },
   "fresh": {
    "caught": 0,
    "of": 40,
    "share": 0.0
   },
   "fresh_code": {
    "caught": 0,
    "of": 33,
    "share": 0.0
   },
   "fresh_rule": {
    "caught": 0,
    "of": 7,
    "share": 0.0
   }
  },
  "record_compare": {
   "main": {
    "caught": 13,
    "of": 19,
    "share": 0.6842105263157895
   },
   "main_code": {
    "caught": 13,
    "of": 13,
    "share": 1.0
   },
   "main_rule": {
    "caught": 0,
    "of": 6,
    "share": 0.0
   },
   "fresh": {
    "caught": 33,
    "of": 40,
    "share": 0.825
   },
   "fresh_code": {
    "caught": 33,
    "of": 33,
    "share": 1.0
   },
   "fresh_rule": {
    "caught": 0,
    "of": 7,
    "share": 0.0
   }
  },
  "cheap_set": {
   "main": {
    "caught": 17,
    "of": 19,
    "share": 0.8947368421052632
   },
   "main_code": {
    "caught": 12,
    "of": 13,
    "share": 0.9230769230769231
   },
   "main_rule": {
    "caught": 5,
    "of": 6,
    "share": 0.8333333333333334
   },
   "fresh": {
    "caught": 25,
    "of": 40,
    "share": 0.625
   },
   "fresh_code": {
    "caught": 22,
    "of": 33,
    "share": 0.6666666666666666
   },
   "fresh_rule": {
    "caught": 3,
    "of": 7,
    "share": 0.42857142857142855
   }
  },
  "sample_60": {
   "main_expected": 16.99254517480871,
   "main_below_half": [
    "M04",
    "M15"
   ],
   "fresh_expected": 31.54223837117277,
   "fresh_below_half": [
    "F01",
    "F02",
    "F13",
    "F22",
    "F26",
    "F29",
    "F30",
    "F34",
    "F35"
   ],
   "main_seeded": 19,
   "fresh_seeded": 34
  },
  "sample_200": {
   "main_expected": 18.30497842638959,
   "main_below_half": [],
   "fresh_expected": 34.79082880425169,
   "fresh_below_half": [
    "F02",
    "F13",
    "F29",
    "F34",
    "F35"
   ],
   "main_seeded": 19,
   "fresh_seeded": 35
  }
 },
 "combinations": {
  "cheap_set_plus_record_compare": {
   "main": {
    "caught": 18,
    "of": 19,
    "missed": [
     "M14"
    ],
    "plus_sample_60_expected": 18.9999936755176
   },
   "fresh": {
    "caught": 36,
    "of": 40,
    "missed": [
     "F10",
     "F16",
     "F21",
     "F32"
    ],
    "plus_sample_60_expected": 39.78082918791833
   }
  },
  "every_automated_check": {
   "main": {
    "caught": 18,
    "of": 19,
    "missed": [
     "M14"
    ],
    "plus_sample_60_expected": 18.9999936755176
   },
   "fresh": {
    "caught": 36,
    "of": 40,
    "missed": [
     "F10",
     "F16",
     "F21",
     "F32"
    ],
    "plus_sample_60_expected": 39.78082918791833
   }
  }
 },
 "predictions_scored": {
  "P1": {
   "value": 11,
   "held": true
  },
  "P2": {
   "value": [
    false,
    false
   ],
   "held": true
  },
  "P3": {
   "value": [
    13,
    0
   ],
   "held": true
  },
  "P4": {
   "value": 5,
   "held": true
  },
  "P5": {
   "value": 2,
   "held": true
  },
  "P6": {
   "value": 2,
   "held": false
  },
  "P7": {
   "value": 17,
   "held": true
  },
  "P8": {
   "value": {
    "totals": 0.4,
    "target_rules": 23.9,
    "cheap_set": 27.0
   },
   "held": false
  }
 },
 "prediction_text": {
  "P1": "Totals (count and sums per source) do not fire on at least 9 of the 19 main faults.",
  "P2": "Totals do not fire on either of the two dictionary faults (M18, M19).",
  "P3": "The record compare fires on all 13 code faults and on none of the 6 rule faults (bookkeeping: true by construction if the two implementations agree on the correct conversion).",
  "P4": "Target rules catch at least 4 of the 6 rule faults.",
  "P5": "Totals by status catch at most 2 faults that totals per source miss.",
  "P6": "For at least 3 of the 19 main faults, a sample of 60 records per source has less than a 50% chance of drawing an affected record.",
  "P7": "The cheap set (totals, target rules and the code census) catches at least 15 of the 19 main faults.",
  "P8": "On the 40 fresh faults, the catch shares of totals, of target rules and of the cheap set are each within 15 percentage points of their shares on the main set.",
  "P9": "Matching on normalized name and state links at least 90% of 7(a) lender locations that carry an FDIC certificate to the right institution, with precision of at least 98%.",
  "P10": "On the true SBA to FDIC pairs, the city differs for at least 15% of lender locations."
 },
 "reversal": {
  "totals_alone_fresh_share": 0.425,
  "totals_alone_enough": false,
  "fresh_chargeoff_faults": [
   "F03",
   "F05",
   "F07",
   "F08",
   "F13",
   "F15",
   "F17",
   "F18",
   "F19",
   "F22",
   "F25",
   "F28",
   "F30",
   "F34",
   "F38"
  ],
  "fresh_chargeoff_missed_by_cheap_set": [
   "F08"
  ],
  "cheap_set_miss_share_on_chargeoff_faults": 0.06666666666666667,
  "add_record_compare_to_gate": false
 },
 "main_chargeoff_faults": [
  "M03",
  "M04",
  "M09",
  "M10",
  "M12",
  "M13",
  "M15",
  "M16",
  "M19"
 ],
 "main_chargeoff_missed_by_totals": [
  "M03",
  "M04",
  "M19"
 ],
 "main_chargeoff_missed_by_cheap_set": [],
 "fresh_draws": 41,
 "fresh_redraws": [
  "paid_in_full_date and chargeoff_date swapped for 504 rows with LoanStatus = CANCLD"
 ],
 "fresh_identical_pairs": [
  [
   "F19",
   "F25"
  ]
 ],
 "correct": {
  "stakes": {
   "504": {
    "chargeoff_reported_usd": 519115624.44,
    "chargeoffs": 935,
    "disbursed": 96432,
    "chargeoff_rate_count": 0.009695951551352248,
    "chargeoff_rate_principal": 0.009253038925156078,
    "hmda_originations": 0
   },
   "7A": {
    "chargeoff_reported_usd": 1099161613.4,
    "chargeoffs": 8202,
    "disbursed": 329224,
    "chargeoff_rate_count": 0.024913129054989915,
    "chargeoff_rate_principal": 0.007959830798573516,
    "hmda_originations": 0
   },
   "HMDA": {
    "chargeoff_reported_usd": 0.0,
    "chargeoffs": 0,
    "disbursed": 0,
    "chargeoff_rate_count": null,
    "chargeoff_rate_principal": null,
    "hmda_originations": 24577
   }
  },
  "rule_failures": {
   "R01": 0,
   "R02": 0,
   "R03": 0,
   "R04": 0,
   "R05": 1,
   "R06": 0,
   "R07": 0,
   "R08": 18,
   "R09": 0,
   "R10": 11,
   "R11": 0,
   "R12": 1,
   "R13": 2,
   "R14": 0,
   "R15": 0,
   "R16": 0,
   "R17": 0,
   "R18": 0,
   "R19": 487
  },
  "by_source": {
   "7A": 403644,
   "HMDA": 45597,
   "504": 119599
  },
  "exact_duplicates": {
   "504": 58,
   "7A": 396,
   "HMDA": 102
  },
  "status": [
   [
    "504",
    "active",
    58081,
    48520773540.0
   ],
   [
    "504",
    "cancelled",
    15324,
    13567424000.0
   ],
   [
    "504",
    "charged_off",
    935,
    702960000.0
   ],
   [
    "504",
    "closed_other",
    2,
    1482000.0
   ],
   [
    "504",
    "paid_in_full",
    37416,
    26746983290.0
   ],
   [
    "504",
    "undisbursed",
    7841,
    10876711000.0
   ],
   [
    "7A",
    "active",
    246422,
    136951051818.0
   ],
   [
    "7A",
    "cancelled",
    52939,
    24560178000.0
   ],
   [
    "7A",
    "charged_off",
    8202,
    1422489900.0
   ],
   [
    "7A",
    "paid_in_full",
    74600,
    40335018300.0
   ],
   [
    "7A",
    "undisbursed",
    21481,
    9865649200.0
   ],
   [
    "HMDA",
    "approved_not_accepted",
    1524,
    345603000.0
   ],
   [
    "HMDA",
    "denied",
    5248,
    1015368000.0
   ],
   [
    "HMDA",
    "incomplete",
    1203,
    254479000.0
   ],
   [
    "HMDA",
    "originated",
    24577,
    5642606000.0
   ],
   [
    "HMDA",
    "purchased",
    8242,
    1813585000.0
   ],
   [
    "HMDA",
    "withdrawn",
    4803,
    1094657000.0
   ]
  ],
  "census_with_dictionary_maps": {
   "fires": true,
   "unmapped": {
    "7A.LoanStatus.status_map": {
     "P I F": 74600
    },
    "7A.RevolverStatus.revolver_map": {
     "N": 296990,
     "Y": 106654
    }
   }
  }
 },
 "main": [
  {
   "id": "M01",
   "layer": "code",
   "name": "504 undisbursed and closed loans dropped by a hard-coded status filter",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 7843,
   "affected_by_source": {
    "7A": 0,
    "504": 7843,
    "HMDA": 0
   },
   "principal_affected_usd": 10878193000.0,
   "p_sample_60": 0.9829334077273048,
   "p_sample_200": 0.9999987306454301,
   "rules_moved": {},
   "totals_diffs": {
    "504.count": -7843,
    "504.principal": -10878193000.0
   },
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M02",
   "layer": "code",
   "name": "7(a) cancelled code misspelled in a CASE, so cancelled loans get no status",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 52939,
   "affected_by_source": {
    "7A": 52939,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 24560178000.0,
   "p_sample_60": 0.9997830698664802,
   "p_sample_200": 0.9999999999993898,
   "rules_moved": {
    "R02": 52939
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M03",
   "layer": "rule",
   "name": "charge-off mapped to closed for both SBA programs",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": false,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 9137,
   "affected_by_source": {
    "7A": 8202,
    "504": 935,
    "HMDA": 0
   },
   "principal_affected_usd": 2125449900.0,
   "p_sample_60": 0.8178397911978607,
   "p_sample_200": 0.9965791711947921,
   "rules_moved": {
    "R09": 9125,
    "R10": -11,
    "R11": 9126
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": -1099161613.4,
     "rate_count": 0.0,
     "rate_principal": 0.0,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": -519115624.44,
     "rate_count": 0.0,
     "rate_principal": 0.0,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M04",
   "layer": "code",
   "name": "504 charge-offs mapped to paid in full by a CASE typo",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 935,
   "affected_by_source": {
    "7A": 0,
    "504": 935,
    "HMDA": 0
   },
   "principal_affected_usd": 702960000.0,
   "p_sample_60": 0.37563944505490043,
   "p_sample_200": 0.7921657856640545,
   "rules_moved": {
    "R09": 935,
    "R11": 935,
    "R12": 935
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": -519115624.44,
     "rate_count": 0.0,
     "rate_principal": 0.0,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M05",
   "layer": "rule",
   "name": "HMDA loan amount documented as dollars (it is thousands)",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": false,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 45597,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 45597
   },
   "principal_affected_usd": 10166298000.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 45266
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M06",
   "layer": "code",
   "name": "HMDA loan amount multiplier left out of the SQL",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 45597,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 45597
   },
   "principal_affected_usd": 10166298000.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 45266
   },
   "totals_diffs": {
    "HMDA.principal": -10156131702.0
   },
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M07",
   "layer": "rule",
   "name": "HMDA applicant income documented as dollars (it is thousands)",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": false,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 38553,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 38553
   },
   "principal_affected_usd": 8267643000.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R16": 38405
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M08",
   "layer": "code",
   "name": "7(a) rate left in percent for fiscal year 2021 (one batch through an older script)",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 51821,
   "affected_by_source": {
    "7A": 51821,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 36529009200.0,
   "p_sample_60": 0.999737419155263,
   "p_sample_200": 0.9999999999988466,
   "rules_moved": {
    "R07": 51817
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M09",
   "layer": "code",
   "name": "lender lookup joined on bank name, so a loan fans out to every lender location sharing that name",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 35733,
   "affected_by_source": {
    "7A": 35733,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 16147759300.0,
   "p_sample_60": 0.9961587611777438,
   "p_sample_200": 0.9999999911534476,
   "rules_moved": {
    "R01": 69649,
    "R19": 36
   },
   "totals_diffs": {
    "7A.count": 69649,
    "7A.principal": 45153541100.0,
    "7A.guaranteed": 34537064478.08,
    "7A.chargeoff": 229304062.37
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 229304062.37,
     "rate_count": 0.023286384976525822,
     "rate_principal": 0.008004542514288062,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M10",
   "layer": "code",
   "name": "7(a) loans inner-joined to active FDIC institutions, so loans with no or an inactive certificate drop",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 43223,
   "affected_by_source": {
    "7A": 43223,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 22697350918.0,
   "p_sample_60": 0.9988819357655407,
   "p_sample_200": 0.9999999998555397,
   "rules_moved": {
    "R10": -1,
    "R13": -2,
    "R19": -32
   },
   "totals_diffs": {
    "7A.count": -43223,
    "7A.principal": -22697350918.0,
    "7A.guaranteed": -17455902353.19,
    "7A.chargeoff": -130830072.39
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": -130830072.39,
     "rate_count": 0.025805152841705876,
     "rate_principal": 0.007884993355290694,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M11",
   "layer": "code",
   "name": "SBA approval dates read with day and month swapped where the day is 12 or less",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 174736,
   "affected_by_source": {
    "7A": 132306,
    "504": 42430,
    "HMDA": 0
   },
   "principal_affected_usd": 102026866500.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R13": 266,
    "R14": 4595,
    "R15": 72825
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M12",
   "layer": "code",
   "name": "7(a) gross and guaranteed amounts swapped",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 403622,
   "affected_by_source": {
    "7A": 403622,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 213126647718.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 8,
    "R06": 403622,
    "R19": 6117
   },
   "totals_diffs": {
    "7A.principal": -52724494568.98,
    "7A.guaranteed": 52724494568.98
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007816142736357345,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M13",
   "layer": "code",
   "name": "charge-off amount read from the approved-amount column",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 8674,
   "affected_by_source": {
    "7A": 7739,
    "504": 935,
    "HMDA": 0
   },
   "principal_affected_usd": 2093263600.0,
   "p_sample_60": 0.8045897458809503,
   "p_sample_200": 0.9956768984154962,
   "rules_moved": {
    "R19": -487
   },
   "totals_diffs": {
    "7A.chargeoff": 323328286.6,
    "504.chargeoff": 183844375.56
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 323328286.6,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 183844375.56,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M14",
   "layer": "rule",
   "name": "HMDA purchased loans mapped as originations",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": false,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 8242,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 8242
   },
   "principal_affected_usd": 1813585000.0,
   "p_sample_60": 0.999993675517602,
   "p_sample_200": 1.0,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 32819
  },
  {
   "id": "M15",
   "layer": "code",
   "name": "rows identical in every field removed by a SELECT DISTINCT",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 556,
   "affected_by_source": {
    "7A": 396,
    "504": 58,
    "HMDA": 102
   },
   "principal_affected_usd": 190904200.0,
   "p_sample_60": 0.1994571639667364,
   "p_sample_200": 0.5239977672771884,
   "rules_moved": {},
   "totals_diffs": {
    "7A.count": -396,
    "7A.principal": -118794200.0,
    "7A.guaranteed": -88862790.0,
    "504.count": -58,
    "504.principal": -56053000.0,
    "HMDA.count": -102,
    "HMDA.principal": -16057000.0
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.02492130434254184,
     "rate_principal": 0.007960304264769612,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009696052099428606,
     "rate_principal": 0.009253069983607864,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24536
  },
  {
   "id": "M16",
   "layer": "code",
   "name": "504 amounts rounded to whole thousands",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 60858,
   "affected_by_source": {
    "7A": 0,
    "504": 60858,
    "HMDA": 0
   },
   "principal_affected_usd": 48352777830.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": -1,
    "R19": -3
   },
   "totals_diffs": {
    "504.principal": 170.0,
    "504.chargeoff": -2624.44
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": -2624.44,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038904450513,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M17",
   "layer": "code",
   "name": "charge-off dates one day early (a timestamp read in the wrong time zone)",
   "family": null,
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 9126,
   "affected_by_source": {
    "7A": 8191,
    "504": 935,
    "HMDA": 0
   },
   "principal_affected_usd": 2121953700.0,
   "p_sample_60": 0.817535489885364,
   "p_sample_200": 0.9965600821854019,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M18",
   "layer": "rule",
   "name": "revolver map written from the dictionary (0 and 1; the file writes N and Y)",
   "family": null,
   "dictionary": true,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": true,
    "record_compare": false,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 403644,
   "affected_by_source": {
    "7A": 403644,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 213134387218.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R17": 403644
   },
   "totals_diffs": {},
   "census_unmapped": {
    "7A.RevolverStatus.revolver_map": {
     "N": 296990,
     "Y": 106654
    }
   },
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "M19",
   "layer": "rule",
   "name": "status map written from the dictionary (PIF; the 7(a) file writes P I F)",
   "family": null,
   "dictionary": true,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": true,
    "record_compare": false,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 74600,
   "affected_by_source": {
    "7A": 74600,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 40335018300.0,
   "p_sample_60": 0.9999952696129639,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R02": 74600
   },
   "totals_diffs": {},
   "census_unmapped": {
    "7A.LoanStatus.status_map": {
     "P I F": 74600
    }
   },
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.032212203091617445,
     "rate_principal": 0.01028007148143234,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  }
 ],
 "fresh": [
  {
   "id": "F01",
   "layer": "code",
   "name": "chargeoff_date shifted - INTERVAL 1 DAY for every 504 row",
   "family": "shift_date",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 935,
   "affected_by_source": {
    "7A": 0,
    "504": 935,
    "HMDA": 0
   },
   "principal_affected_usd": 702960000.0,
   "p_sample_60": 0.37563944505490043,
   "p_sample_200": 0.7921657856640545,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F02",
   "layer": "code",
   "name": "principal_usd multiplied by 0.01 for a random 0.1% of HMDA rows",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": false,
    "sample_200_seeded": false
   },
   "affected": 54,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 54
   },
   "principal_affected_usd": 12573000.0,
   "p_sample_60": 0.06867360956223056,
   "p_sample_200": 0.21141654851547997,
   "rules_moved": {
    "R05": 7
   },
   "totals_diffs": {
    "HMDA.principal": -12447270.0
   },
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F03",
   "layer": "code",
   "name": "principal_usd and chargeoff_usd swapped for every 7A row",
   "family": "swap",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 403181,
   "affected_by_source": {
    "7A": 403181,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 213102200918.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 395463,
    "R06": 397096,
    "R09": 395442,
    "R19": 402321
   },
   "totals_diffs": {
    "7A.principal": -212035225604.6,
    "7A.chargeoff": 212035225604.6
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 323328286.6,
     "rate_count": 0.024913129054989915,
     "rate_principal": 1.0,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F04",
   "layer": "code",
   "name": "principal_usd and applicant_income_usd swapped for a random 2.0% of HMDA rows",
   "family": "swap",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 932,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 932
   },
   "principal_affected_usd": 210971000.0,
   "p_sample_60": 0.7105910031694458,
   "p_sample_200": 0.984068854774675,
   "rules_moved": {
    "R05": 143
   },
   "totals_diffs": {
    "HMDA.principal": -135850000.0
   },
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F05",
   "layer": "code",
   "name": "status left empty for every 504 row",
   "family": "null",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 119599,
   "affected_by_source": {
    "7A": 0,
    "504": 119599,
    "HMDA": 0
   },
   "principal_affected_usd": 100416333830.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R02": 119599,
    "R09": 935,
    "R11": 935,
    "R12": -1
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": -519115624.44,
     "rate_count": null,
     "rate_principal": null,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F06",
   "layer": "code",
   "name": "origination_date read with day and month swapped for 7A rows with FixedorVariableInterestInd = F",
   "family": "shift_date",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 20445,
   "affected_by_source": {
    "7A": 20445,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 10202574500.0,
   "p_sample_60": 0.9557971439038462,
   "p_sample_200": 0.9999695189152462,
   "rules_moved": {
    "R13": 79,
    "R14": 538,
    "R15": 8430
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F07",
   "layer": "code",
   "name": "principal_usd multiplied by 0.01 for 7A rows with RevolverStatus = Y",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 106654,
   "affected_by_source": {
    "7A": 106654,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 13517854400.0,
   "p_sample_60": 0.9999999899094341,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 68091,
    "R06": 106652,
    "R19": 3022
   },
   "totals_diffs": {
    "7A.principal": -13382675856.0
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007395676826331437,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F08",
   "layer": "code",
   "name": "7A code P I F converted to closed_other by the code",
   "family": "remap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": true,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 74600,
   "affected_by_source": {
    "7A": 74600,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 40335018300.0,
   "p_sample_60": 0.9999952696129639,
   "p_sample_200": 1.0,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.032212203091617445,
     "rate_principal": 0.01028007148143234,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F09",
   "layer": "rule",
   "name": "unit of 504.GrossApproval taken as 100 times the documented one",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": false,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 119599,
   "affected_by_source": {
    "7A": 0,
    "504": 119599,
    "HMDA": 0
   },
   "principal_affected_usd": 100416333830.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 61962,
    "R19": -57
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F10",
   "layer": "rule",
   "name": "HMDA code 4 mapped to denied in the rule document",
   "family": "remap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": false,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 4803,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 4803
   },
   "principal_affected_usd": 1094657000.0,
   "p_sample_60": 0.9987479704336952,
   "p_sample_200": 0.9999999997960052,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F11",
   "layer": "code",
   "name": "origination_date left empty for 504 rows with LoanStatus = PIF",
   "family": "null",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 37416,
   "affected_by_source": {
    "7A": 0,
    "504": 37416,
    "HMDA": 0
   },
   "principal_affected_usd": 26746983290.0,
   "p_sample_60": 0.9999999998339116,
   "p_sample_200": 1.0,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F12",
   "layer": "code",
   "name": "a random 10.0% of HMDA rows loaded twice",
   "family": "duplicate",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 4616,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 4616
   },
   "principal_affected_usd": 1052266000.0,
   "p_sample_60": 0.9983523071446248,
   "p_sample_200": 0.9999999994896818,
   "rules_moved": {
    "R01": 4616
   },
   "totals_diffs": {
    "HMDA.count": 4616,
    "HMDA.principal": 1052266000.0
   },
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 27134
  },
  {
   "id": "F13",
   "layer": "code",
   "name": "chargeoff_usd multiplied by 0.01 for a random 0.1% of 7A rows",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": false,
    "sample_200_seeded": false
   },
   "affected": 4,
   "affected_by_source": {
    "7A": 4,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 541200.0,
   "p_sample_60": 0.0005944531487921401,
   "p_sample_200": 0.0019804792923394654,
   "rules_moved": {},
   "totals_diffs": {
    "7A.chargeoff": -480983.13
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": -480983.13,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F14",
   "layer": "code",
   "name": "504 rows with LoanStatus = NOT FUNDED dropped",
   "family": "drop",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 7841,
   "affected_by_source": {
    "7A": 0,
    "504": 7841,
    "HMDA": 0
   },
   "principal_affected_usd": 10876711000.0,
   "p_sample_60": 0.982915067644212,
   "p_sample_200": 0.9999987260899589,
   "rules_moved": {},
   "totals_diffs": {
    "504.count": -7841,
    "504.principal": -10876711000.0
   },
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F15",
   "layer": "code",
   "name": "a random 2.0% of 7A rows loaded twice",
   "family": "duplicate",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 8042,
   "affected_by_source": {
    "7A": 8042,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 4406307600.0,
   "p_sample_60": 0.7010765960609184,
   "p_sample_200": 0.9821532123479815,
   "rules_moved": {
    "R01": 8042,
    "R19": 11
   },
   "totals_diffs": {
    "7A.count": 8042,
    "7A.principal": 4406307600.0,
    "7A.guaranteed": 3314409018.6,
    "7A.chargeoff": 18710040.76
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 18710040.76,
     "rate_count": 0.024850326154945937,
     "rate_principal": 0.007922516235708381,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F16",
   "layer": "rule",
   "name": "HMDA code 6 mapped to withdrawn in the rule document",
   "family": "remap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": false,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 8242,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 8242
   },
   "principal_affected_usd": 1813585000.0,
   "p_sample_60": 0.999993675517602,
   "p_sample_200": 1.0,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F17",
   "layer": "code",
   "name": "principal_usd multiplied by 0.001 for 504 rows with LoanStatus = EXEMPT",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 58081,
   "affected_by_source": {
    "7A": 0,
    "504": 58081,
    "HMDA": 0
   },
   "principal_affected_usd": 48520773540.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 43084
   },
   "totals_diffs": {
    "504.principal": -48472252766.46
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.025563609602910483,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F18",
   "layer": "code",
   "name": "every 504 row loaded twice",
   "family": "duplicate",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 119599,
   "affected_by_source": {
    "7A": 0,
    "504": 119599,
    "HMDA": 0
   },
   "principal_affected_usd": 100416333830.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R01": 119599,
    "R05": 1,
    "R12": 1,
    "R19": 57
   },
   "totals_diffs": {
    "504.count": 119599,
    "504.principal": 100416333830.0,
    "504.chargeoff": 519115624.44
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 519115624.44,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F19",
   "layer": "code",
   "name": "every 504 row dropped",
   "family": "drop",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 119599,
   "affected_by_source": {
    "7A": 0,
    "504": 119599,
    "HMDA": 0
   },
   "principal_affected_usd": 100416333830.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": -1,
    "R12": -1,
    "R19": -57
   },
   "totals_diffs": {
    "504.count": -119599,
    "504.principal": -100416333830.0,
    "504.chargeoff": -519115624.44
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": -519115624.44,
     "rate_count": null,
     "rate_principal": null
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F20",
   "layer": "code",
   "name": "lender_name left empty for 7A rows with FixedorVariableInterestInd = F",
   "family": "null",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 62249,
   "affected_by_source": {
    "7A": 62249,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 33502608718.0,
   "p_sample_60": 0.9999568309970649,
   "p_sample_200": 0.9999999999999972,
   "rules_moved": {
    "R18": 62249
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F21",
   "layer": "rule",
   "name": "HMDA code 5 mapped to denied in the rule document",
   "family": "remap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": false,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 1203,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 1203
   },
   "principal_affected_usd": 254479000.0,
   "p_sample_60": 0.799172474322816,
   "p_sample_200": 0.9952961858347195,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F22",
   "layer": "rule",
   "name": "504 code CHGOFF mapped to paid_in_full in the rule document",
   "family": "remap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": false,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 935,
   "affected_by_source": {
    "7A": 0,
    "504": 935,
    "HMDA": 0
   },
   "principal_affected_usd": 702960000.0,
   "p_sample_60": 0.37563944505490043,
   "p_sample_200": 0.7921657856640545,
   "rules_moved": {
    "R09": 935,
    "R11": 935,
    "R12": 935
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": -519115624.44,
     "rate_count": 0.0,
     "rate_principal": 0.0,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F23",
   "layer": "code",
   "name": "third_party_usd multiplied by 100 for 504 rows with LoanStatus = CANCLD",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 15275,
   "affected_by_source": {
    "7A": 0,
    "504": 15275,
    "HMDA": 0
   },
   "principal_affected_usd": 13500453000.0,
   "p_sample_60": 0.9997255523559709,
   "p_sample_200": 0.9999999999986795,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F24",
   "layer": "code",
   "name": "principal_usd and applicant_income_usd swapped for HMDA rows with action_taken = 3",
   "family": "swap",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 5233,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 5233
   },
   "principal_affected_usd": 1014139000.0,
   "p_sample_60": 0.9993373441990829,
   "p_sample_200": 0.9999999999756255,
   "rules_moved": {
    "R05": 207
   },
   "totals_diffs": {
    "HMDA.principal": -598478000.0
   },
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F25",
   "layer": "code",
   "name": "every 504 row dropped",
   "family": "drop",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 119599,
   "affected_by_source": {
    "7A": 0,
    "504": 119599,
    "HMDA": 0
   },
   "principal_affected_usd": 100416333830.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": -1,
    "R12": -1,
    "R19": -57
   },
   "totals_diffs": {
    "504.count": -119599,
    "504.principal": -100416333830.0,
    "504.chargeoff": -519115624.44
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": -519115624.44,
     "rate_count": null,
     "rate_principal": null
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F26",
   "layer": "code",
   "name": "third_party_usd multiplied by 0.01 for 504 rows with LoanStatus = CHGOFF",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 928,
   "affected_by_source": {
    "7A": 0,
    "504": 928,
    "HMDA": 0
   },
   "principal_affected_usd": 697564000.0,
   "p_sample_60": 0.37342517833983757,
   "p_sample_200": 0.7896972227148534,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F27",
   "layer": "code",
   "name": "lender_name cut to 20 characters for every 7A row",
   "family": "truncate",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 274358,
   "affected_by_source": {
    "7A": 274358,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 125241052500.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F28",
   "layer": "code",
   "name": "7A code CANCLD converted to paid_in_full by the code",
   "family": "remap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 52939,
   "affected_by_source": {
    "7A": 52939,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 24560178000.0,
   "p_sample_60": 0.9997830698664802,
   "p_sample_200": 0.9999999999993898,
   "rules_moved": {
    "R12": 52939
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.02146204629961561,
     "rate_principal": 0.006998075128867257,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F29",
   "layer": "code",
   "name": "record_kind left empty for a random 0.1% of HMDA rows",
   "family": "null",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": false,
    "sample_200_seeded": false
   },
   "affected": 45,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 45
   },
   "principal_affected_usd": 8852000.0,
   "p_sample_60": 0.05755907649967784,
   "p_sample_200": 0.17955735648312698,
   "rules_moved": {
    "R04": 45
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F30",
   "layer": "code",
   "name": "a random 0.5% of 504 rows dropped",
   "family": "drop",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 643,
   "affected_by_source": {
    "7A": 0,
    "504": 643,
    "HMDA": 0
   },
   "principal_affected_usd": 558003000.0,
   "p_sample_60": 0.27640846881864334,
   "p_sample_200": 0.6600854736472974,
   "rules_moved": {},
   "totals_diffs": {
    "504.count": -643,
    "504.principal": -558003000.0,
    "504.chargeoff": -782249.08
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": -782249.08,
     "rate_count": 0.009696388355992994,
     "rate_principal": 0.009279381982328205,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F31",
   "layer": "code",
   "name": "lender_name cut to 20 characters for every 504 row",
   "family": "truncate",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 104886,
   "affected_by_source": {
    "7A": 0,
    "504": 104886,
    "HMDA": 0
   },
   "principal_affected_usd": 88522084830.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F32",
   "layer": "rule",
   "name": "504 code NOT FUNDED mapped to closed_other in the rule document",
   "family": "remap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": false,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 7841,
   "affected_by_source": {
    "7A": 0,
    "504": 7841,
    "HMDA": 0
   },
   "principal_affected_usd": 10876711000.0,
   "p_sample_60": 0.982915067644212,
   "p_sample_200": 0.9999987260899589,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F33",
   "layer": "code",
   "name": "third_party_usd rounded to 1 for every 504 row",
   "family": "round",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": false,
    "sample_200_seeded": true
   },
   "affected": 4032,
   "affected_by_source": {
    "7A": 0,
    "504": 4032,
    "HMDA": 0
   },
   "principal_affected_usd": 3304289000.0,
   "p_sample_60": 0.8723110978826712,
   "p_sample_200": 0.9989559188831472,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F34",
   "layer": "code",
   "name": "chargeoff_usd multiplied by 100 for 7A rows with FixedorVariableInterestInd = F",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": false,
    "sample_200_seeded": false
   },
   "affected": 1033,
   "affected_by_source": {
    "7A": 1033,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 141054900.0,
   "p_sample_60": 0.1425215407065269,
   "p_sample_200": 0.40107551768839667,
   "rules_moved": {
    "R19": 1011
   },
   "totals_diffs": {
    "7A.chargeoff": 9578866985.82
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 9578866985.82,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F35",
   "layer": "code",
   "name": "origination_date and paid_in_full_date swapped for 504 rows with LoanStatus = CLOSED",
   "family": "swap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": false,
    "sample_200_seeded": false
   },
   "affected": 2,
   "affected_by_source": {
    "7A": 0,
    "504": 2,
    "HMDA": 0
   },
   "principal_affected_usd": 1482000.0,
   "p_sample_60": 0.0010031053591762484,
   "p_sample_200": 0.003341727003153161,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F36",
   "layer": "rule",
   "name": "unit of HMDA.loan_amount_000s taken as 100 times the documented one",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": true,
    "code_census": false,
    "record_compare": false,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 45597,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 45597
   },
   "principal_affected_usd": 10166298000.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 1274
   },
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F37",
   "layer": "code",
   "name": "HMDA code 2 converted to denied by the code",
   "family": "remap",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": true,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 1524,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 1524
   },
   "principal_affected_usd": 345603000.0,
   "p_sample_60": 0.8701035881291309,
   "p_sample_200": 0.998901765383867,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F38",
   "layer": "code",
   "name": "every 7A row loaded twice",
   "family": "duplicate",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 403644,
   "affected_by_source": {
    "7A": 403644,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 213134387218.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R01": 403644,
    "R08": 18,
    "R10": 11,
    "R13": 2,
    "R19": 430
   },
   "totals_diffs": {
    "7A.count": 403644,
    "7A.principal": 213134387218.0,
    "7A.guaranteed": 160409892649.02,
    "7A.chargeoff": 1099161613.4
   },
   "census_unmapped": {},
   "chargeoff_moves": true,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 1099161613.4,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F39",
   "layer": "code",
   "name": "lender_name cut to 20 characters for every HMDA row",
   "family": "truncate",
   "dictionary": false,
   "fired": {
    "totals": false,
    "totals_by_status": false,
    "target_rules": false,
    "code_census": false,
    "record_compare": true,
    "cheap_set": false,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 31529,
   "affected_by_source": {
    "7A": 0,
    "504": 0,
    "HMDA": 31529
   },
   "principal_affected_usd": 7000286000.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {},
   "totals_diffs": {},
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798573516,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  },
  {
   "id": "F40",
   "layer": "code",
   "name": "principal_usd multiplied by 0.001 for every 7A row",
   "family": "scale",
   "dictionary": false,
   "fired": {
    "totals": true,
    "totals_by_status": true,
    "target_rules": true,
    "code_census": false,
    "record_compare": true,
    "cheap_set": true,
    "sample_60_seeded": true,
    "sample_200_seeded": true
   },
   "affected": 403644,
   "affected_by_source": {
    "7A": 403644,
    "504": 0,
    "HMDA": 0
   },
   "principal_affected_usd": 213134387218.0,
   "p_sample_60": 1.0,
   "p_sample_200": 1.0,
   "rules_moved": {
    "R05": 343929,
    "R06": 403643,
    "R19": 7760
   },
   "totals_diffs": {
    "7A.principal": -212921252830.78
   },
   "census_unmapped": {},
   "chargeoff_moves": false,
   "chargeoff": {
    "7A": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.024913129054989915,
     "rate_principal": 0.007959830798484432,
     "rate_count_correct": 0.024913129054989915,
     "rate_principal_correct": 0.007959830798573516
    },
    "504": {
     "chargeoff_reported_usd": 0.0,
     "rate_count": 0.009695951551352248,
     "rate_principal": 0.009253038925156078,
     "rate_count_correct": 0.009695951551352248,
     "rate_principal_correct": 0.009253038925156078
    }
   },
   "hmda_originations": 24577
  }
 ]
}
