Production forensic audit · immutable source review

MLB prediction system deep audit

Slate 20260827. This report separates the canonical final decision from the stochastic inning simulation, audits signed probability confidence, reconciles starters against the official schedule, and records the exact readiness of the adaptive learning and training loop.

7games audited
0winner conflicts
0score conflicts
0starter mismatches
0unresolved starters
COMPLETEslate artifacts
READYoverall readiness

Executive conclusion

Canonical display rule: the public winner and score come from final_prediction. A disagreeing scoring_simulation remains visible for diagnosis but cannot overwrite the accepted winner.

Confidence rule: Signed confidence edge = home win probability − away win probability. Positive is home; negative is away. Winner probability remains separately available as pick_probability for calibration and learning.

Artifact safety: the source game JSON files were read only. Files mutated: 0.

Official slate completeness

Status: COMPLETE. Expected 7 official games and found 7 valid canonical artifacts.

Missing games: None.

Unexpected games: None.

Artifact parse failures: 0. The command returns a nonzero status for incomplete slates unless --allow-incomplete is explicit.

All games at a glance

GameCanonical finalDiagnostic simulationSigned edgeStarter status A/H
20260827_ARI@SFARI 3 - 4 SFARI 3 - 4 SF+6.73%MATCH / MATCH
20260827_BAL@STLBAL 6 - 2 STLBAL 6 - 2 STL-45.62%MATCH / MATCH
20260827_COL@WASCOL 3 - 4 WASCOL 3 - 4 WAS+7.41%MATCH / MATCH
20260827_HOU@NYYHOU 3 - 5 NYYHOU 3 - 5 NYY+12.00%MATCH / MATCH
20260827_KC@TORKC 4 - 3 TORKC 4 - 3 TOR-9.74%MATCH / MATCH
20260827_LAD@ATLLAD 3 - 4 ATLLAD 3 - 4 ATL+12.17%MATCH / MATCH
20260827_MIL@NYMMIL 4 - 2 NYMMIL 4 - 2 NYM-12.00%MATCH / MATCH

Final vs simulation contradictions

A score difference is diagnostic. A winner difference is a hard public-surface contradiction unless the display is synchronized to the final decision.

20260827_ARI@SF.json

20260827_ARI@SF

CONSISTENT

Canonical final prediction

ARI 3 - 4 SF

Winner: SF

Diagnostic simulation

ARI 3 - 4 SF

Winner: SF

Signed confidence edge

+6.73%

Home 53.37% · Away 46.63%

Public display authority: final_prediction. The inning simulation is diagnostic only. Winner disagreement: False; score disagreement: False.

Official and local starter audit

Away MATCH
Local
Jose Cabrera (703615)
Official
Jose Cabrera (703615)
Local source
official_mlb_probable_pitcher
Local profile
ERA 5.604, WHIP 1.528, IP 17.7
Home MATCH
Local
Landen Roupp (694738)
Official
Landen Roupp (694738)
Local source
official_mlb_probable_pitcher
Local profile
ERA 4.344, WHIP 1.314, IP 134.7

Starter impact evidence

Applied: True Away run factor: 1.004 Home run factor: 0.993 Before: 4.345–4.862 After: 4.364–4.829
Model provenance
Schema
historical_game_temporal_v10
Trained at UTC
2026-08-27T11:36:40.118029Z
Training rows
1998
Feature count
14
Publication quality gate
True

20260827_BAL@STL.json

20260827_BAL@STL

CONSISTENT

Canonical final prediction

BAL 6 - 2 STL

Winner: BAL

Diagnostic simulation

BAL 6 - 2 STL

Winner: BAL

Signed confidence edge

-45.62%

Home 27.19% · Away 72.81%

Public display authority: final_prediction. The inning simulation is diagnostic only. Winner disagreement: False; score disagreement: False.

Official and local starter audit

Away MATCH
Local
Trevor Rogers (669432)
Official
Trevor Rogers (669432)
Local source
official_mlb_probable_pitcher
Local profile
ERA 4.008, WHIP 1.234, IP 128.0
Home MATCH
Local
Gordon Graceffo (700669)
Official
Gordon Graceffo (700669)
Local source
official_mlb_probable_pitcher
Local profile
ERA 3.126, WHIP 1.121, IP 63.1

Starter impact evidence

Applied: True Away run factor: 1.000 Home run factor: 1.058 Before: 6.245–2.000 After: 6.245–2.117
Model provenance
Schema
historical_game_temporal_v10
Trained at UTC
2026-08-27T11:36:40.118029Z
Training rows
1998
Feature count
14
Publication quality gate
True

20260827_COL@WAS.json

