Complete GP manuscript checks and verify revision artifacts

Move the comparator definitions and core evidence into the main text and
lead with effect sizes and intervals. Preserve the locked verdicts and
record the independent GP-D referee report.

Archive the saved GP results and regenerate 43 outputs in the clean
room. Add a source-backed numerical guard for the submission and
record the correction to anchor warp RMSE and the scope of the pooled
blind-well power estimates.

Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
2026-11-18 04:08:10 +00:00
parent eff975cc96
commit 1985fcfa02
19 changed files with 28322 additions and 89 deletions

View File

@@ -307,7 +307,7 @@ def extra_arm_rows(regime: str, c: float, N: int, rep: bool) -> tuple[pd.DataFra
# A1
# ----------------------------------------------------------------------------------------------------------------
def stage_a1() -> list[str]:
def stage_a1(reproduce_original: bool = False) -> list[str]:
rng = np.random.default_rng(0)
rows, checks, extra_seen = [], [], set()
for rep in (False, True):
@@ -315,7 +315,14 @@ def stage_a1() -> list[str]:
for regime, c, N in A1_CELLS:
run = p2r_cell_rows(regime, c, N, rep)
arms, adiag = arm_rows(regime, c, N, rep)
ex, exw = extra_arm_rows(regime, c, N, rep)
# The original A1 aggregation preceded E2 and all but one complete E4 cell.
if not reproduce_original or (not rep and (regime, c, N) == ("R10", 0, 16)):
ex, exw = extra_arm_rows(regime, c, N, rep)
if reproduce_original:
ex = ex[ex.method == "SMC-opt"]
exw = {"SMC-opt": exw["SMC-opt"]}
else:
ex, exw = pd.DataFrame(), {}
rids = sorted(set(run.rid))
have = [k for k in ((regime, r, c, N) for r in rids) if k in cells]
if not len(run) or not have:
@@ -964,11 +971,17 @@ def main() -> None:
ap.add_argument("--workers", type=int, default=4)
ap.add_argument("--force", action="store_true", help="re-aggregate the chosen stages")
ap.add_argument("--force-jobs", action="store_true", help="also recompute the per-cell and A5 jobs")
ap.add_argument("--repro-tables", action="store_true", help="regenerate the archived numeric tables from saved cells")
args = ap.parse_args()
sha = check_declaration()
set_threads(2)
if os.environ.get("CUDA_VISIBLE_DEVICES", None) != "":
os.environ["CUDA_VISIBLE_DEVICES"] = ""
if args.repro_tables:
stage_a1(reproduce_original=True)
for aggregate in (stage_a2, stage_a3, stage_a4, stage_a5, stage_a6, stage_a7, stage_a8, stage_a9):
aggregate()
return
workers = min(args.workers, 4)
stages = ["a1", "a2", "a3", "a4", "a5", "a6", "a7", "a8", "a9"] if "all" in args.stage else args.stage
OUT.mkdir(parents=True, exist_ok=True)