Expand description
Duplicate transaction detection.
Provides three deduplication strategies:
-
Structural — exact hash match using
crate::fingerprint::structural_hash. Finds transactions that are byte-for-byte identical (excluding metadata). -
Fuzzy — approximate match using date + amount + text similarity. Finds transactions that are likely the same despite minor differences (e.g., different payee formatting between bank and ledger).
-
Fingerprint (future, Phase 1) — stable BLAKE3 fingerprint match for import deduplication across runs.
Structs§
- Fuzzy
Dedup Config - Configuration for fuzzy duplicate detection.
- Fuzzy
Duplicate Match - Result of a fuzzy duplicate match.
- Structural
Duplicate - Result of finding a structural duplicate.
Functions§
- find_
fuzzy_ duplicates - Find fuzzy duplicates between new and existing transactions.
- find_
structural_ duplicates - Find structurally duplicate transactions in a directive list.