ledger
960469db33
beam: token_bucket blocking cell measures from the refill origin
...
WHY: test_acquire_blocks_and_returns took t0 after the drain, so the cell timed
only the part of the 0.05 s refill that happened after the scheduler returned to
it. Observed red in a loaded full-suite run at 7c36185 :
'assert 0.03909331373870373 >= 0.04' -- 10.9 ms of untimed prefix. Deterministic
repro: pre-fix cell + 11 ms injected gap -> 0.03897/0.03912, rc 1.
FIX: t0 now precedes try_acquire(1.0), which is where the bucket sets _last, so
dt is >= 0.05 by construction (acquire cannot return before the refill origin is
1/rate old) and the 0.04 floor has ~10 ms of margin instead of 1 ms.
MEASURED: repo cell 9 passed; pre control rc 1 dt 0.03897-0.03912; post control
rc 0; same-gap in-process dt pre 0.039119 / post 0.050253; non-blocking-acquire
mutant rc 1 (2 failed: blocks + timeout cells); controls/post 15/15 green under
4-CPU saturation; bash wizard-work/beam/CHECK rc 0 twice, 423 passed / 2007
subtests.
CHECK: python3 /root/.hermes/wizard-outputs/volt/2026-10-28-q122/verify.py
2026-10-28 14:14:46 +00:00
..
2026-10-26 06:24:54 +00:00
2026-10-21 04:05:05 +00:00
2026-10-25 14:06:35 +00:00
2026-10-20 17:53:07 +00:00
2026-10-27 19:36:01 +00:00
2026-10-24 02:45:16 +00:00
2026-10-21 08:08:16 +00:00
2026-10-28 11:45:31 +00:00
2026-10-28 07:55:53 +00:00
2026-10-26 20:46:33 +00:00
2026-10-23 13:11:38 +00:00
2026-10-27 17:33:39 +00:00
2026-10-21 20:20:31 +00:00
2026-10-23 05:03:32 +00:00
2026-10-28 14:00:34 +00:00
2026-10-27 16:58:24 +00:00
2026-10-22 14:42:55 +00:00
2026-10-28 01:41:08 +00:00
2026-10-27 13:29:41 +00:00
2026-10-26 14:36:51 +00:00
2026-10-25 01:53:31 +00:00
2026-10-27 00:38:24 +00:00
2026-10-26 20:05:45 +00:00
2026-10-28 07:47:58 +00:00
2026-10-24 09:33:31 +00:00
2026-10-24 11:46:16 +00:00
2026-10-25 16:08:22 +00:00
2026-10-22 18:48:06 +00:00
2026-10-25 05:59:25 +00:00
2026-10-27 15:31:19 +00:00
2026-10-24 07:32:13 +00:00
2026-10-23 23:24:46 +00:00
2026-10-27 21:38:46 +00:00
2026-10-26 17:58:37 +00:00
2026-10-23 03:01:29 +00:00
2026-10-22 04:33:46 +00:00
2026-10-28 11:58:49 +00:00
2026-10-25 10:03:13 +00:00
2026-10-25 08:02:00 +00:00
2026-10-24 19:43:27 +00:00
2026-10-20 21:56:50 +00:00
2026-10-26 08:28:10 +00:00
2026-10-24 01:26:32 +00:00
2026-10-22 08:37:04 +00:00
2026-10-26 04:21:13 +00:00
2026-10-24 21:46:31 +00:00
2026-10-26 13:34:27 +00:00
2026-10-26 17:58:42 +00:00
2026-10-26 00:17:08 +00:00
2026-10-21 10:10:26 +00:00
2026-10-26 10:29:44 +00:00
2026-10-22 02:32:38 +00:00
2026-10-24 13:37:32 +00:00
2026-10-28 05:44:13 +00:00
2026-10-23 07:05:30 +00:00
2026-10-23 19:18:45 +00:00
2026-10-20 17:53:07 +00:00
2026-10-27 19:45:56 +00:00
2026-10-24 02:45:16 +00:00
2026-10-21 08:08:16 +00:00
2026-10-21 06:06:35 +00:00
2026-10-26 20:46:33 +00:00
2026-10-23 13:11:38 +00:00
2026-10-27 19:45:56 +00:00
2026-10-22 16:45:49 +00:00
2026-10-23 05:03:32 +00:00
2026-10-28 14:00:34 +00:00
2026-10-27 16:58:24 +00:00
2026-10-22 14:42:55 +00:00
2026-10-28 01:41:08 +00:00
2026-10-27 00:38:24 +00:00
2026-10-26 20:05:13 +00:00
2026-10-28 05:01:10 +00:00
2026-10-24 11:46:16 +00:00
2026-10-26 02:19:21 +00:00
2026-10-23 15:13:46 +00:00
2026-10-25 22:14:26 +00:00
2026-10-27 17:33:39 +00:00
2026-10-24 07:32:13 +00:00
2026-10-23 23:24:46 +00:00
2026-10-27 21:38:46 +00:00
2026-10-26 17:58:45 +00:00
2026-10-23 15:13:46 +00:00
2026-10-22 04:33:46 +00:00
2026-10-25 12:04:34 +00:00
2026-10-25 10:03:13 +00:00
2026-10-25 19:43:49 +00:00
2026-10-24 19:43:27 +00:00
2026-10-20 21:56:50 +00:00
2026-10-26 11:18:04 +00:00
2026-10-23 17:15:45 +00:00
2026-10-22 08:37:04 +00:00
2026-10-26 04:21:13 +00:00
2026-10-24 23:48:42 +00:00
2026-10-26 13:34:27 +00:00
2026-10-21 02:01:33 +00:00
2026-10-23 09:07:57 +00:00
2026-10-21 10:10:26 +00:00
2026-10-26 11:18:04 +00:00
2026-10-22 16:45:49 +00:00
2026-10-24 13:37:32 +00:00
2026-10-28 05:44:13 +00:00
2026-10-28 14:14:46 +00:00
2026-10-22 16:45:49 +00:00
2026-10-25 19:49:25 +00:00
2026-10-22 16:45:49 +00:00
2026-10-22 16:45:49 +00:00
2026-10-24 16:14:24 +00:00
2026-10-27 05:07:34 +00:00
2026-10-26 00:20:31 +00:00
2026-10-28 14:00:59 +00:00
2026-10-28 03:42:55 +00:00
2026-10-27 03:03:12 +00:00
2026-10-20 19:54:19 +00:00
2026-10-25 19:43:49 +00:00
2026-10-21 16:17:19 +00:00
2026-10-22 10:38:56 +00:00
2026-10-26 06:23:52 +00:00
2026-10-27 05:09:12 +00:00
2026-10-26 00:20:31 +00:00
2026-10-24 18:26:47 +00:00
2026-10-28 14:00:59 +00:00
2026-10-28 03:42:55 +00:00
2026-10-27 03:03:12 +00:00