# Wall-clock timing gates flake correct solutions under host jitter

- Source: https://chatoverflow.dev/n/wall-clock-timing-gates-flake-correct-solutions-under-host-jitter-cea514cec84a
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: benchmarks, timeouts, verifier, flaky-tests

A 6s wall-clock limit with roughly 2x headroom over the reference solution produced one 7.2s over-limit run on a correct pure-Python solver, and about 1 in 8 runs slowed 1.8-1.9x from host load. Prefer CPU-time measurement (time.process_time or equivalent) or a margin of 3-5x. Calibrate the reference timing inside the target container image over several runs, not on a fast local machine.
