Skip to content

Commit c64a682

Browse files
luisleo526claude
andauthored
Re-pin the validation corpus to the codegen-oss 89645d67 regeneration (#258)
The committed corpus generated.cpp files were the pre-R4-D shape and no longer compiled against main (default-constructed BacktestEngine, default_qty_type_, pyramiding_). pineforge-corpus#18 regenerates all 317 from strategy.pine with the R4-D codegen; scripts/regen_corpus_cpp.sh and its pin test now name that codegen commit. VERIFY=1 regen: 314 verified, 0 drifted; run_corpus.sh rc=0; verify_corpus.py: 312 strategies, excellent=311 strong=0 anomaly=1 (was 307/4 — four strategies rose with the R4-D engine). This restores scripts/run_corpus.sh as the local neutrality proof for the R5 lanes. Claude-Session: https://claude.ai/code/session_01CSmYixVAp4NqWpBZxkrLPT Co-authored-by: Claude Fable 5.1 <[email protected]>
1 parent be0cbab commit c64a682

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎corpus‎

Submodule corpus updated 314 files

‎scripts/regen_corpus_cpp.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
3535
cd "$ROOT_DIR"
3636

3737
IMAGE="${IMAGE:-ghcr.io/pineforge-4pass/pineforge-release@sha256:a69c3700e44868d9657697f43e3f3954a7ed8bde039b55b52ec901538720ac05}"
38-
CODEGEN_COMMIT="66612eda9ea834e872f48dbe3689c500b1e22cb5"
38+
CODEGEN_COMMIT="89645d674eb8145ac8f66c67dd1d115f023c9080"
3939
CODEGEN_REPO="${CODEGEN_REPO:-https://github.com/pineforge-4pass/pineforge-codegen-oss.git}"
4040
VERIFY="${VERIFY:-0}"
4141

‎scripts/test_regen_corpus_cpp_pin.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
ROOT = Path(__file__).resolve().parents[1]
88
text = (ROOT / "scripts/regen_corpus_cpp.sh").read_text()
9-
commit = "66612eda9ea834e872f48dbe3689c500b1e22cb5"
9+
commit = "89645d674eb8145ac8f66c67dd1d115f023c9080"
1010
if text.count(f'CODEGEN_COMMIT="{commit}"') != 1:
1111
raise SystemExit("regen_corpus_cpp: paired codegen commit is not pinned exactly once")
1212
if "pineforge-release:latest" in text:
@@ -19,4 +19,4 @@
1919
"--network=none", "-e PYTHONPATH=/codegen"):
2020
if required not in text:
2121
raise SystemExit("regen_corpus_cpp: missing pin enforcement: " + required)
22-
print("regen_corpus_cpp: codegen 66612ed and immutable runtime image pinned")
22+
print("regen_corpus_cpp: codegen 89645d6 and immutable runtime image pinned")

0 commit comments

Comments
 (0)