Repository navigation
Conversation
Add a dependency-free experimental candidate-lattice planner with bounded exact multi-view search, cross-sentence window accounting, fixed source normalization, and a narrow reporting-frame frontend. Do not alter the production CLI, Unicode carriers, frozen evidence, or workflow triggers. Local verification: 102 new tests and 70 existing CLI/machine-text tests pass. On 128 synthetic grammar fixtures, joint search improves worst-view source window retention over an identical-budget coordinate-greedy baseline on 51 cases; 24 exhaustive comparisons agree. This is a geometry mechanism test, NOT a real LLM-watermark removal result. Scope and failure behavior are explicit in receipts and documentation.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
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.
New executable research mechanism
This is the next experimental step toward LLM text-watermark removal, not a detector product and not another Unicode layer. It is not yet a demonstrated watermark remover.
research/reconstruction/.What is and is not measured
The corpus comprises 128 newly synthesized controlled-grammar documents. It is not LLM-generated watermarked prose. The metric is retained source-window overlap, not a watermark detector score or removal rate. Regex word/token views are not GPT-2/BPE or separate commercial tokenizer families.
Local runtime: CPython 3.13.5 on Linux. These are targeted local results, not a claim that full GitHub CI is green. The comparison is against the included coordinate-greedy baseline, not the repository's historical scheduler.
Canonical benchmark rows SHA-256:
36d173f4e1521f74a963754c917724eaf4e5ba37b62201feb662a5510f495736.Limits
No real SynthID/KGW/proprietary-detector evaluation was run: the local runtime lacks pretrained tokenizer/model assets and outbound DNS was unavailable. The current end-to-end frontend handles only the documented reporting grammar; arbitrary English/Chinese prose is not supported. Visible wording changes. Frame equality is not universal semantic proof. Receipts explicitly retain
watermark_removal_verified: false.Scope control
Based on
09c8cbf184e37e2e934e133b74a5db9af67b4f97, independent of import-boundary PR #124. Only 10 new research/test/documentation files are added. No production algorithm, CLI default, hidden-carrier stack, frozen evidence, dependency, version, or workflow trigger changes. No model-generation reruns were manually requested. Keep draft until full-checkout CI and scientific review are complete.Reproduce
python -m pytest -q tests/test_reconstruction.py python -m research.reconstruction --text "Orion Labs reported a revenue of 120 USD in 2025. Vega Systems did not report a cost of 42 EUR in 2024." --json python -m research.reconstruction.benchmark --output geometry-128.json python -m research.reconstruction.legacy_control --output legacy-control.json