Skip to content

Fix possible duplicated matches on some strings#244

Merged
vthib merged 1 commit intomasterfrom
fix-duplicated-matches
Nov 12, 2025
Merged

Fix possible duplicated matches on some strings#244
vthib merged 1 commit intomasterfrom
fix-duplicated-matches

Conversation

@vthib
Copy link
Owner

@vthib vthib commented Nov 12, 2025

If a single variable produces multiple literals from which the same atoms are extracted, multiple matches can be wrongly generated for this variable. This is fixed by a unicity check before creating the Aho-Corasick.

If a single variable produces multiple literals from which
the same atoms are extracted, multiple matches can be wrongly
generated for this variable. This is fixed by a unicity check
before creating the Aho-Corasick.
@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.34%. Comparing base (cf2b7a4) to head (b62776a).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #244   +/-   ##
=======================================
  Coverage   98.34%   98.34%           
=======================================
  Files          95       95           
  Lines       26758    26762    +4     
=======================================
+ Hits        26315    26319    +4     
  Misses        443      443           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vthib vthib merged commit 45fb70e into master Nov 12, 2025
22 checks passed
@vthib vthib deleted the fix-duplicated-matches branch November 12, 2025 23:40
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