Skip to content

fix(tier3): mark never-activated skill evaluations inconclusive - #209

Merged
rng1995 merged 5 commits into
mainfrom
fix/christopherk/issue-208-skill-activation
Oct 19, 2026
Merged

rng1995 merged 5 commits into
mainfrom
fix/christopherk/issue-208-skill-activation

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

When a with-skill agent never loads the expected skill, Tier 3 can report a misleading skill-lift verdict. This change marks confirmed zero-activation runs INCONCLUSIVE: skill never activated and omits their lift comparisons while preserving arm scores for diagnosis.

  • Gate positive-case skill_execution on activation in shared scoring and the standalone Harbor verifier; preserve unknown evidence and exclude negative controls.
  • Carry activation eligibility through canonical reports, CLI, HTML, Markdown, benchmark cards, and dashboard comparisons.
  • Preserve the selected eligible agent's suggestions and LLM insights in mixed-agent reports. Exclude never-activated agents from judge evidence and keep advice links tied to the eligible source agent.
  • Explain never activation explicitly in multi-agent HTML dimension and overall cells.

Fixes #208.

Verification

  • I am familiar with the Contributing Guidelines
  • Added focused scoring, collection, reporting, and actual Streamlit regressions
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test — local suite limitations below
  • Ran make build; verified the final wheel matches all four production files changed in this review-fix pass
  • Did not add credentials, private datasets, or proprietary benchmark content

The final reporting/advice/grounding suite passed 187 tests. Dashboard data, contract, and actual Streamlit suites passed 179 tests; benchmark, HTML, and adjacent reporting suites passed 293 tests. These suites overlap. Independent code review covered option interactions, mixed-agent selection, output correctness, and advice evidence links, including a missing best-agent trace.

A fresh real OpenCode / NVIDIA Build / local paired zero-activation control completed successfully: 2/2 attempts scored, one with-skill positive opportunity, zero activations, zero unknowns, and an inconclusive verdict with no overall lift. This deliberately asks for a no-tool answer and verifies activation reporting, not general skill quality. Retained real provider outputs were replayed through current JSON/HTML/Markdown, benchmark, both dashboard loading paths, and the actual Streamlit app. Other providers, Docker, and managed-cloud execution were not verified on this head.

The broad local suite during this fix pass completed with 13,698 passed, 22 skipped, and 5 failed. One packaging failure was caused by a concurrent build in the same checkout and passed serially. Four runtime failures reproduced serially and on pre-fix revision b8fccbc4: one local-timeout stderr mismatch and three Bedrock preflight classification failures. The broad run began before the final advice-link correction; that correction is covered by the final 187-test suite. A clean full local suite is not claimed.

All four review threads were fixed and resolved. At the latest refresh for e0ddbd84, 16 hosted checks passed and Python 3.12 tests were still running. A named Security Review executor was unavailable; the independent review above is an ordinary code-review pass.

Remaining work

This PR remains draft. Separate previously identified gaps in native multistep activation aggregation and tier3 compare lift suppression remain outside these four review-comment fixes; the latter still reproduces on this head.

Release Impact

  • Updated CHANGELOG.md

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Automated review: 4 findings (0 P1, 1 P2, 3 P3); 4 posted inline.

@chrisknvidia
chrisknvidia marked this pull request as ready for review October 19, 2026 07:03
Linking each recommendation separately restarted the positional index
at zero, so every ungrounded LLM recommendation cited the first
(lowest-scoring) trial trace. Pass the recommendation's position so
each one keeps its own positional trace, as before per-source link
selection.

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

rng1995 commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

@chrisknvidia I re-checked all four review findings at e0ddbd8 with the original reproductions, and they are fixed:

  • BENCHMARK.md's Results at a Glance shows INCONCLUSIVE instead of uplift.
  • Dashboard rows for never-activated runs are inconclusive, with no score delta.
  • The activated best agent keeps its suggestions and LLM insights.
  • The Multi-Agent Dimension Lift cells say "inconclusive: skill never activated".

