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(reporting): clarify benchmark fixture scanner scope

Narendran Raghavandc1a6ca602b7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 80c2f8aa..b6a9e3ac 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -66,7 +66,7 @@ jobs:
- name: Scan OSS source boundary
if: ${{ needs.classify-changes.outputs.docs_only != 'true' }}
run: python scripts/check_oss_boundary.py --root . --allowlist config/oss_boundary_allowlist.json
- - name: Check public benchmark publication cards
+ - name: Lint committed BENCHMARK.md fixtures for leak patterns
if: ${{ needs.classify-changes.outputs.docs_only != 'true' }}
run: python scripts/ci/check_public_benchmarks.py --require-files tests/golden
- name: Lint
diff --git a/docs/benchmark-rollout.mdx b/docs/benchmark-rollout.mdx
index ab7d7143..bba00384 100644
--- a/docs/benchmark-rollout.mdx
+++ b/docs/benchmark-rollout.mdx
@@ -110,11 +110,14 @@ python scripts/ci/check_public_benchmarks.py \
./benchmark-backfill
```
-The gate rejects retired/internal product identities anywhere in the card,
-historical internal or external validation-profile lines, common absolute home
-paths, ambiguous legacy uplift cells, the old
-`Num` column, missing metadata/decision sections, and a publication `PASS`
-without completed required Tier 3 evidence.
+The linter rejects configured known leak patterns such as retired product
+identities, any validation-profile metadata line, common absolute home paths,
+ambiguous legacy uplift cells, the old `Num` column, missing metadata/decision
+sections, and a publication `PASS` without completed required Tier 3 evidence.
+A clean result means none of those configured patterns matched; it is a fixture
+regression guard, not proof that a card is safe to publish. Keep human review
+and the repository's broader boundary and security checks in the promotion
+workflow.
## 6. Promote and verify
diff --git a/scripts/ci/check_public_benchmarks.py b/scripts/ci/check_public_benchmarks.py
index 20f8ff24..29f23abe 100644
--- a/scripts/ci/check_public_benchmarks.py
+++ b/scripts/ci/check_public_benchmarks.py
@@ -2,7 +2,12 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
-"""Validate generated BENCHMARK.md files before publishing them."""
+"""Lint committed BENCHMARK.md fixtures for structure and known leak patterns.
+
+A clean scan means no configured pattern matched; it does not prove that a card
+is safe to publish. Publication still requires the repository's broader review
+and security controls.
+"""
from __future__ import annotations
@@ -42,9 +47,9 @@ LINE_RULES = (
),
),
(
- "internal validation profile",
+ "validation profile metadata",
re.compile(
- r"^\s*-\s*(?:Skill\s+Evaluator\s+)?Profile:\s*`?(?:internal|external)`?\s*$",
+ r"^\s*-\s*(?:Skill\s+Evaluator\s+)?Profile\s*:",
flags=re.IGNORECASE,
),
),
diff --git a/tests/test_public_benchmark_gate.py b/tests/test_public_benchmark_gate.py
index f80a1018..b9be4e36 100644
--- a/tests/test_public_benchmark_gate.py
+++ b/tests/test_public_benchmark_gate.py
@@ -87,7 +87,7 @@ def test_gate_rejects_legacy_and_private_output(tmp_path: Path) -> None:
assert reasons == {
"internal environment identity",
- "internal validation profile",
+ "validation profile metadata",
"retired product identity",
"absolute macOS user path",
"legacy Num score column",
@@ -175,17 +175,19 @@ def test_gate_requires_metadata_fields_inside_metadata_section(tmp_path: Path) -
[
"- Profile: internal",
"- Profile: `external`",
+ "- Profile: team-strict",
"- Skill Evaluator profile: external",
"- skill evaluator Profile: `internal`",
+ "- Skill Evaluator Profile: `custom-publication-policy` (generated)",
],
)
-def test_gate_rejects_historical_profile_shapes(tmp_path: Path, profile_line: str) -> None:
+def test_gate_rejects_all_profile_metadata_shapes(tmp_path: Path, profile_line: str) -> None:
benchmark = tmp_path / "BENCHMARK.md"
benchmark.write_text(_valid_benchmark() + f"\n{profile_line}\n", encoding="utf-8")
_files, offenders = benchmark_gate.find_offenders([benchmark])
- assert "internal validation profile" in {offender.reason for offender in offenders}
+ assert "validation profile metadata" in {offender.reason for offender in offenders}
def test_gate_rejects_internal_sandbox_phrase_anywhere_but_preserves_astra_db(tmp_path: Path) -> None: