Home / Market / cdf defect image generation

cdf defect image generation

Generate synthetic PCB inspection images on Kubernetes with the SMT Defect Image Generation (DIG) DAG in CDF Orchestration. The DAG renders components in simulation, turns the renders into realistic golden images (sim2real), and uses AnomalyGen to add texture defects such as solder bridges, excess solder or missing components. Simulation can also render shift, tombstone and sideflip pose defects. Use it to build DIG payloads, pick a pipeline mode (full, simulation, sim2real or defect-only), chec

skill★ 43140 dlgithubApache-2.0Install in CosmosUpstream Source

Documentation & Preview

Skill Benchmark: cdf-defect-image-generation

> ✅ Overall verdict: PASS — Recommended for publication

Publication Recommendation

Recommended for publication based on the completed evaluation evidence in this report.

Evaluation Metadata

Each task attempt ran in its own isolated sandbox pod.

What This Report Answers

The three-tier evaluation checks whether the skill:

Results at a Glance

| Measure | Claude Code (Baseline → Skill Uplift) | Codex (Baseline → Skill Uplift) | |---|---:|---:| | Overall | 93.3% — baseline ran, but no comparable score was available; uplift unavailable | 92.9% — baseline ran, but no comparable score was available; uplift unavailable | | Security | 94.4% → 100.0% (+5.6 points) | 100.0% → 100.0% (±0.0 points) | | Correctness | 43.3% → 86.7% (+43.4 points) | 61.1% → 87.8% (+26.7 points) | | Discoverability | 100.0% — baseline ran, but no comparable score was available; uplift unavailable | 91.3% — baseline ran, but no comparable score was available; uplift unavailable | | Effectiveness | 42.1% → 85.8% (+43.7 points) | 48.8% → 88.3% (+39.5 points) | | Efficiency | 93.8% — baseline ran, but no comparable score was available; uplift unavailable | 97.4% — 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.

