independent-frozen-judge-audit · 80e34c944a37
Browse filesFiles changed (17)
- README.md+2
- docs/assets/frozen-judge-scores.pngAdded
- docs/assets/study.json+56
- docs/explorer.js+23
- docs/index.html+1-1
- reports/experiments/new-judges/experiment.md+2
- reports/experiments/new-judges/q35-9b-ollama/experiment.mdAdded+14
- reports/experiments/new-judges/q35-9b-ollama/learnings.mdAdded+23
- reports/experiments/new-judges/runtime-format-pilot/experiment.mdAdded+5
- reports/experiments/new-judges/runtime-format-pilot/learnings.mdAdded+7
- reports/paper.pdf+2-2
- reports/progress.md+2
- reports/summary.md+2
- src/study/frozen_audit.pyAdded+66
- src/study/frozen_report.py+80-1
- src/study/report.py+12-1
- tests/test_frozen_screen.py+20
178 unmodified lines179180181182183184185186178 unmodified lines
Qwen3.5-9B (deployment replicate, Ollama-Qwen3.5-9B-Q4_K_M.gguf) used 191,377 input and 4,963 output tokens in 241.4 seconds of end-to-end calls. On the 32 natural traces, Judge 3 fixed 0 verdicts and introduced 0 errors.

## Why did the two-judge and three-judge solvers diverge?
**With seed 17, training the solver with two frozen judges gave 25/32 correct solutions (78.1%). Training it with three gave 3/32 (9.4%).** The gap was 22 complete solutions (-68.75 percentage points, three minus two). Only the solver adapter learned. All judging used the frozen, original Qwen instruction model. Both solvers started from the same model and saw the same problems in the same order. An integer program graded every intermediate step. On the paired problems, only the two-judge solver was correct on 23, only the three-judge solver on 1, both on 2, and neither on 6. These are development results on the calibrated arithmetic benchmark.240432 unmodified lines240433240434240435240436240437240438240439240440240441240442240443240444240445240446240447240448240449240450240451240452240453240454240455240456240457240458240459240460240461240462240463240464240465240466240467240468240469240470240471240472240473240474240475240476240477240478240479240480240481240482240483240484240485240486240487240488240489240490240491240492240493240494240432 unmodified lines "generation_ms": 88132.605 }, "timing_seconds": 0.6365000000041618, "audit": { "calls": 416, "matched_masked_outputs": 32, "examples": { "failed": { "key": "0360e34dc98fec16268444b3951abf4b5a78f76c98630b472a6a26b8406c9539", "expression": "(15 - 6) - 12", "trace": "9,-2", "first": "0,2,-2", "reviews": [ "0,3,-3,0,2,-3", "0,3,-2,0,2,-3" ], "outputs": [ "0,3,-2,0,2,-2", "0,3,-2,0,2,-3" ], "expected": [ "1,0,-3,0,2,-3", "0,3,-3,0,2,-3" ] }, "passed": { "key": "9a0a01b8dc0073b26eecd9b2acd1b76450355b7298314025f8f9e0a5b183396f", "expression": "(12 + 12) - 6", "trace": "24,18", "first": "1,0,18", "reviews": [ "1,0,18,1,0,18", "1,0,17,1,0,18" ], "outputs": [ "1,0,18,1,0,18", "0,3,18,1,0,18" ], "expected": [ "1,0,18,1,0,18", "0,3,18,1,0,18" ] } } }, "gpu": { "peak_dedicated_mib": 5627.578125, "engines": [ { "engine": "Copy", "seconds": 4.3711994 }, { "engine": "3D", "seconds": 195.4857742 } ], "last_sample": "2026-11-27T06:24:30.0568777Z" }, "key": "q35-9b-ollama" } ],129 unmodified lines1301311321331341351361371382 unmodified lines141142143144145146147148149150151152153154155156157158159160161162163164165166129 unmodified lines body.replaceChildren(); const newer = study.newer_judges ?? {}; const messages = []; const examples=byId("frozen-evidence"); const openKeys=new Set([...examples.querySelectorAll("details[open]")].map(e=>e.dataset.key)); examples.replaceChildren(); for (const result of newer.results ?? []) { messages.push(result.model+" · "+result.phase+" · "+result.result); for (const name of ["balanced","natural"]) {2 unmodified lines row(body,[result.model+" · "+result.phase+" · "+name,...cohort.depths.map(d => d.correct+"/"+cohort.n), ...["visible","masked"].map(k => name==="balanced" ? twins[k]+"/"+twins.n : "—")]); } if (result.audit?.examples) { const details=document.createElement("details"), summary=document.createElement("summary"); details.dataset.key=result.key; details.open=openKeys.has(result.key); summary.textContent="Evidence examples · "+result.model+" · "+result.phase; details.append(summary); for (const [outcome,x] of Object.entries(result.audit.examples)) { const lines=["Solver "+x.trace,"Judge 1 "+x.first,...x.reviews.map((v,i)=> "Judge 2 "+v+"\nJudge 3 "+x.outputs[i]+"\nExpected "+x.expected[i])]; details.append(exampleCard(x.expression+" · pair "+outcome,lines,outcome==="failed")); } examples.append(details); } } const chart=byId("frozen-chart"); const version=(newer.results ?? []).filter(r=>r.metrics).map(r=>r.key).join(","); if (version && chart.dataset.version!==version) { chart.dataset.version=version; chart.onload=()=>{chart.hidden=false;}; chart.onerror=()=>{chart.hidden=true;delete chart.dataset.version;}; chart.src="assets/frozen-judge-scores.png?v="+encodeURIComponent(version); } for (const r of study.inventory ?? []) if (r.id.startsWith("new-judges/") && (r.status.startsWith("Evaluating") || r.status.startsWith("Checking GPU"))) messages.push(r.id+" · "+r.status);3 unmodified lines4567789103 unmodified lines<header><div><h1>Does a third judge help?</h1><p>Recursive LLM judgments as rewards for an arithmetic solver trained with GRPO.</p></div><nav><a href="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/preregistration.md">Protocol</a><a href="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/paper.pdf">Paper</a></nav></header><section id="matched-section" hidden><h2>Matched accuracy by judge depth</h2><p>Each solver answers the same questions. Each judge grades the same saved starting-solver answers. Counts show successes out of all observations in that cohort. <a href="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/reviews/paired-outputs-seed-17.md">Compare the solvers’ answers and original judge reports</a>.</p><div id="matched-tables"></div><img id="depth-trajectory" hidden alt="By training quarter, the two solvers’ exact arithmetic diverges while both continue earning frequent judge rewards"></section><section aria-labelledby="outcome"><h2 id="outcome">Primary comparison</h2><p id="primary" aria-live="polite">Loading observations…</p><p id="progress"></p></section><section><h2>Frozen Qwen judges on the same answers</h2><p id="frozen-status">Waiting for the first completed GPU-only evaluation.</p><div class="scroll"><table><thead><tr><th>Model and cohort</th><th>J1 verdict</th><th>J2 verdict</th><th>J3 verdict</th><th>Visible pairs</th><th>Masked pairs</th></tr></thead><tbody id="frozen-scores"></tbody></table></div></section><section><h2>Frozen Qwen judges on the same answers</h2><p id="frozen-status">Waiting for the first completed GPU-only evaluation.</p><div class="scroll"><table><thead><tr><th>Model and cohort</th><th>J1 verdict</th><th>J2 verdict</th><th>J3 verdict</th><th>Visible pairs</th><th>Masked pairs</th></tr></thead><tbody id="frozen-scores"></tbody></table></div><img id="frozen-chart" hidden alt="Balanced verdict and visible and masked whole-pair scores with denominators for each evaluated model"><div id="frozen-evidence"></div></section><section><h2>All past, current and planned runs</h2><p>Each solver score counts complete traces. Judge-training scores require every field in a report. A pending observation has no assigned score. The fixed-answer stack replay reports verdict accuracy at successive depths. <a href="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/newer-frozen-judges.md">Newer frozen Qwen protocol</a>.</p><label>Experiment phase <select id="inventory-phase"><option value="">All phases</option></select></label><div class="scroll"><table><thead><tr><th>Run and evidence</th><th>Treatment or measurement</th><th>Status</th><th>Development or pilot</th><th>Held out</th></tr></thead><tbody id="inventory"></tbody></table></div></section><section><h2>Benchmark learnability</h2><p id="readiness"></p><div class="scroll"><table><thead><tr><th>Family</th><th>Prompt</th><th>Parsed</th><th>Sample exact</th><th>Greedy exact</th><th>Mixed groups</th></tr></thead><tbody id="calibration"></tbody></table></div><p id="learned"></p><img id="validation-chart" hidden alt="Complete-trace accuracy on the same fresh problems and available paired contrasts"></section><section><h2>Run results</h2><div class="scroll"><table><thead><tr><th>Run</th><th>Role</th><th>Updates</th><th>Dev. exact</th><th>Dev. size</th><th>Held-out exact</th><th>Held-out size</th></tr></thead><tbody id="results"></tbody></table></div><p>Solver scores require the complete calculation. Judge scores require the complete evidence record.</p></section>10 unmodified lines11121314151610 unmodified lines
Qwen3.5-9B (deployment replicate, Ollama-Qwen3.5-9B-Q4_K_M.gguf) used 191,377 input and 4,963 output tokens in 241.4 seconds of end-to-end calls. On the 32 natural traces, Judge 3 fixed 0 verdicts and introduced 0 errors.

