Answer architecture round 1: Failure and the file modules get truthful homes, the interrupt question is a pure function, the judge grounds on what it saw

This commit is contained in:
2026-10-03 18:06:56 +02:00
parent ae7c332ba3
commit d3613f45d4
31 changed files with 217 additions and 85 deletions
+13 -1
View File
@@ -1,5 +1,17 @@
#!/usr/bin/env python3
"""Run larv-review bench runs: BENCH_SOURCES=<dir of the <case>-main clones, their <case>-main.md reports and comparison.md> bench.py <case>-<version>-<n> ..."""
"""Run larv-review bench runs: BENCH_SOURCES=<dir> bench.py <case>-<version>-<n> ...
The 2026-09-30 bench had two versions of larv-review, main and rebuild, each review four real chunks,
the cases, three times; compare.py then rules which version reviews better. Its inputs are untracked:
- versions/<version>/ beside this script: a copy of ~/.claude at that version, which each run reads
in place of ~/.claude (run-prompt.md).
- $BENCH_SOURCES/<case>-main/: a clone of the case's project; CASES names the chunk's base and head
commits in it.
- $BENCH_SOURCES/<case>-main.md: main's own review of the case, run on 2026-09-29.
- $BENCH_SOURCES/comparison.md: what each case's real review found, one table row per issue, its ID
led by the case's letter in compare.py's PREFIX.
Each run leaves its clone in <run>/, its report in <run>.md and its claude stream in logs/.
"""
import concurrent.futures
import json
import os