Skip to content

Commit c585fa8

Browse files
committed
feat: ways tune — parallel threshold auto-tuner with discrimination audit
Two modes: - `ways tune [--apply]`: compute optimal embed_threshold per locale entry by scoring against the full corpus. Parallel (cores - 4), ~13s for 328 entries on 32 cores. - `ways tune --audit`: flag entries with low discrimination gap, showing which ways they're confused with (confusers). Two dimensions to optimize: - Discrimination (gap): description quality — wide gap = precise - Sensitivity (threshold): auto-computed from discrimination data The audit surfaces entries where no threshold can give both correct matches and zero false positives — the description itself needs work.
1 parent 283a881 commit c585fa8

3 files changed

Lines changed: 577 additions & 1 deletion

File tree

tools/ways-cli/src/cmd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ pub mod stats;
2020
pub mod status;
2121
pub mod suggest;
2222
pub mod tree;
23+
pub mod tune;

0 commit comments

Comments
 (0)