nv segment ct finetune
Runs standard or fixed-channel softmax finetuning of NV-Segment-CT VISTA3D on CT NIfTI image/label datasets, with optional MONAI-native MLflow tracking and checkpoint evidence. Uses softmax for predefined, mutually exclusive classes; keeps the standard workflow when point prompts or runtime-variable classes are needed. Not for clinical validation.
Documentation & Preview
Skill Benchmark: nv-segment-ct-finetune
> ✅ Overall verdict: PASS — Recommended for publication
Publication Recommendation
Recommended for publication based on the completed evaluation evidence in this report.
Evaluation Metadata
- Skill:
nv-segment-ct-finetune - Evaluation date: 2026-09-14
- Evaluator version:
1.5.6 - Agents: Claude Code (
aws/anthropic/bedrock-claude-opus-4-8), Codex (openai/openai/gpt-5.5) - Tasks: 4 evaluation tasks (4 positive)
- Dataset digest:
sha256:d41af257bcccc6bfdc4eeff8f516d55c89024acd4b8ebe5452e2c34717040a83(skill-evaluator-dataset-snapshot/1) - Attempts per task: 3
- Environment:
k8s-sandbox - Tier 2 evidence: required for publication
- Tier 3 evidence: required for publication
Each task attempt ran in its own isolated sandbox pod.
What This Report Answers
The three-tier evaluation checks whether the skill:
- is safe to use;
- produces correct answers;
- is discovered and activated when needed;
- helps the agent complete the user's goal and expected workflow; and
- avoids wasted skill and tool usage.
Results at a Glance
| Measure | Claude Code (Baseline → Skill Uplift) | Codex (Baseline → Skill Uplift) | |---|---:|---:| | Overall | 92.1% — baseline ran, but no comparable score was available; uplift unavailable | 92.9% — baseline ran, but no comparable score was available; uplift unavailable | | Security | 100.0% → 100.0% (±0.0 points) | 75.0% → 100.0% (+25.0 points) | | Correctness | 56.0% → 95.0% (+39.0 points) | 95.0% → 95.0% (±0.0 points) | | Discoverability | 99.0% — baseline ran, but no comparable score was available; uplift unavailable | 86.3% — baseline ran, but no comparable score was available; uplift unavailable | | Effectiveness | 35.3% → 85.4% (+50.1 points) | 80.4% → 86.7% (+6.3 points) | | Efficiency | 81.1% — baseline ran, but no comparable score was available; uplift unavailable | 96.3% — baseline ran, but no comparable score was available; uplift unavailable |
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.
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.
Token Usage
Actual Tier 3 execution usage is reported for every observed agent/case pair and both conditions.
| Agent | Dataset case | With skill | Without skill | Delta | Change | Coverage | |---|---|---:|---:|---:|---:|---| | claude-code | All cases | 602,120 | 1,622,017 | N/A | N/A | skill 4/4; base 5/5 | | claude-code | fixed-channel-softmax-finetune | 109,691 | 338,764 | -229,073 | -67.62% | skill 1/1; base 1/1 | | claude-code | local-mlflow-tracking | 108,508 | 195,222 | -86,714 | -44.42% | skill 1/1; base 1/1 | | claude-code | reject-new-class-invention | 238,979 | 728,646 | -489,667 | -67.20% | skill 1/1; base 1/1 | | claude-code | smoke-test-before-training | 144,942 | 359,385 | N/A | N/A | skill 1/1; base 2/2 | | codex | All cases | 451,929 | 781,810 | -329,881 | -42.19% | skill 4/4; base 4/4 | | codex | fixed-channel-softmax-finetune | 108,518 | 73,509 | +35,009 | +47.63% | skill 1/1; base 1/1 | | codex | local-mlflow-tracking | 84,492 | 95,225 | -10,733 | -11.27% | skill 1/1; base 1/1 | | codex | reject-new-class-invention | 175,383 | 532,756 | -357,373 | -67.08% | skill 1/1; base 1/1 | | codex | smoke-test-before-training | 83,536 | 80,320 | +3,216 | +4.00% | skill 1/1; base 1/1 | | ALL AGENTS | Dataset aggregate | 1,054,049 | 2,403,827 | N/A | N/A | skill 8/8; base 9/9 |
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.
Tier Status
| Tier | Purpose | Status | Evidence | |---|---|---|---| | Tier 1 | Static validation | PASSED WITH OBSERVATIONS | 11 validator(s); 21 finding(s) | | Tier 2 | Semantic deduplication | PASSED | 2 validator(s); 0 finding(s) | | Tier 3 | Live agent evaluation | PASS | 2 agent(s); 4 task(s) |
Findings and Observations
<details> <summary>Show detailed findings and successful checks</summary>
- MEDIUM SECURITY/Session Persistence (RA2): Rogue Agent: create the MONAI compatibility environment under
~/.cache/nvidia-skills/venvs/nv-segment-ct-finetune-monai14/; may cache model assets under~/.cache (BENCHMARK.md:89`) - MEDIUM SECURITY/Autonomous Decision Making (EA2): Excessive Agency: without checking (
BENCHMARK.md:90) - MEDIUM SECURITY/Unknown (SDI-1): The skill silently creates a Python virtual environment and downloads/installs packages from PyPI over the network witho (
scripts/run_finetune.py:234) - MEDIUM SECURITY/subprocess module call (AST4): Dangerous Code Execution: subprocess.check_call(
[ str(python_bin), "-m", "pip", "install", "monai==1.4.0", "numpy<2", ], stdo (scripts/run_finetune.py:254)
- MEDIUM SECURITY/subprocess module call (AST4): Dangerous Code Execution: completed = subprocess.run(
[str(python_bin), *sys.argv], env=_child_process_env( {"NVSEG_FINETUNE_IN_AUTO_VENV": "1"}, extra_keys=extra_env_keys, ) (scripts/run_finetune.py:268)
- 16 additional finding(s) are available in the full evaluation artifacts.
</details>
Scoring Methodology
<details> <summary>Show dimension definitions, source signals, and thresholds</summary>
| Dimension | Question | Scored signals | |---|---|---| | Security | Is it safe to use? | security (100%) | | Correctness | Is the answer correct? | accuracy (100%) | | Discoverability | Was the right skill loaded when needed? | skill_execution (100%) | | Effectiveness | Did the skill help complete the task? | goal_accuracy (50%) + behavior_check (50%) | | Efficiency | Did it avoid wasted tool calls and token usage? | skill_efficiency (50%) + token_efficiency (50%) |
- Dimension bands: PASS at 50% or above; NEUTRAL from 40% to below 50%; FAIL below 40%.
- Overall Tier 3 lift: PASS at +5 points or more; FAIL at -10 points or less; values between those bands are NEUTRAL.
- 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.
- The 50% attempt pass threshold is a separate per-task gate; it is not the dimension pass threshold.
- Effectiveness is the equal-weight mean of goal completion (
goal_accuracy) and expected workflow adherence (behavior_check). - Efficiency is 50% tool-call productivity (the backward-compatible
skill_efficiencywire 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.
Signals present in this run:
security(Security): unsafe operations, secret leakage, and unauthorized access.skill_execution(Skill Execution): whether the expected skill was selected, decoys were avoided, and the workflow executed.skill_efficiency(Tool Productivity): tool-call productivity (legacy wire id; routing is scored under Discoverability).accuracy(Accuracy): final-answer correctness against the reference answer.goal_accuracy(Goal Accuracy): whether the user's goal was achieved.behavior_check(Behavior Check): whether the expected workflow behavior was followed.token_efficiency(Token Efficiency): actual uncached prompt plus completion usage (50% of Efficiency).
</details>
Freshness
Regenerate this benchmark when the skill, evaluation dataset, target agent/model, evaluator version, environment, or scoring policy changes.