Skip to content

TEST: Add unit tests for remote dataset loaders#1604

Open
romanlutz wants to merge 2 commits intomicrosoft:mainfrom
romanlutz:test/datasets-coverage
Open

TEST: Add unit tests for remote dataset loaders#1604
romanlutz wants to merge 2 commits intomicrosoft:mainfrom
romanlutz:test/datasets-coverage

Conversation

@romanlutz
Copy link
Copy Markdown
Contributor

Summary

Adds unit tests for 20 previously untested remote dataset loader files.

New Test Files

Each test mocks HTTP/HuggingFace calls and tests dataset fetching, filtering, and validation:

aegis_ai_content_safety, aya_redteaming, ccp_sensitive_prompts, darkbench,
equitymedqa, forbidden_questions, harmbench, harmbench_multimodal,
jbb_behaviors, librai_do_not_answer, llm_latent_adversarial_training,
medsafetybench, mlcommons_ailuminate, multilingual_vulnerability,
pku_safe_rlhf, red_team_social_bias, sorry_bench, sosbench,
tdc23_redteaming, xstest

Testing

All 69 tests pass locally.

romanlutz and others added 2 commits April 11, 2026 18:05
Adds tests for 20 previously untested remote dataset loaders:
- aegis_ai, aya_redteaming, ccp_sensitive_prompts
- darkbench, equitymedqa, forbidden_questions
- harmbench, harmbench_multimodal, jbb_behaviors
- librai_do_not_answer, llm_latent_adversarial_training
- medsafetybench, mlcommons_ailuminate
- multilingual_vulnerability, pku_safe_rlhf
- red_team_social_bias, sorry_bench, sosbench
- tdc23_redteaming, xstest

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant