The forecast and calibration ledger, and surprise
1,777 words8 subsections4 tables2 listingsPlan version 0.1
On this page8
10.1 Register before resolve (INV-008)
- Every resolvable Claim is registered with
record_time < outcome.valid_time. Examples:- next month's F1 by domain;
- next quarter's AISC per site;
- the capex outturn ratio;
- this hole's intercept;
- next week's mill throughput;
- P(≥1 discovery) in a tract over 10 years.
- The registration stores the full distribution, the scoring rule, the resolution source, the horizon, the
segment (model × domain × horizon × site) and the author, which may be a model version, a named person or
agent:model@version. - The ledger is append-only and hash-chained, and supports bitemporal as-of replay (PO-PLUMB-8).
- The FY forecasts of the public lane are hashed and timestamped before the issuer's release (M0, §37).
- Technical-report assumptions are scoreable frozen forecasts once their resolution criteria are written down in advance. Loulo's LOM processing cost of $19.63/t sits against a 2022 actual of $24.68/t and a plan of $17.49/t (FACT, E249); its LOM recovered gold for 2023–2025 is 680/680/666 koz (100%). Risk ratings resolve only on their stated event: Loulo's "loss of operational control" in 2025 was not "loss of ownership": Barrick kept 80% legal ownership throughout (FACT, E247, E248, E406). The QP's "Possible / Moderate" fiscal-stability rating did resolve: the 2023 Code was applied retroactively (E412).
10.2 Scoring
| Quantity | Proper score | Diagnostics |
|---|---|---|
| Continuous (grade, tonnes, capex ratio, AISC) | CRPS (and CRPS normalized by a declared range for racing) | PIT histogram; coverage at 50/80/95% |
| Events (P(≥1 deposit), "within ±10%", "TARP level reached") | Brier; log score floored at p_min (the floor is a recorded design choice) | Reliability diagram |
| Spatial discoveries | Point-process log score of held-out discoveries | Expected vs observed discoveries by intensity decile |
| Quantile claims | Interval score (Gneiting & Raftery 2007) | — |
- Racing models uses
fs_eproc::PairwiseRacewith a declaredLossSpan. Only bounded scores qualify, and the race correctly refuses out-of-span losses (FACT,fs-eproc/src/lib.rs). - Expert scoring uses Cooke's classical-model performance weights over seed questions.
10.3 Feedback into models (L3)
- Per forecast family: log(actual/forecast) ~ N(μ_f + u_site, σ_f²), with coverage-restoring inflation κ_f.
- Both are published as visible
Correctionclaims. A published forecast shows raw, correction and corrected values. - Small-n remedies, in order:
- score at the finest conditionally independent support;
- backfill hindcasts from the bitemporal record;
- simulation-based calibration on synthetic truth;
- reference classes.
10.4 Surprise monitors (L5)
pub enum Monitor {
Coverage(fs_eproc::bernoulli::BernoulliMixtureCs), // anytime-valid CS on 1{outcome ∈ 80% interval}
SpatialFrontPit { // sequential PIT along the mining front (below)
whitener: VecchiaWhitener, // registered joint model → conditional predictive
loc: BettingEProcess, // ψ = tanh(z/2); E₀ψ = 0
disp: BettingEProcess, // ψ = tanh((z²−1)/2) − c₀, c₀ ≈ −0.0748
},
Race(fs_eproc::PairwiseRace), // model vs model on bounded scores
NullRace { log_lr: f64 }, // h₀ vs best named hypothesis
Cusum { s: f64, h: f64 }, // fast large shifts (pairs with Coverage)
Aoa { di: f64, threshold: f64 }, // dissimilarity index of new inputs vs training
Staleness { max_age: Duration }, // instruments, surveys, reviews
Conformal { stratum: StratumId, alpha: f64 }, // Mondrian coverage where exchangeable
}
- Why
CoverageandSpatialFrontPitare paired (DESIGN).Coveragescores monthly reconciled domain totals, the conditionally independent support (assumption A8: within-month spatial correlation voids the martingale argument at finer support). It binarizes each month, so it is slow: when 80% coverage slips to about 58%, the median time to alarm is about 2 years (26 months), and about 1 run in 6–7 takes more than 5 years (exact first passage of the e ≥ 20 mixture; R7-C124, GB-08).SpatialFrontPitscores each blast polygon or stope ring k = 1, 2, … inavailability_timeorder. Its null is stronger: the registered joint model (the Strata ensemble, or its Vecchia approximation on m nearest predecessors) is the true joint law of the polygon outcomes. Under that null the sequential probability integral transform u_k = F̂_k(y_k | y₁…y_{k−1}) is i.i.d. Uniform(0, 1) however strongly the polygons are correlated (Rosenblatt 1952), and z_k = Φ⁻¹(u_k) is i.i.d. N(0, 1). A Vecchia model is itself a valid joint law, so the PIT is exact for it and approximate against the full Gaussian-process model. With a finite ensemble, F̂_k is a randomized rank.- Two bounded scores bet against that null: ψ_loc(z) = tanh(z/2), mean 0 by symmetry, and ψ_disp(z) = tanh((z² − 1)/2) − c₀ with c₀ = E₀[tanh((z² − 1)/2)] ≈ −0.0748. The centring is required: uncentred, the dispersion score has mean −0.075 under the null, a negative stake earns wealth, and Ville's bound fails. Each wealth process M_K = Π_{k≤K} (1 + λ_k ψ(z_k)), with a predictable stake λ_k that keeps 1 + λ_k ψ > 0 (aGRAPA; Waudby-Smith and Ramdas 2024), is a nonnegative martingale under the null, so P₀(sup_K M_K ≥ 2/α) ≤ α/2 per score and ≤ α for the pair.
- Simulated detection at α = 0.05 with aGRAPA stakes on both scores (INFERENCE from simulation; HYPOTHESIS for
any real pit): median 22 polygons when 80% coverage falls to 58% through a location shift, 36 through a
dispersion shift (σ × 1.59), 50 for a 0.5σ bias and about 220 for a 1.4× variance excess. The false-alarm rate
over 600 null polygons was 3.8%. At 10 polygons a month the first three alarm in 2–5 months, against a median
of about 2 years for
Coverage. - An alarm says the joint model is wrong somewhere (mean, variance or covariance). The InvestigationCase (§10.5)
attributes it, and
Coveragestays the test of the published 80% intervals.
GB-08 · Anytime-valid coverage alarm: monthly Bernoulli vs. the spatial-front PIT (e_fdr; illustrative):
- Equation.
- Monthly Bernoulli mixture: e = B(k+1, n−k+1) / (0.8^k · 0.2^{n−k}). Alarm at e ≥ 1/α = 20 (the franken-decision default).
- Spatial-front PIT: M_K = Π_{k≤K} (1 + λ_k ψ(z_k)) per score, with z_k = Φ⁻¹(F̂_k(y_k | y₁…y_{k−1})). The pair alarms when either wealth reaches 2/α = 40.
- Substituted.
- Monthly: the 80% intervals held in 7 of 12 months gives e = 1.45. 14 of 24 gives 4.5. 36 of 60 gives 84 → alarm.
- Polygon level, 10 polygons a month, coverage 80% → 58% by a dispersion shift (σ × 1.59): the oracle stake grows log-wealth at 0.146 nats per polygon, so ln 40 ≈ 3.69 takes about 25 polygons. The predictable aGRAPA stake needs a median of 36 polygons (10–90%: 16–71), about 3.6 months.
- Intuition. "7 of 12 looks bad" is not yet evidence, because a binary monthly score discards both the size of each miss and the polygon sequence. Conditioning each polygon on the ones already mined removes the spatial correlation without coarsening. CUSUM still catches large abrupt shifts.
- Flip. If the grade-control measurement error is uncharacterized (G-CORE-2), the dispersion score cannot
separate geological under-dispersion from assay noise. Run the location score only, and keep
Coverage.
10.5 The UU → KU conversion automaton and InvestigationCase
Armed ──alarm(e ≥ 1/α | CUSUM | AOA exit | h₀ wins race | staleness)──► InvestigationOpen{case}
InvestigationOpen ──► { HypothesisAdded(debit h₀, reset floor)
| Recalibrated(visible Correction claim)
| DataDefect(QA/QC finding; supersede inputs)
| FalseAlarmLogged }
──► Rearmed
- There is never a silent retrain.
- An
InvestigationCase(after FSS §20.9) carries:- the triggering monitor and evidence;
- competing explanations, each a
HYP-; - VOI-ranked probes, ordered by "expected decision-loss reduction per resource, not information volume";
- an owner, deadlines and the resolution.
- Cases are first-class ledger objects. Agents may open them and propose probes. Humans close them.
10.6 Expert elicitation
- Structured elicitation uses the IDEA protocol (Investigate, Discuss, Estimate, Aggregate).
- Elicited quantities are registered forecasts when resolvable.
- Experts are scored on seed questions with known answers, and pooled with performance weights.
- Scoring experts is politically sensitive (OPEN-PLUMB-11). Scores are visible to the expert and the case owner by default, not published.
10.7 Proof obligations for Plumb
| ID | Statement | Verification | If violated |
|---|---|---|---|
| PO-PLUMB-1 | NL-1…NL-8 hold over 10⁵ random provenance DAGs | Proptest with fs-evidence compose |
Block release |
| PO-PLUMB-2 | Taint monotone; no Full-basis bytes in Public exports | Taint test + export fuzz | Block export |
| PO-PLUMB-8 | Ledger append-only and hash-chained; every scored forecast had record time < outcome valid time; as-of replay bit-identical | Chain audit | Quarantine the segment |
| PO-PLUMB-10 | Monitor false-alarm rate ≤ α under a calibrated null at the declared support (Ville) | Control-mine replay | Re-specify the support |
| PO-PLUMB-11 | P(h₀) ≥ ε_ref after every revision, including after hypothesis additions | Invariant test | Block |
| PO-PLUMB-15 | Refused never becomes a number without a declared fallback |
Type-level + tests | — |
| PO-PLUMB-16 | Mondrian conformal coverage ≥ 1−α within each exchangeable stratum | Held-out strata | Drop the conformal claim |
10.8 Plumb gates and kill gates
| Gate | Threshold (TARGET) |
|---|---|
| GATE-PLUMB-E1 | No-laundering proptests 100% |
| GATE-PLUMB-E2 | 100% of resolvable decision claims registered before resolution; as-of replay bit-identical |
| GATE-PLUMB-E3 | Misspecified synthetic mine (out-of-model fault; biased capex process): the layered stack restores 80% coverage to ±5 points within 12 resolutions after an alarm, pooled over R ≥ 50 replicate worlds (P(pass ∣ true 0.8) ≈ 0.998, P(pass ∣ 0.7) ≈ 0.004; a single 12-resolution run passes a calibrated stack only 52% of the time, R7-C120), while a single global posterior documentably fails |
| GATE-PLUMB-E4 | Zero ε without a RefClass; zero unverified reference classes on disclosure-facing claims |
| GATE-PLUMB-E5 | Correctly specified control mine: one-sided 95% Clopper–Pearson upper bound on the false-alarm rate ≤ α over N ≥ 1,000 null runs (at the simulated 3.8%, N = 600 gives 0.054 and fails; R7-C122); sharpness loss < 10% |
| Kill | Trigger | Fallback |
|---|---|---|
| KILL-PLUMB-5 | Executive user test rejects the epistemic map | Three-field card: range · evidence class · flip margin |
| KILL-PLUMB-6 | Monitors raise more than 1 false alarm per site per quarter in the control. Each CUSUM stream is tuned to ARL₀ ≥ 85·M polygons (M = streams per site), so the expected rate is ≤ 0.36 per quarter and the kill fires by chance in ≤ 5% of quarters; at an expected rate of exactly 1 it would fire in 26% (R7-C122) | Re-specify the support; CUSUM-only for fast shifts |