EV-05 round 9: pin that no cut goes to the plan of a car another writer runs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c9a95f3c10
commit
368f24e097
@@ -2204,6 +2204,13 @@ def phases_vs_off(T, dur, label):
|
||||
f"({a_s} vs {a_o}), the car never explained away ({ex} cycles)",
|
||||
late == [] and w.hold and a_s is not None and a_o is not None
|
||||
and abs(a_s - a_o) <= 2 and ex == 0)
|
||||
want9 = [x["t"] for x in rs["trace"] if x["t"] > T and (x["want"] or 0) > 0]
|
||||
cut9 = [x["t"] for x in rs["trace"] if x["t"] > T and x["cut"] > 0]
|
||||
a9 = {x["a"] for x in rs["trace"] if x["t"] > T}
|
||||
check(f"R9 {label}: the guard wants power ({want9[:1]}) but no cut goes "
|
||||
f"to the plan of a car another writer runs ({cut9[:3]}), the plan "
|
||||
f"keeps its current ({sorted(a9)})",
|
||||
want9 and cut9 == [] and len(a9) == 1)
|
||||
return rs, ro, own
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user