Skip to content

feat(method): refuse default stopword deletion of report language - #145

Draft
seonghobae wants to merge 1 commit into
mainfrom
agent/stopword-deletion
Draft

feat(method): refuse default stopword deletion of report language#145
seonghobae wants to merge 1 commit into
mainfrom
agent/stopword-deletion

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

A default or global stopword list cannot erase repeated report language (ADR 0004/0012). Recovery is the computed share of recovered deletion kinds that match known truth versus collapsing every token treatment to stopword deletion.

Complementary to #63 TF-IDF/BM25 inferential weights and #75 method_effects (explicit template/section/style sources). This crate owns the default-stopword-deletion prohibition.

Local gates:

  • cargo test -p stopword_deletion --all-targets GREEN after RED (refuse_default_stopword_deletion returned Ok for DefaultStopwordList)
  • clippy -D warnings PASS
  • workspace contract PASS
  • docstring contract PASS
  • lines 71/71; nightly-2026-08-01 branches 6/6

Does not allocate migration 0008. Does not recreate method_effects, topic_measurement, or other in-flight crates.

Keep this PR draft. Preferred merge remains #46 only when exact-head required Checks pass and a qualifying independent (non-Cursor/CodeRabbit) APPROVE exists. Do not empty-commit.

A default or global stopword list cannot erase repeated report language.
Recovered deletion kinds match known truth at a higher computed rate than
collapsing every token treatment to stopword deletion (ADR 0004/0012).
@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4bd82b19-561b-4c48-a463-4e76550a2f02

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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