mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-04 18:58:18 +00:00
feat(valid-detection-benchmark): 11.5 streaming scale bounded validation and back-pressure
This commit is contained in:
@@ -392,7 +392,7 @@
|
||||
- _Requirements: 5.2, 5.6, 5.7, 7.5, 8.3, 8.4, 8.5, 10.1, 10.2, 10.6_
|
||||
- _Boundary: Admission Recovery Validation_
|
||||
- _Depends: 11.3_
|
||||
- [ ] 11.5 Verify streaming scale, bounded validation, and execution back-pressure
|
||||
- [x] 11.5 Verify streaming scale, bounded validation, and execution back-pressure
|
||||
- Exercise at least forty positives and eight hundred ordinary pushes for freeze, manifest, policy, serialization, projection, replay, and reporting operations.
|
||||
- Stream one object/case batch at a time, measure cold/warm workflow and per-arm runtime, and retain nonzero read/execution receipts for every measurement.
|
||||
- Respect adapter back-pressure without treating a busy or unavailable execution lane as a detector result or infrastructure diagnosis.
|
||||
@@ -455,3 +455,4 @@
|
||||
- Task 11.1 review (2026-11-22), advisory forwarded to the reservation-identity owner (pre-dates 11.1; load-bearing before the 11.6 real run): `reservation_identity.py:70` strips the `.git` suffix case-sensitively (`removesuffix(".git")`), and `reservation_guard.py:178` repeats the case-sensitive strip after an IGNORECASE regex, so a mixed-case `https://GITHUB.com/ACME/Core.GIT` URL normalizes to a distinct identity and escapes the reservation scan (admission still fails closed via the reviewed-registry check in population_freeze). Fix: case-insensitive suffix normalization at both sites + adversarial test. Also: the `license_class` conjunct of the public-material gate (`population_materials.py:92`) has no independent mismatch fixture (non-permissive class + allowlisted expression); one-line addition to the confidentiality suite when next owned.
|
||||
- Task 11.3 review (2026-11-23), items for the 11.6 owner: (a) run.py's `bind_case_adapter_replay_stage`/`AdmissionCaseAdapterRequestV1` re-exports match the `BenchmarkRunStagesV1.replay` seam but have no in-repo consumer yet — 11.6 must adopt the preparation-rooted spend (`derive_case_adapter_preparation`; the CAS receipt must be minted from `preparation.label_release_request`, an 8.3-style `label_open_request` receipt can never satisfy core `_exact_successor_receipt`, proven) or the seam stays declaration-only; (b) the e2e synthetic population uses 20 ordinary pushes TOTAL for 40 positives with relaxed Wilson precision — the literal 3.2 ratio (>=20 per positive) and production precision bind real admission populations (10.6 proved the ratio at draw time); (c) `admission_spend.join_released_cases` now joins positives by `underlying_push_digest` (structurally necessary: core pins `projection.case_input_digest == ref.case_input_digest` at evaluation_observation.py:121 while sealed labels key raw identities) — 11.6 population builders must key both sides consistently; (d) hostile-decode parse hooks in `replacement_artifact_contract._decode_canonical` are defense-in-depth (downstream canonical re-encoding independently rejects non-finite values) — keep, but do not treat hook removal alone as a regression signal.
|
||||
- Task 11.4 review (2026-11-23), item for the 11.6 owner (11.7 backstop): a run stage returning `None` instead of a product escapes `benchmark_run_command` as a raw `AttributeError` at run.py:445 (`_persist_terminal_outcome` on `None.outcome`; reviewer probe reproduced). Fails loud, never clean, and is a miswired caller contract rather than an operational failure — but 11.6 wires the production stages and owns run.py next: either type-check stage returns (closed INVALID_REQUEST/refusal) or document the seam contract. Optional hardening for the next fixtures owner: `CountingCrashLoader` (tests/valid_benchmark_failure_injection.py) counts reads without asserting custody SPENT itself (committed `_LabelSource` does); ordering violations are still caught via spent-state assertions and the committed pre-CAS refusal.
|
||||
- Task 11.5 review (2026-11-23), items for the 11.6 owner: (a) RATIFIED trade-off — 11.5 ran freeze/manifest/policy/serialization/streaming at the full 840-input scale but execution/spend/release/projection/replay/reporting at a 240-input representative tier (4x the 11.3 scale), because the committed execution/sealing seam is super-linear (~n^1.67, triple-verified 7.2s@60 / 71.7s@240 / ~615s@840); a full-scale governed run needs >=2 such executions, so 11.6 must budget ~20+ minutes of execution alone and should measure again at the real population size; (b) a correctly-reviewed full-scale lifecycle has NEVER actually been completed — the 840-input probes' `manifest_invalid` refusals were probe-construction artifacts (default-population lru-cached review subject at tests/valid_benchmark_e2e_fixtures.py:1052-1058 vs per-population `_execution_subject` in tests/valid_benchmark_scale_support.py:623-632), not capacity caps; the budget ruling rests on timing alone; (c) minor: arm-runtime receipts use `max(0, ...)` clamps (a 0ms arm measurement would pass) and `runtime_ms >= 0` assertions — tighten to `> 0`/`max(1, ...)` next time the scale support module is owned.
|
||||
|
||||
Reference in New Issue
Block a user