Skip to content

fix(tier3): use one overall-score formula - #124

Merged
rng1995 merged 19 commits into
NVIDIA:mainfrom
Saibernard:fix/tier3-overall-score-policy
Oct 16, 2026
Merged

rng1995 merged 19 commits into
NVIDIA:mainfrom
Saibernard:fix/tier3-overall-score-policy

Conversation

@Saibernard

@Saibernard Saibernard commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Tier 3 already defines its overall score as the equal-weight mean of Security, Correctness, Discoverability, Effectiveness, and Efficiency. Some scoring paths instead averaged the six evaluator outputs directly. That gave goal_accuracy and behavior_check separate votes even though they are the two halves of Effectiveness.

This PR makes Harbor rewards, pass@k, Skill Lift, reports, comparisons, and best-agent selection use the published five-dimension formula.

The difference is visible when Effectiveness pulls away from the other dimensions:

Run security skill_execution skill_efficiency accuracy goal_accuracy behavior_check
with skill 0.50 0.50 0.50 0.50 1.00 1.00
without skill 0.75 0.75 0.75 0.75 0.25 0.25

The old calculation reported 0.6667 - 0.5833 = +0.0833. The documented formula gives 0.6000 - 0.6500 = -0.0500, which matches the dimension table. Scores do not always change, but when they do, pass@k results can cross the threshold, best-agent selection can change, and Skill Lift can reverse sign.

New artifacts identify the formula as skill-evaluator-dimension-mean-v1. Historical and partial artifacts keep their recorded scoring behavior. _SCHEMA_VERSION remains "2.0" because score_policy is additive and does not break existing consumers.

The documentation now explains the score ranges, which evaluators use an LLM judge, which use deterministic trace checks, how to find judge provenance, how Skill Lift is calculated, and why the Tier 1 Quality Score shown out of 100 is separate from Tier 3.

Relates to #61. This PR documents the current judge provenance, but it does not claim that the LLM judges have been validated. The repository does not publish inter-rater agreement, calibration, or a comparison against human-labeled ground truth, so that part of the issue remains open.

Two existing assertions change with the documented contract. test_judge_failure_artifacts.py expects 0.6 because three of five dimensions score 1.0, and test_tier3_schema.py now checks the named dimensions and versioned policy rather than raw metric names.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

The score-policy regression tests and lint checks pass. The full suite matches the base commit, and the package and documentation checks pass.

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Use the five-dimension mean consistently for Harbor rewards, pass@k, lift, reports, comparisons, and best-agent selection. Persist the score policy while preserving legacy artifact semantics.

Signed-off-by: Saibernard Yogendran <[email protected]>
@Saibernard
Saibernard marked this pull request as ready for review August 31, 2026 04:36
Comment thread src/skillevaluator/tier3/commands.py Resolved

@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.

The unified formula is correct for newly recorded policy-aware results, but current-head rendering and comparison reinterpret historical default-v2 artifacts under the new dimension policy. That can change stored scores and verdicts. The focused scoring, reporting, and history suites passed (419 tests, 4 skipped apart from one unchanged host-Python subprocess issue); Ruff and diff checks are clean. Requesting changes for the two historical-compatibility paths noted inline.

@Saibernard

Saibernard commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor Author

@rng1995 Thanks for catching this. I addressed both historical-compatibility issues in 1237c59. Missing-policy default-v2 artifacts now preserve their recorded scoring behavior in reports and comparisons, including overall score, baseline, Skill Lift, pass@k, and best-agent ordering. Explicit current-policy artifacts still use the five-dimension formula. I added focused regression coverage, and the full suite passes with 5,495 tests passed and 18 skipped.

@Saibernard
Saibernard requested a review from rng1995 August 31, 2026 22:36
@Saibernard

Copy link
Copy Markdown
Contributor Author

@rng1995 Following up on this! Both review threads are resolved, and all 17 checks on the current PR head are passing. Could you take another look when you have a chance? Happy to address anything else needed before merge.

