Skip to content

FIX VLGuard review fixes: document subcategory mapping, move import to top#1649

Merged
romanlutz merged 1 commit intomicrosoft:mainfrom
romanlutz:romanlutz/vlguard-review-fixes
Apr 24, 2026
Merged

FIX VLGuard review fixes: document subcategory mapping, move import to top#1649
romanlutz merged 1 commit intomicrosoft:mainfrom
romanlutz:romanlutz/vlguard-review-fixes

Conversation

@romanlutz
Copy link
Copy Markdown
Contributor

Follow-up to #1447 — these review-comment fixes were pushed after the PR was merged.

Changes

  • Document subcategory-category mapping in \VLGuardSubcategory\ docstring (addresses review comment)
  • Move \huggingface_hub\ import to top of file — it's a transitive dependency of \datasets\ (a required dep), so always available. Inline import was flagged in review.
  • Update test mock path accordingly

…o top

- Add category-to-subcategory mapping in VLGuardSubcategory docstring
- Move huggingface_hub import to top of file (transitive dep of datasets)
- Update test mock path accordingly

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@romanlutz romanlutz merged commit 6dab9f2 into microsoft:main Apr 24, 2026
53 of 54 checks passed
@romanlutz romanlutz deleted the romanlutz/vlguard-review-fixes branch April 24, 2026 19:45
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.

2 participants