[Protocol and case selection](../../newer-frozen-judges.md).1234567891011121314# Qwen3.5-9B · deployment replicate
Complete. J3 verdict 43/64, twins 1/32, masked 0/32
[Complete raw records](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q35-9b-ollama) · [Case and selection protocol](../../../newer-frozen-judges.md)
| Model and cohort | J1 verdict | J2 verdict | J3 verdict | J3 visible pairs | J3 masked pairs || --- | --- | --- | --- | --- | --- || Qwen3.5-9B · deployment replicate · balanced | 37/64 | 44/64 | 43/64 | 1/32 | 0/32 || Qwen3.5-9B · deployment replicate · natural | 23/32 | 24/32 | 24/32 | — | — |
The release checked 416 scored calls against the original prompts, raw generated text and independent arithmetic values. The masked twins returned identical token sequences on 32/32 pairs.
Windows sampled the dedicated allocation of the llama.cpp process at up to 5,628 MiB. At its last sample, per-process engine running time was Copy 4.4 s, 3D 195.5 s. Engine counters include model loading. Sampling can end before the final kernel completes. [Windows GPU accounting](https://devblogs.microsoft.com/directx/gpus-in-the-task-manager/).1234567891011121314151617181920212223# What this run showed
J3 verdict 43/64, twins 1/32, masked 0/32
## A failed evidence pair
Problem `(15 - 6) - 12`. The solver wrote `9,-2`. Judge 1 wrote `0,2,-2`.
| Judge 2 review | Judge 3 wrote | Checker expected || --- | --- | --- || 0,3,-3,0,2,-3 | 0,3,-2,0,2,-2 | 1,0,-3,0,2,-3 || 0,3,-2,0,2,-3 | 0,3,-2,0,2,-3 | 0,3,-3,0,2,-3 |
## A successful evidence pair
Problem `(12 + 12) - 6`. The solver wrote `24,18`. Judge 1 wrote `1,0,18`.
| Judge 2 review | Judge 3 wrote | Checker expected || --- | --- | --- || 1,0,18,1,0,18 | 1,0,18,1,0,18 | 1,0,18,1,0,18 || 1,0,17,1,0,18 | 0,3,18,1,0,18 | 0,3,18,1,0,18 |
[Raw evidence](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q35-9b-ollama).12345# Qwen3.5-9B · runtime diagnostic
Archived, invalid scoring. Empty reasoning wrapper on 65/65 delivered messages. No accuracy estimate.
[Complete raw records](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/runtime-format-pilot) · [Case and selection protocol](../../../newer-frozen-judges.md)1234567# What this run showed
Empty reasoning wrapper on 65/65 delivered messages. No accuracy estimate.
The archived attempt is excluded from accuracy comparisons. Its recorded termination reason is available in the raw evidence.
[Raw evidence](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/runtime-format-pilot).12323version https://git-lfs.github.com/spec/v1oid sha256:5f1b748439a45986deaa599efa82be1f8bfdffebfe74f6ac05655eaa82ea3df7size 875611oid sha256:e1041d04f6ead1173b027f4f2e01c042725fdc4eed89665d8a8f44b3c9c4c244size 92773620 unmodified lines212223242526272820 unmodified lines
Qwen3.5-9B (deployment replicate, Ollama-Qwen3.5-9B-Q4_K_M.gguf) used 191,377 input and 4,963 output tokens in 241.4 seconds of end-to-end calls. On the 32 natural traces, Judge 3 fixed 0 verdicts and introduced 0 errors.

The matched-depth extension has trained 3 of 4 additional shallow solvers. [Extension](matched-depth-protocol.md).
The timing pilot selected 256 updates per block at 38.3 seconds per pilot update. A block at that rate would take 2.72 hours.108 unmodified lines109110111112113114115116108 unmodified lines
Qwen3.5-9B (deployment replicate, Ollama-Qwen3.5-9B-Q4_K_M.gguf) used 191,377 input and 4,963 output tokens in 241.4 seconds of end-to-end calls. On the 32 natural traces, Judge 3 fixed 0 verdicts and introduced 0 errors.

## Run inventory
The original solver and judge adapters all use Qwen2.5-1.5B-Instruct. A solver score counts complete arithmetic traces. A trained judge score counts complete evidence records. Stack replays report verdict agreement at each depth on the same saved answers. Pending means the phase has no completed measurement. A dash marks an inapplicable endpoint. Timing and calibration are outside the primary comparison.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566"""Reconstruct scores, input histories and evidence interventions from closed GPU journals."""
from .domain import Problemfrom .frozen_cases import metricsfrom .learning_review import execute_stepsfrom .prompts import messagesfrom .records import expected, mask_evidence, parse, render, solver_truth, sound, terminalfrom .storage import rows
def audit(folder, receipt): """Audit the scored output boundary without interpreting the server's prefilling as model text.""" data = list(rows(folder/"cases.jsonl")) calls = {r["id"]:r for r in rows(folder/"calls.jsonl")} example = {} counter = 0 identical_masked = 0
def checked(call_id,level,p,trace,history): nonlocal counter c = calls[call_id] if (c["messages"]!=messages(f"j{level}",p,trace,history,"demonstrated") or not isinstance(c["generated_token_ids"],list) or len(c["generated_token_ids"])>48): raise ValueError(f"Unmatched prompt or token budget in {folder.name}/{call_id}") counter+=1 return c for r in sorted(data,key=lambda x:(x["key"],x["kind"])): p = Problem.from_expression(r["expression"]) if p.key!=r["key"] or tuple(execute_steps(p))!=p.values: raise ValueError("Independent arithmetic evaluator disagrees") if r["kind"]=="twins": masked = [] for mode in ("visible","masked"): passed = True for i,review in enumerate(r["reviews"]): actual = review if mode=="visible" else mask_evidence(review) c = checked(f"{r['id']}/{mode}/{i}",3,p,r["trace"],[r["first"],actual]) truth = expected(p,r["trace"],[r["first"],review]) if c["text"]!=r[mode]["outputs"][i] or list(truth)!=r["labels"][i]: raise ValueError("Logged judge output or exact reference changed") passed &= sound(c["text"],truth) if mode=="masked": masked.append(c) if passed!=r[mode]["correct"]: raise ValueError("Recorded whole-pair grade disagrees with raw generations") if masked[0]["rendered_prompt"]!=masked[1]["rendered_prompt"]: raise ValueError("The mask did not remove the distinguishing evidence") identical_masked += masked[0]["generated_token_ids"]==masked[1]["generated_token_ids"] outcome = "passed" if r["visible"]["correct"] else "failed" example.setdefault(outcome,dict(key=p.key,expression=p.expression,trace=r["trace"],first=r["first"], reviews=r["reviews"],outputs=r["visible"]["outputs"],expected=[render(v) for v in r["labels"]])) else: verdict = solver_truth(p,r["trace"])[0] history = [] for level in (1,2,3): c = checked(f"{r['id']}/j{level}",level,p,r["trace"],history) truth = expected(p,r["trace"],history) bit = terminal(c["text"],level) grade = dict(verdict=bit,agreement=int(bit==verdict),full=int(sound(c["text"],truth)), malformed=parse(c["text"],len(truth)) is None,expected=list(truth)) if grade!=r["grades"][level-1] or c["text"]!=r["reports"][level-1] or verdict!=r["valid"]: raise ValueError("Logged chain disagrees with executable rescore") history.append(c["text"]) if metrics(data)!=receipt["metrics"] or counter!=receipt["cost"]["calls"] or len(calls)!=counter+4: raise ValueError("Published summary disagrees with complete raw observations") return dict(calls=counter,matched_masked_outputs=identical_masked,examples=example)123456478910111213141516171819202122232425262728293031323335 unmodified lines69707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135"""Use the completed fixed-trace receipts for side-by-side depth and evidence results."""
from functools import lru_cache
from .frozen_audit import auditfrom .frozen_models import LOCAL_REPLICATES, MODELSfrom .storage import read_jsonfrom .storage import atomic, read_json, rowsfrom .tables import markdown
HEAD = ["Model and cohort","J1 verdict","J2 verdict","J3 verdict","J3 visible pairs","J3 masked pairs"]
@lru_cache(maxsize=16)def released_audit(folder, receipt_time): """A completed receipt identifies immutable calls. Avoid re-reading them on every dashboard refresh.""" return audit(folder, read_json(folder/"result.json"))
def collect_frozen(root): results = [] for key in ("runtime-format-pilot",*[model.key for model in (*LOCAL_REPLICATES,*MODELS)],"confirm-control","confirm-winner"): receipt = read_json(root/key/"result.json",{}) if receipt: if receipt.get("metrics"): receipt["audit"] = released_audit(root/key,receipt["time"]) samples = list(rows(root/key/"gpu-telemetry.jsonl")) if samples: receipt["gpu"] = dict(peak_dedicated_mib=max(r["dedicated_bytes"] for r in samples)/2**20, engines=samples[-1]["engines"],last_sample=samples[-1]["time"]) results.append({**receipt,"key":key}) return dict(results=results,decision=read_json(root/"decision.json",{}))
35 unmodified lines lo,hi = estimate["ci"] parts.append(f"{metric.replace('_',' ')} improved by a signed {estimate['delta']*100:+.2f} percentage points on {estimate['n']} paired problems (95% interval {100*lo:+.2f} to {100*hi:+.2f}).") return "\n\n".join(parts)
def plot_scores(study, path): """Keep distinct denominators visible even when the fraction correct shares a common color scale.""" import matplotlib.pyplot as plt import numpy as np selected=[r for r in study["results"] if r.get("metrics")] if not selected: path.unlink(missing_ok=True) return counts, denominators, names = [], [], [] for r in selected: b,t=r["metrics"]["balanced"],r["metrics"]["twins"] counts.append([d["correct"] for d in b["depths"]]+[t["visible"],t["masked"]]) denominators.append([b["n"]]*3+[t["n"]]*2) names.append(r["model"]+" · "+r["phase"]) rates=np.array(counts)/np.array(denominators) fig,ax=plt.subplots(figsize=(9.8,1.9+.43*len(selected)),layout="constrained") ax.imshow(rates,cmap="YlGnBu",vmin=0,vmax=1,aspect="auto") ax.set_xticks(range(5),["J1 verdict","J2 verdict","J3 verdict","Visible pair","Masked pair"]) ax.set_yticks(range(len(names)),names) ax.xaxis.tick_top() ax.tick_params(length=0,pad=6) ax.axvline(2.5,color="white",linewidth=3) for i,row in enumerate(counts): for j,count in enumerate(row): ax.text(j,i,f"{count}/{denominators[i][j]}",ha="center",va="center",weight="bold", color="white" if rates[i,j]>.57 else "#173b40") ax.set_title("Frozen judges on balanced traces and matched evidence pairs",loc="left",pad=16) ax.set_xlabel("Verdict scores count solver traces. Pair scores require two complete and correct Judge 3 reports.",fontsize=9,labelpad=9) for spine in ax.spines.values(): spine.set_visible(False) fig.savefig(path,dpi=155,bbox_inches="tight") plt.close(fig)
def experiment_pages(study, dest): """Keep per-configuration evidence and the reason a run succeeded or failed accessible by run ID.""" from .design import GITHUB for r in study["results"]: folder = dest/r["key"] raw = f"{GITHUB}/tree/main/results/new-judges/{r['key']}" method = (f"# {r['model']} · {r['phase']}\n\n{r['status']}. {r['result']}\n\n" f"[Complete raw records]({raw}) · [Case and selection protocol](../../../newer-frozen-judges.md)") note = [f"# What this run showed\n\n{r['result']}"] if r.get("metrics"): method += "\n\n"+markdown(HEAD,list(depth_rows({"results":[r]}))) for label,record in r["audit"]["examples"].items(): note += [f"## A {'successful' if label=='passed' else 'failed'} evidence pair", f"Problem `{record['expression']}`. The solver wrote `{record['trace']}`. Judge 1 wrote `{record['first']}`.", markdown(["Judge 2 review","Judge 3 wrote","Checker expected"], list(zip(record["reviews"],record["outputs"],record["expected"],strict=True)))] method += f"\n\nThe release checked {r['audit']['calls']} scored calls against the original prompts, raw generated text and independent arithmetic values. The masked twins returned identical token sequences on {r['audit']['matched_masked_outputs']}/{r['metrics']['twins']['n']} pairs." gpu = r.get("gpu") if gpu: method += ("\n\nWindows sampled the dedicated allocation of the llama.cpp process at up to " f"{gpu['peak_dedicated_mib']:,.0f} MiB. At its last sample, per-process engine running time was " +", ".join(f"{e['engine']} {e['seconds']:.1f} s" for e in gpu["engines"])+ ". Engine counters include model loading. Sampling can end before the final kernel completes. " "[Windows GPU accounting](https://devblogs.microsoft.com/directx/gpus-in-the-task-manager/).") else: note += ["The archived attempt is excluded from accuracy comparisons. Its recorded termination reason is available in the raw evidence."] atomic(folder/"experiment.md",method+"\n") atomic(folder/"learnings.md","\n\n".join(note)+f"\n\n[Raw evidence]({raw}).\n")14 unmodified lines1516171818192021137 unmodified lines159160161162163164165314 unmodified lines480481482483484485486487488489490491120 unmodified lines61261361461561661761861962062114 unmodified linesfrom .learnability_report import collect_learnability, learnability_text, learning_figurefrom .learning_review import check_release, review_textfrom .inventory import GUIDE, HEADERS, grouped, inventory, inventory_markdownfrom .frozen_report import collect_frozen, depth_rows as frozen_rows, frozen_textfrom .frozen_report import collect_frozen, depth_rows as frozen_rows, experiment_pages, frozen_text, plot_scoresfrom .matched_tables import accuracy_grid, grid_markdownfrom .records import named_valuesfrom .storage import ORIGINAL_RESULTS, ROOT, atomic, read_json, rows, write_json137 unmodified lines
dest = DOCS/"assets" dest.mkdir(parents=True, exist_ok=True) plot_scores(data["newer_judges"],dest/"frozen-judge-scores.png") learning_figure(data["learnability"],dest/"learnability.png") colors = ("#1e5260", "#177267", "#b65127") fig, ax = plt.subplots(figsize=(11, 2.45))314 unmodified lines line(GUIDE) if data["newer_judges"]["results"]: line("Frozen Qwen verdict and evidence scores", "Heading2") chart=DOCS/"assets/frozen-judge-scores.png" if chart.is_file(): image=Image(str(chart)) image.drawHeight=image.imageHeight*165*mm/image.imageWidth image.drawWidth=165*mm story.append(image) for values in frozen_rows(data["newer_judges"]): name,*scores = values line(escape(f"{name}. J1, J2 and J3 verdict accuracy: {', '.join(scores[:3])}. Visible and masked whole-pair accuracy: {', '.join(scores[3:])}."))120 unmodified lines f" [All four quarters, denominators and original records]({GITHUB}/blob/main/reports/reviews/depth-diagnosis.md).") ledger = inventory_markdown(data["inventory"]) frozen_summary = frozen_text(data["newer_judges"]) frozen_chart = (f"\n\n" if (DOCS/"assets/frozen-judge-scores.png").is_file() else "") frozen_summary += frozen_chart experiment_pages(data["newer_judges"], REPORTS/"experiments/new-judges") atomic(REPORTS/"experiments/new-judges/experiment.md", frozen_summary+"\n\n[Protocol and case selection](../../newer-frozen-judges.md).\n") ledger_links = (f"[Run inventory, including upcoming experiments]({GITHUB}/blob/main/reports/run-inventory.md) · " f"[Newer frozen Qwen protocol]({GITHUB}/blob/main/reports/newer-frozen-judges.md)")14 unmodified lines1516171819202141 unmodified lines6364656667686970717273747576777879808182838414 unmodified lines self.calls += 1 # A constant answer earns some solution bits but cannot distinguish evidence twins. return {"text":"1,0,7,0,1,7", "input_tokens":20, "output_tokens":11, "generated_token_ids":[1,2], "rendered_prompt":str(conversation), "elapsed_seconds":.01, "timings":{}, "finish_reason":"stop"}
41 unmodified lines assert paired_confirmation(resumed.completed,runner.completed)["twins"]["delta"] == 0 with pytest.raises(ValueError): CaseRunner(tmp_path, backend, "different-weights", lambda *args,**kwargs: None)
def test_release_audit_detects_changed_evidence_even_when_verdict_totals_match(tmp_path): import json from study.frozen_audit import audit from study.storage import atomic, rows p = Problem.from_expression("(4+3)*2") r = CaseRunner(tmp_path,FixtureBackend(),"fixture",lambda *a,**kw:None) for i in range(4): r.ask(f"timing/{i}",1,p,"8,14",[]) r.balanced(p,0) r.twins(p,0) receipt = dict(metrics=metrics(r.completed.values()),cost={"calls":10}) assert audit(tmp_path,receipt)["matched_masked_outputs"]==1 data=list(rows(tmp_path/"cases.jsonl")) data[-1]["visible"]["outputs"][1]="0,3,7,0,1,7" atomic(tmp_path/"cases.jsonl","".join(json.dumps(v)+"\n" for v in data)) with pytest.raises(ValueError,match="Logged judge output"): audit(tmp_path,receipt)README.md+2
docs/assets/frozen-judge-scores.pngAdded

docs/assets/study.json+56
docs/explorer.js+23
docs/index.html+1-1
reports/experiments/new-judges/experiment.md+2
reports/experiments/new-judges/q35-9b-ollama/experiment.mdAdded+14
reports/experiments/new-judges/q35-9b-ollama/learnings.mdAdded+23
reports/experiments/new-judges/runtime-format-pilot/experiment.mdAdded+5
reports/experiments/new-judges/runtime-format-pilot/learnings.mdAdded+7
reports/paper.pdf+2-2
reports/progress.md+2
reports/summary.md+2
src/study/frozen_audit.pyAdded+66
src/study/frozen_report.py+80-1
src/study/report.py+12-1
tests/test_frozen_screen.py+20