@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.

Re-reviewed the current f8c4245 head after the historical-compatibility fix and update from main. Missing-policy default-v2 artifacts now retain their metric-mean overall, lift, and pass-at-k semantics, while comparisons carry the persisted overall and score policy instead of re-inferring them. The focused Tier 3/report/history suites pass (325 passed, 4 skipped), with full Ruff and diff checks clean. No additional issues found. Approved; required CI should still run and pass on this exact head before merge.

@rng1995

rng1995 commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

@chrisknvidia - Please review this PR

Preserve score-policy and evaluated-source metadata together in canonical Tier 3 reports. Exercise historical and current policies with source provenance, and keep this PR's release note under Unreleased.

Signed-off-by: Saibernard Yogendran <[email protected]>
@Saibernard

Copy link
Copy Markdown
Contributor Author

@chrisknvidia Following up on @rng1995’s review request. I’ve updated the branch with main and resolved the merge conflicts. Could you take a look when you have a chance?

…24-overall-score-ready

Signed-off-by: Christopher Kevin <[email protected]>

# Conflicts:
#	CHANGELOG.md
Preserve both the Tier 3 score-policy release note and the new upstream Unreleased entries.

Signed-off-by: Saibernard Yogendran <[email protected]>
Preserve each condition’s recorded metric membership when reconstructing historical scores. Suppress overall lift and pass-rate comparisons across incompatible conditions, and withhold best-agent ranking across different scored metric sets.

Cover collector-to-report round trips, stale lift artifacts, reordered metric lists, declared legacy metric sets, and per-agent policy mismatches.

Signed-off-by: Saibernard Yogendran <[email protected]>
@Saibernard

Copy link
Copy Markdown
Contributor Author

@chrisknvidia Both issues are fixed now. Could you take another look when you get a chance?

chrisknvidia added a commit that referenced this pull request Oct 1, 2026
The Markdown cell helper escaped only HTML, pipes and backticks, so a plugin
name like [x](javascript:...) or **bold** stayed live in the new hook-risk and
privilege tables, raw ESC, OSC 8 and BEL bytes landed in the .md file and in
BENCHMARK.md, and values inside backtick code spans showed &#124; and &lt;
literally.

The cell helper now drops terminal control sequences, shows bidi and
zero-width characters as escapes, and backslash-escapes link, image and
emphasis syntax (narrowly, so "run(s)" and "agent_plugin" stay readable).
plugin_sections.text strips controls where plugin text enters. Finding
details, success messages, errors, insights, suggestions and recommendations
now go through it too, plugin values move from backtick code spans to <code>
elements, and the Markdown and BENCHMARK output get a final control-character
pass.

Signed-off-by: Christopher Kevin <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit cff785018ee3c84e8febc99ff2f93a3b21347e60)
chrisknvidia added a commit that referenced this pull request Oct 1, 2026
…after integration

The hook census row gained Blocked and Not started columns in one fix and
Markdown cells gained narrow escaping in another. The row still wrapped
the escaped hook id in a backtick span, where Markdown shows the escapes
and entities literally (`a\_` or `&#124;`). It now uses a <code> element,
like the rest of the plugin report.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
rng1995 and others added 6 commits October 16, 2026 10:25
Conflicts and resolutions:
- CHANGELOG.md: main's changelog with the PR's score-policy bullet under
  Unreleased > Fixed.
- tier3/harbor/metrics.py: union of imports; the PR's policy-aware
  overall_score() reads persisted overall through main's score_value().
- evaluation/tier3_report.py: main's helpers, per-condition metrics,
  mixed-contract override, resource comparison and error-detail counts, plus
  the PR's score policy. _build_agent takes main's with/baseline metrics and
  the PR's score_policy; main's _canonical_agent_rank_from_info passes a
  policy (recorded with-skill policy, else derived from its metric set).
  Error-detail counts are taken after the PR's policy errors are appended.
