Skip to content

Commit c3f63b0

Browse files
Attach NVSkills validation signatures
Signed-off-by: nvskills-svc-account <svc-nvskills-signing@nvidia.com>
1 parent e77129a commit c3f63b0

3 files changed

Lines changed: 62 additions & 53 deletions

File tree

‎skills/nemo-mbridge-perf-vision-dp-over-cp/BENCHMARK.md‎

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,18 @@ Recommended for publication based on the completed evaluation evidence in this r
99
## Evaluation Metadata
1010

1111
- Skill: `nemo-mbridge-perf-vision-dp-over-cp`
12-
- Evaluation date: 2026-08-27
13-
- Evaluator version: `1.3.2`
12+
- Evaluation date: 2026-10-09
13+
- Evaluator version: `1.5.6`
1414
- Agents: Claude Code (`aws/anthropic/bedrock-claude-opus-4-8`), Codex (`openai/openai/gpt-5.5`)
1515
- Tasks: 3 evaluation tasks (2 positive, 1 negative)
1616
- Dataset digest: `sha256:1f686f2a6deb8b2b442751f0639aafb30c6e89513befad8532f4ef5754f59593` (skill-evaluator-dataset-snapshot/1)
1717
- Attempts per task: 1
1818
- Environment: `k8s-sandbox`
19+
- Tier 2 evidence: required for publication
1920
- Tier 3 evidence: required for publication
2021

2122
Each task attempt ran in its own isolated sandbox pod.
2223

23-
## Execution and Provenance
24-
25-
- Validation status: `passed`
26-
- Report generation: `complete`
27-
- Evaluator version: `1.3.2`
28-
- Git commit: `eda36f54e38357fe24c321a2ffae85589de9bd48`
29-
- Content type: requested `auto`, detected `skill`
30-
- Container image: `gitlab-master.nvidia.com:5005/nvcarps/ci-group/nvcarps-ci/skillevaluator-ci:sha-eda36f54e38357fe24c321a2ffae85589de9bd48`
31-
- Container image digest: `not recorded`
32-
- Tier 3: requested `true`, executed `true`, status `succeeded`
33-
3424
## What This Report Answers
3525

3626
The three-tier evaluation checks whether the skill:
@@ -45,34 +35,56 @@ The three-tier evaluation checks whether the skill:
4535

4636
| Measure | Claude Code (Baseline → Skill Uplift) | Codex (Baseline → Skill Uplift) |
4737
|---|---:|---:|
48-
| Overall | 67% → 100% (+32 points) | 59% → 95% (+36 points) |
49-
| Security | 100% → 100% (±0 points) | 67% → 100% (+33 points) |
50-
| Correctness | 47% → 100% (+53 points) | 60% → 93% (+33 points) |
51-
| Discoverability | 83% → 100% (+17 points) | 58% → 96% (+38 points) |
52-
| Effectiveness | 34% → 99% (+65 points) | 50% → 88% (+38 points) |
53-
| Efficiency | 73% → 100% (+27 points) | 62% → 100% (+38 points) |
38+
| Overall | 93.3% — baseline ran, but no comparable score was available; uplift unavailable | 93.8% — baseline ran, but no comparable score was available; uplift unavailable |
39+
| Security | 100.0% → 100.0% (±0.0 points) | 100.0% → 100.0% (±0.0 points) |
40+
| Correctness | 53.3% → 86.7% (+33.4 points) | 80.0% → 93.3% (+13.3 points) |
41+
| Discoverability | 100.0% — baseline ran, but no comparable score was available; uplift unavailable | 95.0% — baseline ran, but no comparable score was available; uplift unavailable |
42+
| Effectiveness | 39.2% → 81.7% (+42.5 points) | 66.7% → 83.6% (+16.9 points) |
43+
| Efficiency | 98.0% — baseline ran, but no comparable score was available; uplift unavailable | 97.2% — baseline ran, but no comparable score was available; uplift unavailable |
44+
45+
**How to read this table:** baseline is the same task attempted without the target skill. Scores are rounded to one decimal; threshold-adjacent values use additional precision so their displayed band matches the verdict. Uplift is derived from those displayed scores and shown in percentage points.
46+
47+
Example: `47.0% → 92.0% (+45.0 points)` means the skill-assisted run scored 92.0%, 45.0 percentage points above its 47.0% no-skill baseline.
48+
49+
A partial dimension was calculated from only the available configured signals; review the detailed report before relying on it.
50+
51+
## Token Usage
52+
53+
Actual Tier 3 execution usage is reported for every observed agent/case pair and both conditions.
5454

