Skip to content

Bump elide from c9599770 to a743ed3a - #394

Merged
martsokha merged 1 commit into
mainfrom
chore/bump-elide
Aug 11, 2026
Merged

Bump elide from c9599770 to a743ed3a#394
martsokha merged 1 commit into
mainfrom
chore/bump-elide

Conversation

@martsokha

Copy link
Copy Markdown
Member

Summary

Picks up the upstream fix to elide-pattern's US drivers_license: the `[A-Z]{2}\d{2,5}` state-shape alternation was colliding with ordinary tokens like IBAN country prefixes (`GB29`, `DE89`, …). Base score dropped from 0.4 to 0.25, below `ConfidenceThreshold::BASELINE` (0.35), so a match only surfaces once a nearby DL context keyword boosts it. Cross-label subsumption no longer fires spuriously on tokens that happen to fit the shape.

Test plan

  • `cargo fmt --all --check`
  • `cargo clippy --workspace --all-features --all-targets -- -D warnings`
  • `cargo test --workspace --all-features --all-targets`
  • `RUSTDOCFLAGS=-D warnings cargo doc --workspace --all-features --no-deps`
  • `cargo machete`

🤖 Generated with Claude Code

Picks up the upstream fix to the US drivers_license pattern: the
`[A-Z]{2}\d{2,5}` state-shape alternation collided with ordinary
tokens like IBAN country prefixes (`GB29`, `DE89`, …). Base score
dropped from 0.4 to 0.25, below `ConfidenceThreshold::BASELINE`
(0.35), so a match only surfaces once a nearby DL context keyword
boosts it. Cross-label subsumption no longer fires spuriously on
tokens that happen to fit the shape.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@martsokha martsokha added chore maintenance, dependency updates, code cleanup dependencies dependency updates and version bumps labels Aug 11, 2026
@martsokha martsokha self-assigned this Aug 11, 2026
@martsokha
martsokha merged commit bd96ed9 into main Aug 11, 2026
8 checks passed
@martsokha
martsokha deleted the chore/bump-elide branch August 11, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore maintenance, dependency updates, code cleanup dependencies dependency updates and version bumps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant