mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-19 04:59:28 +00:00
feat(model): say when the region cap hid most of the repository
Paid Memberships Pro yields 4,463 regions from 637 files. The default budget examines 500 of them -- 11% of the repository -- and nothing in the output said so. A report whose silence covers the other 89% invites that silence to be read as a clean bill of health. `budget_exhausted` is a different fact and already reported: that is the JUDGE running out on work already collected. This is the work never being collected. Renders in "What could not be analysed" as: only the N highest-ranked of M regions were examined, and nothing above says anything about the rest. 850 tests pass. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01T7XD7x5KonMdmGRkp63EQG
This commit is contained in:
co-authored by
Claude Opus 5
parent
d63be34451
commit
83adf049be
@@ -436,6 +436,10 @@ _COVERAGE_DEGRADATIONS: dict[str, str] = {
|
||||
"files_unparsed": "{count} file(s) could not be parsed and are absent from the graph: {files}.",
|
||||
"query_failed": "A `{kind}` query failed for {requests} region(s), so those regions were not decided.",
|
||||
"budget_exhausted": "The model-call budget ran out with {regions_unasked} region(s) still unasked.",
|
||||
"regions_truncated": (
|
||||
"Only the **{examined} highest-ranked of {total} regions** were examined. Nothing above says anything "
|
||||
"about the rest of the repository."
|
||||
),
|
||||
"region_failed": "The region `{path}` could not be arbitrated.",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user