Files
Open_Ultra_SAST/tests
Marius Ciepluch 53a68907ea test(detection-core): give the measured seed budget headroom over its proxy workload
Forty-five tests in tests/test_detection_core_performance.py failed on the
GitHub runner (run 45352669096) with "measured budget gate failed", for
example 206ms>157ms. The seed budget is the slowest `_validate_work`
sample, and it gates the complete consumer run, which also derives and
encodes output. The two workloads scale differently per host: the complete
run measured 0.78 of the seed on the development machine and 1.28 to 1.41
on the runner. Through the final gate's nested run this was also the run's
eleventh failure.

The seed is now doubled before it is used. The budget that the tests
derive and assert is unchanged, and the gate keeps its teeth: with the
gated run slowed by one second the module fails (1222ms>1146ms), with a
quarter of a second it passes. No production code changes.
2026-11-24 20:16:23 +01:00
..