mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 10:18:18 +00:00
docs(independent): list population v4 among the independent populations
Population v4 (11 cases: 4 PHP with JavaScript, 4 TypeScript, 3 Python) was frozen on 2026-11-23 and is unscanned. The docs and steering that enumerate populations v1, v2 and v3-php now name it, with no result claimed.
This commit is contained in:
@@ -28,6 +28,7 @@ step-by-step chain that replaced hand edits.
|
||||
- recorded adjudications.
|
||||
|
||||
"Rejected by the plane" is never a negative. Reserved populations (v3) are not on the list.
|
||||
Neither is population v4 (frozen 2026-11-23).
|
||||
- **An AI classifier with local memory, compiled in house in the DSPy style.** The program has
|
||||
an instruction, a few demonstrations and up to six retrieved labelled examples. Then come the
|
||||
candidate's code excerpt and signals. The model (`deepseek-flash`) answers vulnerable / not
|
||||
|
||||
@@ -60,10 +60,13 @@ A population is a set of real repositories. Its lifecycle has three steps:
|
||||
| v2 (17 cases) | spent | engine: recall 0/17, 3 benign alerts, completion 13,206 of 108,374. Tool hunter: recall 1/17, precision 2/14, 1 fixed-side and 16 benign alerts, $8.88. No M4 gate met by either. | `results-v2.json`, `results-v2-hunter.json` |
|
||||
| v2, model-driven pipeline | exploratory (v2 already spent) | stopped after 7 of 17 cases when the account emptied: recall 4/7; precision not adjudicated; no gate measurable | `results-v2-model-pipeline.json` |
|
||||
| v3 (PHP, 15 cases; one SSRF slot left empty by the selection rule) | frozen, untouched | none: it is the one-time final check, run once under `protocol-v3.md` after a prediction is committed | `population-v3-php.toml`, `freeze-v3-php.json` |
|
||||
| v4 (11 cases: 4 PHP with JavaScript, 4 TypeScript, 3 Python) | frozen 2026-11-23, unscanned | none: it has not been scanned, and no protocol is written for it yet | `population-v4.toml`, `freeze-v4.json` |
|
||||
|
||||
v3 is reserved. Development and analysis work never reads its cases.
|
||||
`tests/test_independent_population.py` fails when anything in the development tree names one
|
||||
of its repositories. That covers a recipe, catalog, manifest or measurement.
|
||||
The same guard covers population v4, frozen on 2026-11-23 and not scanned. No protocol is
|
||||
written for it yet.
|
||||
|
||||
```mermaid
|
||||
stateDiagram-v2
|
||||
@@ -74,6 +77,7 @@ stateDiagram-v2
|
||||
note right of Frozen
|
||||
v3 (PHP, 15 cases) waits here as the one-time final check,
|
||||
run once after a prediction is committed
|
||||
v4 (11 cases, frozen 2026-11-23) waits here too, unscanned
|
||||
end note
|
||||
note right of Spent
|
||||
v1 and v2 are spent
|
||||
|
||||
@@ -68,7 +68,8 @@ and `facts.function_lines` from prompts and from the retrieval distance.
|
||||
`ousast learn labels` (`learn/labels.py`) reads only the sources on a fail-closed allow-list
|
||||
(`learn/sources.toml`). The sources are `population-v1`, `population-v2`, `dev-php` (reviewed recipe
|
||||
sites), `pairs`, `advisory-fixes`, `adjudications` and `assumed_benign`. A file the list does not name
|
||||
is refused before it is opened. The reserved population v3 is excluded unread.
|
||||
is refused before it is opened. The reserved population v3 is excluded unread. So is population v4,
|
||||
frozen on 2026-11-23.
|
||||
|
||||
- **Positives** are declared sites and the vulnerable side of a fix.
|
||||
- **Negatives** are two kinds:
|
||||
|
||||
@@ -88,6 +88,9 @@ What has not been touched: population v3, 15 PHP cases, frozen as the one-time f
|
||||
- A test fails when anything in the tree names one of its repositories.
|
||||
- It runs once, after a prediction is committed.
|
||||
|
||||
Population v4 is unscanned as well: 11 cases (4 PHP with JavaScript, 4 TypeScript, 3 Python),
|
||||
frozen on 2026-11-23, with no protocol and no result yet. The same test guards its repositories.
|
||||
|
||||
## 2. Our approach to detection, step by step
|
||||
|
||||
The path changed because hand edits did not transfer. Every gain before 2026-09-30 was a hand
|
||||
@@ -310,7 +313,8 @@ Data.
|
||||
(`src/openultrasast/learn/excerpt.py`). But labels drawn from public advisories are partly in
|
||||
the model's training data, and the within-pair numbers carry that.
|
||||
- PHP is covered by the engine on real code and by in-sample quick rules. The population that
|
||||
would measure it (v3) is reserved.
|
||||
would measure it (v3) is reserved. Population v4, frozen on 2026-11-23 and unscanned, holds 4
|
||||
PHP cases among its 11.
|
||||
|
||||
Measurement debt.
|
||||
|
||||
@@ -324,6 +328,8 @@ Measurement debt.
|
||||
label on unseen code (`2026-10-02-decision-engine-harvest-advisory/record.json`).
|
||||
- Population v3 waits for `benchmarks/independent/prediction-v3.json`, which does not exist. It is
|
||||
written only after a program is adopted.
|
||||
- Population v4 (11 cases, frozen 2026-11-23) is unscanned. No protocol is written for it, so no
|
||||
result exists.
|
||||
|
||||
Infrastructure.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user