Archived
feat(verify): batch 04 verified (186, 185, 184, 183, 182, 181, 180, 179, 178, 176)
Writer agent from the dossiers, read-only checker CLEAN on all ten. Detention flag proposed 0->1 on 185, 183, 182, 181, 180; v1 label unsupported on 176. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZZENdTLzNGsbNy4DyF1yt
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
78e8a354d0
commit
9c9a673e90
@@ -0,0 +1,11 @@
|
||||
import json, sys
|
||||
need={"id","summary","sequence","attempted","gaps","v1_label_supported","rationale","flags","contradictions","off_case_links","record_only","facts","notes_for_sofia"}
|
||||
b=json.load(open(sys.argv[1],encoding='utf-8')); bad=0
|
||||
print("cases:",len(b),"ids:",[c['id'] for c in b])
|
||||
for c in b:
|
||||
miss=need-set(c); cats=c['summary'].count('**')//2
|
||||
vio=[l for l in c['summary'].split('\n') if l.startswith('**Violence Used')]
|
||||
ok=bool(vio) and ('Detention' in vio[0] or 'No detention' in vio[0])
|
||||
if miss or cats<6 or len(c['flags'])!=6 or not ok: bad+=1
|
||||
print(f" {c['id']}: missing={sorted(miss) or '-'} cats={cats} flags={len(c['flags'])} det={'ok' if ok else 'MISSING'} seq={c['sequence']} v1ok={c.get('v1_label_supported')}")
|
||||
print("STRUCTURE", "OK" if not bad else f"PROBLEMS in {bad}")
|
||||
Reference in New Issue
Block a user