Add test to prevent 1 token documents

#65
Danish Foundation Models org
edited Jun 16, 2025

Tests were added to ensure that 1-token documents don't appear in the data. This filtered out zero documents in total.

  • I have run the test suite using make test and all tests pass
  • I have added/changed a dataset and have
    • I have updated descriptive statistics using make update-descriptive-statistics
    • I have bumped the version use make bump-version
  • If I have added a create.py script I have added the script dependencies required to run that script.
  • I have updated the CHANGELOG.md if appropriate
KennethEnevoldsen changed pull request title from add-min-length-test to Add test to prevent 1 token documents

Looks good to me.

kris927b changed pull request status to open
KennethEnevoldsen changed pull request status to merged

Sign up or log in to comment