check_duplication
Detect exact and near-miss duplicate code blocks in a codebase, using token count and diversity thresholds to report clone groups.
Instructions
Verified T1/T2 clone blocks (ce.dedup-report schema).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | subpath (default: project root) | |
| min_tokens | No | report threshold (default 50) | |
| min_distinct | No | diversity floor: suppress blocks with fewer distinct tokens |