A partial dimension was calculated from only the available configured signals; review the detailed report before relying on it.

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 | 3,090,482 | 3,997,944 | -907,462 | -22.70% | skill 18/18; base 18/18 | | claude-code | dig-anomalygen-finetune-negative | 262,722 | 154,852 | +107,870 | +69.66% | skill 1/1; base 1/1 | | claude-code | dig-api-timeout | 109,053 | 94,060 | +14,993 | +15.94% | skill 1/1; base 1/1 | | claude-code | dig-capacity | 112,873 | 403,268 | -290,395 | -72.01% | skill 1/1; base 1/1 | | claude-code | dig-clothing-augmentation-negative | 274,039 | 731,837 | -457,798 | -62.55% | skill 1/1; base 1/1 | | claude-code | dig-controller-setup-negative | 30,145 | 29,749 | +396 | +1.33% | skill 1/1; base 1/1 | | claude-code | dig-count-merge | 114,139 | 156,379 | -42,240 | -27.01% | skill 1/1; base 1/1 | | claude-code | dig-dag-authoring-negative | 30,026 | 29,963 | +63 | +0.21% | skill 1/1; base 1/1 | | claude-code | dig-day1-attached-image | 116,317 | 189,031 | -72,714 | -38.47% | skill 1/1; base 1/1 | | claude-code | dig-event-video-negative | 163,573 | 29,827 | +133,746 | +448.41% | skill 1/1; base 1/1 | | claude-code | dig-full-payload | 405,704 | 358,622 | +47,082 | +13.13% | skill 1/1; base 1/1 | | claude-code | dig-golden-prompt-override | 111,858 | 280,221 | -168,363 | -60.08% | skill 1/1; base 1/1 | | claude-code | dig-missing-inputs | 221,296 | 217,068 | +4,228 | +1.95% | skill 1/1; base 1/1 | | claude-code | dig-mode-selection | 113,025 | 183,965 | -70,940 | -38.56% | skill 1/1; base 1/1 | | claude-code | dig-new-board | 161,024 | 257,953 | -96,929 | -37.58% | skill 1/1; base 1/1 | | claude-code | dig-pose-defect-coverage | 274,682 | 154,687 | +119,995 | +77.57% | skill 1/1; base 1/1 | | claude-code | dig-result-provenance | 106,070 | 225,434 | -119,364 | -52.95% | skill 1/1; base 1/1 | | claude-code | dig-texture-full-coverage | 297,206 | 317,527 | -20,321 | -6.40% | skill 1/1; base 1/1 | | claude-code | dig-video-style-negative | 186,730 | 183,501 | +3,229 | +1.76% | skill 1/1; base 1/1 | | codex | All cases | 1,761,117 | 1,471,917 | +289,200 | +19.65% | skill 18/18; base 18/18 | | codex | dig-anomalygen-finetune-negative | 101,088 | 443,801 | -342,713 | -77.22% | skill 1/1; base 1/1 | | codex | dig-api-timeout | 50,674 | 87,642 | -36,968 | -42.18% | skill 1/1; base 1/1 | | codex | dig-capacity | 66,866 | 42,838 | +24,028 | +56.09% | skill 1/1; base 1/1 | | codex | dig-clothing-augmentation-negative | 346,731 | 63,420 | +283,311 | +446.72% | skill 1/1; base 1/1 | | codex | dig-controller-setup-negative | 30,533 | 87,881 | -57,348 | -65.26% | skill 1/1; base 1/1 | | codex | dig-count-merge | 82,675 | 13,973 | +68,702 | +491.68% | skill 1/1; base 1/1 | | codex | dig-dag-authoring-negative | 13,707 | 13,419 | +288 | +2.15% | skill 1/1; base 1/1 | | codex | dig-day1-attached-image | 71,513 | 70,578 | +935 | +1.32% | skill 1/1; base 1/1 | | codex | dig-event-video-negative | 30,133 | 29,643 | +490 | +1.65% | skill 1/1; base 1/1 | | codex | dig-full-payload | 142,736 | 85,826 | +56,910 | +66.31% | skill 1/1; base 1/1 | | codex | dig-golden-prompt-override | 149,720 | 90,897 | +58,823 | +64.71% | skill 1/1; base 1/1 | | codex | dig-missing-inputs | 130,494 | 133,611 | -3,117 | -2.33% | skill 1/1; base 1/1 | | codex | dig-mode-selection | 67,612 | 41,412 | +26,200 | +63.27% | skill 1/1; base 1/1 | | codex | dig-new-board | 158,525 | 14,175 | +144,350 | +1018.34% | skill 1/1; base 1/1 | | codex | dig-pose-defect-coverage | 91,364 | 84,149 | +7,215 | +8.57% | skill 1/1; base 1/1 | | codex | dig-result-provenance | 48,209 | 70,798 | -22,589 | -31.91% | skill 1/1; base 1/1 | | codex | dig-texture-full-coverage | 94,065 | 13,887 | +80,178 | +577.36% | skill 1/1; base 1/1 | | codex | dig-video-style-negative | 84,472 | 83,967 | +505 | +0.60% | skill 1/1; base 1/1 | | ALL AGENTS | Dataset aggregate | 4,851,599 | 5,469,861 | -618,262 | -11.30% | skill 36/36; base 36/36 |

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); 14 finding(s) | | Tier 2 | Semantic deduplication | PASSED | 2 validator(s); 0 finding(s) | | Tier 3 | Live agent evaluation | PASS | 2 agent(s); 18 task(s) |

Findings and Observations

<details> <summary>Show detailed findings and successful checks</summary>

rm -f "$AUTH_BODY" RESPONSE="$RESPONSE" python3 -c 'import json, os; print("Authorization: Bearer " + js (references/airflow-direct-api.md:28)

</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%) |

Signals present in this run:

</details>

Freshness

Regenerate this benchmark when the skill, evaluation dataset, target agent/model, evaluator version, environment, or scoring policy changes.