20260827_COL@WAS

CONSISTENT

Canonical final prediction

COL 3 - 4 WAS

Winner: WAS

Diagnostic simulation

COL 3 - 4 WAS

Winner: WAS

Signed confidence edge

+7.41%

Home 53.71% · Away 46.29%

Public display authority: final_prediction. The inning simulation is diagnostic only. Winner disagreement: False; score disagreement: False.

Official and local starter audit

Away MATCH
Local
Gabriel Hughes (687312)
Official
Gabriel Hughes (687312)
Local source
official_mlb_probable_pitcher
Local profile
ERA 7.034, WHIP 1.387, IP 39.7
Home MATCH
Local
Jake Irvin (663623)
Official
Jake Irvin (663623)
Local source
official_mlb_probable_pitcher
Local profile
ERA 5.819, WHIP 1.358, IP 77.3

Starter impact evidence

Applied: True Away run factor: 1.000 Home run factor: 0.951 Before: 5.360–5.545 After: 5.361–5.273
Model provenance
Schema
historical_game_temporal_v10
Trained at UTC
2026-08-27T11:36:40.118029Z
Training rows
1998
Feature count
14
Publication quality gate
True

20260827_HOU@NYY.json

20260827_HOU@NYY

CONSISTENT

Canonical final prediction

HOU 3 - 5 NYY

Winner: NYY

Diagnostic simulation

HOU 3 - 5 NYY

Winner: NYY

Signed confidence edge

+12.00%

Home 56.00% · Away 44.00%

Public display authority: final_prediction. The inning simulation is diagnostic only. Winner disagreement: False; score disagreement: False.

Official and local starter audit

Away MATCH
Local
Hayden Wesneski (669713)
Official
Hayden Wesneski (669713)
Local source
official_mlb_probable_pitcher
Local profile
ERA 4.229, WHIP 1.229, IP 27.7
Home MATCH
Local
Gerrit Cole (543037)
Official
Gerrit Cole (543037)
Local source
official_mlb_probable_pitcher
Local profile
ERA 3.108, WHIP 1.068, IP 92.7

Starter impact evidence

Applied: True Away run factor: 1.027 Home run factor: 1.000 Before: 2.011–6.355 After: 2.065–6.355
Model provenance
Schema
historical_game_temporal_v10
Trained at UTC
2026-08-27T11:36:40.118029Z
Training rows
1998
Feature count
14
Publication quality gate
True

20260827_KC@TOR.json

20260827_KC@TOR

CONSISTENT

Canonical final prediction

KC 4 - 3 TOR

Winner: KC

Diagnostic simulation

KC 4 - 3 TOR

Winner: KC

Signed confidence edge

-9.74%

Home 45.13% · Away 54.87%

Public display authority: final_prediction. The inning simulation is diagnostic only. Winner disagreement: False; score disagreement: False.

Official and local starter audit

Away MATCH
Local
Noah Cameron (702070)
Official
Noah Cameron (702070)
Local source
official_mlb_probable_pitcher
Local profile
ERA 4.225, WHIP 1.240, IP 136.3
Home MATCH
Local
Spencer Arrighetti (681293)
Official
Spencer Arrighetti (681293)
Local source
official_mlb_probable_pitcher
Local profile
ERA 4.602, WHIP 1.341, IP 88.0

Starter impact evidence

Applied: True Away run factor: 0.972 Home run factor: 0.921 Before: 7.001–2.402 After: 6.806–2.212
Model provenance
Schema
historical_game_temporal_v10
Trained at UTC
2026-08-27T11:36:40.118029Z
Training rows
1998
Feature count
14
Publication quality gate
True

20260827_LAD@ATL.json

20260827_LAD@ATL

CONSISTENT

Canonical final prediction

LAD 3 - 4 ATL

Winner: ATL

Diagnostic simulation

LAD 3 - 4 ATL

Winner: ATL

Signed confidence edge

+12.17%

Home 56.08% · Away 43.92%

Public display authority: final_prediction. The inning simulation is diagnostic only. Winner disagreement: False; score disagreement: False.

Official and local starter audit

Away MATCH
Local
Yoshinobu Yamamoto (808967)
Official
Yoshinobu Yamamoto (808967)
Local source
official_mlb_probable_pitcher
Local profile
ERA 2.611, WHIP 0.897, IP 151.7
Home MATCH
Local
Chris Sale (519242)
Official
Chris Sale (519242)
Local source
official_mlb_probable_pitcher
Local profile
ERA 2.200, WHIP 1.030, IP 135.0

Starter impact evidence

