Production forensic audit · immutable source review

MLB prediction system deep audit

Slate 20261005. 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.

2games 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 2 playable official games and found 2 valid canonical artifacts.

Cancelled/postponed: [].

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
20261005_CHW@CLECHW 4 - 5 CLECHW 4 - 5 CLE+3.70%MATCH / MATCH
20261005_NYY@TBNYY 4 - 2 TBNYY 4 - 2 TB-7.92%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.

20261005_CHW@CLE.json

20261005_CHW@CLE

CONSISTENT

Canonical final prediction

CHW 4 - 5 CLE

Winner: CLE

Diagnostic simulation

CHW 4 - 5 CLE

Winner: CLE

Signed confidence edge

+3.70%

Home 51.85% · Away 48.15%

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
Anthony Kay (641743)
Official
Anthony Kay (641743)
Local source
official_mlb_probable_pitcher
Local profile
ERA 4.470, WHIP 1.371, IP 151.0
Home MATCH
Local
Gavin Williams (668909)
Official
Gavin Williams (668909)
Local source
official_mlb_probable_pitcher
Local profile
ERA 3.760, WHIP 1.112, IP 184.3

Starter impact evidence

Applied: True Away run factor: 0.966 Home run factor: 1.015 Before: 3.970–5.070 After: 3.833–5.144
Model provenance
Schema
historical_game_temporal_v11
Trained at UTC
2026-09-27T08:46:08.983375Z
Training rows
2415
Feature count
16
Publication quality gate
True

20261005_NYY@TB.json

20261005_NYY@TB

CONSISTENT

Canonical final prediction

NYY 4 - 2 TB

Winner: NYY

Diagnostic simulation

NYY 4 - 2 TB

Winner: NYY

Signed confidence edge

-7.92%

Home 46.04% · Away 53.96%

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
Cam Schlittler (693645)
Official
Cam Schlittler (693645)
Local source
official_mlb_probable_pitcher
Local profile
ERA 1.890, WHIP 0.905, IP 200.0
Home MATCH
Local
Freddy Peralta (642547)
Official
Freddy Peralta (642547)
Local source
official_mlb_probable_pitcher
Local profile
ERA 4.420, WHIP 1.325, IP 169.0

Starter impact evidence

Applied: True Away run factor: 1.022 Home run factor: 1.002 Before: 3.982–1.930 After: 4.069–1.933
Model provenance
Schema
historical_game_temporal_v11
Trained at UTC
2026-09-27T08:46:08.983375Z
Training rows
2415
Feature count
16
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 2 games and generated equivalent JSON/HTML outputs.
source_artifact_immutabilityPASSMutated canonical source files: [].
official_schedulePASSOfficial rows: 2
slate_artifact_completenessPASSExpected 2 official games; found 2 valid artifacts; void official games []; 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 2 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