{
 "version": 1,
 "seed": 61409,
 "families": [
  "bdx_totals",
  "bdx_lines",
  "bdx_rules",
  "conv_totals",
  "conv_records",
  "post_migration",
  "model_keys"
 ],
 "groups": {
  "totals": [
   "bdx_totals",
   "conv_totals"
  ],
  "line_and_record": [
   "bdx_lines",
   "conv_records"
  ],
  "rules": [
   "bdx_rules"
  ],
  "post_migration": [
   "post_migration"
  ],
  "keys": [
   "model_keys"
  ]
 },
 "book": {
  "pas_brokers": 24,
  "pas_policies": 1477,
  "pas_coverages": 2307,
  "pas_transactions": 2719,
  "billing_instalments": 9928,
  "broker_commissions": 2719,
  "claims": 103,
  "claim_transactions": 719,
  "binding_terms": 3,
  "fx_rates": 54,
  "bdx_premium": 2719,
  "bdx_risk": 19494,
  "bdx_claims": 690,
  "bdx_cover": 27,
  "leg_policy_master": 861,
  "leg_coverages": 1333,
  "leg_premium_history": 1494,
  "leg_commissions": 1494,
  "leg_claims": 49,
  "leg_claim_history": 279,
  "leg_open_instalments": 2013,
  "leg_control_report": 22,
  "conv_crosswalk": 5987,
  "conv_exclusions": 21,
  "conv_code_map": 55
 },
 "clean": {
  "data_sha256": {
   "bdx_claims": "0f0e6c29d598b0d93adce57c8316080212fc65af649f7b3dc4d5cc12ee6a0651",
   "bdx_cover": "2246eef37666f3f9667cdb3821b844e5d5167732d05940a6681029dbd2434afb",
   "bdx_premium": "4f809e90138b4f33718062c48fb7adc230cf3bc6ee30ac0a9bd3d0e16f8f9631",
   "bdx_risk": "2ef724faa0fbb7b86210d65d3dff0ecc842f79e3d7c79419777e3c7edb0df9f2",
   "billing_instalments": "ecab5fe68eb764d433d7775f245743fbc98219ba522fd6cb7208877e9323a869",
   "binding_terms": "fdc510c185e9918f4418c3b43d0b0cb1f3d28f0db24b6a37ace6c254fcb2447f",
   "broker_commissions": "241e41787d5009c1ac2f938f6dd6c27f8b81db5b515d99a7f0dd9a78c65475b7",
   "claim_transactions": "188d51c1bdfeb2ef825e2cb8c94894063774b703f7a9006e3ea64d1e023934e1",
   "claims": "754a00b639c03ae0585f8ce938cd177ab22d41bf1774fdd8eb74fa9bbd980d0c",
   "conv_code_map": "6a43e0629377bb0c489f1c85529a714d6bceae64bba4636a4c952a321767c2c9",
   "conv_crosswalk": "fa38cdf7f2553a4fb44fe069223fb1355b8cb477a22a0de7c435b32ee84d9715",
   "conv_exclusions": "519cc8e9761801be0f74ce791649836afebbccecb34b9d1da551c59f855a4b4c",
   "fx_rates": "a930158165bc6d7296dddc7bb3fb59037f198cd60dd255d97debc1224712ba46",
   "leg_claim_history": "7678c42f373d83b341260d81614ac07290f5d20db0c2cba0437e81e3d6b5f700",
   "leg_claims": "a01d6a5533eafd1210741e694f4347836a905f582d949f8c0de0faa5d0536b75",
   "leg_commissions": "f5b4676640ea710d42a3598b140390a19d62b2ec72238d84af05a079e109c8af",
   "leg_control_report": "eb9b86ef5fd8e0d5bb662893644fa600b55c6cf7ba09f74171f97b3252861e0a",
   "leg_coverages": "f4bb0c67e1796c567faa80aea707bca3882cf2f7d53a314b2399f0ecf433bc41",
   "leg_open_instalments": "aacce3e1ef14fb3ded205ac43389a4dc919331d6748a461d9c85ed822fc27ecb",
   "leg_policy_master": "e4d5c7fce986a2fd5511d68e6ed9ccdd1c360ac2f4aee5c3f36c3555cfd3957f",
   "leg_premium_history": "bb4403a08e2d04fe6e2853d090f9a7e344f8f5edaad9742150befbc4e57b5f9d",
   "pas_brokers": "a815df39b254d4706be7572b9c1180358e43b0415bc6c978b5d34d50e5071614",
   "pas_coverages": "6dd5cd5c284fcb5931c467775c214875a6cea3505d7ccdb420b8110dc4051d89",
   "pas_policies": "75f527d5859e7c45406ab9729bff0edc700de39b20c10a00b839827683d0411d",
   "pas_transactions": "f9c314511d5866690af84f95a88e5b51be705cec738b2c5e4eb71be71ced44fa"
  },
  "flags": 28,
  "tests_run": 54,
  "effect": {
   "bordereau_gross_usd": 8597391.06,
   "bordereau_last_reserve_usd": 899033.21,
   "bordereau_net_due_usd": 6293769.42,
   "bordereau_paid_usd": 1425320.18,
   "record_gross_usd": 8597391.06,
   "record_paid_usd": 1425320.18
  }
 },
 "false_alarms": {
  "books": 6,
  "closes": 162,
  "flags": 142,
  "flags_per_close": 0.877,
  "closes_with_any_flag": 71,
  "share_of_closes_with_any_flag": 0.438,
  "review_flags": 142,
  "review_flags_per_close": 0.877,
  "by_family": {
   "bdx_totals": {
    "flags": 0,
    "closes_fired": 0
   },
   "bdx_lines": {
    "flags": 0,
    "closes_fired": 0
   },
   "bdx_rules": {
    "flags": 142,
    "closes_fired": 71
   },
   "conv_totals": {
    "flags": 0,
    "closes_fired": 0
   },
   "conv_records": {
    "flags": 0,
    "closes_fired": 0
   },
   "post_migration": {
    "flags": 0,
    "closes_fired": 0
   },
   "model_keys": {
    "flags": 0,
    "closes_fired": 0
   }
  },
  "by_check": {
   "R10": 103,
   "R8": 38,
   "R9": 1
  },
  "per_book": {
   "61409": {
    "flags": 28,
    "model_key_tests_failed": [],
    "tests_run": 54
   },
   "62409": {
    "flags": 21,
    "model_key_tests_failed": [],
    "tests_run": 54
   },
   "63409": {
    "flags": 28,
    "model_key_tests_failed": [],
    "tests_run": 54
   },
   "64409": {
    "flags": 22,
    "model_key_tests_failed": [],
    "tests_run": 54
   },
   "65409": {
    "flags": 23,
    "model_key_tests_failed": [],
    "tests_run": 54
   },
   "66409": {
    "flags": 20,
    "model_key_tests_failed": [],
    "tests_run": 54
   }
  }
 },
 "positive_controls": {
  "rows": [
   {
    "check": "T1",
    "close": "2024-10",
    "key": "premium_lines",
    "fired": true
   },
   {
    "check": "L1",
    "close": "2024-10",
    "key": "TXN-0000197",
    "fired": true
   },
   {
    "check": "T2",
    "close": "2024-11",
    "key": "gross_premium_usd",
    "fired": true
   },
   {
    "check": "T3",
    "close": "2024-12",
    "key": "broker_commission_usd",
    "fired": true
   },
   {
    "check": "T4",
    "close": "2024-12",
    "key": "paid_in_month_usd",
    "fired": true
   },
   {
    "check": "T5",
    "close": "2025-02",
    "key": "reserve_usd",
    "fired": true
   },
   {
    "check": "L2",
    "close": "2025-02",
    "key": "2025-02-9001",
    "fired": true
   },
   {
    "check": "L3",
    "close": "2025-03",
    "key": "TXN-0000489",
    "fired": true
   },
   {
    "check": "L4",
    "close": "2025-04",
    "key": "TXN-0000546",
    "fired": true
   },
   {
    "check": "L5",
    "close": "2026-09",
    "key": "CLM-00031",
    "fired": true
   },
   {
    "check": "L6",
    "close": "2026-08",
    "key": "CLM-00044",
    "fired": true
   },
   {
    "check": "L7",
    "close": "2025-05",
    "key": "COV-000001",
    "fired": true
   },
   {
    "check": "R1",
    "close": "2025-06",
    "key": "TXN-0000675",
    "fired": true
   },
   {
    "check": "R2",
    "close": "2026-07",
    "key": "CLM-00022",
    "fired": true
   },
   {
    "check": "R3",
    "close": "2025-10",
    "key": "COV-000936",
    "fired": true
   },
   {
    "check": "R4",
    "close": "2026-06",
    "key": "CLM-00023",
    "fired": true
   },
   {
    "check": "R5",
    "close": "2025-08",
    "key": "TXN-0000905",
    "fired": true
   },
   {
    "check": "R6",
    "close": "2025-09",
    "key": "TXN-0001024",
    "fired": true
   },
   {
    "check": "R7",
    "close": "2025-10",
    "key": "COV-000244",
    "fired": true
   },
   {
    "check": "R9",
    "close": "2025-11",
    "key": "COV-000302",
    "fired": true
   },
   {
    "check": "R10",
    "close": "2026-04",
    "key": "TXN-0001858",
    "fired": true
   },
   {
    "check": "R11",
    "close": "2025-02",
    "key": "CLM-00003",
    "fired": true
   },
   {
    "check": "T6",
    "close": "2026-05",
    "key": "risk_lines",
    "fired": true
   },
   {
    "check": "R8",
    "close": "2026-02",
    "key": "gross_premium_usd",
    "fired": true
   },
   {
    "check": "C1",
    "close": "2025-12",
    "key": "claim_txn",
    "fired": true
   },
   {
    "check": "K1",
    "close": "2025-12",
    "key": "claim_txn:LH999999",
    "fired": true
   },
   {
    "check": "C2",
    "close": "2025-12",
    "key": "PROP-USD",
    "fired": true
   },
   {
    "check": "C3",
    "close": "2025-12",
    "key": "GL-USD",
    "fired": true
   },
   {
    "check": "C4",
    "close": "2025-12",
    "key": "open_reserve-USD",
    "fired": true
   },
   {
    "check": "K2",
    "close": "2025-12",
    "key": "POL-000001",
    "fired": true
   },
   {
    "check": "K3",
    "close": "2025-12",
    "key": "COV-000002",
    "fired": true
   },
   {
    "check": "K4",
    "close": "2025-12",
    "key": "TXN-0000004",
    "fired": true
   },
   {
    "check": "K5",
    "close": "2025-12",
    "key": "CLM-00001",
    "fired": true
   },
   {
    "check": "K6",
    "close": "2025-12",
    "key": "LP701564",
    "fired": true
   },
   {
    "check": "M1",
    "close": "2025-12",
    "key": "POL-000224",
    "fired": true
   },
   {
    "check": "M2",
    "close": "2025-12",
    "key": "POL-000225",
    "fired": true
   },
   {
    "check": "M3",
    "close": "2025-12",
    "key": "LI0001424",
    "fired": true
   },
   {
    "check": "M4",
    "close": "2025-12",
    "key": "CLM-00012",
    "fired": true
   },
   {
    "check": "M5",
    "close": "2026-01",
    "key": "CLM-00013",
    "fired": true
   },
   {
    "check": "M6",
    "close": "2025-12",
    "key": "POL-000002",
    "fired": true
   }
  ],
  "checks": 40,
  "fired": 40,
  "unproven": []
 },
 "declared": {
  "written": 8,
  "caught": 7,
  "missed": [
   "F8"
  ],
  "predictions_held": 8,
  "by_family": {
   "bdx_totals": 6,
   "bdx_lines": 7,
   "bdx_rules": 2,
   "conv_totals": 1,
   "conv_records": 2,
   "post_migration": 2,
   "model_keys": 1
  },
  "by_group": {
   "totals": 6,
   "line_and_record": 7,
   "rules": 2,
   "post_migration": 2,
   "keys": 1,
   "any": 7,
   "any_without_review_flags": 7
  },
  "faults": [
   {
    "id": "F1",
    "title": "A missed endorsement",
    "predicted": [
     "bdx_totals",
     "bdx_lines"
    ],
    "census": {
     "lines_removed": 1,
     "premium": "928.78",
     "transaction": "TXN-0001738"
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 0,
      "only_before": 1,
      "rows_after": 2718,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 4,
     "bdx_lines": 1,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L1": 1,
     "T1": 1,
     "T2": 1,
     "T3": 2
    },
    "new_flags": 5,
    "first_flag_close": "2026-03",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L1",
      "close": "2026-03",
      "key": "TXN-0001738",
      "detail": "no single line in its booked month"
     },
     {
      "check": "T1",
      "close": "2026-03",
      "key": "premium_lines",
      "detail": "123 in the record, 122 on the cover"
     },
     {
      "check": "T2",
      "close": "2026-03",
      "key": "gross_premium_usd",
      "detail": "353829.65 against 352900.87"
     },
     {
      "check": "T3",
      "close": "2026-03",
      "key": "broker_commission_usd",
      "detail": "45177.71 against 45038.39"
     },
     {
      "check": "T3",
      "close": "2026-03",
      "key": "mga_commission_usd",
      "detail": "96097.85 against 95819.22"
     }
    ],
    "effect": {
     "bordereau_gross_usd": -928.78,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": -650.15,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    },
    "prediction_held": true
   },
   {
    "id": "F2",
    "title": "A cancelled policy still reported",
    "predicted": [
     "bdx_totals",
     "bdx_lines"
    ],
    "census": {
     "lines_removed": 2,
     "policy": "POL-000853",
     "risk_lines_added": 12
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 6,
      "only_before": 6,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 0,
      "only_before": 2,
      "rows_after": 2717,
      "rows_before": 2719
     },
     "bdx_risk": {
      "only_after": 12,
      "only_before": 0,
      "rows_after": 19506,
      "rows_before": 19494
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 4,
     "bdx_lines": 14,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L1": 2,
     "L7": 12,
     "T1": 1,
     "T2": 1,
     "T3": 2
    },
    "new_flags": 18,
    "first_flag_close": "2026-04",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L1",
      "close": "2026-04",
      "key": "TXN-0001886",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L1",
      "close": "2026-04",
      "key": "TXN-0001887",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L7",
      "close": "2026-04",
      "key": "COV-001330",
      "detail": "on the risk list and not in force"
     },
     {
      "check": "L7",
      "close": "2026-04",
      "key": "COV-001331",
      "detail": "on the risk list and not in force"
     },
     {
      "check": "T1",
      "close": "2026-04",
      "key": "premium_lines",
      "detail": "112 in the record, 110 on the cover"
     },
     {
      "check": "T2",
      "close": "2026-04",
      "key": "gross_premium_usd",
      "detail": "303709.54 against 313661.26"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 9951.72,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 7215.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    },
    "prediction_held": true
   },
   {
    "id": "F3",
    "title": "A claim reported in the wrong period",
    "predicted": [
     "bdx_totals",
     "bdx_lines"
    ],
    "census": {
     "amount": "17946.82",
     "claim": "CLM-00041"
    },
    "table_changes": {
     "bdx_claims": {
      "only_after": 2,
      "only_before": 2,
      "rows_after": 690,
      "rows_before": 690
     },
     "bdx_cover": {
      "only_after": 2,
      "only_before": 2,
      "rows_after": 27,
      "rows_before": 27
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 2,
     "bdx_lines": 2,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L6": 2,
     "T4": 2
    },
    "new_flags": 4,
    "first_flag_close": "2026-02",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L6",
      "close": "2026-02",
      "key": "CLM-00041",
      "detail": "the line differs from the movements booked by then"
     },
     {
      "check": "T4",
      "close": "2026-02",
      "key": "paid_in_month_usd",
      "detail": "88458.30 against 70511.48"
     },
     {
      "check": "L6",
      "close": "2026-03",
      "key": "CLM-00041",
      "detail": "the line differs from the movements booked by then"
     },
     {
      "check": "T4",
      "close": "2026-03",
      "key": "paid_in_month_usd",
      "detail": "48514.41 against 66461.23"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    },
    "prediction_held": true
   },
   {
    "id": "F4",
    "title": "A currency error",
    "predicted": [
     "bdx_totals",
     "bdx_lines",
     "bdx_rules"
    ],
    "census": {
     "lines": 18
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 18,
      "only_before": 18,
      "rows_after": 2719,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines",
     "bdx_rules"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": true,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 3,
     "bdx_lines": 36,
     "bdx_rules": 18,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L3": 18,
     "L4": 18,
     "R6": 18,
     "T2": 1,
     "T3": 2
    },
    "new_flags": 57,
    "first_flag_close": "2026-05",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0001969",
      "detail": "fields differ: rate gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0001990",
      "detail": "fields differ: rate gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0001991",
      "detail": "fields differ: rate gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0002002",
      "detail": "fields differ: rate gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0002003",
      "detail": "fields differ: rate gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0002004",
      "detail": "fields differ: rate gross_usd"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 12920.84,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 9496.88,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    },
    "prediction_held": true
   },
   {
    "id": "F5",
    "title": "A sign error",
    "predicted": [
     "bdx_totals",
     "bdx_lines",
     "bdx_rules"
    ],
    "census": {
     "premium": "3615.18",
     "transaction": "TXN-0002089"
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 2719,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines",
     "bdx_rules"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": true,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 3,
     "bdx_lines": 2,
     "bdx_rules": 1,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L3": 1,
     "L4": 1,
     "R1": 1,
     "T2": 1,
     "T3": 2
    },
    "new_flags": 6,
    "first_flag_close": "2026-06",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L3",
      "close": "2026-06",
      "key": "TXN-0002089",
      "detail": "fields differ: gross gross_usd"
     },
     {
      "check": "L4",
      "close": "2026-06",
      "key": "TXN-0002089",
      "detail": "commission or net differs from a recomputation"
     },
     {
      "check": "R1",
      "close": "2026-06",
      "key": "TXN-0002089",
      "detail": "CAN with premium 3615.18"
     },
     {
      "check": "T2",
      "close": "2026-06",
      "key": "gross_premium_usd",
      "detail": "417757.28 against 424987.64"
     },
     {
      "check": "T3",
      "close": "2026-06",
      "key": "broker_commission_usd",
      "detail": "52067.95 against 53152.51"
     },
     {
      "check": "T3",
      "close": "2026-06",
      "key": "mga_commission_usd",
      "detail": "109459.98 against 111267.58"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 7230.36,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 5422.76,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    },
    "prediction_held": true
   },
   {
    "id": "F6",
    "title": "A duplicated conversion batch",
    "predicted": [
     "bdx_totals",
     "bdx_lines",
     "conv_totals",
     "conv_records",
     "post_migration",
     "model_keys"
    ],
    "census": {
     "claim_txns": 48,
     "claims": 10,
     "commissions": 183,
     "coverages": 156,
     "instalments": 673,
     "policies": 108,
     "transactions": 183
    },
    "table_changes": {
     "billing_instalments": {
      "only_after": 673,
      "only_before": 0,
      "rows_after": 10601,
      "rows_before": 9928
     },
     "broker_commissions": {
      "only_after": 183,
      "only_before": 0,
      "rows_after": 2902,
      "rows_before": 2719
     },
     "claim_transactions": {
      "only_after": 48,
      "only_before": 0,
      "rows_after": 767,
      "rows_before": 719
     },
     "claims": {
      "only_after": 10,
      "only_before": 0,
      "rows_after": 113,
      "rows_before": 103
     },
     "conv_crosswalk": {
      "only_after": 571,
      "only_before": 0,
      "rows_after": 6558,
      "rows_before": 5987
     },
     "pas_coverages": {
      "only_after": 156,
      "only_before": 0,
      "rows_after": 2463,
      "rows_before": 2307
     },
     "pas_policies": {
      "only_after": 108,
      "only_before": 0,
      "rows_after": 1585,
      "rows_before": 1477
     },
     "pas_transactions": {
      "only_after": 183,
      "only_before": 0,
      "rows_after": 2902,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines",
     "conv_totals",
     "conv_records",
     "post_migration",
     "model_keys"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": false,
     "post_migration": true,
     "keys": true
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 73,
     "bdx_lines": 2124,
     "bdx_rules": 0,
     "conv_totals": 24,
     "conv_records": 968,
     "post_migration": 8,
     "model_keys": 1
    },
    "flags_by_check": {
     "C1": 6,
     "C2": 6,
     "C3": 6,
     "C4": 6,
     "K1": 571,
     "K3": 156,
     "K4": 183,
     "K5": 58,
     "L1": 183,
     "L5": 122,
     "L7": 1819,
     "M5": 8,
     "T1": 12,
     "T2": 12,
     "T3": 24,
     "T4": 7,
     "T5": 18
    },
    "new_flags": 3197,
    "first_flag_close": "2025-01",
    "model_key_tests_failed": [
     "unique_stg_conv_crosswalk_entity_legacy_key"
    ],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L1",
      "close": "2025-01",
      "key": "TXN-R0000374",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L1",
      "close": "2025-01",
      "key": "TXN-R0000375",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L1",
      "close": "2025-01",
      "key": "TXN-R0000376",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L1",
      "close": "2025-01",
      "key": "TXN-R0000377",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L1",
      "close": "2025-01",
      "key": "TXN-R0000378",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L1",
      "close": "2025-01",
      "key": "TXN-R0000379",
      "detail": "no single line in its booked month"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 577846.12,
     "record_paid_usd": 65940.12
    },
    "prediction_held": true
   },
   {
    "id": "F7",
    "title": "A premium swap in conversion",
    "predicted": [
     "bdx_lines",
     "conv_records",
     "post_migration"
    ],
    "census": {
     "month": "2025-01",
     "policies": [
      "POL-000237",
      "POL-000245"
     ],
     "premiums": [
      "3434.37",
      "3053.28"
     ]
    },
    "table_changes": {
     "pas_transactions": {
      "only_after": 2,
      "only_before": 2,
      "rows_after": 2719,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "bdx_lines",
     "conv_records",
     "post_migration"
    ],
    "groups_fired": {
     "totals": false,
     "line_and_record": true,
     "rules": false,
     "post_migration": true,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 0,
     "bdx_lines": 28,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 2,
     "post_migration": 4,
     "model_keys": 0
    },
    "flags_by_check": {
     "K4": 2,
     "L3": 2,
     "L4": 2,
     "L7": 24,
     "M1": 2,
     "M2": 2
    },
    "new_flags": 34,
    "first_flag_close": "2025-01",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L3",
      "close": "2025-01",
      "key": "TXN-0000385",
      "detail": "fields differ: gross gross_usd"
     },
     {
      "check": "L3",
      "close": "2025-01",
      "key": "TXN-0000397",
      "detail": "fields differ: gross gross_usd"
     },
     {
      "check": "L4",
      "close": "2025-01",
      "key": "TXN-0000385",
      "detail": "commission or net differs from a recomputation"
     },
     {
      "check": "L4",
      "close": "2025-01",
      "key": "TXN-0000397",
      "detail": "commission or net differs from a recomputation"
     },
     {
      "check": "L7",
      "close": "2025-01",
      "key": "COV-000373",
      "detail": "the risk line differs from the record"
     },
     {
      "check": "L7",
      "close": "2025-01",
      "key": "COV-000384",
      "detail": "the risk line differs from the record"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    },
    "prediction_held": true
   },
   {
    "id": "F8",
    "title": "A wrong broker rate everywhere",
    "predicted": [],
    "census": {
     "broker": "BRK-006",
     "commission_rows": 107
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 24,
      "only_before": 24,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 107,
      "only_before": 107,
      "rows_after": 2719,
      "rows_before": 2719
     },
     "broker_commissions": {
      "only_after": 107,
      "only_before": 107,
      "rows_after": 2719,
      "rows_before": 2719
     },
     "leg_commissions": {
      "only_after": 56,
      "only_before": 56,
      "rows_after": 1494,
      "rows_before": 1494
     },
     "pas_brokers": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 24,
      "rows_before": 24
     }
    },
    "families_fired": [],
    "groups_fired": {
     "totals": false,
     "line_and_record": false,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": false,
    "caught_without_review_flags": false,
    "flags_by_family": {
     "bdx_totals": 0,
     "bdx_lines": 0,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {},
    "new_flags": 0,
    "first_flag_close": null,
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    },
    "prediction_held": true
   }
  ]
 },
 "blind": {
  "written": 12,
  "applied": 11,
  "not_applied": [
   "B11"
  ],
  "caught": 9,
  "missed": [
   "B10",
   "B12"
  ],
  "by_family": {
   "bdx_totals": 5,
   "bdx_lines": 5,
   "bdx_rules": 3,
   "conv_totals": 2,
   "conv_records": 5,
   "post_migration": 2,
   "model_keys": 1
  },
  "by_group": {
   "totals": 7,
   "line_and_record": 9,
   "rules": 3,
   "post_migration": 2,
   "keys": 1,
   "any": 9,
   "any_without_review_flags": 9
  },
  "systems_agree": [
   "B10",
   "B12"
  ],
  "systems_agree_caught": [],
  "author_predicted_caught": 9,
  "faults": [
   {
    "id": "B01",
    "title": "May premium lines deferred to June",
    "area": "bordereau",
    "first_month": "2026-05",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "transactions": [
      "TXN-0001969",
      "TXN-0001971",
      "TXN-0001972"
     ]
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 2,
      "only_before": 2,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 3,
      "only_before": 3,
      "rows_after": 2719,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 8,
     "bdx_lines": 5,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L1": 3,
     "L3": 1,
     "L4": 1,
     "T1": 2,
     "T2": 2,
     "T3": 4
    },
    "new_flags": 13,
    "first_flag_close": "2026-05",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L1",
      "close": "2026-05",
      "key": "TXN-0001969",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L1",
      "close": "2026-05",
      "key": "TXN-0001971",
      "detail": "no single line in its booked month"
     },
     {
      "check": "L1",
      "close": "2026-05",
      "key": "TXN-0001972",
      "detail": "no single line in its booked month"
     },
     {
      "check": "T1",
      "close": "2026-05",
      "key": "premium_lines",
      "detail": "120 in the record, 117 on the cover"
     },
     {
      "check": "T2",
      "close": "2026-05",
      "key": "gross_premium_usd",
      "detail": "267742.78 against 258755.58"
     },
     {
      "check": "T3",
      "close": "2026-05",
      "key": "broker_commission_usd",
      "detail": "33715.08 against 32815.57"
     }
    ],
    "effect": {
     "bordereau_gross_usd": -0.33,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": -0.24,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B02",
    "title": "Cancellation returns reported as positive premium",
    "area": "bordereau",
    "first_month": "2026-05",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "transactions": [
      "TXN-0001977",
      "TXN-0001994",
      "TXN-0001995"
     ]
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 3,
      "only_before": 3,
      "rows_after": 2719,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines",
     "bdx_rules"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": true,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 3,
     "bdx_lines": 6,
     "bdx_rules": 3,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L3": 3,
     "L4": 3,
     "R1": 3,
     "T2": 1,
     "T3": 2
    },
    "new_flags": 12,
    "first_flag_close": "2026-05",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0001977",
      "detail": "fields differ: gross gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0001994",
      "detail": "fields differ: gross gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-05",
      "key": "TXN-0001995",
      "detail": "fields differ: gross gross_usd"
     },
     {
      "check": "L4",
      "close": "2026-05",
      "key": "TXN-0001977",
      "detail": "commission or net differs from a recomputation"
     },
     {
      "check": "L4",
      "close": "2026-05",
      "key": "TXN-0001994",
      "detail": "commission or net differs from a recomputation"
     },
     {
      "check": "L4",
      "close": "2026-05",
      "key": "TXN-0001995",
      "detail": "commission or net differs from a recomputation"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 8642.5,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 6265.8,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B03",
    "title": "Canadian premium translated at par",
    "area": "bordereau",
    "first_month": "2026-06",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "transactions": [
      "TXN-0002093",
      "TXN-0002094",
      "TXN-0002095"
     ]
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 3,
      "only_before": 3,
      "rows_after": 2719,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines",
     "bdx_rules"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": true,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 3,
     "bdx_lines": 6,
     "bdx_rules": 3,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L3": 3,
     "L4": 3,
     "R6": 3,
     "T2": 1,
     "T3": 2
    },
    "new_flags": 12,
    "first_flag_close": "2026-06",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L3",
      "close": "2026-06",
      "key": "TXN-0002093",
      "detail": "fields differ: rate gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-06",
      "key": "TXN-0002094",
      "detail": "fields differ: rate gross_usd"
     },
     {
      "check": "L3",
      "close": "2026-06",
      "key": "TXN-0002095",
      "detail": "fields differ: rate gross_usd"
     },
     {
      "check": "L4",
      "close": "2026-06",
      "key": "TXN-0002093",
      "detail": "commission or net differs from a recomputation"
     },
     {
      "check": "L4",
      "close": "2026-06",
      "key": "TXN-0002094",
      "detail": "commission or net differs from a recomputation"
     },
     {
      "check": "L4",
      "close": "2026-06",
      "key": "TXN-0002095",
      "detail": "commission or net differs from a recomputation"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 1024.37,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 768.27,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B04",
    "title": "Claims export omits expense payments",
    "area": "bordereau",
    "first_month": "2026-05",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "claims": [
      "CLM-00031",
      "CLM-00035",
      "CLM-00047"
     ]
    },
    "table_changes": {
     "bdx_claims": {
      "only_after": 3,
      "only_before": 3,
      "rows_after": 690,
      "rows_before": 690
     },
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines",
     "bdx_rules"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": true,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 1,
     "bdx_lines": 3,
     "bdx_rules": 4,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "L6": 3,
     "R2": 4,
     "T4": 1
    },
    "new_flags": 8,
    "first_flag_close": "2026-05",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L6",
      "close": "2026-05",
      "key": "CLM-00031",
      "detail": "the line differs from the movements booked by then"
     },
     {
      "check": "L6",
      "close": "2026-05",
      "key": "CLM-00035",
      "detail": "the line differs from the movements booked by then"
     },
     {
      "check": "L6",
      "close": "2026-05",
      "key": "CLM-00047",
      "detail": "the line differs from the movements booked by then"
     },
     {
      "check": "R2",
      "close": "2026-05",
      "key": "CLM-00031",
      "detail": "paid to date does not roll forward"
     },
     {
      "check": "T4",
      "close": "2026-05",
      "key": "paid_in_month_usd",
      "detail": "154438.05 against 146981.73"
     },
     {
      "check": "R2",
      "close": "2026-06",
      "key": "CLM-00031",
      "detail": "paid to date does not roll forward"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": -7456.32,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B05",
    "title": "Open instalments dropped during conversion",
    "area": "conversion",
    "first_month": "2025-12",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "instalments": [
      "INS-0001424",
      "INS-0001448",
      "INS-0001515"
     ],
     "rows_removed": 3
    },
    "table_changes": {
     "billing_instalments": {
      "only_after": 0,
      "only_before": 3,
      "rows_after": 9925,
      "rows_before": 9928
     }
    },
    "families_fired": [
     "conv_totals",
     "conv_records",
     "post_migration"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": false,
     "post_migration": true,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 0,
     "bdx_lines": 0,
     "bdx_rules": 0,
     "conv_totals": 1,
     "conv_records": 3,
     "post_migration": 3,
     "model_keys": 0
    },
    "flags_by_check": {
     "C1": 1,
     "K1": 3,
     "M3": 3
    },
    "new_flags": 7,
    "first_flag_close": "2025-12",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "C1",
      "close": "2025-12",
      "key": "instalment",
      "detail": "2013 in legacy less exclusions, 2010 converted"
     },
     {
      "check": "K1",
      "close": "2025-12",
      "key": "instalment:INS-0001424",
      "detail": "crosswalk row with no target record"
     },
     {
      "check": "K1",
      "close": "2025-12",
      "key": "instalment:INS-0001448",
      "detail": "crosswalk row with no target record"
     },
     {
      "check": "K1",
      "close": "2025-12",
      "key": "instalment:INS-0001515",
      "detail": "crosswalk row with no target record"
     },
     {
      "check": "M3",
      "close": "2025-12",
      "key": "LI0001424",
      "detail": "legacy open instalment has no target instalment due the same day for the same amount"
     },
     {
      "check": "M3",
      "close": "2025-12",
      "key": "LI0001448",
      "detail": "legacy open instalment has no target instalment due the same day for the same amount"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B06",
    "title": "Expense payment loaded twice at conversion",
    "area": "conversion",
    "first_month": "2025-12",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "amount": "8743.20",
     "claim": "CLM-00021",
     "months": 2,
     "new_row": "CTX-0000720",
     "source_row": "CTX-0000206"
    },
    "table_changes": {
     "bdx_claims": {
      "only_after": 2,
      "only_before": 2,
      "rows_after": 690,
      "rows_before": 690
     },
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "claim_transactions": {
      "only_after": 1,
      "only_before": 0,
      "rows_after": 720,
      "rows_before": 719
     },
     "conv_crosswalk": {
      "only_after": 1,
      "only_before": 0,
      "rows_after": 5988,
      "rows_before": 5987
     }
    },
    "families_fired": [
     "conv_totals",
     "conv_records",
     "post_migration",
     "model_keys"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": false,
     "post_migration": true,
     "keys": true
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 0,
     "bdx_lines": 0,
     "bdx_rules": 0,
     "conv_totals": 2,
     "conv_records": 2,
     "post_migration": 1,
     "model_keys": 1
    },
    "flags_by_check": {
     "C1": 1,
     "C4": 1,
     "K1": 1,
     "K5": 1,
     "M5": 1
    },
    "new_flags": 5,
    "first_flag_close": "2025-12",
    "model_key_tests_failed": [
     "unique_stg_conv_crosswalk_entity_legacy_key"
    ],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "C1",
      "close": "2025-12",
      "key": "claim_txn",
      "detail": "279 in legacy less exclusions, 280 converted"
     },
     {
      "check": "C4",
      "close": "2025-12",
      "key": "open_paid-USD",
      "detail": "paid on open claims 224063.56 against 215320.36"
     },
     {
      "check": "K1",
      "close": "2025-12",
      "key": "claim_txn:LH100618",
      "detail": "legacy record without exactly one crosswalk row"
     },
     {
      "check": "K5",
      "close": "2025-12",
      "key": "CLM-00021",
      "detail": "claim fields or balances differ after the code map"
     },
     {
      "check": "M5",
      "close": "2026-01",
      "key": "CLM-00021",
      "detail": "the first line after the cut-over does not continue from the legacy balance"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 8743.2,
     "record_gross_usd": 0.0,
     "record_paid_usd": 8743.2
    }
   },
   {
    "id": "B07",
    "title": "Monthly billing plans mapped to annual",
    "area": "conversion",
    "first_month": "2025-12",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "policies": [
      "POL-000009",
      "POL-000012",
      "POL-000017"
     ]
    },
    "table_changes": {
     "pas_policies": {
      "only_after": 3,
      "only_before": 3,
      "rows_after": 1477,
      "rows_before": 1477
     }
    },
    "families_fired": [
     "conv_records"
    ],
    "groups_fired": {
     "totals": false,
     "line_and_record": true,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 0,
     "bdx_lines": 0,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 3,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "K2": 3
    },
    "new_flags": 3,
    "first_flag_close": "2025-12",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "K2",
      "close": "2025-12",
      "key": "POL-000009",
      "detail": "policy fields differ after the code map"
     },
     {
      "check": "K2",
      "close": "2025-12",
      "key": "POL-000012",
      "detail": "policy fields differ after the code map"
     },
     {
      "check": "K2",
      "close": "2025-12",
      "key": "POL-000017",
      "detail": "policy fields differ after the code map"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B08",
    "title": "Reserve movements divided by 100 twice",
    "area": "conversion",
    "first_month": "2025-12",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "claims": [
      "CLM-00001"
     ],
     "months": 1,
     "rows": [
      "CTX-0000001",
      "CTX-0000004",
      "CTX-0000005"
     ]
    },
    "table_changes": {
     "bdx_claims": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 690,
      "rows_before": 690
     },
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "claim_transactions": {
      "only_after": 3,
      "only_before": 3,
      "rows_after": 719,
      "rows_before": 719
     }
    },
    "families_fired": [
     "bdx_totals",
     "bdx_lines",
     "conv_records"
    ],
    "groups_fired": {
     "totals": true,
     "line_and_record": true,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 14,
     "bdx_lines": 14,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 4,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "K5": 4,
     "L6": 14,
     "T5": 14
    },
    "new_flags": 32,
    "first_flag_close": "2024-09",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "L6",
      "close": "2024-09",
      "key": "CLM-00001",
      "detail": "the line differs from the movements booked by then"
     },
     {
      "check": "T5",
      "close": "2024-09",
      "key": "reserve_usd",
      "detail": "29.33 against 2932.86"
     },
     {
      "check": "L6",
      "close": "2024-10",
      "key": "CLM-00001",
      "detail": "the line differs from the movements booked by then"
     },
     {
      "check": "T5",
      "close": "2024-10",
      "key": "reserve_usd",
      "detail": "1291.07 against 4194.60"
     },
     {
      "check": "L6",
      "close": "2024-11",
      "key": "CLM-00001",
      "detail": "the line differs from the movements booked by then"
     },
     {
      "check": "T5",
      "close": "2024-11",
      "key": "reserve_usd",
      "detail": "61581.00 against 64484.53"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B09",
    "title": "Legacy commission percentages treated as decimal rates",
    "area": "conversion",
    "first_month": "2025-12",
    "systems_agree": false,
    "author_predicts_caught": true,
    "applied": true,
    "census": {
     "commissions": [
      "COM-0001386",
      "COM-0001387",
      "COM-0001388"
     ],
     "months": 1
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 3,
      "only_before": 3,
      "rows_after": 2719,
      "rows_before": 2719
     },
     "broker_commissions": {
      "only_after": 3,
      "only_before": 3,
      "rows_after": 2719,
      "rows_before": 2719
     }
    },
    "families_fired": [
     "conv_records"
    ],
    "groups_fired": {
     "totals": false,
     "line_and_record": true,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": true,
    "caught_without_review_flags": true,
    "flags_by_family": {
     "bdx_totals": 0,
     "bdx_lines": 0,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 3,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {
     "K4": 3
    },
    "new_flags": 3,
    "first_flag_close": "2025-12",
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [
     {
      "check": "K4",
      "close": "2025-12",
      "key": "TXN-0001386",
      "detail": "premium history or commission differs after the code map"
     },
     {
      "check": "K4",
      "close": "2025-12",
      "key": "TXN-0001387",
      "detail": "premium history or commission differs after the code map"
     },
     {
      "check": "K4",
      "close": "2025-12",
      "key": "TXN-0001388",
      "detail": "premium history or commission differs after the code map"
     }
    ],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B10",
    "title": "USD policy keyed as CAD throughout the book",
    "area": "source",
    "first_month": "2026-01",
    "systems_agree": true,
    "author_predicts_caught": false,
    "applied": true,
    "census": {
     "claim_months": 0,
     "policy": "POL-000834",
     "premium_months": 1,
     "risk_lines": 9
    },
    "table_changes": {
     "bdx_cover": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 27,
      "rows_before": 27
     },
     "bdx_premium": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 2719,
      "rows_before": 2719
     },
     "bdx_risk": {
      "only_after": 9,
      "only_before": 9,
      "rows_after": 19494,
      "rows_before": 19494
     },
     "pas_policies": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 1477,
      "rows_before": 1477
     }
    },
    "families_fired": [],
    "groups_fired": {
     "totals": false,
     "line_and_record": false,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": false,
    "caught_without_review_flags": false,
    "flags_by_family": {
     "bdx_totals": 0,
     "bdx_lines": 0,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {},
    "new_flags": 0,
    "first_flag_close": null,
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [],
    "effect": {
     "bordereau_gross_usd": -2782.12,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": -2086.59,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": -2782.12,
     "record_paid_usd": 0.0
    }
   },
   {
    "id": "B11",
    "title": "Expense payment overstated at source",
    "area": "source",
    "first_month": "2026-01",
    "systems_agree": true,
    "author_predicts_caught": false,
    "applied": false,
    "reason": "B11: no row qualifies under the spec's selection"
   },
   {
    "id": "B12",
    "title": "Coverage limit entered at half the agreed amount",
    "area": "source",
    "first_month": "2026-01",
    "systems_agree": true,
    "author_predicts_caught": false,
    "applied": true,
    "census": {
     "coverage": "COV-001303",
     "new_limit": "2500000.00",
     "original_limit": "5000000.00",
     "risk_lines": 9,
     "transactions": 1
    },
    "table_changes": {
     "bdx_risk": {
      "only_after": 9,
      "only_before": 9,
      "rows_after": 19494,
      "rows_before": 19494
     },
     "pas_coverages": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 2307,
      "rows_before": 2307
     },
     "pas_transactions": {
      "only_after": 1,
      "only_before": 1,
      "rows_after": 2719,
      "rows_before": 2719
     }
    },
    "families_fired": [],
    "groups_fired": {
     "totals": false,
     "line_and_record": false,
     "rules": false,
     "post_migration": false,
     "keys": false
    },
    "caught": false,
    "caught_without_review_flags": false,
    "flags_by_family": {
     "bdx_totals": 0,
     "bdx_lines": 0,
     "bdx_rules": 0,
     "conv_totals": 0,
     "conv_records": 0,
     "post_migration": 0,
     "model_keys": 0
    },
    "flags_by_check": {},
    "new_flags": 0,
    "first_flag_close": null,
    "model_key_tests_failed": [],
    "errored_tests": [],
    "sample_flags": [],
    "effect": {
     "bordereau_gross_usd": 0.0,
     "bordereau_last_reserve_usd": 0.0,
     "bordereau_net_due_usd": 0.0,
     "bordereau_paid_usd": 0.0,
     "record_gross_usd": 0.0,
     "record_paid_usd": 0.0
    }
   }
  ]
 },
 "fault_set": {
  "total": 20,
  "same_author_as_checks": 8,
  "independent_author": 12
 },
 "trace": {
  "fault": "B07",
  "rule": "line_and_record_without_totals",
  "title": "Monthly billing plans mapped to annual",
  "families": [
   "conv_records"
  ],
  "sample_flags": [
   {
    "check": "K2",
    "close": "2025-12",
    "key": "POL-000009",
    "detail": "policy fields differ after the code map"
   },
   {
    "check": "K2",
    "close": "2025-12",
    "key": "POL-000012",
    "detail": "policy fields differ after the code map"
   },
   {
    "check": "K2",
    "close": "2025-12",
    "key": "POL-000017",
    "detail": "policy fields differ after the code map"
   }
  ],
  "census": {
   "policies": [
    "POL-000009",
    "POL-000012",
    "POL-000017"
   ]
  },
  "effect": {
   "bordereau_gross_usd": 0.0,
   "bordereau_last_reserve_usd": 0.0,
   "bordereau_net_due_usd": 0.0,
   "bordereau_paid_usd": 0.0,
   "record_gross_usd": 0.0,
   "record_paid_usd": 0.0
  }
 },
 "predictions": [
  {
   "id": "P1",
   "text": "clean books: no flag outside the review rules",
   "held": true,
   "actual": "0 other checks flagged; 0 schema tests failed"
  },
  {
   "id": "P2",
   "text": "review rules raise 0.5 to 8 flags a close",
   "held": true,
   "actual": 0.877
  },
  {
   "id": "P3",
   "text": "every check fires on its positive control",
   "held": true,
   "actual": "40 of 40"
  },
  {
   "id": "P4",
   "text": "each declared fault fires exactly the predicted families",
   "held": true,
   "actual": {
    "F1": true,
    "F2": true,
    "F3": true,
    "F4": true,
    "F5": true,
    "F6": true,
    "F7": true,
    "F8": true
   }
  },
  {
   "id": "P5",
   "text": "7 of 8 declared faults are caught, and the miss is F8",
   "held": true,
   "actual": "7 caught, missed ['F8']"
  },
  {
   "id": "P6",
   "text": "blind faults caught by any family: at least 8",
   "held": true,
   "actual": 9
  },
  {
   "id": "P7",
   "text": "blind faults: totals group catches fewer than the line and record group",
   "held": true,
   "actual": [
    7,
    9
   ]
  },
  {
   "id": "P8",
   "text": "blind faults: totals group catches at most half",
   "held": false,
   "actual": [
    7,
    11
   ]
  },
  {
   "id": "P9",
   "text": "blind faults the author marks as keeping every system in agreement are missed by totals and by line and record",
   "held": true,
   "actual": {
    "B10": [],
    "B12": []
   }
  },
  {
   "id": "P10",
   "text": "blind faults: the schema tests catch at most 3",
   "held": true,
   "actual": 1
  }
 ],
 "predictions_held": 9
}
