fix(triage): ignore archived twins in duplication scoring - #639
Merged
plind-junior merged 4 commits intoJul 30, 2026
Merged
Conversation
claim and page pools used every approved artifact, so an archived claim (or archived page title) with the same text forced duplication_risk=1.0 and an advisory reject on re-file. pools, embedding hits, and contradiction partners now skip retracted claims and archived pages. Fixes vouchdev#638
exercise _live_embedding_hits missing-id path, _topical_fit_scores retracted claim/page skips, and contradiction skip for archived hits so the 100% changed-line gate on vouchdev#639 can pass.
kurosawareiji7007-hub
force-pushed
the
fix/triage-archived-dup-pool
branch
from
July 30, 2026 13:57
6979755 to
32bf4c0
Compare
Merge of test into vouchdev#639 left two test_build_excludes_archived_followups defs (ruff F811), which failed CI lint before pytest ran.
Member
|
While this premise is not universally applicable, I intended to implement an automatic rejection protocol for claims that are identical or substantially similar to those previously archived or suspended but this time, I'm gonna follow your suggestion. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
duplication_risk=1.0and an advisoryreject.ARCHIVEDpages (same live-set as search/recall/digest).Test plan
tests/test_triage.py::test_duplication_risk_ignores_archived_claim_twintests/test_triage.py::test_duplication_risk_ignores_archived_page_titletests/test_triage.pygreentestFixes #638