Skip to main content

RENAME_SIMILARITY_DEFAULT

Constant RENAME_SIMILARITY_DEFAULT 

Source
pub const RENAME_SIMILARITY_DEFAULT: f32 = 0.6;
Expand description

Default content-similarity threshold for rename detection (60%). Callers override per-call via changes_since’s rename_similarity parameter; the engine wrapper accepts [0.1, 1.0] and emits a LIMIT_CLAMPED warning for out-of-range values. Higher values miss edited renames; lower values risk false-positive rename pairing.