fixed-solver-approval-control · 2234fd36f524
Browse filesFiles changed (8)
34 unmodified lines35363738394034 unmodified lines| Top-down supervision · only final judge trained | 20/32 (62.5%) | 19/32 (59.4%) | 18/32 (56.2%) || Top-down supervision · all participating judges trained | 20/32 (62.5%) | 18/32 (56.2%) | 18/32 (56.2%) |“Only final judge trained” fits the judge used for that column’s terminal decision and uses original judges for preceding calls. “All participating judges trained” uses fitted adapters at every depth. Top-down training uses the shared exact-trained Judge 3. Pending cells have no completed matched measurement. [Matched comparison protocol](reports/matched-depth-protocol.md)## Why did the two-judge and three-judge solvers diverge?34 unmodified lines353637383940414234 unmodified lines| Top-down supervision · only final judge trained | 20/32 (62.5%) | 19/32 (59.4%) | 18/32 (56.2%) || Top-down supervision · all participating judges trained | 20/32 (62.5%) | 18/32 (56.2%) | 18/32 (56.2%) |Always accepting scores 20/32 (62.5%) on these same responses. The stack trained on exact labels approved all 32 answers at every depth, including all 12 incorrect solutions. The stack trained top-down approved 32, 30, 30 answers at depths one, two and three, respectively. It accepted all 12 incorrect solutions at every depth.“Only final judge trained” fits the judge used for that column’s terminal decision and uses original judges for preceding calls. “All participating judges trained” uses fitted adapters at every depth. Top-down training uses the shared exact-trained Judge 3. Pending cells have no completed matched measurement. [Matched comparison protocol](reports/matched-depth-protocol.md)## Why did the two-judge and three-judge solvers diverge?
212281 unmodified lines212282212283212284212285212286212287212288212281 unmodified lines],"solver_n": 32,"judge_n": 32,"frozen_solver": "20/32 (62.5%)"}],"primary": {212281 unmodified lines212282212283212284212285212286212287212288212289212281 unmodified lines],"solver_n": 32,"judge_n": 32,"frozen_solver": "20/32 (62.5%)","judge_note": "Always accepting scores 20/32 (62.5%) on these same responses. The stack trained on exact labels approved all 32 answers at every depth, including all 12 incorrect solutions. The stack trained top-down approved 32, 30, 30 answers at depths one, two and three, respectively. It accepted all 12 incorrect solutions at every depth."}],"primary": {
74 unmodified lines75767778798074 unmodified linesfor (const fields of records) row(body,fields);wrapper.append(table); target.append(wrapper);}}}function showRun() {74 unmodified lines75767778798081828374 unmodified linesfor (const fields of records) row(body,fields);wrapper.append(table); target.append(wrapper);}if (grid.judge_note) {const note=document.createElement("p"); note.textContent=grid.judge_note; target.append(note);}}}function showRun() {
123version https://git-lfs.github.com/spec/v1oid sha256:65f51bc80a582d33971badd9c5320a0dadeceb93eccab2a52afb0fde9737de6csize 755867123version https://git-lfs.github.com/spec/v1oid sha256:19714d45e4f8ecc539515884c580ed3202e1164f6060aaf7bd9ed6a55074acc9size 756065
25 unmodified lines26272829303125 unmodified lines| Top-down supervision · only final judge trained | 20/32 (62.5%) | 19/32 (59.4%) | 18/32 (56.2%) || Top-down supervision · all participating judges trained | 20/32 (62.5%) | 18/32 (56.2%) | 18/32 (56.2%) |“Only final judge trained” fits the judge used for that column’s terminal decision and uses original judges for preceding calls. “All participating judges trained” uses fitted adapters at every depth. Top-down training uses the shared exact-trained Judge 3. Pending cells have no completed matched measurement. [Matched comparison protocol](matched-depth-protocol.md)Amended primary comparison is pending. Every arm uses two-add problems and demonstrated prompts.25 unmodified lines262728293031323325 unmodified lines| Top-down supervision · only final judge trained | 20/32 (62.5%) | 19/32 (59.4%) | 18/32 (56.2%) || Top-down supervision · all participating judges trained | 20/32 (62.5%) | 18/32 (56.2%) | 18/32 (56.2%) |Always accepting scores 20/32 (62.5%) on these same responses. The stack trained on exact labels approved all 32 answers at every depth, including all 12 incorrect solutions. The stack trained top-down approved 32, 30, 30 answers at depths one, two and three, respectively. It accepted all 12 incorrect solutions at every depth.“Only final judge trained” fits the judge used for that column’s terminal decision and uses original judges for preceding calls. “All participating judges trained” uses fitted adapters at every depth. Top-down training uses the shared exact-trained Judge 3. Pending cells have no completed matched measurement. [Matched comparison protocol](matched-depth-protocol.md)Amended primary comparison is pending. Every arm uses two-add problems and demonstrated prompts.
43 unmodified lines44454647484928 unmodified lines78798081828384858611 unmodified lines989910010110210310443 unmodified linesif (len(base),len(shared)) != ((32,32) if is_dev else (2048,128)):raise ValueError(f"Incomplete base cohort for the {phase} tables")solver_table,judge_table = [],[]route_labels = {"frozen":"Only solver trained · original judges","exact":"Exact-trained judges, then solver","top":"Top-down-trained judges, then solver"}for route,label in route_labels.items():28 unmodified linesfirst = read_cohort(root/ROUTES[route][0]/judge_file,shared,judge=True)if any(a["reports"][0]!=b["reports"][0] for a,b in zip(first,records,strict=True)):raise ValueError(f"Identical trained Judge 1 reports differ across {route} conditions")judge_table.append([label+" · all participating judges trained",*fitted])grids.append(dict(phase=phase,solver=solver_table,judge=judge_table,solver_n=len(base),judge_n=len(shared),frozen_solver=cell(sum(r["correct"] for r in base),len(base))))return grids11 unmodified linesmarkdown(HEADERS,grid["solver"]),f"### {split} judge verdict accuracy",f"Every judge grades the same {grid['judge_n']} saved responses from the starting solver. A verdict is correct "f"when it agrees with the arithmetic checker. In all judge-only conditions the solver itself stays at {grid['frozen_solver']} "f"on the {grid['solver_n']:,} solver-evaluation questions.",markdown(HEADERS,grid["judge"])]sections.append("“Only final judge trained” fits the judge used for that column’s terminal decision and uses original ""judges for preceding calls. “All participating judges trained” uses fitted adapters at every depth. ""Top-down training uses the shared exact-trained Judge 3. Pending cells have no completed matched measurement. "43 unmodified lines444546474849505128 unmodified lines808182838485868788899091929394959697989910010110210311 unmodified lines11511611711811912012143 unmodified linesif (len(base),len(shared)) != ((32,32) if is_dev else (2048,128)):raise ValueError(f"Incomplete base cohort for the {phase} tables")solver_table,judge_table = [],[]valid = sum(r["correct"] for r in shared)notes = [f"Always accepting scores {cell(valid,len(shared))} on these same responses."]route_labels = {"frozen":"Only solver trained · original judges","exact":"Exact-trained judges, then solver","top":"Top-down-trained judges, then solver"}for route,label in route_labels.items():28 unmodified linesfirst = read_cohort(root/ROUTES[route][0]/judge_file,shared,judge=True)if any(a["reports"][0]!=b["reports"][0] for a,b in zip(first,records,strict=True)):raise ValueError(f"Identical trained Judge 1 reports differ across {route} conditions")approved = [sum(r["verdicts"][i] for r in records) for i in range(3)]inaccurate = [sum(r["verdicts"][i] and not r["correct"] for r in records) for i in range(3)]stack_label = "stack trained on exact labels" if route=="exact" else "stack trained top-down"if all(n==len(records) for n in approved):notes.append(f"The {stack_label} approved all {len(records)} answers at every depth, "f"including all {len(records)-valid} incorrect solutions.")else:total_text = ", ".join(map(str,approved))wrong_text = ", ".join(map(str,inaccurate))faults = len(records)-validerrors = (f"It accepted all {faults} incorrect solutions at every depth."if faults and all(n==faults for n in inaccurate) elsef"False approvals numbered {wrong_text}, with {faults} incorrect solutions per depth.")notes.append(f"The {stack_label} approved {total_text} answers at depths one, two and three, "f"respectively. {errors}")judge_table.append([label+" · all participating judges trained",*fitted])grids.append(dict(phase=phase,solver=solver_table,judge=judge_table,solver_n=len(base),judge_n=len(shared),frozen_solver=cell(sum(r["correct"] for r in base),len(base)),judge_note=" ".join(notes)))return grids11 unmodified linesmarkdown(HEADERS,grid["solver"]),f"### {split} judge verdict accuracy",f"Every judge grades the same {grid['judge_n']} saved responses from the starting solver. A verdict is correct "f"when it agrees with the arithmetic checker. In all judge-only conditions the solver itself stays at {grid['frozen_solver']} "f"on the {grid['solver_n']:,} solver-evaluation questions.",markdown(HEADERS,grid["judge"]),grid["judge_note"]]sections.append("“Only final judge trained” fits the judge used for that column’s terminal decision and uses original ""judges for preceding calls. “All participating judges trained” uses fitted adapters at every depth. ""Top-down training uses the shared exact-trained Judge 3. Pending cells have no completed matched measurement. "
340 unmodified lines341342343344345346340 unmodified lines"reviews its predecessor. Fitted judges stay frozen during solver optimization.")table(["Solver training","One judge","Two judges","Three judges"],grid["solver"])table(["Judge training","One judge","Two judges","Three judges"],grid["judge"])line("Development accuracy for a solver requires every arithmetic step to be correct. For a judge it requires its whole record to match the executable audit. Held-out solver accuracy uses one response per problem. A dash denotes a pending measurement.")if data["runs"]:table(["Run","Role","Updates","Dev. n","Dev. exact","Test n","Test exact"],340 unmodified lines341342343344345346347340 unmodified lines"reviews its predecessor. Fitted judges stay frozen during solver optimization.")table(["Solver training","One judge","Two judges","Three judges"],grid["solver"])table(["Judge training","One judge","Two judges","Three judges"],grid["judge"])line(grid["judge_note"])line("Development accuracy for a solver requires every arithmetic step to be correct. For a judge it requires its whole record to match the executable audit. Held-out solver accuracy uses one response per problem. A dash denotes a pending measurement.")if data["runs"]:table(["Run","Role","Updates","Dev. n","Dev. exact","Test n","Test exact"],
20 unmodified lines21222324252620 unmodified linesassert grid["solver"][1][1:]==["Pending","Pending","16/32 (50.0%)"]assert grid["judge"][0][1:]==["16/32 (50.0%)","16/32 (50.0%)","32/32 (100.0%)"]assert "Three judges · J3 checks J2" in grid_markdown([grid])save("exact-j1",[dict(r,trace="a different solution") for r in examples])with pytest.raises(ValueError,match="Unmatched solver responses"):accuracy_grid(tmp_path,{"family":"two-add"})20 unmodified lines2122232425262720 unmodified linesassert grid["solver"][1][1:]==["Pending","Pending","16/32 (50.0%)"]assert grid["judge"][0][1:]==["16/32 (50.0%)","16/32 (50.0%)","32/32 (100.0%)"]assert "Three judges · J3 checks J2" in grid_markdown([grid])assert "Always accepting scores 16/32 (50.0%)" in grid_markdown([grid])save("exact-j1",[dict(r,trace="a different solution") for r in examples])with pytest.raises(ValueError,match="Unmatched solver responses"):accuracy_grid(tmp_path,{"family":"two-add"})
README.md+2
docs/assets/study.json+2-1
docs/explorer.js+3
reports/paper.pdf+2-2
reports/summary.md+2
src/study/matched_tables.py+19-2
src/study/report.py+1
tests/test_matched_tables.py+1