mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-16 11:49:28 +00:00
--ceiling-usd was one shared SpendBudget passed to every search, so an expensive search drained the pool and starved later ones: in the last 2-pair/$2 run the first search spent $1.60 and the second hit the ceiling at $0.34 after finishing its analysis. The driver now allocates a dynamic fair share per search (remaining_ceiling / searches_not_yet_started), rolls unused settled budget forward, caps each search at its share, and keeps total settled <= ceiling. A search now gets room to author and verify after it finds the path. Driver-only change (benchmarks/search/pilot_run.py) plus tests. tests/test_search_pilot_run.py 39 passed; ruff clean; mypy unchanged (pre-existing benchmarks errors only). Co-Authored-By: Claude Opus 4.8 <[email protected]>