- tier3/harbor/collector.py: union of imports; logical multi-step rewards
  keep _logical_overall and score_policy; _compute_lift keeps main's
  judge-mixed pairing and uses the condition policy for the overall;
  summaries use main's writer and shape plus score_policy, and the PR's
  summary rewrites go through the same writer; lift overall is the PR's
  condition-overall delta unless judge_mixed_cases applies.
- tier3/harbor/report.py: main's canonical-rank best-agent selection plus
  the PR's guard against ranking across different metric sets.
- tier3/harbor/report_data.py: main's metrics_for_condition structure with
  the PR's dedup, metric_set lookup and partial inference; load keeps both
  score_policy_* and mixed_metric_contracts_* fields.
- tier3/harbor/runner.py and the five test files: unions of imports and
  fixtures (the runner fake keeps main's kwarg capture and returns the PR's
  legacy-policy payload).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Main added behaviour after this branch that the policy-aware overall must
respect:
- Mixed metric contracts within a condition use the collector's logical
  attempt overall, as main's report and pass@k expect, instead of the
  standard-metric mean over standard rows only.
- Score-policy errors appended to an execution summary keep main's
  execution_error_details_* counts consistent and within the published
  error cap.
- Unversioned scores that include Security still claim the default v2
  contract (a missing evaluator makes the condition incomplete) unless the
  condition recorded the partial policy.
- The custom grader runner reserves score_policy, matching
  RESERVED_METRIC_NAMES.
- Main's judge-mixed lift test now expects the five-dimension overall:
  accuracy is the whole Correctness dimension, so the delta is 0.4 / 5.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Main ranks a custom-only agent, scored by its grader's own overall, against
agents scored on the standard metrics. Keep that while the five-dimension
formula and the rule against ranking across different standard metric sets
still apply to standard agents:
- The canonical report gives custom-only agents the custom-overall-v1 policy
  and derives the run-level policy, its conflict checks and the metric-set
  comparison from the standard agents only.
- Findings ranking leaves custom-only agents out of the metric-set guard.
- The collector no longer fails a run because a custom-only agent's policy
  differs from the standard agents' policy; the run keeps the standard
  policy and its comparison.
- Docs and the changelog entry describe the custom-only exception, and a
  collector-to-report test covers a standard plus custom-only run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
A failed agent can record an empty with-skill metric list while its
baseline still has standard scores. Treat an agent as custom-only only when
its recorded score policies are all custom-overall-v1, or, without recorded
policies, when neither condition declares standard metrics. The failed
agent keeps the run's standard policy, so its baseline overall stays
visible as main's HTML failure report expects.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
tier3 compare now matches the canonical report. A custom-only agent, one
whose recorded score policies are all custom-overall-v1 or, without
recorded policies, whose conditions declare no standard metrics, is shown
beside standard agents with its grader's own overall. Standard agents must
still share one score policy, and compare now also refuses standard agents
scored on different metric sets, as the report's best-agent rule does.

New tests cover a standard agent beside a custom-only agent (recorded and
unversioned), a custom with-skill agent with a standard baseline that is
still refused, and agents on different standard metric sets that are
refused. No existing compare assertion changed. The changelog entry and the
reports doc describe the compare behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Resolve the evaluation/tier3_report.py conflict with NVIDIA#77 by keeping both
sides: the attempt score policy and historical-policy flag from this
branch, and the run ID and publication target from NVIDIA#77, in the loader,
the payload builder signature and both payloads.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995
rng1995 merged commit d891b69 into NVIDIA:main Oct 16, 2026
17 checks passed
rng1995 added a commit that referenced this pull request Oct 16, 2026
Merge #124 cleanly. `uv lock --check` passes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit to kweinmeister/SkillEvaluator that referenced this pull request Oct 16, 2026
Resolve the runner.py import conflict with NVIDIA#124: keep this branch's GKE
environment and kubeconfig imports and take main's metrics import
(score_policy_for_metrics); score_definition is no longer used here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit that referenced this pull request Oct 16, 2026
No conflicts; brings the branch up to date with main after #124.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit that referenced this pull request Oct 16, 2026
Resolve the tier3/results_location.py conflict with #124 by keeping both
sets of result checks: this branch's registered error-code checks and
main's score-policy checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit that referenced this pull request Oct 19, 2026
Sync with main at 6068b3a: #124 (one versioned five-dimension overall-score
policy, custom-only ranking and compare), #183 (Runta and Mosaic), #140
(GKE mode, Vertex AI routing for Claude Code, MCP declaration validation),
#179 (performance dashboard) and the commits between them.

