Keep the reviewer-merge trials' method, results and scripts, and record that each pass keeps a reviewer of its own
CI / tests (pull_request) Successful in 2m16s

This commit is contained in:
2026-11-09 22:43:47 +01:00
parent d87b191a59
commit b91c2ee84d
22 changed files with 1439 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
import collections, glob, json, pathlib, re, sys
sys.path.insert(0, str(pathlib.Path.home() / "code/claude-config/bin"))
from review_replay.rounds import recorded_findings
cand=sys.argv[1]
for vr in sys.argv[2:]:
c=collections.Counter()
for p in sorted(glob.glob(f"results/{cand}/{vr}/*.json")):
r=json.load(open(p))
if "error" in r: continue
name=pathlib.Path(p).stem.split("--")[1]
body="\n".join(r["written"].values()) or r["reply"]["result"]
if name=="merged":
sec=None
for part in re.split(r"(?m)^#{1,3} +", body):
head=part.split("\n",1)[0].lower()
for k in ["stability","product-owner","prose","architecture","principles"]:
if head.startswith(k): sec=k
c[sec]+=len(recorded_findings(part))
else: c[name]+=len(recorded_findings(body))
print(vr, dict(c))