Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions ci/utils/sync_skills_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,17 @@ for skill_md in "${SKILLS_DIR}"/*/SKILL.md; do
echo " updated $skill_md"
done

# skills/*/skill-card.md: update the version on the line after "## Skill Version(s):"
for skill_card in "${SKILLS_DIR}"/*/skill-card.md; do
[[ -f "$skill_card" ]] || continue
# Scope the substitution to the line immediately following the header.
sed -i '/^## Skill Version(s): <br>$/{n; s|^[0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\( (source:.*) <br>\)$|'"${RELEASE_VERSION}"'\1|}' "$skill_card"
# Verify the replacement actually landed; fail loudly if the version line is missing or malformed.
if ! grep -A1 "^## Skill Version(s):" "$skill_card" | grep -q "^${RELEASE_VERSION}"; then
echo "ERROR: $skill_card: version line under '## Skill Version(s):' is missing or malformed; manual repair needed"
exit 1
fi
echo " updated $skill_card"
done

echo "Done. Skills version is now ${RELEASE_VERSION}."
11 changes: 11 additions & 0 deletions ci/utils/validate_skills.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ for dir in "$SKILLS_DIR"/*/; do
echo "ERROR: $name/SKILL.md missing version in frontmatter. Run: ./ci/utils/sync_skills_version.sh"
ERRORS=$((ERRORS + 1))
fi
skill_card="${dir}skill-card.md"
if [[ -f "$skill_card" ]]; then
CARD_VERSION=$(grep -A 1 "^## Skill Version(s):" "$skill_card" | tail -1 | sed -n 's/^\([0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\).*/\1/p')
if [[ -z "${CARD_VERSION}" ]]; then
echo "ERROR: $name/skill-card.md missing version under '## Skill Version(s):'. Run: ./ci/utils/sync_skills_version.sh"
ERRORS=$((ERRORS + 1))
elif [[ "${CARD_VERSION}" != "${RELEASE_VERSION}" ]]; then
echo "ERROR: $name/skill-card.md has version \"${CARD_VERSION}\" but VERSION file has \"${RELEASE_VERSION}\". Run: ./ci/utils/sync_skills_version.sh"
ERRORS=$((ERRORS + 1))
fi
fi
fi
done

Expand Down
2 changes: 1 addition & 1 deletion skills/cuopt-developer/skill-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Underlying evaluation signals used in this run: <br>
| Efficiency | 3 | 48% (+22%) | 89% (+49%) |

## Skill Version(s): <br>
26.08.00 (source: frontmatter, pyproject.toml) <br>
26.10.00 (source: frontmatter, pyproject.toml) <br>

## Ethical Considerations: <br>
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>
Expand Down
2 changes: 1 addition & 1 deletion skills/cuopt-install/skill-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Underlying evaluation signals used in this run: <br>
| Efficiency | 1 | 95% (+67%) | 96% (+69%) |

## Skill Version(s): <br>
26.08.00 (source: frontmatter) <br>
26.10.00 (source: frontmatter) <br>

## Ethical Considerations: <br>
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>
Expand Down
2 changes: 1 addition & 1 deletion skills/cuopt-multi-objective-exploration/skill-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Underlying evaluation signals used in this run: <br>
| Efficiency | 31% → 100% (+69 points) | 25% → 100% (+75 points) |

## Skill Version(s): <br>
26.08.00 (source: frontmatter) <br>
26.10.00 (source: frontmatter) <br>

## Ethical Considerations: <br>
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>
Expand Down
2 changes: 1 addition & 1 deletion skills/cuopt-numerical-optimization-api/skill-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Underlying evaluation signals used in this run: <br>
| Efficiency | 8 | 71% (+46%) | 55% (+28%) |

## Skill Version(s): <br>
26.08.00 (source: frontmatter) <br>
26.10.00 (source: frontmatter) <br>

## Ethical Considerations: <br>
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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Underlying evaluation signals used in this run: <br>
**[ ] Product Security** <br>

## Skill Version(s): <br>
26.08.00 (source: frontmatter) <br>
26.10.00 (source: frontmatter) <br>

## Ethical Considerations: <br>
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>
Expand Down
2 changes: 1 addition & 1 deletion skills/cuopt-routing-api-python/skill-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Underlying evaluation signals used in this run: <br>
| Efficiency | 1 | 95% (+67%) | 72% (+45%) |

## Skill Version(s): <br>
26.08.00 (source: frontmatter) <br>
26.10.00 (source: frontmatter) <br>

## Ethical Considerations: <br>
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>
Expand Down
2 changes: 1 addition & 1 deletion skills/cuopt-server-api-python/skill-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Underlying evaluation signals used in this run: <br>
| Efficiency | 1 | 95% (+68%) | 95% (+67%) |

## Skill Version(s): <br>
26.08.00 (source: frontmatter) <br>
26.10.00 (source: frontmatter) <br>

## Ethical Considerations: <br>
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>
Expand Down
2 changes: 1 addition & 1 deletion skills/cuopt-skill-evolution/skill-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Underlying evaluation signals used in this run: <br>
| Efficiency | 1 | 42% (-18%) | 28% (-0%) |

## Skill Version(s): <br>
26.08.00 (source: frontmatter) <br>
26.10.00 (source: frontmatter) <br>

## Ethical Considerations: <br>
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>
Expand Down
2 changes: 1 addition & 1 deletion skills/cuopt-user-rules/skill-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Underlying evaluation signals used in this run: <br>
| Efficiency | 1 | 25% (+0%) | 48% (-12%) |

## Skill Version(s): <br>
26.08.00 (source: frontmatter) <br>
26.10.00 (source: frontmatter) <br>

## Ethical Considerations: <br>
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>
Expand Down