55-
**How to read this table:** baseline is the same task attempted without the target skill. Uplift is `skill score - baseline score`, shown in percentage points.
55+
| Agent | Dataset case | With skill | Without skill | Delta | Change | Coverage |
56+
|---|---|---:|---:|---:|---:|---|
57+
| claude-code | All cases | 198,579 | 532,287 | -333,708 | -62.69% | skill 3/3; base 3/3 |
58+
| claude-code | vision-dp-over-cp-negative-hierarchical-cp | 63,567 | 33,108 | +30,459 | +92.00% | skill 1/1; base 1/1 |
59+
| claude-code | vision-dp-over-cp-positive-enablement | 68,429 | 248,808 | -180,379 | -72.50% | skill 1/1; base 1/1 |
60+
| claude-code | vision-dp-over-cp-positive-load-imbalance | 66,583 | 250,371 | -183,788 | -73.41% | skill 1/1; base 1/1 |
61+
| codex | All cases | 138,109 | 135,410 | +2,699 | +1.99% | skill 3/3; base 3/3 |
62+
| codex | vision-dp-over-cp-negative-hierarchical-cp | 78,195 | 45,455 | +32,740 | +72.03% | skill 1/1; base 1/1 |
63+
| codex | vision-dp-over-cp-positive-enablement | 30,020 | 33,302 | -3,282 | -9.86% | skill 1/1; base 1/1 |
64+
| codex | vision-dp-over-cp-positive-load-imbalance | 29,894 | 56,653 | -26,759 | -47.23% | skill 1/1; base 1/1 |
65+
| ALL AGENTS | Dataset aggregate | 336,688 | 667,697 | -331,009 | -49.57% | skill 6/6; base 6/6 |
5666

57-
Example: `47% → 92% (+45 points)` means the skill-assisted run scored 92%, 45 percentage points above its 47% no-skill baseline.
67+
Prompt tokens include cached reads, so total tokens are `prompt + completion` (cached is not added twice). The Efficiency score uses `(prompt - cached) + completion`. N/A means the relevant trajectory counters were not available; coverage is never estimated.
5868

5969
## Tier Status
6070

6171
| Tier | Purpose | Status | Evidence |
6272
|---|---|---|---|
63-
| Tier 1 | Static validation | **PASSED WITH OBSERVATIONS** | 1 validator(s); 4 finding(s) |
64-
| Tier 2 | Semantic deduplication | **NOT RUN** | No result was recorded |
73+
| Tier 1 | Static validation | **PASSED WITH OBSERVATIONS** | 11 validator(s); 15 finding(s) |
74+
| Tier 2 | Semantic deduplication | **PASSED** | 2 validator(s); 0 finding(s) |
6575
| Tier 3 | Live agent evaluation | **PASS** | 2 agent(s); 3 task(s) |
6676

6777
## Findings and Observations
6878

6979
<details>
7080
<summary>Show detailed findings and successful checks</summary>
7181

82+
- **MEDIUM** QUALITY/quality_correctness: SKILL_SPEC recommended field missing: 'metadata.author' (`skills/nemo-mbridge-perf-vision-dp-over-cp/SKILL.md`)
83+
- **MEDIUM** QUALITY/quality_correctness: SKILL_SPEC recommended field missing: 'metadata.tags' (`skills/nemo-mbridge-perf-vision-dp-over-cp/SKILL.md`)
7284
- **MEDIUM** SCHEMA/body_recommended_section: Missing recommended section: '## Instructions' (`skills/nemo-mbridge-perf-vision-dp-over-cp/SKILL.md`)
7385
- **MEDIUM** SCHEMA/body_recommended_section: Missing recommended section: '## Examples' (`skills/nemo-mbridge-perf-vision-dp-over-cp/SKILL.md`)
7486
- **MEDIUM** SCHEMA/author_missing: Author not specified in metadata (`skills/nemo-mbridge-perf-vision-dp-over-cp/SKILL.md`)
75-
- **LOW** SCHEMA/unexpected_file: Unexpected 'card.yaml' in skill root (`skills/nemo-mbridge-perf-vision-dp-over-cp/card.yaml`)
87+
- 10 additional finding(s) are available in the full evaluation artifacts.
7688

7789
</details>
7890

@@ -87,23 +99,24 @@ Example: `47% → 92% (+45 points)` means the skill-assisted run scored 92%, 45
8799
| Correctness | Is the answer correct? | `accuracy` (100%) |
88100
| Discoverability | Was the right skill loaded when needed? | `skill_execution` (100%) |
89101
| Effectiveness | Did the skill help complete the task? | `goal_accuracy` (50%) + `behavior_check` (50%) |
90-
| Efficiency | Did it avoid wasted tool or skill usage? | `skill_efficiency` (100%) |
102+
| Efficiency | Did it avoid wasted tool calls and token usage? | `skill_efficiency` (50%) + `token_efficiency` (50%) |
91103

92104
- Dimension bands: PASS at 50% or above; NEUTRAL from 40% to below 50%; FAIL below 40%.
93105
- Overall Tier 3 lift: PASS at +5 points or more; FAIL at -10 points or less; values between those bands are NEUTRAL.
94106
- Overall verdict: PASS only when every configured dimension passes for at least one supported agent. Lift is reported as diagnostic evidence and does not override this gate.
95107
- The 50% attempt pass threshold is a separate per-task gate; it is not the dimension pass threshold.
96108
- Effectiveness is the equal-weight mean of goal completion (`goal_accuracy`) and expected workflow adherence (`behavior_check`).
97-
- Token efficiency is a separate report-only signal. It does not change a dimension score or the overall verdict.
109+
- Efficiency is 50% tool-call productivity (the backward-compatible `skill_efficiency` wire id) and 50% `token_efficiency`. Positive-case skill routing is scored under Discoverability, not Efficiency; a negative case without a routing target is N/A. N/A sources are omitted, remaining weights are renormalized, and the dimension is marked partial.
98110

99111
Signals present in this run:
100112

101113
- `security` (Security): unsafe operations, secret leakage, and unauthorized access.
102-
- `skill_execution` (Skill Execution): whether the expected skill was found and executed.
103-
- `skill_efficiency` (Efficiency): routing quality, workspace-aware skill reads, and productive tool use.
114+
- `skill_execution` (Skill Execution): whether the expected skill was selected, decoys were avoided, and the workflow executed.
115+
- `skill_efficiency` (Tool Productivity): tool-call productivity (legacy wire id; routing is scored under Discoverability).
104116
- `accuracy` (Accuracy): final-answer correctness against the reference answer.
105117
- `goal_accuracy` (Goal Accuracy): whether the user's goal was achieved.
106118
- `behavior_check` (Behavior Check): whether the expected workflow behavior was followed.
119+
- `token_efficiency` (Token Efficiency): actual uncached prompt plus completion usage (50% of Efficiency).
107120

108121
</details>
109122

‎skills/nemo-mbridge-perf-vision-dp-over-cp/skill-card.md‎

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ NVIDIA <br>
99
### License/Terms of Use: <br>
1010
Apache 2.0 <br>
1111
## Use Case: <br>
12-
Developers and engineers optimizing VLM training performance who need to reduce peak memory and improve throughput by sharding the vision encoder's image inputs across context-parallel ranks in Megatron-Bridge. <br>
12+
Developers and engineers training vision-language models in Megatron-Bridge who need to enable, verify, or debug vision_dp_over_cp to shard vision-encoder images across context-parallel ranks and reduce encoder memory and step time at CP>1. <br>
1313

1414
### Deployment Geography for Use: <br>
1515
Global <br>
@@ -25,14 +25,14 @@ Risk: Review before execution as proposals could introduce incorrect or misleadi
2525
Mitigation: Review and scan skill before deployment. <br>
2626

