Skip to content

fix: properly parse the OFCOM list file#1438

Merged
leondz merged 7 commits intoNVIDIA:mainfrom
paulinek13:fix/1431/ofcom_list
Oct 27, 2025
Merged

fix: properly parse the OFCOM list file#1438
leondz merged 7 commits intoNVIDIA:mainfrom
paulinek13:fix/1431/ofcom_list

Conversation

@paulinek13
Copy link
Contributor

This PR fixes #1431 so that the ofcom-potentially-offensive.txt file is read correctly and is not empty.

Verification

  • I've added a simple test to verify this: python -m pytest tests\detectors\test_detectors_unsafe_content.py::test_data_files_loaded_properly

@github-actions
Copy link
Contributor

github-actions bot commented Oct 27, 2025

DCO Assistant Lite bot All contributors have signed the DCO ✍️ ✅

@paulinek13 paulinek13 changed the title fix csv parsing fix: properly parse the OFCOM list file Oct 27, 2025
@paulinek13
Copy link
Contributor Author

I have read the DCO Document and I hereby sign the DCO

@paulinek13
Copy link
Contributor Author

recheck

github-actions bot added a commit that referenced this pull request Oct 27, 2025
Copy link
Collaborator

@leondz leondz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks. looks generally good, minor change request

@leondz leondz merged commit 28608e6 into NVIDIA:main Oct 27, 2025
15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2025
@paulinek13 paulinek13 deleted the fix/1431/ofcom_list branch November 5, 2025 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: the ofcom_list is empty

2 participants