Conflicts and resolutions:
- CHANGELOG.md: main's Added entries (dashboard, GKE, Vertex AI, MCP
  validation) next to the PR's under Unreleased; main's Fixed entries
  were already present. One Added, Changed and Fixed heading each.
- docs/cli-reference.mdx: the PR's agents row (experimental Hermes) and
  main's 27-mode env row (runta and mosaic selectable).
- docs/reports.mdx, docs/tier3-live-evaluation.mdx: main's lift units and
  range sentence added to the PR's same-basis, N/A-aware lift text.
- tier3/harbor/__init__.py: Docker Codex keeps the PR's subagent-aware
  local_agents wrapper; Docker Claude Code uses main's container wrapper.
- tier3/harbor/local_agents.py: main's Vertex-aware SkillEvaluatorClaudeCode
  now also takes the PR's SetupNetworkErrorAgent mixin (every wrapper must
  rename setup network failures); the local and NVIDIA Build Claude Code
  wrappers inherit it from there; the PR's AgentSetupNetworkError and Codex
  rollout wrapper are kept.
- tier3/harbor/adapter.py: main's MCP declaration models and fail-closed
  validate_mcp_server_declarations, and the PR's strict
  plugin_mcp_servers.toml loader; every loaded file, plugin servers
  included, now passes main's MCP security policy.
- tier3/harbor/metrics.py: main's score policies, canonical dimension mean
  and overall_score_from_metrics, made N/A-aware: an N/A metric drops out
  of its dimension, a dimension with none scored drops out of the mean;
  the PR's finite_number replaces main's _finite_number.
- tier3/harbor/templates/eval.py: main's dimension-mean overall with the
  PR's N/A exclusion (_reward_overall), main's Vertex token refresh, and
  the PR's fnmatch import.
- tier3/harbor/templates/metric.py: main's metric-set and score-policy
  validation; a metric absent from the numeric-only reward.json is N/A
  (an explicit null or out-of-range value still fails); the overall is the
  dimension mean over scored dimensions; runs on older Pythons (future
  annotations, tuple isinstance).
- tier3/harbor/collector.py: main's #124 policy handling ported into the
  PR's per-arm collector: each arm records its score policy (mixed
  policies fail it), its overall follows the policy, ambiguous policies
  reconcile and conflicting ones fail both conditions before any lift;
  the paired lift uses the shared policy, needs equal metric sets, and
  equals the difference of the condition overalls when both arms scored
  the same cases and metrics; pass@k lift needs equal metric sets;
  summaries carry score_policy and the results the per-condition overall,
  metrics and policy keys; N/A metrics stay in the run's metric list.
- tier3/harbor/report_data.py: main's metric_set and score_policy keys,
  per arm key.
- tier3/harbor/progress.py, runner.py, utils/redaction.py: both sides
  (secret-name regex, GKE imports and Vertex checks next to Hermes, ya29
  redaction next to prefixed tokens).
- tier3/commands.py (compare): main's policy and metric-set checks and
  custom-only handling with the PR's N/A rows; the Overall lift compares
  the metrics both arms scored.
- tier3/result_display.py: main's policy-aware overall with N/A, main's
  custom-only Overall label with the PR's members and partial-run labels.