2727
## Reference(s): <br>
28-
- [Megatron Bridge Documentation](https://docs.nvidia.com/nemo/megatron-bridge/latest/) <br>
2928
- [SKILL.md](SKILL.md) <br>
3029
- [card.yaml](card.yaml) <br>
30+
- [Megatron Bridge Documentation](https://docs.nvidia.com/nemo/megatron-bridge/latest/) <br>
3131

3232

3333
## Skill Output: <br>
34-
**Output Type(s):** [Configuration instructions, Analysis] <br>
35-
**Output Format:** [Markdown with inline Python code blocks] <br>
34+
**Output Type(s):** [Configuration instructions, Shell commands, Analysis] <br>
35+
**Output Format:** [Markdown with inline Python and bash code blocks] <br>
3636
**Output Parameters:** [1D] <br>
3737
**Other Properties Related to Output:** [None] <br>
3838

@@ -43,43 +43,39 @@ Mitigation: Review and scan skill before deployment. <br>
4343

4444

4545
## Evaluation Tasks: <br>
46-
Evaluated against 3 evaluation tasks (2 positive, 1 negative) in isolated k8s-sandbox pods with 1 attempt per task. <br>
46+
3 evaluation tasks (2 positive, 1 negative), 1 attempt per task, each run in an isolated k8s-sandbox pod; baseline runs attempted the same tasks without the skill. <br>
4747

4848
## Evaluation Metrics Used: <br>
4949
Reported benchmark dimensions: <br>
50-
- Security: Whether the skill is safe to use (unsafe operations, secret leakage, unauthorized access). <br>
51-
- Correctness: Whether the skill produces correct answers against the reference. <br>
52-
- Discoverability: Whether the right skill is loaded and activated when needed. <br>
53-
- Effectiveness: Whether the skill helps complete the user's goal and expected workflow (goal completion + behavior adherence). <br>
54-
- Efficiency: Whether the skill avoids wasted tool or skill usage (routing quality and productive tool use). <br>
50+
- Security: Is it safe to use? Scored from the security signal. <br>
51+
- Correctness: Is the answer correct? Scored from the accuracy signal. <br>
52+
- Discoverability: Was the right skill loaded when needed? Scored from the skill_execution signal. <br>
53+
- Effectiveness: Did the skill help complete the task? Equal-weight mean of goal_accuracy and behavior_check. <br>
54+
- Efficiency: Did it avoid wasted tool calls and token usage? Equal-weight mean of skill_efficiency and token_efficiency. <br>
5555

5656
Underlying evaluation signals used in this run: <br>
5757
- `security`: Unsafe operations, secret leakage, and unauthorized access. <br>
58-
- `skill_execution`: Whether the expected skill was found and executed. <br>
59-
- `skill_efficiency`: Routing quality, workspace-aware skill reads, and productive tool use. <br>
58+
- `skill_execution`: Whether the expected skill was selected, decoys were avoided, and the workflow executed. <br>
59+
- `skill_efficiency`: Tool-call productivity. <br>
6060
- `accuracy`: Final-answer correctness against the reference answer. <br>
6161
- `goal_accuracy`: Whether the user's goal was achieved. <br>
6262
- `behavior_check`: Whether the expected workflow behavior was followed. <br>
63+
- `token_efficiency`: Actual uncached prompt plus completion token usage. <br>
6364

6465

6566

6667
## Evaluation Results: <br>
6768
| Measure | Claude Code (Baseline → Skill Uplift) | Codex (Baseline → Skill Uplift) |
6869
|---|---:|---:|
69-
| Overall | 67% → 100% (+32 points) | 59% → 95% (+36 points) |
70-
| Security | 100% → 100% (±0 points) | 67% → 100% (+33 points) |
71-
| Correctness | 47% → 100% (+53 points) | 60% → 93% (+33 points) |
72-
| Discoverability | 83% → 100% (+17 points) | 58% → 96% (+38 points) |
73-
| Effectiveness | 34% → 99% (+65 points) | 50% → 88% (+38 points) |
74-
| Efficiency | 73% → 100% (+27 points) | 62% → 100% (+38 points) |
75-
76-
## Testing Completed: <br>
77-
**[x] Agent Red-Teaming** <br>
78-
**[ ] Network Security** <br>
79-
**[ ] Product Security** <br>
70+
| Overall | 93.3% — baseline ran, but no comparable score was available; uplift unavailable | 93.8% — baseline ran, but no comparable score was available; uplift unavailable |
71+
| Security | 100.0% → 100.0% (±0.0 points) | 100.0% → 100.0% (±0.0 points) |
72+
| Correctness | 53.3% → 86.7% (+33.4 points) | 80.0% → 93.3% (+13.3 points) |
73+
| Discoverability | 100.0% — baseline ran, but no comparable score was available; uplift unavailable | 95.0% — baseline ran, but no comparable score was available; uplift unavailable |
74+
| Effectiveness | 39.2% → 81.7% (+42.5 points) | 66.7% → 83.6% (+16.9 points) |
75+
| Efficiency | 98.0% — baseline ran, but no comparable score was available; uplift unavailable | 97.2% — baseline ran, but no comparable score was available; uplift unavailable |
8076

8177
## Skill Version(s): <br>
82-
1.0.0+b7643bd (source: pyproject.toml) <br>
78+
1.0.0+9edee0c (source: pyproject.toml) <br>
8379

8480
## Ethical Considerations: <br>
8581
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal team to ensure this skill meets requirements for the relevant industry and use case and addresses unforeseen product misuse. <br>

0 commit comments

Comments
 (0)