{
  "checks": [
    {
      "check": "Repricing: every input within the house tolerance, method A, largest abs error",
      "measured": 3.860106678743591e-09,
      "tolerance": 0.01,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": "tolerance read from src/house/evidence-policy.md"
    },
    {
      "check": "Repricing: every input within the house tolerance, method B, largest abs error",
      "measured": 2.7554347692415604e-10,
      "tolerance": 0.01,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": "tolerance read from src/house/evidence-policy.md"
    },
    {
      "check": "Anchor assumption, ex post: largest gap between the fixings realised for 2026-09-18 and 2026-09-21 and the assumed level",
      "measured": 0.0,
      "tolerance": 0.0,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": "the snapshot holds the fixings published after the as-of date"
    },
    {
      "check": "Paper example p. 102 (cubics go negative): discrete forwards from the capitalisation factors against the printed ones",
      "measured": 4.545451949334971e-05,
      "tolerance": 5e-05,
      "unit": "abs",
      "rule": "at most",
      "pass": true,
      "detail": "tolerance is half a unit of the printed precision (0.01 %); 4Y printed 4.40 %, factor implies 5.00 %"
    },
    {
      "check": "Paper example p. 102 (cubics go negative): minimum instantaneous forward of method B on (0, 30]",
      "measured": 0.008701298553014021,
      "tolerance": 0.0,
      "unit": "rate",
      "rule": "greater than",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Paper example p. 102 (cubics go negative): every discrete forward recovered by method B",
      "measured": 0.0,
      "tolerance": 1e-14,
      "unit": "rate",
      "rule": "at most",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Paper example p. 107 (tamer curve): discrete forwards from the capitalisation factors against the printed ones",
      "measured": 9.092297382606862e-06,
      "tolerance": 5e-05,
      "unit": "abs",
      "rule": "at most",
      "pass": true,
      "detail": "tolerance is half a unit of the printed precision (0.01 %); printed yields agree with the factors"
    },
    {
      "check": "Paper example p. 107 (tamer curve): minimum instantaneous forward of method B on (0, 30]",
      "measured": 0.03660975327010961,
      "tolerance": 0.0,
      "unit": "rate",
      "rule": "greater than",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Paper example p. 107 (tamer curve): every discrete forward recovered by method B",
      "measured": 0.0,
      "tolerance": 1e-14,
      "unit": "rate",
      "rule": "at most",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Method B, condition (i): midpoint-rule average of f on each interval equals its discrete forward",
      "measured": 6.26391244429314e-10,
      "tolerance": 1e-07,
      "unit": "rate",
      "rule": "at most",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Method B, condition (ii): minimum instantaneous forward",
      "measured": 0.03902689830085253,
      "tolerance": 0.0,
      "unit": "rate",
      "rule": "greater than",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Method B, condition (iii): largest jump of f across a node",
      "measured": 6.058913093465179e-11,
      "tolerance": 1e-06,
      "unit": "rate",
      "rule": "at most",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Method B, condition (iv): intervals that break local monotonicity",
      "measured": 0,
      "tolerance": 0,
      "unit": "count",
      "rule": "at most",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Round trip: flat 4 % curve recovered by method A, max abs zero-rate error (monthly to 30Y)",
      "measured": 9.069134332406747e-11,
      "tolerance": 1e-06,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": "each deposit and swap is priced off the flat curve and bootstrapped back"
    },
    {
      "check": "Round trip: flat 4 % curve recovered by method B, max abs zero-rate error (monthly to 30Y)",
      "measured": 5.9674487573602164e-12,
      "tolerance": 1e-06,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": "each deposit and swap is priced off the flat curve and bootstrapped back"
    },
    {
      "check": "Method A: QuantLib against hagan_west.py log-linear bootstrap, max abs discount-factor difference (daily)",
      "measured": 1.9251267247000214e-13,
      "tolerance": 1e-09,
      "unit": "abs",
      "rule": "at most",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Pricer: hagan_west.py par rate against QuantLib OISRateHelper.impliedQuote on the QuantLib curve",
      "measured": 2.0816681711721685e-13,
      "tolerance": 1e-06,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": ""
    },
    {
      "check": "Method B through QuantLib's swap engine: max abs par-rate error of the inputs",
      "measured": 1.2698175844150228e-11,
      "tolerance": 0.0001,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": "QuantLib values method B's curve on a daily discount-factor grid (log-linear between business days)"
    },
    {
      "check": "Method B interpolation: hagan_west.py against QuantLib ConvexMonotoneInterpolation(0, 1), max abs forward difference",
      "measured": 3.469446951953614e-13,
      "tolerance": 1e-06,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": "same node times and discrete forwards; QuantLib's forcePositive floors only the end points, the paper's collar is not binding here"
    },
    {
      "check": "Out-of-sample: median absolute residual of prints the bootstrap never saw, method B",
      "measured": 0.4046620120479877,
      "tolerance": 1.0,
      "unit": "bp",
      "rule": "at most",
      "pass": true,
      "detail": "460 prints; residual is close-adjusted print rate minus the curve's par rate; method A: 0.460 bp"
    }
  ],
  "out_of_sample": {
    "spot start, input tenor": {
      "A": {
        "n": 523,
        "median": 0.0007940669383837973,
        "p25": -0.28132683875123354,
        "p75": 0.24360525592376225,
        "share_within_1bp": 0.9101338432122371,
        "share_within_2bp": 0.9521988527724665
      },
      "B": {
        "n": 523,
        "median": 0.0007940669426165226,
        "p25": -0.28132683875317643,
        "p75": 0.2486731612468679,
        "share_within_1bp": 0.9101338432122371,
        "share_within_2bp": 0.9521988527724665
      }
    },
    "spot start, other maturity": {
      "A": {
        "n": 140,
        "median": -0.21426904276679315,
        "p25": -0.6919868671197843,
        "p75": 0.16643020004668274,
        "share_within_1bp": 0.7642857142857142,
        "share_within_2bp": 0.9285714285714286
      },
      "B": {
        "n": 140,
        "median": -0.17757252023430092,
        "p25": -0.5143630192599308,
        "p75": 0.14490423078182546,
        "share_within_1bp": 0.8642857142857143,
        "share_within_2bp": 0.95
      }
    },
    "forward start": {
      "A": {
        "n": 320,
        "median": -0.14757991468584974,
        "p25": -0.7350263630084147,
        "p75": 0.24245900554942246,
        "share_within_1bp": 0.790625,
        "share_within_2bp": 0.915625
      },
      "B": {
        "n": 320,
        "median": -0.1730195882639063,
        "p25": -0.7653907276292116,
        "p75": 0.16005078435292475,
        "share_within_1bp": 0.775,
        "share_within_2bp": 0.93125
      }
    },
    "all": {
      "A": {
        "n": 983,
        "median": -0.03590130708289174,
        "p25": -0.487592999556391,
        "p75": 0.23948557417281802,
        "share_within_1bp": 0.8504577822990844,
        "share_within_2bp": 0.9369277721261444
      },
      "B": {
        "n": 983,
        "median": -0.03970396182072233,
        "p25": -0.4531524026876732,
        "p75": 0.21240700047830963,
        "share_within_1bp": 0.8596134282807731,
        "share_within_2bp": 0.9450661241098678
      }
    },
    "held out, last two hours, unadjusted": {
      "A": {
        "n": 49,
        "median": -0.7619147020153372,
        "p25": -1.2694802521019817,
        "p75": 0.018728284638183657,
        "share_within_1bp": 0.5510204081632653,
        "share_within_2bp": 0.9387755102040817
      },
      "B": {
        "n": 49,
        "median": -0.470419491693172,
        "p25": -1.205844992210131,
        "p75": 0.035318389924529625,
        "share_within_1bp": 0.5918367346938775,
        "share_within_2bp": 0.9591836734693877
      }
    }
  },
  "paired_comparison": {
    "spot start, other maturity, under 1Y": {
      "n": 41,
      "B_closer": 30,
      "A_closer": 11,
      "sign_test_p": 0.00432400493446039,
      "median_abs_A_minus_abs_B_bp": 0.27718694917709674,
      "A_within_1bp": 23,
      "B_within_1bp": 34
    },
    "spot start, other maturity, 1Y to 10Y": {
      "n": 70,
      "B_closer": 37,
      "A_closer": 33,
      "sign_test_p": 0.7202027723528613,
      "median_abs_A_minus_abs_B_bp": 0.0026461163220303785,
      "A_within_1bp": 63,
      "B_within_1bp": 64
    },
    "spot start, other maturity, 10Y to the last node": {
      "n": 28,
      "B_closer": 11,
      "A_closer": 17,
      "sign_test_p": 0.34492845088243484,
      "median_abs_A_minus_abs_B_bp": -0.040985777156679504,
      "A_within_1bp": 21,
      "B_within_1bp": 23
    },
    "spot start, other maturity, beyond the last node": {
      "n": 1,
      "B_closer": 1,
      "A_closer": 0,
      "sign_test_p": 1.0,
      "median_abs_A_minus_abs_B_bp": 3.667582128580939,
      "A_within_1bp": 0,
      "B_within_1bp": 0
    },
    "forward start, under 1Y": {
      "n": 27,
      "B_closer": 11,
      "A_closer": 15,
      "sign_test_p": 0.557197093963623,
      "median_abs_A_minus_abs_B_bp": -7.647216193618078e-09,
      "A_within_1bp": 23,
      "B_within_1bp": 20
    },
    "forward start, 1Y to 10Y": {
      "n": 172,
      "B_closer": 101,
      "A_closer": 70,
      "sign_test_p": 0.021506542463250306,
      "median_abs_A_minus_abs_B_bp": 0.0009881450799298364,
      "A_within_1bp": 138,
      "B_within_1bp": 135
    },
    "forward start, 10Y to the last node": {
      "n": 96,
      "B_closer": 60,
      "A_closer": 36,
      "sign_test_p": 0.018433352931462543,
      "median_abs_A_minus_abs_B_bp": 0.03787377876950104,
      "A_within_1bp": 70,
      "B_within_1bp": 71
    },
    "forward start, beyond the last node": {
      "n": 25,
      "B_closer": 18,
      "A_closer": 7,
      "sign_test_p": 0.043285250663757324,
      "median_abs_A_minus_abs_B_bp": 0.0819745507513181,
      "A_within_1bp": 22,
      "B_within_1bp": 22
    },
    "all held-out prints": {
      "n": 460,
      "B_closer": 269,
      "A_closer": 189,
      "sign_test_p": 0.00021559899253194086,
      "median_abs_A_minus_abs_B_bp": 0.00740333271700977,
      "A_within_1bp": 360,
      "B_within_1bp": 369
    },
    "spot start, other maturity, under 1Y, one per expiration date": {
      "n": 22,
      "B_closer": 16,
      "A_closer": 6,
      "sign_test_p": 0.052478790283203125,
      "median_abs_A_minus_abs_B_bp": 0.2408390191649401,
      "A_within_1bp": 14,
      "B_within_1bp": 19
    },
    "spot start, other maturity, under 1Y, raw rates": {
      "n": 41,
      "B_closer": 35,
      "A_closer": 6,
      "sign_test_p": 4.873598300036974e-06,
      "median_abs_A_minus_abs_B_bp": 0.3532650225147176,
      "A_within_1bp": 11,
      "B_within_1bp": 17
    },
    "spot start, other maturity, 6M to 1Y (exploratory)": {
      "n": 28,
      "B_closer": 24,
      "A_closer": 4,
      "sign_test_p": 0.00017999112606048584,
      "median_abs_A_minus_abs_B_bp": 0.8038525532398644,
      "A_within_1bp": 13,
      "B_within_1bp": 26
    }
  },
  "oos_prints_beyond_6bp": 30
}