Skip to content

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.

fix(reports): avoid completed-agent callout without complete evidence (#660)

Christopher Kevin1b1903f289ee
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e34641d8..ad67b987 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -349,6 +349,8 @@ All notable changes to SkillEvaluator are documented in this file.
`Error: No module named 'harbor'`.
- Tier 3 benchmark headlines use the completed agent's quality verdict, matching
the Tier 3 status row even when another agent fails execution.
+- Tier 3 benchmark cards say **No complete agent result** instead of claiming a
+ completed-agent verdict when no agent has complete evidence.
- Arms fully denied by a run budget are reported as not run instead of failed
empty Harbor jobs. Budget-partial runs remain incomplete without an execution
error when all admitted attempts succeed, including stop-on-pass runs. Reused
diff --git a/docs/reports.mdx b/docs/reports.mdx
index d13dcea1..39cdf925 100644
--- a/docs/reports.mdx
+++ b/docs/reports.mdx
@@ -1520,8 +1520,7 @@ score without a baseline or lift. If the best agent's evidence is incomplete,
the reports do not fall back to another agent. When no agent qualifies, for
example because every agent failed or the agents were scored on different
metric sets, no completed-agent score is shown. The benchmark's leading
-verdict follows the run, so a neutral run still reads
-**Tier 3 completed-agent result: NEUTRAL** when no agent qualifies.
+callout reads **Tier 3: No complete agent result** when no agent qualifies.
When the run has a best agent, the HTML report names it as **Best performing
agent**, and its **Skill Lift** card and the **Best-agent lift** line under
diff --git a/src/skillevaluator/reporting/benchmark.py b/src/skillevaluator/reporting/benchmark.py
index fdc299e8..ce90ffdb 100644
--- a/src/skillevaluator/reporting/benchmark.py
+++ b/src/skillevaluator/reporting/benchmark.py
@@ -207,8 +207,6 @@ class BenchmarkReporter(ReporterBase):
assessment = _publication_assessment(results, ae, expected_skill_name=expected_skill_name)
status = _assessment_status(assessment)
- run_verdict = ae.get("verdict") if isinstance(ae, dict) else None
- run_reason = ae.get("verdict_reason") if isinstance(ae, dict) else None
budget = ae.get("budget") if isinstance(ae, dict) else None
budget_reason = None
if isinstance(budget, dict):
@@ -217,10 +215,6 @@ class BenchmarkReporter(ReporterBase):
budget_reason = budget_incomplete_reason(budget)
if budget_reason:
tier3_callout = f"> **Tier 3: INCOMPLETE** — {budget_reason}"
- elif self.report_scope == "tier3" and completed is None and isinstance(run_verdict, str):
- tier3_callout = f"> **Tier 3 completed-agent result: {run_verdict.upper()}**" + (
- f" — {_publication_safe_inline(run_reason, private_labels)}" if run_reason else ""
- )
else:
tier3_callout = (
f"> **Tier 3 completed-agent result: {completed['verdict'].upper()}**"
diff --git a/tests/reporting/test_tier3_completed_agent_docs.py b/tests/reporting/test_tier3_completed_agent_docs.py
index d63abf1d..2e285767 100644
--- a/tests/reporting/test_tier3_completed_agent_docs.py
+++ b/tests/reporting/test_tier3_completed_agent_docs.py
@@ -204,7 +204,7 @@ def test_no_fallback_to_a_lower_complete_agent() -> None:
raw = HTMLReporter(report_scope="tier3").render(result)
html = _plain(raw)
scoped_md = BenchmarkReporter(report_scope="tier3").render(result)
- line = "Tier 3 completed-agent result: NEUTRAL"
+ line = "Tier 3: No complete agent result"
assert "the reports do not fall back to another agent" in section
assert line in section
@@ -221,6 +221,35 @@ def test_no_fallback_to_a_lower_complete_agent() -> None:
assert "Best-agent lift: +0.40" in _run_details(raw)
+def test_no_completed_agent_callout_when_all_agents_failed() -> None:
+ payload = build_agent_eval_payload(
+ "demo",
+ {
+ "opencode": {
+ "execution_status": "failed",
+ "execution_errors": ["Required judge evaluation failed: HTTP 429"],
+ "with_skill": {},
+ "without_skill": {},
+ "expected_attempts": 8,
+ "scored_attempts": 1,
+ "conditions": {
+ "with_skill": {"execution_status": "failed", "expected_attempts": 4, "scored_attempts": 0},
+ "without_skill": {"execution_status": "failed", "expected_attempts": 4, "scored_attempts": 1},
+ },
+ }
+ },
+ use_llm_judge=False,
+ )
+ result = ValidationResult(validator_name="AGENT_EVAL")
+ result.metadata["agent_eval"] = payload
+
+ report = BenchmarkReporter(report_scope="tier3").render(result)
+
+ assert payload["verdict"] == "neutral"
+ assert report.splitlines()[0] == "> **Tier 3: No complete agent result**"
+ assert "Tier 3 completed-agent result:" not in report
+
+
def test_view_regenerates_only_the_html_report(monkeypatch, tmp_path: Path) -> None:
from skillevaluator.tier3 import commands
diff --git a/tests/reporting/test_tier3_scoped_reports.py b/tests/reporting/test_tier3_scoped_reports.py
index 4d90ef24..17e09135 100644
--- a/tests/reporting/test_tier3_scoped_reports.py
+++ b/tests/reporting/test_tier3_scoped_reports.py
@@ -95,18 +95,16 @@ def test_benchmark_headline_matches_completed_agent_row(peer_failed, quality_fai
assert "Needs attention" in benchmark
[email protected]("run_verdict", ["neutral", None])
-def test_benchmark_headline_without_completed_agent_is_unchanged(run_verdict):
[email protected]("run_verdict", ["neutral", "pass", "fail", None])
+def test_benchmark_headline_without_completed_agent_names_missing_evidence(run_verdict):
result = result_with_completed_peer()
payload = result.metadata["agent_eval"]
payload["agents"]["opencode"]["scored_attempts"] = 0
payload["verdict"] = run_verdict
assert completed_agent_result(payload) is None
benchmark = BenchmarkReporter(report_scope="tier3").render(result)
- if run_verdict is None:
- assert benchmark.startswith("> **Tier 3: No complete agent result**")
- else:
- assert benchmark.startswith("> **Tier 3 completed-agent result: NEUTRAL**")
+ assert benchmark.startswith("> **Tier 3: No complete agent result**")
+ assert "Tier 3 completed-agent result:" not in benchmark
def test_default_report_keeps_publication_gate_and_format():