Applied: True Away run factor: 1.002 Home run factor: 0.926 Before: 2.901–3.893 After: 2.905–3.606
Model provenance
Schema
historical_game_temporal_v10
Trained at UTC
2026-08-27T11:36:40.118029Z
Training rows
1998
Feature count
14
Publication quality gate
True

20260827_MIL@NYM.json

20260827_MIL@NYM

CONSISTENT

Canonical final prediction

MIL 4 - 2 NYM

Winner: MIL

Diagnostic simulation

MIL 4 - 2 NYM

Winner: MIL

Signed confidence edge

-12.00%

Home 44.00% · Away 56.00%

Public display authority: final_prediction. The inning simulation is diagnostic only. Winner disagreement: False; score disagreement: False.

Official and local starter audit

Away MATCH
Local
Jacob Misiorowski (694819)
Official
Jacob Misiorowski (694819)
Local source
official_mlb_probable_pitcher
Local profile
ERA 1.676, WHIP 0.759, IP 145.0
Home MATCH
Local
Sean Manaea (640455)
Official
Sean Manaea (640455)
Local source
official_mlb_probable_pitcher
Local profile
ERA 3.676, WHIP 1.169, IP 71.0

Starter impact evidence

Applied: True Away run factor: 1.008 Home run factor: 1.056 Before: 5.128–0.924 After: 5.169–0.976
Model provenance
Schema
historical_game_temporal_v10
Trained at UTC
2026-08-27T11:36:40.118029Z
Training rows
1998
Feature count
14
Publication quality gate
True

Fixes and verification

IDStatusSummaryVerification
canonical_public_resultFIXEDPublic winner and score now come from final_prediction.The simulation remains preserved as diagnostic evidence and can no longer overwrite the accepted public decision.
signed_confidence_contractFIXEDConfidence now means home_win_probability minus away_win_probability.pick_probability and calibration_probability remain separate winner probabilities for learning and calibration.
signed_confidence_learning_separationFIXEDBrier, calibration buckets, thresholds, and expected-hit math never consume the signed UI edge.Away favorites use pick_probability/calibration_probability in the 0-1 probability domain while retaining a negative public confidence edge.
official_starter_precedenceFIXED_FOR_NEXT_SAFE_GENERATIONA current official MLB probable pitcher replaces a conflicting local starter.The source and replacement reason are recorded; post-first-pitch artifacts are not silently rewritten.
starter_only_historyFIXEDStarter matchup quality excludes relief appearances.Starter flags/pitching order are preferred, with a conservative innings fallback when role flags are absent.
starter_workload_weightingFIXEDStarter quality is weighted by expected innings and the remaining bullpen share is neutral.A starter-only factor is preserved for audit while the game receives the workload-adjusted factor.
hourly_source_refreshFIXEDLong-running workers refresh schedule and pitcher caches when source revisions change.Revision-aware cache keys cover daily starters, player stats, pitcher performance, recent rows, and matchup splits.
learning_artifact_mergeFIXEDPostgame learning reads root final/simulation fields together with nested game analysis.Final-versus-simulation contradictions and signed probability edges enter the learning evidence packet.
dynamic_starter_learning_rowsFIXEDDaily and rolling learning rebuild starter rows for the actual selected dates.The obsolete hard-coded August 1–3 starter report is no longer the normal pipeline input; each historical date resolves its own archived slate for the separate 120-game adaptive window.
official_settlement_safetyFIXEDOfficial actuals refresh until the slate is final and doubleheaders settle by game number.In-progress starter lines are excluded, final cache payloads are reusable, and game 1/game 2 cannot overwrite or cross-pair their starters.
temporal_leakage_guardFIXEDAdaptive results require timestamp proof that the artifact was generated before first pitch.Missing, post-start, or overwritten artifacts are excluded from packets, ledgers, evaluations, and proposal sample counts.
adaptive_evidence_bindingFIXEDPromotion evidence is bound to evaluator mode and exact champion/candidate hashes.Promotions reload a content-addressed system evaluation artifact and verify its hash; unsupported modes, unrelated metrics, partial normalized weight groups, and unimplemented auto-promotion fail closed.
starter_projection_evaluatorFIXEDStarter-only form variables now use frozen prospective replay and official starter outcomes.Promotion is based only on starter ER/outs MAE paired by game, side, and MLB ID; generic game Brier evidence is rejected.
phase_aware_trace_storageFIXEDPrediction traces are request-local, atomically saved, and versioned after first pitch.Concurrent requests cannot share a tracer, same-second reruns receive unique revision names, and the canonical pregame trace is preserved.

Readiness checks

