Skip to content

bug: fix logic flip bug in encoding detection, add tests to catch#1711

Merged
jmartin-tech merged 1 commit into
NVIDIA:mainfrom
leondz:bug/encoding_case_flip
Apr 30, 2026
Merged

bug: fix logic flip bug in encoding detection, add tests to catch#1711
jmartin-tech merged 1 commit into
NVIDIA:mainfrom
leondz:bug/encoding_case_flip

Conversation

@leondz
Copy link
Copy Markdown
Collaborator

@leondz leondz commented Apr 23, 2026

Fix logic flip around case-sensitivity in detectors.encoding.DecodeApprox. Hit rates are expected to go up.

Tidy up tests for this module & add case sensitivity tests.

Resolves #1700

Mild conflict with refactor in #1538

Signed-off-by: Leon Derczynski <lderczynski@nvidia.com>
@leondz leondz added bug Something isn't working detectors work on code that inherits from or manages Detector labels Apr 23, 2026
@leondz leondz changed the title fix logic flip bug in encoding detection, add tests to catch bug: fix logic flip bug in encoding detection, add tests to catch Apr 23, 2026
Copy link
Copy Markdown
Collaborator

@jmartin-tech jmartin-tech left a comment

Choose a reason for hiding this comment

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

Makes sense, approved.

@jmartin-tech jmartin-tech merged commit 0a5cc86 into NVIDIA:main Apr 30, 2026
18 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working detectors work on code that inherits from or manages Detector

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: flipped guard in encoding detector

2 participants