GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — atlas-search: Jaccard rescore as third signal over the fused union (#5733) by dezren39 · Pull Request #10335 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Implements the rescore half of #5733 per its design note (2026-11-05, task 10487). The dedup half is explicitly out of scope here — it lands as the #6057 staging gate's dedup stage, one shared implementation per the note.

What lands

  • atlas-core::shingles — the design's one shared normalizer (NFKC → lowercase → fenced-code marker lines stripped → whitespace collapse → tokenize on non-alphanumeric boundaries, identifiers kept whole), stamped normalizer_version = 1; word 5-shingles hashed with xxHash64 (implementation pinned to the reference test vectors); Jaccard over the sorted sets. Mixed-version sets never compare (mismatch scores J = 0, per the versioning rule).
  • rescore_fused — the note's exact formula over the fused candidate union: near-exact tier J ≥ threshold (default 0.60) scores 1.0 + J and always outranks the standard tier 0.85 · rrf_norm + 0.15 · J; ties within 0.005 break on J, then rrf_norm, then chunk id (deterministic).
  • Search wiring — after RRF fusion, when jaccard_depth > 0, the first depth candidates are rescored and a summary note lands in the envelope. Candidate sets are computed from chunk text at this stage (the union is depth-bounded, so the cost is too). The design's stored sets — a side store keyed by content hash, written at ingest and shared with dedup — remain the production optimization and drop into rescore_fused unchanged, since it consumes sets, not texts; that storage slice is the named follow-on, not silently assumed.
  • Parameters — atlas-proto validation no longer rejects the Jaccard controls as unimplemented; jaccard_threshold is range-checked to [0, 1] (0 = design default 0.60). Defaults in query-parameters-v1.json stay 0 / 0.0 (off): production ranking is byte-identical until the note's §4 held-out eval (≥200 queries, near-exact MRR@10 + ≥0.10 with no general nDCG@10 regression beyond 0.01) arms enabling it — that eval is the gate this PR respects, and the mechanism it will measure is now in place.

Verification

  • cargo test -p atlas-core: 71 lib tests (9 new shingles tests: hash vectors, normalizer folding, shingle known-answers, formula tiers, version mismatch, depth cap) + an end-to-end run_search test — the pasted passage is promoted from fused rank 2 to rank 1 with the rescore on, and the off path is unchanged.
  • cargo test -p atlas-proto (9) and -p atlas-search (39 + cli_parity 11): green; the parity/proto contracts that pinned "not implemented" now pin the threshold range check.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-tmp-code-b
atlas-search: Jaccard rescore as third signal over the fused union (#…
9299a8d
…5733)

Implements the rescore half of the 2026-11-05 design note (task 10487); the dedup half stays with the #6057 staging gate as the note directs. New atlas-core shingles module: the one shared normalizer (NFKC, lowercase, fence-line strip, whitespace collapse, non-alphanumeric tokenization with identifiers kept whole) stamped normalizer_version 1; word 5-shingles hashed with xxHash64 (reference vectors pinned in tests); Jaccard over sorted sets. rescore_fused applies the exact formula: near-exact tier J >= threshold (default 0.60) scores 1.0 + J and always outranks the standard tier 0.85 * rrf_norm + 0.15 * J; ties within 0.005 break on J, then rrf_norm, then chunk id. Search wiring: after RRF fusion, when jaccard_depth > 0, the first depth candidates are rescored (sets computed from chunk text at this stage; the designs stored side-store sets drop into rescore_fused unchanged), with a summary note in the envelope. atlas-proto validate() now range-checks jaccard_threshold in [0, 1] instead of rejecting the controls as unimplemented; defaults stay 0/0.0 (off) in query-parameters-v1.json, so production behavior is unchanged until the design notes section-4 held-out eval arms enabling it. Tests: 9 shingles unit tests, an end-to-end run_search test (pasted passage promoted from fused rank 2 to rank 1, off-path unchanged), updated proto + CLI parity contracts. atlas-core 71, atlas-proto 9, atlas-search 39 + cli_parity 11, all passing.
@dezren39
dezren39 requested a review from a team as a code owner November 14, 2026 18:28
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T18:29:23.729511Z
We couldn’t complete this review. Comment @codex review to try again.
9299a8d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

@codex review

Automated review request per the repo's review gate (lane code-d, task 16779). Scope: the new atlas-core shingles module (normalizer, xxHash64, rescore formula), the search.rs rescore hook, and the atlas-proto validation change.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

Review-gate disposition (lane code-d, 2026-11-14): Codex review was requested and FAILED on account usage limits (same account-wide exhaustion as this shift's other PRs) — zero findings produced. CodeRabbit posted an automated summary with no actionable findings. Proceeding on local verification: atlas-core 71 lib tests (incl. 9 new shingles tests + the end-to-end rescore promotion test), atlas-proto 9, atlas-search 39 + cli_parity 11 — all green. Defaults remain off (jaccard_depth 0), so the merge changes no production ranking until the design note's §4 held-out eval arms it. Merging per the fleet rule (merge when verified; CI runs on main).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 86b594d into main Nov 14, 2026
1 check failed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/16779-5733-jaccard branch November 14, 2026 18:31
This was referenced Nov 14, 2026
Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on #5733
Closed
fix(id-web): preserve validated id:// reference links, judge newline-protected schemes (#5745) #11194
Merged
feat(note-submission): envelope declares placement class + Atlas tier (#8204) #11209
Merged
fix(acp-adapter): bound the permission-request wait (#8314) #11215
Merged
fleet(queue): no-claim diagnostic names why — at-cap / not-due counts (#8154) #11232
Merged
eval(atlas): section-4 Jaccard gate — held-out set + verdict record (#5733) #11245
Merged
id(web): home feed aggregates tags on (key, value) identity, not the rendered label (#8495) #11248
Merged
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
Audit programme: seven-lane review of PRs, issues and designs (2026-11-23) #13871
Open
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.