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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ All notable changes to SkillEvaluator are documented in this file.

### Fixed

- Keep Steps per Eval Case chart labels readable for long case IDs while preserving full IDs in hover tooltips.
- Failed Tier 3 arms retain scored and errored trial activation diagnostics without restoring aggregate quality or lift, or double-counting token usage.
- Budget-limited Tier 3 coverage checks retain admitted attempt ordinals, avoiding false missing/excess errors when a denied slot leaves a gap.
- HTML reports retain budget context for fully budget-denied runs without
Expand Down
13 changes: 11 additions & 2 deletions src/skillevaluator/reporting/templates/report.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4659,8 +4659,17 @@
data: stepsData,
options: chartOptions({
responsive: true,
scales: { x: { ticks: { color: colors.tick, maxRotation: 45 }, grid: { color: colors.grid } }, y: { ticks: { color: colors.label }, grid: { display: false } } },
plugins: { legend: { labels: { color: colors.label } } }
scales: { x: { ticks: {
color: colors.tick, maxRotation: 0,
callback: function(value) {
var label = this.getLabelForValue(value);
return label.length > 24 ? (Number(value) + 1) + " · " + label.slice(0, 20) + "…" : label;
}
}, grid: { color: colors.grid } }, y: { ticks: { color: colors.label }, grid: { display: false } } },
plugins: {
legend: { labels: { color: colors.label } },
tooltip: { callbacks: { title: function(items) { return items.length ? items[0].label : ""; } } }
}
})
});
}
Expand Down
16 changes: 16 additions & 0 deletions tests/reporting/test_tier3_baseline_trial_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,22 @@ def test_trial_charts_include_agent_condition_series() -> None:
}


@pytest.mark.parametrize("case_ids", [[], ["short-case"], ["same-prefix-" + "a" * 84, "same-prefix-" + "b" * 84]])
def test_steps_chart_bounds_ticks_without_changing_case_ids(case_ids: list[str]) -> None:
payload = _payload(include_baseline=False)
payload["trials"] = [{"agent": "codex", "entry_id": case_id, "steps": 7} for case_id in case_ids]
html = _render(payload)

assert _steps_chart(html)["labels"] == case_ids
config = html.split('var stepsChart = document.getElementById("tier3-steps-chart");', 1)[1].split(
"window.rebuildTier3Charts();", 1
)[0]
assert "maxRotation: 0" in config
assert "var label = this.getLabelForValue(value);" in config
assert 'label.length > 24 ? (Number(value) + 1) + " · " + label.slice(0, 20) + "…" : label' in config
assert 'return items.length ? items[0].label : "";' in config


def test_drilldown_renders_with_skill_and_baseline_rows() -> None:
html = _render(_payload())
table = _drilldown_table(html)
Expand Down
Loading