Title: Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on · Issue #5733 · developing-today/code · GitHub
Open Graph Title: Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on · Issue #5733 · developing-today/code
X Title: Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on · Issue #5733 · developing-today/code
Description: Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on Context: the atlas hybrid design settled 2026-11-04 (see the shard-restore work under #5669 and the spike verdict on hatch-personal#20): re...
Open Graph Description: Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on Context: the atlas hybrid design settled 2026-11-04 (see the shard-restore work under #5669 and the...
X Description: Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on Context: the atlas hybrid design settled 2026-11-04 (see the shard-restore work under #5669 and the...
Opengraph URL: https://github.com/developing-today/code/issues/5733
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on","articleBody":"# Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on\n\nContext: the atlas hybrid design settled 2026-11-04 (see the shard-restore work under #5669 and the spike verdict on hatch-personal#20): retrieval = **dense cosine scan + FTS/BM25**, one fan-out per shard carrying both scorers, merged with reciprocal rank fusion. Dot product adds no independent signal on normalized embeddings. Drew (2026-11-04) asked where Jaccard fits in atlas specifically — this issue records the answer as a design task.\n\n## Proposal: Jaccard as a THIRD signal, at rescore — not at retrieval\n\n- Each chunk gains a stored **token-shingle set** (hashed word shingles) alongside its embedding and text.\n- Retrieval stays two-scorer (cosine + BM25). Jaccard is computed **only over the candidate union** (the top ~100 merged candidates), as a rescore-stage feature:\n - **Near-exact boost**: a candidate whose shingle overlap with the query is very high is probably *the* text the user pasted or quoted (an error message, a passage, a title) — cosine alone ranks it \"topically similar among many\"; Jaccard identifies it as *the match*. Boost it decisively.\n - **Tie-breaker / confirmation**: among semantically-equal candidates, prefer higher literal overlap when the query contains rare exact tokens.\n- Why not a full-corpus third scorer: set intersection per row across every shard is real scan cost for a signal that only matters near the top. Rescore-stage keeps it ~free.\n\n## Second use: ingest / promotion dedup\n\n- At ingest (and at staging→core promotion, #5669), compute shingle overlap of a new chunk against recent / same-source chunks: **≥ ~0.9 Jaccard = near-duplicate** — flag or suppress instead of silently double-indexing. The corpora most at risk: brain-dump explosions, repeatedly-versioned design docs, re-ingested repos.\n- Dedup findings are data, not deletions: record the edge (chunk, near-dup-of, score) and let promotion policy decide; never auto-delete on a similarity score alone.\n\n## SPLADE — investigated only on a trigger (Drew, 2026-11-04: \"no reason to investigate SPLADE?\")\n\nThere IS a reason — quality, not speed: learned sparse retrieval can beat BM25 where vocabulary mismatch hurts (the model expands terms with learned weights), and it would collapse hybrid retrieval into a single vector scan (TursoDB even has an experimental sparse-IVF index). The costs are also real: a SPLADE encoder must run at **ingest and at query time**, a model must be hosted, and our corpora are technical text where exact terms dominate — BM25's home turf.\n\nSo: **triggered follow-on, not a standing task.** Investigate SPLADE only if the shipped hybrid's held-out evaluation shows the lexical half is the weak side (e.g. recall@10 on the eval set improves materially when an oracle lexical ranker is substituted). Bar for adoption: a measured recall@10 gain over the BM25 half on the held-out query set, large enough to justify a permanent inference dependency at ingest + query time. Until the trigger fires, this stays a named paragraph, not a project.\n\n## Acceptance shape\n\n- Design note covering: shingle construction (size, hashing, storage cost per chunk), the rescore formula (how the Jaccard feature enters the fused ranking), dedup thresholds + the promotion-policy hook, and the eval-set methodology that would (a) prove the rescore signal helps and (b) arm the SPLADE trigger.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T00:49:33Z","url":"https://github.com/developing-today/code/issues/5733"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b2889a12-e77f-d4a0-3cbb-2002a7364517 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 824A:138048:358C9B:46508A:6B0617EA |
| html-safe-nonce | ecf001e58795617c10e43d8e8a970ff2dcd7b9dcf709e125f53929b09842de3e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjRBOjEzODA0ODozNThDOUI6NDY1MDhBOjZCMDYxN0VBIiwidmlzaXRvcl9pZCI6IjQ5MDk4MjIyMzE2MzY3NDQxNzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 40c4a7d79f3d93f0a897bc47540997e378682dfa6c6d5dac9313350d064260b5 |
| hovercard-subject-tag | issue:6214351207 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/5733/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7faef829695e9b6a212d66a994cb7c0b97c2d4f0da6a27c75bb61b4a696f4c9c/developing-today/code/issues/5733 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7faef829695e9b6a212d66a994cb7c0b97c2d4f0da6a27c75bb61b4a696f4c9c/developing-today/code/issues/5733 |
| og:image:alt | Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on Context: the atlas hybrid design settled 2026-11-04 (see the shard-restore work under #5669 and the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width