Skip to content

test(historical): B1 — characterization golden + reader-level parity oracle (#126) - #128

Merged
Polichinel merged 1 commit into
developmentfrom
feat/oom-b1-historical-golden
Jul 27, 2026
Merged

test(historical): B1 — characterization golden + reader-level parity oracle (#126)#128
Polichinel merged 1 commit into
developmentfrom
feat/oom-b1-historical-golden

Conversation

@Polichinel

Copy link
Copy Markdown
Collaborator

Part B story 1 of the run-0 OOM fix (expert review: Feathers amendment — capture the oracle BEFORE retiring the legacy chain).

  • Committed golden: real 2-month × 200-cell slice through the full legacy pandas chain (169 KB, gitignore-excepted like the wire fixture).
  • tests/test_historical_parity.py: reader-level oracle mirroring faoapi's actual reader semantics (dataset_service.py:255-334, handlers.py:1365-1417) — future builders compared on the reader-visible frame, not bytes.
  • Captured hazard, now pinned: the legacy chain ships junk row/col columns that faoapi's auto-detect would serve as bogus targets — the frame-native builder (next story) drops them deliberately.

A2 measurements for the record: streamed forecast leg on the REAL run = 4.73 GB peak, 108 shards, 5 min, zero uploads; legacy historical leg could not finish its 28.3M-row join within 500 s (after previously OOM-killing at 23.8 GB) — Part B is confirmed critical-path for run 0.

Refs #126. 🤖 Generated with Claude Code

…level parity oracle (#126, Feathers amendment)

400-row real slice (2 months x 200 cells) through the FULL legacy chain
(PGMDataset + pandas GAUL enrichment + join), captured to a committed golden
BEFORE that chain is retired. Parity oracle mirrors faoapi's reader semantics
(index restore-or-set; 9 non-null metadata columns; targets auto-detected) —
future builders must match the reader-visible frame, never the bytes.
Captured hazard, pinned: the legacy chain ships junk 'row'/'col' columns that
faoapi would auto-detect as targets; the frame-native builder must drop them.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Polichinel
Polichinel merged commit 742c76a into development Jul 27, 2026
4 checks passed
@Polichinel
Polichinel deleted the feat/oom-b1-historical-golden branch July 27, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant