alvinfei and Claude Opus 5.5
e540386db1
fix(sdk): gate near-duplicate demotion with the MMR top-k threshold
...
near_dup_demote compares each candidate with every earlier
non-duplicate by Jaccard, quadratic when candidates differ. Its pool
grows with limit (about max(3*limit, 30) plus keyword hits), so a
limit-200 page could cost ~180k comparisons. It now runs only when the
caller's limit is below MMR_MAX_TOP_K, like MMR; large pages want every
relevant item, similar ones included. The read reports
near_dup_applied next to mmr_applied.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com >
2026-10-27 15:34:41 +08:00
..
2026-10-27 15:13:12 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 12:19:42 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 20:16:11 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-22 20:49:23 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 16:43:25 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 12:19:38 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 16:43:25 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 16:43:25 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 12:19:51 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-18 17:52:59 +08:00
2026-10-21 12:19:28 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 12:19:47 +08:00
2026-10-18 17:52:59 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-18 17:52:59 +08:00
2026-10-21 11:02:58 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-22 20:02:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-22 20:49:23 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 12:19:55 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 11:02:36 +08:00
2026-10-16 16:26:27 +08:00
2026-10-22 20:02:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 22:48:00 +08:00
2026-10-16 16:26:27 +08:00
2026-10-22 20:49:23 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-27 12:21:01 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 12:19:28 +08:00
2026-10-27 15:34:41 +08:00
2026-10-27 15:13:12 +08:00
2026-10-21 12:19:33 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-19 13:02:22 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-16 16:26:27 +08:00
2026-10-21 16:43:25 +08:00
2026-10-21 16:43:25 +08:00
2026-10-16 16:26:27 +08:00