Skip to content

Name the missing tier3 extra when evaluate runs on a base install - #627

Merged
chrisknvidia merged 6 commits into
mainfrom
fix/tier3-evaluate-missing-extra
Nov 16, 2026
Merged

chrisknvidia merged 6 commits into
mainfrom
fix/tier3-evaluate-missing-extra

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

On a base install (pip install skillevaluator, no tier3 extra), skillevaluator evaluate PATH and skillevaluator tier3 evaluate PATH print only:

Error: No module named 'harbor'

which does not say what to install. The tier3 PATH workflow already reports Tier 3 dependencies are not installed. Install skillevaluator[tier3] and try again.; evaluate now catches the ImportError and prints the same message (exit 1).

Reproduced from a clean base install of the current main on Python 3.12; with this change both commands print the install hint.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test (ran tests/test_cli.py, tests/test_base_install.py and tests/cli: 232 passed; the new tests fail without the fix)
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Closes #633

evaluate and tier3 evaluate turned the ImportError for harbor into a bare 'Error: No module named harbor'. Report the missing tier3 extra instead, as the tier3 PATH workflow already does.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
devin-ai-integration[bot]

This comment was marked as resolved.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
evaluate rewrote every ImportError as the install-skillevaluator[tier3] hint, which would hide an import bug inside Tier 3 code. Check the missing module name against the packages the tier3 extra installs and keep the original error otherwise.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Keep both missing-extra changelog entries (doctor from main first, then
evaluate). The evaluate handlers reuse is_missing_tier3_extra and the same
install hint that doctor reports.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
@chrisknvidia
chrisknvidia merged commit 75ffd71 into main Nov 16, 2026
27 checks passed
@chrisknvidia
chrisknvidia deleted the fix/tier3-evaluate-missing-extra branch November 16, 2026 10:55
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.

evaluate on a base install does not name the missing tier3 extra

1 participant