Repository navigation
feat(tier3): add --skip-with-skill for baseline-only runs - #284
Conversation
Users who want a no-skill baseline, for example to calibrate a task set before the skill exists or to re-measure a baseline after a model or harness change, had to run both arms and discard the with-skill half, paying twice for agent and judge work and getting a report that reads as a skill evaluation. --skip-with-skill on tier3 evaluate and the direct tier3 workflow stages and runs only the without-skill arm. The runner derives task identities from the baseline tasks, uses single-arm (unsuffixed) task names, launches only the -without Harbor job, and keeps the baseline isolation guards. The collector never adopts a -with job, records the with-skill arm as skipped, and takes the metric contract and score policy from the baseline. The report gains a mode field; in baseline_only mode the best agent and overall score come from the baseline, with-skill values and lift stay unavailable instead of 0.0 (evaluator rows mark the arm "skipped" and report tables print it), the verdict stays NEUTRAL, and the HTML report, the case-first CLI verdict line and the CLI summary describe a baseline calibration. Not-applicable metrics and notes come from the baseline arm. Skipping both arms is rejected at the CLI, workflow preflight, service, engine and collector. validate does not accept the flag, so a baseline-only run cannot satisfy a Tier 3 gate. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
The case-first summary printed 'inconclusive' in the effect column of every row of a --skip-with-skill run, although no with-skill arm ran and there is no effect to call. Print '-' instead. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Reviewed the full diff plus the surrounding collector, runner and reporting code. The baseline-only flow is consistent end to end: mutual exclusion is checked at the CLI, workflow, commands, runner and collector layers; unsuffixed task names are used when one arm runs; a stale with-skill job in a reused jobs dir is not adopted; skill activation is not_applicable; mode, verdict (NEUTRAL), tables, HTML and Markdown all say skipped instead of 0.0; validate does not accept the flag. tests/tier3/test_skip_with_skill.py, tests/test_cli.py and tests/golden pass locally (246 passed); ruff clean. CHANGELOG is under Unreleased > Added and docs are updated.
Findings: 1 P3 inline (fixed in a follow-up commit), 1 P3 below (open).
P3 (open, runner.py ~L4699, outside the diff so not inline): the guard if not skip_baseline and harbor_config.get("pre_agent_setup") also fires for a baseline-only run and tells the user to "use --skip-baseline for a with-skill-only run", but combining that with --skip-with-skill is rejected, so the advice is a dead end for this mode. Either allow setup commands when only one arm runs (policy call, since this PR says it keeps the baseline isolation rules) or mention in the message that a baseline-only run cannot use them. Left open as it is a policy decision.
Reviewed with Claude Code.
b0821a5 to
0418dd9
Compare
Conflicted files: CHANGELOG.md (kept main's --max-cases entry and the --skip-with-skill entry under Unreleased / Added). Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…p guard A baseline-only run (--skip-with-skill) that sets harbor.pre_agent_setup was told to use --skip-baseline, but combining the two flags is rejected, so the advice was a dead end. The guard still refuses setup commands whenever a baseline arm runs; in a baseline-only run the message now says that setup commands cannot run there because the baseline arm must stay isolated. The paired-run message is unchanged. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve CHANGELOG.md (Unreleased > Added): keep main's --max-cases and SkillSpector LLM provenance entries, then this PR's --skip-with-skill entry. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Conflicted files: CHANGELOG.md (kept main's --max-cases and SkillSpector LLM provenance entries with main's spacing, then the --skip-with-skill entry). Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Follow-up on the runner guard note: fixed in 9386eb6, which is in the squash-merged commit bfd477b on main. A baseline-only run (--skip-with-skill) that sets harbor.pre_agent_setup or setup_commands is still rejected, because the baseline arm must stay isolated. The error no longer points to --skip-baseline, which can't be combined with --skip-with-skill. It now reads "harbor.pre_agent_setup/setup_commands cannot run in a baseline-only run (--skip-with-skill); the baseline arm must stay isolated from skill-owned setup commands". The paired-run message, which does suggest --skip-baseline, is unchanged. The new test test_baseline_only_setup_rejection_does_not_suggest_skip_baseline in tests/tier3/test_skip_with_skill.py pins the exact message, checks that --skip-baseline is not mentioned and that the configuration failure event carries the same text, and checks that nothing is staged. The existing paired-run test in tests/test_harbor_runner_environment.py still pins the old wording. The Baseline-only runs section in docs/tier3-live-evaluation.mdx now states the rule. |
* docs(changelog): move entries released in 0.7.0-0.7.2 out of Unreleased 0.7.0 (#314) and 0.7.1 (#327) never cut their sections on main, and 0.7.2 (#335) added its section below the whole Unreleased block, so Unreleased still listed work that had already shipped. Place each Unreleased entry under the release that shipped the PR that added it: - 0.7.0: the published section from the 0.7.0 tag, verbatim. It already holds the six entries that main had filed under 0.6.0, so 0.6.0 again matches the v0.6.0 tag, including the original run_config.json entry. - 0.7.1: #264 #271 #274 #281 #284 #289 #293 #299 #316 #317 #318 #323 #324 #326 #327, plus the #320 wording of the Windows Git-root entry, since #320 changed that 0.7.0 fix in 0.7.1. - 0.7.2: #263 #265 #269 #270 #276 #279 #287 #290 #296 #309 #328 #330 merged with the existing #335 entries. Only post-v0.7.2 entries stay under Unreleased, with one heading per subsection. Entry text is unchanged, apart from the published tag wording in 0.7.0 and 0.6.0. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(release): prepare v0.8.0 Set the package, fallback, lock, citation and developer-guide versions to 0.8.0 and move every entry merged since v0.7.2 under '## 0.8.0 - 2026-11-05', leaving Unreleased empty. The refusal-fallback documentation test now reads the release section that names CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK, requires it to be 0.8.0, and requires exactly one entry there to name the switch. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(release): pin the verified 0.8.0 Tier 1 image and add its CI bundle Pin onboarding to the Tier 1 image published by the reviewed main revision 55d2d04 in "Build and publish Tier 1 image" run 42158955180: ghcr.io/nvidia/skillevaluator-tier1@sha256:9d5483243918937be4f2178f74cf7c622a531dee41e3176906994d52fa14950a (config sha256:d17d6f5105ec5f1bf0cbe4dff0d693aae4ecf01e9c1c6a6ddb7830518acace33). The workflow and publisher refs both move to 55d2d04. ci/bundles/0.8.0 mirrors the 0.7.2 bundle. The templates, README and release.json are the run's github-actions-onboarding artifact and match ci/render_templates.py output for these pins byte for byte. The scanner inventory and verification receipt come from the build's runtime-stage version step, the five-case smoke receipt, the onboarding job's anonymous pull, and the public manifest, whose config digest equals the smoke-tested image ID. The ZIP uses the 0.7.2 layout (sorted members, inner checksums, 1980 timestamps, 0644, deflate level 9) and rebuilds to identical bytes. Point the current-bundle links at 0.8.0 and list 0.7.2 as historical. 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
Adds
--skip-with-skilltotier3 evaluateand the directtier3workflow. It is the counterpart of--skip-baseline: only the without-skill (baseline) arm is staged and run, and the report presents the result as a baseline calibration instead of a skill evaluation.tier3 evaluate,tier3 PATHand the hidden top-levelevaluateall get it.EvaluationOptions.skip_with_skillcarries it tocommands.evaluateandrun_harbor_eval.--skip-baseline --skip-with-skillis rejected at every entry point (CLI usage error before--autopilotcan generate a case, thetier3workflow preflight before dataset generation,commands.evaluate,run_harbor_eval,collect_harbor_results).validatedoes not get the flag, so a baseline-only run can never satisfy a Tier 3 gate.--skip-baseline._run_agent_pairacceptswith_skill=Noneand launches only the-withoutjob, including the--stop-on-passpath.with_skillfield, and the Rich title reads "Baseline-only evaluation".harbor.pre_agent_setupisolation guard stays active, because the baseline arm still runs.-withjob, so a stale one in a reused jobs directory is ignored.with-skill/summary.json, withexecution_status: "skipped"and skill activationnot_applicable.mode(both,with_skill_only,baseline_only), read from the collector's explicitskippedmarker, never inferred from empty scores.Nonein evaluators, evaluator cards and dimensions instead of becoming 0.0. Evaluator rows mark the armwith_skill_status: "skipped", and the not-applicable notes come from the baseline arm.tier3CLI summary, the CLI and Markdown reporters and the HTML raw evaluator table printskippedfor with-skill and lift cells instead ofNO SCORE. The case-first verdict line reads "baseline only" instead of an effect verdict.cli-reference.mdx(tier3 evaluate flags),tier3-live-evaluation.mdx(flag table plus a "Baseline-only runs" section) andreports.mdx(artifacts and the terminal summary). CHANGELOG entry under Unreleased / Added.Why
Users who want a no-skill baseline, for example to calibrate a new task set before the skill exists or to re-measure the baseline after a model or harness change, had to run both arms and throw away the with-skill half. That doubles the agent and judge cost for nothing. Running both arms and ignoring one also leaves a report that reads as a skill evaluation. This change runs the baseline arm alone and labels the result as a calibration, so its scores are never read as a skill-lift measurement.
Kept from public
main, including fix(reporting): preserve unavailable Tier 3 evaluator scores #251, which keeps unavailable evaluator lift asnullinstead of a measured zero ([BUG]: --skip-baseline crashes CLI reporting and fabricates zero evaluator lift #240). The baseline-only paths follow the same rule and keep with-skill and lift asNone.assess_tier3_evidenceand publication completeness are unchanged. A baseline-only payload has no with-skill evidence, so it stays non-publishable and the effective Tier 3 status is not PASS. The HTML report only explains that state ("No skill verdict: baseline-only run"). The HTML reporter admits the baseline score as display evidence formode == "baseline_only", so the report renders instead of being scrubbed, and its evaluator sanitizer passes through only theskippedwith-skill status._prevalidate_baseline_skill_candidates, the baseline emitter's alias validation and thepre_agent_setuprejection all run unchanged for the baseline arm.with_skill_statusandbaseline_status, and N/A cells are kept. Baseline-only mode reads them from the baseline arm (metric set, policy metrics, N/A notes) and adds one status value,skipped, for the arm that never ran.completed_agent_resultis unchanged and needs a with-skill score, so a baseline-only run never shows a completed-agent quality verdict. The Tier 3 benchmark Markdown is unchanged and fail-closed: it reports no complete agent result for a baseline-only run._run_agent_pair, retained-artifact lifecycle, runtime-plan credentials) is kept. The baseline-only path is added to it instead of porting a different runner. Public's score-policy reconciliation, run-wide policy conflict detection, judge-aware lift, custom-only agents and bounded report budget are kept. Baseline-only mode reads the baseline arm through them.validateor to catalog argv, so--block-on-agent-evalcannot pass on a run whose with-skill arm never ran.Tests
New
tests/tier3/test_skip_with_skill.py(19 tests). All 19 fail on unmodifiedmain. Reverting only the collector's arm-suffix change, or only the skipped-withjob lookup, makes the matching test fail.EvaluationOptionsandrun_harbor_eval. Skipping both arms is rejected before--autopilotortier3 PATHcan generate a case, and also incommands.evaluate,run_harbor_evalandcollect_harbor_results.with_skill=Noneto_run_agent_pair.with_skill=Falsewith single-arm matrix trials, and emitswith-skill-tasks: skippedand the "baseline only" agent label.pre_agent_setupis still rejected._run_agent_pairlaunches onlydemo-codex-without, with and without--stop-on-pass.skippedand a stale-withjob is ignored.not_applicable, and the metric set and policy come from the baseline.-without-skillis resolved intact from an unsuffixed task name.modeisbaseline_only, the overall score is the baseline, and the verdict is NEUTRAL.Nonein evaluators, cards and dimensions.mode: bothwith unchanged scores.tier3CLI summary printsskippedcells and the "baseline only" verdict line, and the CLI and Markdown reporters printskippedwith noNO SCORE.with-skill=no, baseline=yes, and the Rich title reads "Baseline-only evaluation".tests/golden/cli_surface.jsonwas regenerated: the flag is added toevaluate,tier3 evaluateandtier3 PATHonly.pytest -n 8on the branch rebased onto currentmain: 18219 passed, 29 skipped and 17 failed. None of the failures is in code this change touches: 2 host-environmentsidecar_retains_*tests; 13 generated custom-only verifier script tests that fail identically on unmodifiedmainon this host (its systempython3is 3.9, which rejects the script'sint | floatcheck); and two timing-sensitive tests (a bounded-process timeout test and a Bedrock model-probe test) that pass serially on this branch. The timeout test also fails on unmodifiedmainhere. The affected modules were re-run after the final edits: 1885 passed (two FIFO workflow tests timed out under-n 8and pass serially).ruff checkandruff format --checkpass on every changed Python file.scripts/check_oss_boundary.pypasses.🤖 Generated with Claude Code