Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tokenizer improvements #126

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Tokenizer improvements #126

merged 1 commit into from
Sep 12, 2023

Conversation

jakobnissen
Copy link
Member

@jakobnissen jakobnissen commented Sep 12, 2023

Bugfixes and doc improvements to Tokenizer

Issue 125 revealed several issues with the existing tokenizer implementation,
several of which are fixed here:

  • tokenize now correctly uses the version argument
  • Documentation is now clearer, and several tokenizer functions are doctested
  • Several tokenizer tests were forgotten - these are now included and updated
    to work.

@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Patch coverage: 92.30% and project coverage change: -0.06% ⚠️

Comparison is base (733b8cf) 95.98% compared to head (989800b) 95.92%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #126      +/-   ##
==========================================
- Coverage   95.98%   95.92%   -0.06%     
==========================================
  Files          16       16              
  Lines        1793     1793              
==========================================
- Hits         1721     1720       -1     
- Misses         72       73       +1     
Flag Coverage Δ
unittests 95.92% <92.30%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/tokenizer.jl 95.38% <92.30%> (-1.54%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Issue 125 revealed several issues with the existing tokenizer implementation,
several of which are fixed here:

* `tokenize` now correctly uses the `version` argument
* Documentation is now clearer, and several tokenizer functions are doctested
* Several tokenizer tests were forgotten - these are now included and updated
  to work.
@jakobnissen jakobnissen merged commit 96115dc into master Sep 12, 2023
26 of 28 checks passed
@jakobnissen jakobnissen deleted the tokenize branch September 12, 2023 06:55
@tlienart
Copy link

nice thanks!! could this be made into a patch release? 🙏

@jakobnissen
Copy link
Member Author

Done

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