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(tier3): avoid transcript runtime false positives (#84)
Rio Yuc15ac0fa7c87
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a2ad6515..3239daa3 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,10 @@ All notable changes to SkillEvaluator are documented in this file.### Fixed+- Tier 3 Harbor collection no longer scans an agent's unstructured transcript+ for runtime-error phrases when the recorded exception belongs to the+ verifier, health check, or task. Correct answers that discuss errors such as+ `401 Unauthorized` are no longer misreported as agent runtime failures.- Tier 3 paired pass@k evidence now respects Python's active integer-stringconversion limit, preserves nonzero Wilson interval widths and paired-effectdirections at large case counts, and documents exact-rational omissiondiff --git a/src/skillevaluator/tier3/harbor/collector.py b/src/skillevaluator/tier3/harbor/collector.pyindex c3aa6738..a5a6985e 100644--- a/src/skillevaluator/tier3/harbor/collector.py+++ b/src/skillevaluator/tier3/harbor/collector.py@@ -561,7 +561,10 @@ def _agent_runtime_failure_reason(trial_dir: Path) -> str:exception_type, exception_reason = _trial_exception_details(trial_dir)agent_reason = _agent_log_runtime_failure_reason(trial_dir,- include_text_logs=bool(exception_reason),+ include_text_logs=(+ exception_type in _AGENT_RUNTIME_EXCEPTION_TYPES+ or exception_type in _UNCONDITIONAL_AGENT_RUNTIME_EXCEPTION_TYPES+ ),)if agent_reason:return agent_reasondiff --git a/tests/test_harbor_collector_runtime_failures.py b/tests/test_harbor_collector_runtime_failures.pyindex 0f1a1043..c03387e7 100644--- a/tests/test_harbor_collector_runtime_failures.py+++ b/tests/test_harbor_collector_runtime_failures.py@@ -9,7 +9,10 @@ import jsonfrom pathlib import Pathfrom skillevaluator.evaluation.tier3_report import render_agent_eval_html_report-from skillevaluator.tier3.harbor.collector import collect_harbor_results+from skillevaluator.tier3.harbor.collector import (+ _agent_runtime_failure_reason,+ collect_harbor_results,+)from skillevaluator.tier3.harbor.metrics import DEFAULT_METRIC_SET@@ -128,6 +131,30 @@ def test_agent_timeout_invalidates_reward_and_is_reported_as_trial_failure(tmp_p]+def test_verifier_exception_does_not_scan_plain_agent_transcript(tmp_path: Path) -> None:+ """Correct agent prose must not turn a verifier failure into an agent failure."""+ trial_dir = tmp_path / "case-001__attempt"+ agent_dir = trial_dir / "agent"+ agent_dir.mkdir(parents=True)+ (trial_dir / "result.json").write_text(+ json.dumps(+ {+ "exception_info": {+ "exception_type": "VerifierError",+ "exception_message": "verifier exited nonzero",+ }+ }+ ),+ encoding="utf-8",+ )+ (agent_dir / "opencode.txt").write_text(+ "Troubleshooting: an invalid credential can produce 401 Unauthorized.\n",+ encoding="utf-8",+ )++ assert _agent_runtime_failure_reason(trial_dir) == ""++def test_errored_job_stats_suppress_rewards_without_trial_exception(tmp_path: Path) -> None:"""Aggregate Harbor failure state wins even when a trial reward looks valid."""jobs_dir = tmp_path / "jobs"