Repository navigation
Add opt-in coverage-aware grader qualification policies - #497
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Reviewed all 14 files in the feature diff, the CLI and qualification callers, policy loader, report-scope validation, verifier provenance, documentation, and resource-report interpretation at 1348027. No actionable source findings.
Verified distinct-case metric/class/category floors, correctly expected abstention coverage, unavailable-rate rejection, insufficient-evidence precedence, assessment-only scope, provider-free preflight and retained not-run receipts. The existing attempt-level rate/score formulas and baseline-reuse eligibility are preserved. The bundled example intentionally reports missing failing security/efficiency coverage; it makes no live qualification or release-approval claim.
Validation: 145 focused policy/grader/resource-report/CLI-golden tests passed in 95.02s; Ruff and formatting passed; pinned Fern reported 0 errors and 1 existing warning; diff check passed. Two independent read-only policy/caller reviews found no actionable issues and 10 actual-helper/literal-input probes passed. Current main 3523764 merges clean in merge-tree, so no freshness-only main merge was made.
This is a source-review receipt, not a merge approval. Exact-head hosted CI currently has 22 successful checks, 4 skipped checks and Python 3.12 coverage still running. Keep the PR draft while full-suite verification is pending. No paid/NVSkills run was triggered, and no PR was merged.
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Reviewed the integrated head 7884d94. The seven policy, validation, resource/template and focused-test blobs are byte-for-byte identical to the fully reviewed 1348027; its policy semantics and independent probe receipts remain applicable. No actionable source finding was introduced.
Integrated main's functional #492 CI change so pull requests run the complete Python 3.12 suite in parallel without coverage, while main retains serial coverage. After #456 merged externally, resolved its two actual conflicts: retain both complete changelog entries and retain the newer task-outcome guidance with the canonical published-doc URL. No manual source/test change, timeout relaxation, score change or baseline-reuse change.
Final integrated validation: 189 workflow/policy/grader/resource/CLI-golden tests passed in 46.97s; full Ruff, pinned Fern (0 errors, 1 existing warning) and diff checks passed. All seven reviewed feature blobs were verified unchanged. The intermediate CI merge separately passed the same 189 tests. These overlapping scopes are not summed.
Normal fast-forward push only; the author's current non-draft state is preserved. Exact-head hosted CI must complete before merge readiness is established. No paid/NVSkills job was dispatched manually, no settings were changed and no PR was merged by this review.
rng1995
left a comment
There was a problem hiding this comment.
Reviewed current head 9e94946 after the external GitHub main merge. Its parents are previously reviewed 7884d94 and main 5aacb5e; tree 8a63dfb5 exactly equals Git's automatic merge. All seven policy/validation/resource/template and focused-test blobs remain byte-for-byte identical to the original fully reviewed 1348027. No manual source/test changes or branch push were made in this adoption.
The upstream delta adopts already-merged #486 local-process handling and #489 runner identity/privacy changes. I inspected the JSON-report/identity overlap; existing resource-report, CLI-golden and workflow controls pass 54 cases in 7.89s on this exact head. Full Ruff and diff checks pass. Earlier 189 integration cases remain evidence for the preserved feature blobs; these overlapping scopes are not summed.
The author's historical local full make test at 134 remains incomplete: 7,349 passed, 7 skipped, 3 failed before interruption, with retained serial and base controls. No completed clean local full-suite pass is claimed. The new exact-head hosted full suites are running separately. No live provider/model qualification or native Windows execution of the new policy CLI was performed; existing Windows CI selects other platform contracts. No PR was merged by this review.
* docs(changelog): move post-0.9.0 entries to Unreleased #497 and #459 merged after v0.9.0 was cut, but their entries landed in the 0.9.0 section that the release prep had just created. Move them, unchanged, to Unreleased. The 0.9.0 section now matches the released v0.9.0 notes exactly. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> * docs(changelog): move #369 and #475 entries out of 0.9.0 #369 and #475 merged after v0.9.0 was cut, but their entries landed in the 0.9.0 section. Move them to Unreleased (Changed and Fixed) so 0.9.0 matches the released notes again. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> --------- Signed-off-by: Narendran Raghavan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
tier3 validate-grader --qualification-policy FILEnow assesses an operator-owned policy against held-out assessment cases. Missing required metrics, pass/fail classes, observed categories or rates produceinsufficient_evidenceinstead of silently passing. Coverage counts distinct cases rather than repeated judgments or behavior steps; correctly expected abstentions can demonstrate category coverage without supplying binary scored cases.Offline checks report label readiness without inference. Insufficient live preflight retains a
not_runreceipt; evaluated receipts retain the effective policy, canonical hash, per-metric checks, reasons and conservative verifier Git provenance. Policies cannot be combined with standalone rate gates or tuning/mixed splits. Existing no-policy behavior stays available.Resource report metadata and HTML explain observed consumption, failed outcomes, historical baseline reuse and comparability limits. The experimental example intentionally exposes missing negative security/efficiency coverage in the bundled suite; its limits and one-case floors are illustrative, not defaults or statistical qualification. Scores, raw deltas, baseline-reuse eligibility and reference-suite labels are unchanged. No automatic release gate or paid schedule is introduced.
Verification
make lintpytest, themake testtarget)make buildAuto-merged into main on 13 November 2026 at 10:44:51 UTC as f41c5c03. Main reachability and preservation of the reviewed qualification/resource implementation files were verified.
Final CI tested merge
5ae436ad(head9e949463plus base5aacb5e1): all 15 jobs passed. Python 3.12, 3.13 and 3.14 each passed 31,500 tests, with 81 skipped. Security, image verification, DCO and NVSkills guard passed; final checks total 23 successful and 4 skipped. No required gate was bypassed.Local evidence:
9e949463, with zero provider/network access. All 328 tested-head package members match source, wheel and installed bytes.9e949463lint, build, Fern and source/wheel/sdist OSS boundary checks passed. Fern reported 0 errors and its existing unauthenticated redirect-check warning.e939a03b.No real provider/model reliability qualification was run. Existing native Windows CI selects other platform suites; the new policy's portability regressions simulate unavailable platform flags. Operator criteria and live reliability/release acceptance remain separate decisions; scores, Overall and resource-delta calculations are unchanged.
Release Impact
CHANGELOG.md