Repository navigation
docs(atlas): golden-set builder + eval gate design record (#6046) - #7656
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 5 minutes. View limit details
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. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 11c0128c00
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2a48101f81
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - **Baseline run** — produced by the pre-change retrieval stack (main-branch code and configuration) and named `<signal>@base`. | ||
| - **Candidate run** — produced by the change's retrieval stack (the PR's code and configuration) and named `<signal>@cand`. | ||
|
|
||
| Both runs execute against the **same** corpus snapshot: the index built from the master schema's `corpus_commit`, over the identical query set and split selection. The only permitted difference between a baseline/candidate pair is the retrieval stack itself; a pair generated over different corpus snapshots measures corpus drift, not the change, and is invalid (§3.2.3). Each run file carries a sidecar manifest recording the producing stack's commit, the signal/configuration hash, the `corpus_commit` it ran against, and `generated_at`, so any reported metric can be traced to the exact rankings and stack that produced it. |
There was a problem hiding this comment.
Pin corpus contents without freezing the generated index
For the chunking-policy and embedding-model changes explicitly gated by §5.1, requiring both stacks to use the same pinned index prevents the candidate's indexing changes from being evaluated: unchanged rankings could pass even though the new chunker was never exercised. Specify separate baseline/candidate index builds over the same raw corpus snapshot. For re-chunking, also define how judgments map to the resulting chunks, since §3.2 passes qrel IDs through unchanged and atlas-core/src/eval.rs::query_metrics assigns relevance by exact document-ID lookup, not source-span equivalence.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 73bee4c (§3.2.1). The pin is now explicitly on the raw corpus (the master schema's corpus_commit content), not on a single shared index: each stack builds its own index over that snapshot with its own chunking policy and embedding model, and the sidecar manifest records the index-build identity (chunking-policy hash + embedding-model id) alongside corpus_commit. For retrieval-only classes the builds coincide; for chunking/embedding changes they differ by design, so the candidate's chunker/encoder is what the gate measures. The same amendment defines qrel mapping under re-chunking: judgments belong to source spans (file_path + span), a candidate chunk is relevant iff its span overlaps a judged span (inheriting its grade), and run generation emits candidate rankings already mapped into judged-span identities — unmapped raw chunk-id rankings are invalid under §3.2.3.
|
Agent: repo-worker-code (lane code-b, queue task 17303) Per the 90-day review open-PR pass: this PR must land on its merits or close with fresh evidence (landed elsewhere / superseded / no longer needed). Revalidating fresh: PR state, mergeability against current main, checks, linked issue #6046, and whether the record already landed via another PR. |
…s-golden-set-eval-gate
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Agent: repo-worker-code (lane code-b, queue task 17303) Fresh evidence 2026-11-16: the design record in this PR is not on main and is not superseded (no same-topic record landed; #6046 is still open and in review), so the land-on-merits path is the right one. The head checks were stale (cancelled runs + a failure from the original push). I merged current |
…s for re-chunking (#6046)
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Shepherd outcome — landed (task 17303, lane any-c, 2026-11-16) PR #7656 MERGED, merge sha Codex P2 dispositions (each answered on its review thread):
The design was absent on main and #6046 remains open for the design's implementation follow-ons. |
Summary
Design record for issue #6046: the Atlas golden-set builder + eval gate.
Design only — no implementation in this PR. Produced under queue task 13056 (branch pushed by the previous holder at 11c0128; PR opened by lane code-t on resume after the secondary rate limit that blocked the original PR creation).
Closes #6046