- evaluation/tier3_report.py: _build_agent scores each arm by the score
  policy (N/A-aware for the current policy) and keeps the PR's same-basis
  lift, sum-of-parts and integration blocks; arms under different
  policies or metric sets get no lift; partial report builders resolve
  the same policy; main's attempt-policy read and the PR's dataset source.
- uv.lock: main's lock plus the PR's regex dependency (uv lock --check).
- tests (conftest, metrics truth, collector truth, public runtime,
  installed agent bootstrap): both sides.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
rng1995 added a commit that referenced this pull request Oct 19, 2026
…olicy

After #124 the verifier, collector, reports and compare share one overall:
the equal-weight mean of the five dimensions (an N/A metric drops out of
its dimension, an all-N/A dimension out of the mean). The PR's synthetic
verifier fixtures still wrote the old metric-mean overall without a score
policy, so the collector read them as historical (legacy) artifacts and
failed the no-skill arm against the with-skill arm's policy.

- _f90_lift_fixtures and test_not_applicable_scoring write what the merged
  verifier writes: score_policy in the sidecar and the dimension-mean
  overall.
- Expected values follow the dimension mean: the no-plugin arm's overall
  (security, correctness, effectiveness), lift.json's overall (now the
  same basis as the reports, +0.40), compare's with-skill Overall (0.59),
  a judge-mixed accuracy delta (0.4 / 5), and a condition overall over
  the arm's metric averages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit that referenced this pull request Oct 19, 2026
Main's #124 formula and the PR's not-applicable metrics now meet in one
rule: an N/A metric drops out of its dimension and a dimension with no
applicable metric drops out of the mean.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995 rng1995 mentioned this pull request Oct 20, 2026
11 tasks done
rng1995 added a commit that referenced this pull request Oct 29, 2026
The retained Markdown and SARIF were the evaluator's own files with
literal values replaced. Those files cut and escape finding text, for
example at 57 characters and with &#124; in table cells, so part of a
credential could survive the search and reach the uploaded artifact.

Render both files from the redacted JSON with the same reporters, as the
native HTML already is. Output for a report without credentials is
unchanged apart from its timestamps.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
* fix(tier3): version canonical overall scoring
* docs(tier3): explain score meaning and provenance
* fix(tier3): preserve historical score semantics
* fix(tier3): compare only matching metric sets

Signed-off-by: Saibernard Yogendran <[email protected]>
chrisknvidia added a commit that referenced this pull request Oct 30, 2026
* fix(tier3): preserve score policy provenance across outputs

Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
* fix(tier3): align merged score policy with main's contracts
* fix(tier3): rank custom-only agents against standard agents
* fix(tier3): classify custom-only agents by both conditions
* fix(tier3): compare custom-only agents against standard agents

Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
Resolve the tier3/results_location.py conflict with #124 by keeping both
sets of result checks: this branch's registered error-code checks and
main's score-policy checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
No conflicts; brings the branch up to date with main after #124.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
Sync with main at 6068b3a: #124 (one versioned five-dimension overall-score
policy, custom-only ranking and compare), #183 (Runta and Mosaic), #140
(GKE mode, Vertex AI routing for Claude Code, MCP declaration validation),
#179 (performance dashboard) and the commits between them.

Conflicts and resolutions:
- CHANGELOG.md: main's Added entries (dashboard, GKE, Vertex AI, MCP
  validation) next to the PR's under Unreleased; main's Fixed entries
  were already present. One Added, Changed and Fixed heading each.
- docs/cli-reference.mdx: the PR's agents row (experimental Hermes) and
  main's 27-mode env row (runta and mosaic selectable).
- docs/reports.mdx, docs/tier3-live-evaluation.mdx: main's lift units and
  range sentence added to the PR's same-basis, N/A-aware lift text.
- tier3/harbor/__init__.py: Docker Codex keeps the PR's subagent-aware
  local_agents wrapper; Docker Claude Code uses main's container wrapper.
