Skip to content

fix(tier3): keep negative controls out of missed-activation advice - #466

Merged
rng1995 merged 5 commits into
mainfrom
naren/skilleval-21-correctness
Nov 12, 2026
Merged

rng1995 merged 5 commits into
mainfrom
naren/skilleval-21-correctness

Conversation

@rng1995

@rng1995 rng1995 commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

A missed positive activation in a mixed Tier3 dataset contaminated correctly avoided negative controls: passing attempts were counted as lost and off-skill tasks received advice to widen activation. Resolve each case's routing from the retained dataset snapshot with the existing shared helper. Explicit negatives bypass both activation-loss branches while retaining genuine task, environment and run-error diagnostics. Positive misses and unknown legacy routing remain unchanged.

Load the snapshot once per advice pass, then pass it to each case diagnosis. This avoids repeated reads:100 cases read one snapshot rather than101, with unchanged recommendation output. No global cache or scoring/schema change.

Tracks SKILLEVAL-103 and SKILLEVAL-21.

Verification

Current DCO head: f2919d1158dee204d632a43b90a92a568ca9fa83, including main487910ef. Recommendation source/tests remain unchanged from reviewed589e9bdc. Subsequent changes integrate upstream, relocate our changelog entry, and correct a shared-baseline readiness test race described below.

  • Functional RED:7 failures before the routing fix;14 selected cases passed afterward.
  • Bounded-read RED:12 failures/1 pass before the follow-up;13 passed afterward using actual SecureRoot snapshot bytes across20/100 cases and multiple agents.
  • Reviewed functional/performance head:247 focused tests passed; independent review passed69 case-summary tests and72 independently constructed complete-output equivalence scenarios with no actionable findings. Main-sync focused scope:121 passed. These scopes overlap and are not summed.
  • Original mixed-dataset reproduction eliminates the negative finding; the positive miss retains exactly one lost attempt. Missing/malformed/legacy snapshots, precedence and direct private-call compatibility are covered.
  • Ruff, build/archive/provenance and pinned Fern gates passed on589e9bdc; main-sync lint/diff/Fern and preservation checks passed. All six squash orders with fix(tier3): apply case-specific skill metric applicability across reports #425/fix(grader): canonicalize verifier paths before provenance checks #467 converge against main487910ef.
  • Historical full default run on frozen85a29f47:27,462 passed,50 failed,57 skipped. All50 failures passed serial after correcting the runtime and installing the exact85a wheel (21.84s). This is not a clean full run and does not cover this newer head. Exact-head hosted CI is running.

Release Impact

  • Contributing/DCO requirements followed; focused regressions and CHANGELOG updated.
  • No credentials/private datasets added; numeric scores, aggregation and historical artifacts preserved.
  • Exact-head hosted checks passed (24 successful,5 skipped,no failures/pending); squash merged into main as8ba7f785a76b2a722f7e80179e6b3f2974a06206. Broader paired live/human acceptance remains open.

Hosted Python3.13 readiness-test follow-through

At prior head aacd62f, the Python3.13 matrix recorded27,902 passed,1 failed,81 skipped. The sole failure was an empty readiness-file JSON read. Both the writer and failing test were byte-identical on main487910ef and the PR; the test waited for file existence while the production startup consumer already retries the real secure authenticated readiness check. GitHub denied the normal job-rerun request with HTTP403.

A separate DCO test-only commit now waits for that same real checker before decoding and verifies the returned origin. No production bridge/security change. A deterministic pipe-handshake harness pauses the real writer after secure create: original test reproduces the exact JSONDecodeError; corrected test rejects incomplete readiness and passes after authenticated health. Independent review found no actionable issue. Bridge plus lifecycle serial selection:135 passed. Earlier parallel selection:422 passed,1 skipped,1 unrelated cancellation timing failure, then passed serially. Root exact integrated-head reproduction:1 passed. Lint/format/diff checks passed. Fresh hosted matrix/coverage passed for f2919d1 before merge; no failed gate was bypassed.

Signed-off-by: Narendran Raghavan <[email protected]>
(cherry picked from commit cbfea3e2edb82454cada413ff7c61dead46daed4)
Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995
rng1995 marked this pull request as ready for review November 12, 2026 20:21
@rng1995
rng1995 merged commit 8ba7f78 into main Nov 12, 2026
29 checks passed
@rng1995
rng1995 deleted the naren/skilleval-21-correctness branch November 12, 2026 20:22
rng1995 added a commit that referenced this pull request Nov 12, 2026
Brings in #464 (Harbor 0.25.0) and #466. The only conflict was docs/cli-reference.mdx: keep main's Harbor 0.25.0 --env-mode and --environment-kwarg rows, and this PR's --backend row between them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exact-head source-adoption review for merged head f2919d1. Reviewed the production diff, callers and regression coverage: shared dataset routing keeps explicit negative controls out of both missed-activation advice paths while retaining genuine task/environment/run-error diagnostics. Dataset snapshots are loaded once per recommendation pass and passed to each case; the direct-call fallback remains compatible. Missing/malformed/legacy snapshots, precedence, multiple agents and bounded-read behavior are covered.

Previously recorded current-main verification passed 377 tests across the case-summary and CI-selection/gate selections; that is a combined scope, not 377 case-summary-only tests. No new test run is claimed by this adoption comment. The separate inherited bridge-readiness test hit an unchanged three-second subprocess timeout under concurrent local load; it was not weakened. The exact merged-head hosted checks were successful at the recorded audit.

No actionable reporting source issue was found. This PR was externally merged into main; this COMMENT records review of its actual retained PR head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant