Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.
Python agent-evaluationagent-pluginsagent-securityagent-skillsagentic-aibenchmarkci-templatesclaude-codecodexevaluateevaluationharnesspluginplugin-evaluationsecurity-scannerskill-evalskill-evaluationskill-evaluatorskill-gap-analysisskills
test(reporting): import the CHANGELOG helpers without the reporting test modules (#672)
Narendran Raghavand356390e5323
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 40b5bcc3..ffd5bacc 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -401,8 +401,9 @@ All notable changes to SkillEvaluator are documented in this file.`incomplete` and leave `summary.overall_lift` null, even when the best agenthas a lift. Its **Tier 3 quality** status reads **Incomplete**, while itsTier 3 tile reads **Changes required**, or **Failed (advisory)** when Tier 3- is advisory. The page said only that HTML displays a failed run as- **Changes required** and that both payloads keep the best agent's lift.+ is advisory. The page said that HTML displays a failed run as+ **Changes required**, or **Failed (advisory)** when Tier 3 is advisory, and+ that both payloads keep the best agent's lift.### Fixeddiff --git a/docs/reports.mdx b/docs/reports.mdxindex 7e10b20f..34d38d48 100644--- a/docs/reports.mdx+++ b/docs/reports.mdx@@ -1677,7 +1677,10 @@ When the run has a best agent, the HTML report names it with the score,and its **Skill Lift** card and the **Best-agent lift** line under**Run details & provenance** show that agent's lift when it has one, even whenits evidence is incomplete. The JSON report's `tier3` object and full Tier 3-download both keep this lift in `summary.overall_lift`.+download both keep this lift in `summary.overall_lift`. The exception is a+failed run whose budget left planned attempts not run, described above: there+`summary.overall_lift` is null, the **Skill Lift** card reads N/A and+**Run details & provenance** has no **Best-agent lift** line.The lift is diagnostic evidence for one agent, not a whole-run lift.To get a whole-run result, fix the failed agent and rerun the evaluation withdiff --git a/tests/changelog_entries.py b/tests/changelog_entries.pynew file mode 100644index 00000000..8cc71ab5--- /dev/null+++ b/tests/changelog_entries.py@@ -0,0 +1,40 @@+# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.+# SPDX-License-Identifier: Apache-2.0+"""Find CHANGELOG entries by their opening words, for tests that pin them."""++from __future__ import annotations++import re+from html import unescape+from pathlib import Path++CHANGELOG = Path(__file__).resolve().parents[1] / "CHANGELOG.md"+++def _plain(text: str) -> str:+ """Drop HTML tags, entities and Markdown emphasis, and collapse whitespace."""+ return " ".join(unescape(re.sub(r"<[^>]+>", " ", text)).replace("*", "").split())+++def changelog_entry(lead: str) -> tuple[str, str, str]:+ """Return the release heading, subsection heading and plain text of the one entry starting with ``lead``."""+ release = subsection = ""+ found: list[tuple[str, str, str]] = []+ for block in CHANGELOG.read_text(encoding="utf-8").split("\n\n"):+ first = block.strip().splitlines()[0] if block.strip() else ""+ if first.startswith("## "):+ release, subsection = first, ""+ elif first.startswith("### "):+ subsection = first+ elif _plain(block).startswith(lead):+ found.append((release, subsection, _plain(block)))+ assert len(found) == 1+ return found[0]+++def newer_than_0_9_0(release: str) -> bool:+ """Whether ``release`` is ``## Unreleased`` or the heading of a release after 0.9.0."""+ if release == "## Unreleased":+ return True+ match = re.match(r"## (\d+)\.(\d+)\.(\d+)\b", release)+ return match is not None and tuple(int(part) for part in match.groups()) > (0, 9, 0)diff --git a/tests/reporting/test_tier3_completed_agent_docs.py b/tests/reporting/test_tier3_completed_agent_docs.pyindex 0827c69c..a0bd14e9 100644--- a/tests/reporting/test_tier3_completed_agent_docs.py+++ b/tests/reporting/test_tier3_completed_agent_docs.py@@ -11,6 +11,7 @@ from html import unescapefrom pathlib import Pathimport pytest+from tests.changelog_entries import changelog_entry, newer_than_0_9_0from tests.reporting.test_report_redesign import _tier_card_verdictsfrom tests.reporting.test_tier3_scoped_reports import result_with_completed_peerfrom tests.reporting.test_unified_tier3_report import _write_summary@@ -413,30 +414,6 @@ def test_changelog_entry_matches_the_docs() -> None:assert "every Tier 3 run, from `tier3 evaluate` or a `validate` run that includes Tier 3" in entries[0]-def _changelog_entry(lead: str) -> tuple[str, str, str]:- """Return the release heading, subsection heading and plain text of the one entry starting with ``lead``."""- release = subsection = ""- found: list[tuple[str, str, str]] = []- for block in (REPO / "CHANGELOG.md").read_text(encoding="utf-8").split("\n\n"):- first = block.strip().splitlines()[0] if block.strip() else ""- if first.startswith("## "):- release, subsection = first, ""- elif first.startswith("### "):- subsection = first- elif _plain(block).startswith(lead):- found.append((release, subsection, _plain(block)))- assert len(found) == 1- return found[0]---def _newer_than_0_9_0(release: str) -> bool:- """Whether ``release`` is ``## Unreleased`` or the heading of a release after 0.9.0."""- if release == "## Unreleased":- return True- match = re.match(r"## (\d+)\.(\d+)\.(\d+)\b", release)- return match is not None and tuple(int(part) for part in match.groups()) > (0, 9, 0)--def _validate_tier3_reports(monkeypatch: pytest.MonkeyPatch, tmp_path: Path, *, blocking: bool, tier3: ValidationResult) -> tuple[int, dict, str]:@@ -583,17 +560,24 @@ def test_failed_run_whose_budget_left_attempts_not_run_reads_incomplete("best agent has a lift, so the Skill Lift card reads N/A and Run details & provenance has no Best-agent lift ""line.") in _section()+ # The general lift paragraph points back to this exception.+ assert (+ "The JSON report's `tier3` object and full Tier 3 download both keep this lift in `summary.overall_lift`. "+ "The exception is a failed run whose budget left planned attempts not run, described above: there "+ "`summary.overall_lift` is null, the Skill Lift card reads N/A and Run details & provenance has no "+ "Best-agent lift line."+ ) in _section()def test_changelog_documents_the_budget_stopped_failed_run(tmp_path: Path) -> None:# The entry is found by its opening words in any section, so a release that# moves Unreleased into a dated section keeps it valid. It must stay out of# 0.9.0 and older released sections.- release, subsection, entry = _changelog_entry(+ release, subsection, entry = changelog_entry("- Reports & Results now covers a failed Tier 3 run whose budget left planned attempts not run.")assert subsection == "### Documentation"- assert _newer_than_0_9_0(release), release+ assert newer_than_0_9_0(release), releaseassert ("Its JSON `tier3` object and full Tier 3 download record `incomplete` and leave `summary.overall_lift` null, ""even when the best agent has a lift."diff --git a/tests/test_harbor_scaffold_transactions.py b/tests/test_harbor_scaffold_transactions.pyindex 34a02feb..d453805b 100644--- a/tests/test_harbor_scaffold_transactions.py+++ b/tests/test_harbor_scaffold_transactions.py@@ -10,7 +10,7 @@ from pathlib import Pathimport pytestimport yamlfrom click.testing import CliRunner-from tests.reporting.test_tier3_completed_agent_docs import _changelog_entry, _newer_than_0_9_0+from tests.changelog_entries import changelog_entry, newer_than_0_9_0from skillevaluator.cli import clifrom skillevaluator.tier3 import commands, workflow@@ -236,11 +236,11 @@ def test_changelog_limits_the_empty_expected_output_rejection_to_the_object_shap# The entry is found by its opening words in any section, so a release that# moves Unreleased into a dated section keeps it valid. It must stay out of# 0.9.0 and older released sections.- release, subsection, entry = _changelog_entry(+ release, subsection, entry = changelog_entry("- The Tier 3 live evaluation guide said that `skillevaluator tier3 ./my-skill`")assert subsection == "### Documentation"- assert _newer_than_0_9_0(release), release+ assert newer_than_0_9_0(release), releaseassert 'They reject it only in a `{"skill_name", "evals"}` dataset.' in entryassert ('A flat dataset (a JSON or YAML list, `{"cases": [...]}`, or any `evals.jsonl`) is legacy: there an empty '