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
fix(reporting): keep successful execution when Tier 3 quality fails in HTML (#634)
Christopher Kevinb201fb72861d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ab8994a3..3b79d6df 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -340,6 +340,8 @@ All notable changes to SkillEvaluator are documented in this file.that endpoint.- Make the MCP-staging restored-mtime race regression independent of filesystemclock granularity by modeling an advanced ctime.+- HTML reports preserve successful execution when Tier 3 quality fails, avoiding+ spurious notices that other execution failures need attention.- The Tier 2 scale guide names the fixed 8 MiB selected-manifest input budgetand 1 MiB per-manifest limit, including in description-only embedding mode.- Saved Tier 2 catalogs use compact JSON so indentation no longer rejects densediff --git a/src/skillevaluator/reporting/html.py b/src/skillevaluator/reporting/html.pyindex 7ffe81bc..65104f02 100644--- a/src/skillevaluator/reporting/html.py+++ b/src/skillevaluator/reporting/html.py@@ -3138,7 +3138,7 @@ class HTMLReporter(ReporterBase):if verdict == "fail" or execution_status == "failed":return normalized_payload(forced_verdict="fail",- forced_execution_status="failed",+ forced_execution_status=execution_status or "failed",scrub_untrusted_evidence=not (has_trustworthy_payload or has_explicit_failure_payload),)if execution_status == "incomplete":diff --git a/tests/reporting/test_tier3_scoped_reports.py b/tests/reporting/test_tier3_scoped_reports.pyindex 17e09135..c66dc18c 100644--- a/tests/reporting/test_tier3_scoped_reports.py+++ b/tests/reporting/test_tier3_scoped_reports.py@@ -117,6 +117,23 @@ def test_default_report_keeps_publication_gate_and_format():assert "## Tier Status" in benchmark[email protected]("execution_status", ["succeeded", "failed"])+def test_quality_failure_does_not_invent_execution_failure(execution_status):+ result = result_with_completed_peer(peer_failed=False)+ payload = result.metadata["agent_eval"]+ payload["verdict"] = payload["summary"]["verdict"] = "fail"+ payload["execution_status"] = payload["summary"]["execution_status"] = execution_status+ payload["verdict_reason"] = "1 of 2 cases failed: 1 goal not met"++ display = HTMLReporter._tier3_report_data([result])+ html = HTMLReporter(report_scope="tier3").render(result)++ assert display["verdict"] == "fail"+ assert display["execution_status"] == display["summary"]["execution_status"] == execution_status+ assert completed_agent_result(display)["needs_attention"] == (execution_status == "failed")+ assert ("Other execution failures need attention" in html) == (execution_status == "failed")++@pytest.mark.parametrize("corruption", ["bool", "nan", "missing", "errors", "coverage", "conditions"])def test_no_completed_summary_for_invalid_agent_evidence(corruption):result = result_with_completed_peer()diff --git a/tests/test_public_benchmark_gate.py b/tests/test_public_benchmark_gate.pyindex ef46ffbe..a910e41b 100644--- a/tests/test_public_benchmark_gate.py+++ b/tests/test_public_benchmark_gate.py@@ -1234,6 +1234,10 @@ _DESTRUCTIVE_FINDING = {"score_impact": True,}_TIER3_CARD_VERDICT = r'tier-card-label">Tier 3</span>\s*<span class="tier-card-verdict">([^<]+)</span>'+# The Tier 3 overview lead of a run whose attempts were all scored.+_TIER3_LEAD_VERDICT = r"Verdict at a glance:</strong>\s*([^<]+?) with an overall score"+# What the lead says when another execution failure needs attention.+_TIER3_ATTENTION_NOTICE = "Other execution failures need attention"def _no_ground_truth_payload(@@ -1374,8 +1378,11 @@ def test_no_ground_truth_low_efficiency_reads_failed_in_tier3_status(assert context.tiers[3].status == Status.FAILEDassert context.publication_label == "Not eligible"assert re.findall(_TIER3_CARD_VERDICT, html) == [tier3_card]- assert "Completed-agent result: FAIL." in html- assert "Verdict at a glance:" not in html+ # Every attempt ran and was scored, so the lead reads the failed verdict the card shows+ # and does not claim that another execution failure needs attention.+ assert re.findall(_TIER3_LEAD_VERDICT, html) == [tier3_card]+ assert "Completed-agent result" not in html+ assert _TIER3_ATTENTION_NOTICE not in html# --format markdownassert "**Publication status:** ❌ FAIL" in markdownassert "| ❌ Failed | 1 |" in markdown@@ -1400,7 +1407,9 @@ def test_no_ground_truth_low_efficiency_fails_in_tier3_evaluate_report(benchmark = report_path.with_name("tier3-benchmark.md").read_text(encoding="utf-8")assert re.findall(_TIER3_CARD_VERDICT, html) == ["Changes required"]- assert "Completed-agent result: FAIL." in html+ assert re.findall(_TIER3_LEAD_VERDICT, html) == ["Changes required"]+ assert "Completed-agent result" not in html+ assert _TIER3_ATTENTION_NOTICE not in htmlassert "> **Tier 3 completed-agent result: FAIL**" in benchmarkassert "| Tier 3 | Live agent evaluation | **FAIL** |" in benchmark