Skip to content

Make deployment and compare-results skill evals self-contained - #3536

Closed
chadvoegele wants to merge 1 commit into
NVIDIA:mainfrom
chadvoegele:aa-18dbd73e
Closed

chadvoegele wants to merge 1 commit into
NVIDIA:mainfrom
chadvoegele:aa-18dbd73e

Conversation

@chadvoegele

@chadvoegele chadvoegele commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Chad's Agent

What does this PR do?

Type of change: New tests

Migrates the deployment and compare-results skill datasets to the SkillEvaluator schema. Deployment cases ask for plans rather than live launches. Comparison cases use supplied synthetic results to test acceptance decisions and handling of missing evidence. Removes the legacy tests/evals.json aliases; the canonical datasets remain under evals/. No runtime code or dependencies change.

Testing

  • Both datasets parse and contain three cases each. git diff --check passed.
  • Local SkillEvaluator Tier 3 passed for both skills: 24/24 scored attempts across Codex and Claude Code, with and without the skill. No services or model jobs were launched.
  • Draft for review: deployment Tier 1 scanner findings remain, and the Tier 2 catalog check was not completed for either skill. This is not publication-ready.

Additional information

Follows the eval workflow in #3433 for NVIDIA/skills onboarding.

Summary by CodeRabbit

  • Tests
    • Updated model-comparison evaluations to cover confidence-interval thresholds, result comparability, telemetry, missing evidence, and uncertainty classifications.
    • Revised deployment evaluations to check configuration and compatibility, identify missing preflight information, and outline verification steps without launching deployments or claiming success.

Signed-off-by: Chad Voegele <cvoegele@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request revises comparison and deployment evaluation fixtures to use updated fields and explicit expected behaviors. The deployment cases now specify planning-only scenarios. The test-directory references to the evaluation files are removed.

Changes: Comparison evaluations

Layer / File(s) Summary
Comparison scenarios
skills/modelopt-compare-results/evals/evals.json, skills/modelopt-compare-results/tests/evals.json
The fixtures specify BF16-versus-NVFP4 comparison results, missing-baseline handling, and interval-based assessments. They prohibit inventing evidence or running evaluations. The test-directory reference is removed.

Deployment evaluations

Layer / File(s) Summary
Deployment planning scenarios
skills/modelopt-deployment/evals/evals.json, skills/modelopt-deployment/tests/evals.json
The FP8, SLURM NVFP4, and BF16 fixtures specify deployment plans and future verification checks. They prohibit deployment execution and unsupported success claims. The test-directory reference is removed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: cjluo-nv

Merge Risk: Minimal · up to 0439a

This updates skill evaluation fixtures only, with no runtime impact. It appears safe to merge. The author notes the Tier 1 scanner findings and the incomplete Tier 2 catalog checks, and the pre-commit CI failure should be confirmed as unrelated before merging.

Architecture risk: Low · up to 0439a

The change affects 1 system.

Changed systems: skills

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — skills (service) was modified; 4 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in skills/modelopt-compare-results/evals/evals.json: The baseline-vs-quantized-delta fixture replaces its generic NEL score-drop query and broad comparison expectations with a supplied BF16-versus-NVFP4, two-task comparison. Its question specifies matched settings, validation, eight independent runs per side, complete zero-failure telemetry, no external reference, and a strict -1 pp gate. The expected results require deltas of -0.4 pp and -1.5 pp, assessments of Within margin and Substantial regression, overall infeasibility, comparable runs, and externally unverified baseline sanity; they prohibit inventing evidence or running evaluations.
  • observed — Modified behavior in skills/modelopt-compare-results/evals/evals.json: The missing-baseline fixture replaces its generic quantized-run query with a candidate-only score lacking source metadata, baseline, validation, and failure accounting. Its expected response is inconclusive, requests missing comparison and validation evidence without inventing it, and specifies a future modelopt-evaluation handoff with matched evaluation settings. It also prohibits fetching runs, launching jobs, or executing evaluations.
  • observed — Modified behavior in skills/modelopt-compare-results/evals/evals.json: The interval-based-assessments fixture retains the seven supplied cases but rewrites the prompt and expectations to require explicit signed-loss assessments against a -1 pp margin. It specifies A and B as Inconclusive, C as Within margin, D as Substantial regression, F as unresolved at equality, and E and G as having unavailable uncertainty. It prohibits manufacturing intervals, substituting other significance tests, prescribing a stopping plan, or running evaluations.
  • observed — Modified behavior in skills/modelopt-compare-results/tests/evals.json: Deleted skills/modelopt-compare-results/tests/evals.json, whose content was a reference to ../evals/evals.json.
Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the two main changes: the deployment and compare-results skill evals now run without outside dependencies. The changeset migrates both eval datasets to the SkillEvaluator schema, makes…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Security Anti-Patterns Passed The check applies to modelopt package and examples Python changes, plus new pip dependencies in pyproject.toml or requirements.txt. The changed-file inventory for the reviewed range has four files, al…
Full details: Title check

Explanation

The title names the two main changes: the deployment and compare-results skill evals now run without outside dependencies. The changeset migrates both eval datasets to the SkillEvaluator schema, makes the cases plan-only or synthetic-data based, and removes the legacy tests/evals.json aliases. The title matches the primary intent in the PR objectives.

Full details: Security Anti-Patterns

Explanation

The check applies to modelopt package and examples Python changes, plus new pip dependencies in pyproject.toml or requirements.txt. The changed-file inventory for the reviewed range has four files, all under skills/: - M skills/modelopt-compare-results/evals/evals.json - D skills/modelopt-compare-results/tests/evals.json - M skills/modelopt-deployment/evals/evals.json - D skills/modelopt-deployment/tests/evals.json None of these files is Python, and none is a modelopt package or examples file. No dependency manifest changed. None of the six listed patterns (torch.load, numpy.load, trust_remote_code, eval/exec, nosec, new non-permissive dependencies) can be introduced by this diff. The check is therefore inapplicable, and the verdict is PASS. The PR author is chadvoegele. The current review reports zero actionable findings. Those facts do not change the result.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
Fix failing CI checks

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 3497c11 and 0439aee.

Files selected for processing: 4

  • skills/modelopt-compare-results/evals/evals.json
  • skills/modelopt-compare-results/tests/evals.json
  • skills/modelopt-deployment/evals/evals.json
  • skills/modelopt-deployment/tests/evals.json
Files with no reviewable changes: 2

  • skills/modelopt-compare-results/tests/evals.json
  • skills/modelopt-deployment/tests/evals.json

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@chadvoegele
chadvoegele marked this pull request as ready for review November 23, 2026 17:00
@chadvoegele
chadvoegele requested a review from a team as a code owner November 23, 2026 17:00
@chadvoegele

Copy link
Copy Markdown
Collaborator Author

/nvskills-ci

Chad's Agent: Request NVSkills validation for the deployment and compare-results evals.

@chadvoegele

Copy link
Copy Markdown
Collaborator Author

Chad's Agent: Superseded by #3537. NVSkills CI requires a branch in this repository.

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.02%. Comparing base (ca8e34a) to head (0439aee).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3536      +/-   ##
==========================================
- Coverage   82.07%   82.02%   -0.05%     
==========================================
  Files         723      727       +4     
  Lines       81973    83234    +1261     
==========================================
+ Hits        67278    68272     +994     
- Misses      14695    14962     +267     
Flag Coverage Δ
unit 64.77% <ø> (+0.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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