Skip to content

Reject --revision for Harbor Hub downloads - #101

Open
qyl760 wants to merge 1 commit into
TIGER-AI-Lab:mainfrom
qyl760:fix/reject-hub-revision
Open

qyl760 wants to merge 1 commit into
TIGER-AI-Lab:mainfrom
qyl760:fix/reject-hub-revision

Conversation

@qyl760

@qyl760 qyl760 commented Nov 25, 2026 •

Copy link
Copy Markdown

websitebench download --revision ... now reports a usage error when Harbor Hub is selected, including the default source. Previously that revision was silently ignored. Validation runs before a staging directory or downloader is created, and an explicitly supplied empty revision is rejected as well.

Closes #96

Validation

  • All 55 offline unit tests passed on Python 3.14.6, including existing Hugging Face revision tests.
  • The new regression test failed before the fix and passes afterward; it covers implicit/explicit Hub selection and asserts both fetchers remain uncalled.
  • python scripts/check_tasks.py --code-only passed for all 70 task definitions.
  • ruff check ., ruff format --check ., and git diff --check passed.

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.

Reject --revision when downloading from Harbor Hub

1 participant