e0ddbd8 introduced one small regression, which I fixed in 147d99f. Recommendations are now linked one at a time, so the positional index restarted at 0 for each one. Every LLM recommendation without its own evidence then linked the same first trial trace, even in single-agent runs. _attach_harbor_evidence_to_recommendations now takes a start= offset, so each recommendation keeps its own position. test_ungrounded_llm_recommendations_keep_positional_trace_links fails at e0ddbd8 and passes with the fix.

A test-only note: in b68ebce, the new dashboard test landed in the middle of test_performance_table_shows_per_trial_usage. Its three CSV-header assertions now run inside the new test, so the original test no longer covers CSV export.

@rng1995
rng1995 merged commit 79b1cd8 into main Oct 19, 2026
17 checks passed
@rng1995
rng1995 deleted the fix/christopherk/issue-208-skill-activation branch October 19, 2026 19:03
rng1995 added a commit that referenced this pull request Oct 19, 2026
Brings in #209 (Tier 3 marks never-activated skill evaluations
inconclusive). Conflicts resolved onto the branch's code:

- collector: the per-arm _collect_arm refactor records skill_activation
  in the with-skill arm's summary.json; the agent's lift, custom lift
  and pass@k lift need lift_eligible (both arms succeeded and the skill
  activated), and the agent payload carries skill_activation.
- report_data: reads the with-skill arm's skill_activation and derives
  it from the with-skill rewards when absent, before the branch's
  non-report-only active conditions.
- tier3_report: keeps the branch's not-applicable bookkeeping and
  applies main's never-activated lift and verdict suppression.
- BENCHMARK.md: the branch's lift-basis Overall and dimension rows say
  INCONCLUSIVE when the skill never activated; the score helpers take
  both missing_baseline and skill_never_activated.
- HTML: main's never-activated labels lead the branch's lift notes; the
  multi-agent grid's Overall cell says "no baseline lift" like the
  dimension cells unless the note says more.
- CLI and Markdown: the Skill Lift band text stays, main's inconclusive
  line follows; Markdown shows an INCONCLUSIVE evidence verdict in place
  of a PASS or NEUTRAL Tier 3 status.
- CHANGELOG: both Fixed entries kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia added a commit that referenced this pull request Oct 30, 2026
* fix(tier3): mark never-activated skill evaluations inconclusive
* fix(reporting): preserve skill activation eligibility across reports
* fix(reporting): ground advice links in eligible agent evidence

Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
* fix(reporting): keep positional evidence for each recommendation

Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
Brings in #209 (Tier 3 marks never-activated skill evaluations
inconclusive). Conflicts resolved onto the branch's code:

- collector: the per-arm _collect_arm refactor records skill_activation
  in the with-skill arm's summary.json; the agent's lift, custom lift
  and pass@k lift need lift_eligible (both arms succeeded and the skill
  activated), and the agent payload carries skill_activation.
- report_data: reads the with-skill arm's skill_activation and derives
  it from the with-skill rewards when absent, before the branch's
  non-report-only active conditions.
- tier3_report: keeps the branch's not-applicable bookkeeping and
  applies main's never-activated lift and verdict suppression.
- BENCHMARK.md: the branch's lift-basis Overall and dimension rows say
  INCONCLUSIVE when the skill never activated; the score helpers take
  both missing_baseline and skill_never_activated.
- HTML: main's never-activated labels lead the branch's lift notes; the
  multi-agent grid's Overall cell says "no baseline lift" like the
  dimension cells unless the note says more.
- CLI and Markdown: the Skill Lift band text stays, main's inconclusive
  line follows; Markdown shows an INCONCLUSIVE evidence verdict in place
  of a PASS or NEUTRAL Tier 3 status.
- CHANGELOG: both Fixed entries kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
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.

Tier 3 reports a lift verdict when the agent never loaded the skill; skill_execution scores 0.5 with activation 0

2 participants