Skip to content

feat(core): allow scope config in Weir rules#3382

Merged
elijah-potter merged 4 commits into
masterfrom
feature/SentenceWeir
May 15, 2026
Merged

feat(core): allow scope config in Weir rules#3382
elijah-potter merged 4 commits into
masterfrom
feature/SentenceWeir

Conversation

@elijah-potter
Copy link
Copy Markdown
Collaborator

Issues

N/A

Description

This PR adds a new setting within a Weir rule: scope. It allows rule authors to select which scope the rule runs in. There are two options: "Chunk" (which is the default) and "Sentence". The former only investigate within chunk boundaries while the latter only for sentence boundaries.

See the edited documentation in the diff for more details.

How Has This Been Tested?

Additional unit tests.

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes
  • I have considered splitting this into smaller pull requests.

@elijah-potter elijah-potter force-pushed the feature/SentenceWeir branch from 08f45c2 to fd01ca0 Compare May 15, 2026 00:35
@elijah-potter elijah-potter enabled auto-merge May 15, 2026 00:36
@elijah-potter elijah-potter added this pull request to the merge queue May 15, 2026
Merged via the queue into master with commit 0f00de8 May 15, 2026
13 checks passed
@elijah-potter elijah-potter deleted the feature/SentenceWeir branch May 15, 2026 01:34
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