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

Fix LT-21939 #264

Merged
merged 3 commits into from
Oct 23, 2024
Merged

Fix LT-21939 #264

merged 3 commits into from
Oct 23, 2024

Conversation

jtmaxwell3
Copy link
Collaborator

@jtmaxwell3 jtmaxwell3 commented Oct 22, 2024

This fixes https://jira.sil.org/browse/LT-21939. I was able to reproduce the bug by adding an APR to a unit test (deleteVowelSuffix in AffixProcessRuleTests.SubsumedAffix), and then I tried different modifications to the code until it passed the unit test. In the process, I discovered what I think is a bug related to the TruncateRules test, which is that the code was not recording the truncate rule in the output even though it was needed to parse words. I hope that this is correct.


This change is Reviewable

@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.97%. Comparing base (31adc51) to head (28f9f49).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #264      +/-   ##
==========================================
+ Coverage   69.95%   69.97%   +0.01%     
==========================================
  Files         379      379              
  Lines       31770    31785      +15     
  Branches     4454     4456       +2     
==========================================
+ Hits        22225    22240      +15     
  Misses       8511     8511              
  Partials     1034     1034              

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

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 2 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jtmaxwell3)

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jtmaxwell3)

@jtmaxwell3 jtmaxwell3 merged commit dfbb754 into master Oct 23, 2024
4 checks passed
@jtmaxwell3 jtmaxwell3 deleted the LT-21939 branch October 23, 2024 14:51
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.

3 participants