IDStatusSummaryEvidence
report_contractPASSAudited 7 games and generated equivalent JSON/HTML outputs.
source_artifact_immutabilityPASSMutated canonical source files: [].
official_schedulePASSOfficial rows: 7
slate_artifact_completenessPASSExpected 7 official games; found 7 valid artifacts; missing []; unexpected []; parse failures 0.
current_artifact_starter_identityPASS0 mismatches and 0 unresolved starter sides in immutable source artifacts.
immutable_source_public_contractPASS0 immutable source artifacts violate the signed confidence, winner/score, probability-direction, or probability-sum contract. They were audited, not rewritten.
current_generation_public_contractPASSCurrent generation code synchronizes public winner/score and computes confidence as home_win_probability - away_win_probability; immutable legacy artifacts remain visibly separate.
postgame_settlement_and_learningPASSAll official games are final; settlement may run.
adaptive_core_modesPASSArtifact replay, enhanced shadow, and isolated XGBoost training backtest are mode/hash bound and manually promoted.
starter_projection_metricsPASSAllowlisted starter prior/weight candidates use prospective frozen replay, official MLB-ID settlement, ER/outs MAE, bootstrap gates, exact hashes, manual promotion, and starter-aware rollback. Global/hitter variables remain excluded.

Artifact parsing and integrity

ArtifactResultDetail
No artifact parsing errors.

Model provenance

The provenance for every game is retained inside its detail card. This exposes schema, training timestamp, row count, feature count, and publication gate rather than treating the current model as an unexplained black box.

Adaptive learning, review, and training context

Deep findings

20260819_STL@CIN

The better starter was recognized; the projected loss was not caused by rating him as worse.

Chase Burns is the stronger starter in the artifact, but the accepted team-level decision still favors St. Louis because season/recent team signals outweigh Cincinnati's starter edge. The diagnostic simulation does not project Burns being charged with every St. Louis run.

Action/readiness: Starter-only rows, official identity precedence, expected-innings weighting, and hourly cache refresh are corrected for future safe pregame generations. The immutable already-started artifact is audited, not rewritten.

20260819_WAS@TEX

The Washington 4–2 screen was a cross-stage display bug, not the accepted forecast.

The accepted decision is None with None as winner; the disagreeing diagnostic simulation is None with None as winner.

Action/readiness: The public contract is synchronized to final_prediction, and future pregame generation replaces the conflicting local starter with the official MLB probable. No post-first-pitch source JSON was overwritten.

20260819 full slate

The contradiction was systemic across display surfaces, while winner conflicts were concentrated.

0 of 7 artifacts have a final/simulation score difference and 0 have a winner difference.

Action/readiness: Regenerate future pregame artifacts with the corrected code; keep today's already-started source artifacts immutable and use this report as the correction/audit layer.

Connected execution flow

  1. Hourly upstream files change; revision-aware loaders invalidate same-process schedule, player, pitcher, recent-form, and matchup caches.
  2. Pregame orchestration reconciles each starter against the current official MLB game row and records source/provenance.
  3. Starter-only historical quality and Savant quality are blended by expected starter innings; the bullpen owns the remaining game share.
  4. The stable final-decision policy chooses one winner/score, then the public contract synchronizes every public field while retaining the simulation as diagnostic.
  5. After official settlement, review_prediction_results joins actual scores to the immutable prediction and preserves signed edge plus pick_probability.
  6. The daily and rolling postgame pipeline rebuilds starter comparisons for the selected dates; a separate 120-game adaptive evidence window prevents daily sample limits from disabling proposals.
  7. The adaptive cycle ingests settled evidence, evaluates one bounded candidate, asks OpenAI then Claude for strict JSON only when eligible, and never lets LLM text directly mutate production.
  8. Starter candidates replay frozen pregame form evidence and settle against separate append-only official starter events; XGBoost candidates use isolated chronological retraining.
  9. A deterministic, mode/hash-bound evaluation must pass before manual promotion; approved changes retain exact rollback and starter-aware or game-aware post-promotion monitoring.

Known limits and safety holds

Complete machine-readable operating context
{
  "data_directory": {
    "status": "untouched_by_this_audit",
    "policy": "The report reads output/games and the external official schedule only. It does not rewrite or enumerate data/."
  },
  "adaptive_readiness": {
    "artifact_replay": "operational",
    "enhanced_shadow": "operational",
    "model_training_backtest": "operational_with_manual_promotion",
    "full_pipeline_backtest": "operational_for_allowlisted_starter_projection_parameters_only",
    "provider_order": [
      "openai",
      "anthropic"
    ],
    "provider_output_authority": "proposal_only"
  },
  "confidence_semantics": {
    "display": "home_win_probability - away_win_probability",
    "calibration": "pick_probability / calibration_probability"
  }
}

Evidence sources