Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ All notable changes to SkillEvaluator are documented in this file.
- `--backend nemo-gym` no longer writes a second `[verifier.env]` table into a
native task's `task.toml` when its header has a trailing comment, extra spaces
or no final newline. The duplicate table made the file fail to parse.
- Benchmark methodology describes the Overall row's shared comparison basis
rather than the headline with-skill score, in Tier 3 and publication cards.
- The Tier 2 scale guide names the fixed 8 MiB selected-manifest input budget
and 1 MiB per-manifest limit, including in description-only embedding mode.
- Saved Tier 2 catalogs use compact JSON so indentation no longer rejects dense
Expand Down
6 changes: 5 additions & 1 deletion src/skillevaluator/reporting/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,11 @@ def _render_methodology(
"- **Dimension score**: how well the agent did on one question above when it had the skill, "
"from 0% to 100%."
),
"- **Overall** row: the equal-weight mean of the five dimension scores with the skill.",
(
"- **Overall** row: when comparable baseline scores are available, the two scores used for "
"published Skill Lift, on the metrics and cases both arms scored comparably. Otherwise, "
"the available arm Overall score(s). These can differ from the headline with-skill score."
),
(
"- **Uplift**: the displayed skill score minus the displayed no-skill baseline score. "
"Published Skill Lift compares Overall only on the metrics and cases both arms scored, "
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/benchmark_fail/BENCHMARK.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Which number answers which question:

- **Overall verdict** (top of this card): whether the evidence supports publishing the skill. It needs every required tier, not only Tier 3 scores.
- **Dimension score**: how well the agent did on one question above when it had the skill, from 0% to 100%.
- **Overall** row: the equal-weight mean of the five dimension scores with the skill.
- **Overall** row: when comparable baseline scores are available, the two scores used for published Skill Lift, on the metrics and cases both arms scored comparably. Otherwise, the available arm Overall score(s). These can differ from the headline with-skill score.
- **Uplift**: the displayed skill score minus the displayed no-skill baseline score. Published Skill Lift compares Overall only on the metrics and cases both arms scored, so it can differ. Uplift does not set the verdict.
- **pass@k** (HTML report and `pass_at_k_lift.json`): the share of eval cases with at least one passing attempt out of k. It measures how repeatable success is, separately from the dimension scores.
- **Quality Score** (Tier 1, out of 100): a static review of the skill's files. It is not an input to any Tier 3 score or uplift.
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/benchmark_pass/BENCHMARK.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Which number answers which question:

- **Overall verdict** (top of this card): whether the evidence supports publishing the skill. It needs every required tier, not only Tier 3 scores.
- **Dimension score**: how well the agent did on one question above when it had the skill, from 0% to 100%.
- **Overall** row: the equal-weight mean of the five dimension scores with the skill.
- **Overall** row: when comparable baseline scores are available, the two scores used for published Skill Lift, on the metrics and cases both arms scored comparably. Otherwise, the available arm Overall score(s). These can differ from the headline with-skill score.
- **Uplift**: the displayed skill score minus the displayed no-skill baseline score. Published Skill Lift compares Overall only on the metrics and cases both arms scored, so it can differ. Uplift does not set the verdict.
- **pass@k** (HTML report and `pass_at_k_lift.json`): the share of eval cases with at least one passing attempt out of k. It measures how repeatable success is, separately from the dimension scores.
- **Quality Score** (Tier 1, out of 100): a static review of the skill's files. It is not an input to any Tier 3 score or uplift.
Expand Down
15 changes: 15 additions & 0 deletions tests/reporting/test_dimension_explanations.py
Comment thread
chrisknvidia marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from copy import deepcopy
from pathlib import Path

import pytest
from scripts.ci import check_public_benchmarks as benchmark_gate

from skillevaluator.constants import DIMENSION_HINTS, SIGNAL_EVIDENCE_SOURCES
Expand Down Expand Up @@ -110,6 +111,20 @@ def test_benchmark_methodology_states_when_no_baseline_ran() -> None:
assert _row(markdown, "Correctness").endswith("| 90.0% — baseline not run; uplift unavailable |")


@pytest.mark.parametrize("scope", ["publication", "tier3"])
@pytest.mark.parametrize("baseline", [True, False])
def test_overall_row_methodology_describes_comparison_basis(scope: str, baseline: bool) -> None:
result = _validation_result_from_payload(_payload({"agent": _agent(baseline=baseline)}))
markdown = BenchmarkReporter(report_scope=scope, include_timestamp=False).render(result)

assert (
"**Overall** row: when comparable baseline scores are available, the two scores used for published "
"Skill Lift, on the metrics and cases both arms scored comparably. Otherwise, the available arm "
"Overall score(s). These can differ from the headline with-skill score."
) in markdown
assert "**Overall** row: the equal-weight mean of the five dimension scores with the skill." not in markdown


def test_unscored_dimension_is_explained_not_zero(tmp_path: Path) -> None:
markdown, html = _render(_payload({"agent": _agent(with_scores={"accuracy": None})}))

Expand Down
Loading