feat: implement optimal assignment using Hungarian algorithm in matching process

- Added a new function for minimum-cost bipartite matching via the Hungarian algorithm to improve the efficiency of the matching process.
- Refactored existing matching logic to utilize the new algorithm, replacing the previous greedy assignment approach.
- Updated relevant documentation to reflect changes in the matching strategy.
- Enhanced performance in ambiguous group matching scenarios.
This commit is contained in:
Joe 2026-03-07 17:55:50 -06:00
parent 43ede3bc0e
commit d26f82b4f2
6 changed files with 414 additions and 151 deletions

View file

@ -113,6 +113,7 @@ dirs = "6"
pathdiff = "0.2.3"
blake3 = "1.8.3"
rand = "0.10.0"
sha1 = "0.10"
indexmap = { version = "2.13.0", features = ["serde"] }
@ -144,4 +145,3 @@ regex = "1"
serde_yaml = "0.9"
tempfile = "3"
walkdir = "2.5.0"
rand = "0.10.0"