EV-04 round 3: guard the L4 test's reads for test_named_absence
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
f31dcb62b6
commit
6e6344eb02
@@ -792,9 +792,12 @@ async def l4_late():
|
||||
n0 = len(w.writes())
|
||||
await w.act("car_phases", 3)
|
||||
await w.step(60)
|
||||
ws = w.writes()[n0:]
|
||||
t_back = next(x[0] for x in ws if x[1] == "current" and x[0] > ret[0][0] - 1)
|
||||
return ret[0][1], t_back - ret[0][0]
|
||||
if not ret:
|
||||
return None, 0.0
|
||||
t_ret, took = ret[0]
|
||||
t_back = next((x[0] for x in w.writes()[n0:]
|
||||
if x[1] == "current" and x[0] > t_ret - 1), None)
|
||||
return took, (0.0 if t_back is None else t_back - t_ret)
|
||||
|
||||
|
||||
took_l4, gap_l4 = run(l4_late())
|
||||
|
||||
Reference in New Issue
Block a user