- tier3/harbor/local_agents.py: main's Vertex-aware SkillEvaluatorClaudeCode
  now also takes the PR's SetupNetworkErrorAgent mixin (every wrapper must
  rename setup network failures); the local and NVIDIA Build Claude Code
  wrappers inherit it from there; the PR's AgentSetupNetworkError and Codex
  rollout wrapper are kept.
- tier3/harbor/adapter.py: main's MCP declaration models and fail-closed
  validate_mcp_server_declarations, and the PR's strict
  plugin_mcp_servers.toml loader; every loaded file, plugin servers
  included, now passes main's MCP security policy.
- tier3/harbor/metrics.py: main's score policies, canonical dimension mean
  and overall_score_from_metrics, made N/A-aware: an N/A metric drops out
  of its dimension, a dimension with none scored drops out of the mean;
  the PR's finite_number replaces main's _finite_number.
- tier3/harbor/templates/eval.py: main's dimension-mean overall with the
  PR's N/A exclusion (_reward_overall), main's Vertex token refresh, and
  the PR's fnmatch import.
- tier3/harbor/templates/metric.py: main's metric-set and score-policy
  validation; a metric absent from the numeric-only reward.json is N/A
  (an explicit null or out-of-range value still fails); the overall is the
  dimension mean over scored dimensions; runs on older Pythons (future
  annotations, tuple isinstance).
- tier3/harbor/collector.py: main's #124 policy handling ported into the
  PR's per-arm collector: each arm records its score policy (mixed
  policies fail it), its overall follows the policy, ambiguous policies
  reconcile and conflicting ones fail both conditions before any lift;
  the paired lift uses the shared policy, needs equal metric sets, and
  equals the difference of the condition overalls when both arms scored
  the same cases and metrics; pass@k lift needs equal metric sets;
  summaries carry score_policy and the results the per-condition overall,
  metrics and policy keys; N/A metrics stay in the run's metric list.
- tier3/harbor/report_data.py: main's metric_set and score_policy keys,
  per arm key.
- tier3/harbor/progress.py, runner.py, utils/redaction.py: both sides
  (secret-name regex, GKE imports and Vertex checks next to Hermes, ya29
  redaction next to prefixed tokens).
- tier3/commands.py (compare): main's policy and metric-set checks and
  custom-only handling with the PR's N/A rows; the Overall lift compares
  the metrics both arms scored.
- tier3/result_display.py: main's policy-aware overall with N/A, main's
  custom-only Overall label with the PR's members and partial-run labels.
- evaluation/tier3_report.py: _build_agent scores each arm by the score
  policy (N/A-aware for the current policy) and keeps the PR's same-basis
  lift, sum-of-parts and integration blocks; arms under different
  policies or metric sets get no lift; partial report builders resolve
  the same policy; main's attempt-policy read and the PR's dataset source.
- uv.lock: main's lock plus the PR's regex dependency (uv lock --check).
- tests (conftest, metrics truth, collector truth, public runtime,
  installed agent bootstrap): both sides.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
…olicy

After #124 the verifier, collector, reports and compare share one overall:
the equal-weight mean of the five dimensions (an N/A metric drops out of
its dimension, an all-N/A dimension out of the mean). The PR's synthetic
verifier fixtures still wrote the old metric-mean overall without a score
policy, so the collector read them as historical (legacy) artifacts and
failed the no-skill arm against the with-skill arm's policy.

- _f90_lift_fixtures and test_not_applicable_scoring write what the merged
  verifier writes: score_policy in the sidecar and the dimension-mean
  overall.
- Expected values follow the dimension mean: the no-plugin arm's overall
  (security, correctness, effectiveness), lift.json's overall (now the
  same basis as the reports, +0.40), compare's with-skill Overall (0.59),
  a judge-mixed accuracy delta (0.4 / 5), and a condition overall over
  the arm's metric averages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
Main's #124 formula and the PR's not-applicable metrics now meet in one
rule: an N/A metric drops out of its dimension and a dimension with no
applicable metric drops out of the mean.

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.

3 participants