Files
felhom.eu/documentation/audits/readback-2026-10-07/F/red-settle-wait.txt
T

30 lines
1.8 KiB
Plaintext

R-528 red-proof red-settle-wait: no wait after the run before the end epoch is read (the measured miss, F1/F2)
mutation: replace
---
self.r.sleep(OOMCHECK_SETTLE) # the engine---
with
---
pass # self.r.sleep(OOMCHECK_SETTLE) # the engine---
$ OSAPPLY_UNDER_TEST=/tmp/claude-1000/-mnt-5-hdd-felhom-eu-git/da0e2df0-3072-4d3e-bf10-c475ac1e5ae4/scratchpad/r528-mut/red-settle-wait-felhom-os-apply python3 -W ignore /tmp/claude-1000/-mnt-5-hdd-felhom-eu-git/da0e2df0-3072-4d3e-bf10-c475ac1e5ae4/scratchpad/agent-r528/configs/test_felhom_os_apply.py OOMCheck.test_events_window_ends_after_the_settle_wait
rc=1
F
======================================================================
FAIL: test_events_window_ends_after_the_settle_wait (__main__.OOMCheck.test_events_window_ends_after_the_settle_wait)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/claude-1000/-mnt-5-hdd-felhom-eu-git/da0e2df0-3072-4d3e-bf10-c475ac1e5ae4/scratchpad/agent-r528/configs/test_felhom_os_apply.py", line 1246, in test_events_window_ends_after_the_settle_wait
self.assertTrue(waits and waits[0][1] >= 2, f"no settle wait after the run: {getattr(f, 'sleeps', None)}")
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: [] is not true : no settle wait after the run: None
----------------------------------------------------------------------
Ran 1 test in 0.016s
FAILED (failures=1)
=== control: the same test against the real wrapper ===
$ python3 -W ignore /tmp/claude-1000/-mnt-5-hdd-felhom-eu-git/da0e2df0-3072-4d3e-bf10-c475ac1e5ae4/scratchpad/agent-r528/configs/test_felhom_os_apply.py OOMCheck.test_events_window_ends_after_the_settle_wait
rc=0
OK
VERDICT: RED as expected, GREEN on the real wrapper