Skip to content

Add BLADE analysis skill - #1584

Closed
jmabry wants to merge 9 commits into
mainfrom
add-blade-analysis-skill
Closed

jmabry wants to merge 9 commits into
mainfrom
add-blade-analysis-skill

Conversation

@jmabry

@jmabry jmabry commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add a new nemo-gym-blade-analysis skill for both Claude and Codex agents.
  • Document a BLADE-style rollout analysis workflow: artifact inventory, pass@k metrics, task buckets, root-cause taxonomy, evidence rules, and recommendation mapping.
  • Keep original CVDP as an opt-in reference and point to the existing in-repo CVDP example rollout artifacts under resources_servers/cvdp/data/.
  • Include only Nemotron 3 Super golden analysis artifacts as optional reference material; the large rollout JSONL is intentionally excluded.

Issue: #1585

Validation

  • Confirmed existing CVDP example rollouts are already present in resources_servers/cvdp/data/.
  • Confirmed no staged .jsonl rollout files were added.
  • Ran git diff --cached --check.
  • Parsed copied JSON artifacts with python3 -m json.tool.
  • Scanned new skill files for private benchmark names, internal URLs, credential strings, and provider route strings.
  • Ran three sub-agent review passes; fixed findings around CVDP opt-in loading and sanitized extractor model route metadata.

Note

uvx pre-commit run --files ... could not complete because GitHub returned HTTP 503 while fetching pre-commit-hooks. The relevant local checks were run manually.

@copy-pr-bot

copy-pr-bot Bot commented Jun 11, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@jmabry jmabry mentioned this pull request Jun 13, 2026
@jmabry

jmabry commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

closing due to signed commit issue that requires pushing a new branch

@jmabry jmabry closed this Jun 13, 2026
@jmabry

jmabry commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

superceded by #1591

jmabry added a commit that referenced this pull request Jun 22, 2026
## Why

Issue #1585 asks for a public BLADE analysis skill so agents can turn
NeMo Gym rollout artifacts into evidence-backed benchmark reports and
improvement recommendations.

This PR adds that skill without making benchmark-specific examples part
of the default agent context.

## What Changed

- Add `nemo-gym-blade-analysis` for both Claude and Codex agents.
- Document the BLADE-ready package shape:
  - D1: analysis skill
  - D2: rollout data
- D3: golden report package with metrics sidecars and anchor facts for
the universal `blade-judge`
- Add a generic BLADE benchmark build guide covering artifact inventory,
pass@k analysis, task bucketing, workflow funnels, root-cause taxonomy,
evidence rules, anchor facts, shallow baselines, and calibration
expectations.
- Add a public `blade_toolkit.py` helper for package-shape validation,
draft anchor-fact extraction, shallow baseline generation, scoring, and
local calibration checks when external BLADE tooling is not available.
- Add an opt-in original CVDP reference. It points to the existing
public CVDP example rollout files already in
`resources_servers/cvdp/data/` and includes only the Nemotron 3 Super
golden report, metrics, and anchor facts as optional reference material.
- Keep CVDP artifacts clearly labeled and non-default: agents should
load them only when the user asks for a concrete CVDP example or needs
help understanding a completed report shape.
- Add unit coverage for toolkit behavior, including shallow-baseline
leakage checks and Claude/Codex toolkit copy synchronization.

## CI And Tooling

The repo lint job previously depended on cloning hook repositories
during pre-commit setup. This PR replaces those hook-repo clones with
uv-managed local hooks, keeps Ruff pinned to the existing hook version,
and updates the lint workflow to run pre-commit through `uv run
--no-project`.

## Validation

- `git diff --check`
- `uv run --no-project --with pre-commit==3.6.0 pre-commit run
--all-files --show-diff-on-failure --color=always`
- `uv run --extra dev pytest tests/unit_tests/test_blade_toolkit.py -q`
- `uv run --extra dev ng_dev_test` — 239 passed, coverage 96.15%
- Parsed bundled JSON artifacts with `uv run python -m json.tool`.
- Ran `blade_toolkit.py make-shallow` and `calibrate` on the bundled
CVDP golden artifacts; the golden report scored high against itself and
the shallow baseline stayed below the target threshold.
- GitHub Actions are passing for DCO, lint, copyright, secrets, unit
tests, and all server shards.

Closes #1585.
Supersedes #1584.

---------

Signed-off-by: jmabry <[email protected]>
ritaneves pushed a commit that referenced this pull request Jun 25, 2026
## Why

Issue #1585 asks for a public BLADE analysis skill so agents can turn
NeMo Gym rollout artifacts into evidence-backed benchmark reports and
improvement recommendations.

This PR adds that skill without making benchmark-specific examples part
of the default agent context.

## What Changed

- Add `nemo-gym-blade-analysis` for both Claude and Codex agents.
- Document the BLADE-ready package shape:
  - D1: analysis skill
  - D2: rollout data
- D3: golden report package with metrics sidecars and anchor facts for
the universal `blade-judge`
- Add a generic BLADE benchmark build guide covering artifact inventory,
pass@k analysis, task bucketing, workflow funnels, root-cause taxonomy,
evidence rules, anchor facts, shallow baselines, and calibration
expectations.
- Add a public `blade_toolkit.py` helper for package-shape validation,
draft anchor-fact extraction, shallow baseline generation, scoring, and
local calibration checks when external BLADE tooling is not available.
- Add an opt-in original CVDP reference. It points to the existing
public CVDP example rollout files already in
`resources_servers/cvdp/data/` and includes only the Nemotron 3 Super
golden report, metrics, and anchor facts as optional reference material.
- Keep CVDP artifacts clearly labeled and non-default: agents should
load them only when the user asks for a concrete CVDP example or needs
help understanding a completed report shape.
- Add unit coverage for toolkit behavior, including shallow-baseline
leakage checks and Claude/Codex toolkit copy synchronization.

## CI And Tooling

The repo lint job previously depended on cloning hook repositories
during pre-commit setup. This PR replaces those hook-repo clones with
uv-managed local hooks, keeps Ruff pinned to the existing hook version,
and updates the lint workflow to run pre-commit through `uv run
--no-project`.

## Validation

- `git diff --check`
- `uv run --no-project --with pre-commit==3.6.0 pre-commit run
--all-files --show-diff-on-failure --color=always`
- `uv run --extra dev pytest tests/unit_tests/test_blade_toolkit.py -q`
- `uv run --extra dev ng_dev_test` — 239 passed, coverage 96.15%
- Parsed bundled JSON artifacts with `uv run python -m json.tool`.
- Ran `blade_toolkit.py make-shallow` and `calibrate` on the bundled
CVDP golden artifacts; the golden report scored high against itself and
the shallow baseline stayed below the target threshold.
- GitHub Actions are passing for DCO, lint, copyright, secrets, unit
tests, and all server shards.

Closes #1585.
Supersedes #1584.

---------

Signed-off-by: jmabry <[email protected]>
Signed-off-by: Rita Fernandes Neves <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant