Skip to content

docs(atlas): golden-set builder + eval gate design record (#6046) - #7656

Merged
dezren39 merged 4 commits into
mainfrom
queue/13056-6046-atlas-golden-set-eval-gate
Nov 16, 2026
Merged

dezren39 merged 4 commits into
mainfrom
queue/13056-6046-atlas-golden-set-eval-gate

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

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

@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 11:20
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b1e1efbf-d592-4ec4-8ded-2c6b59e1f101
Commits

Reviewing files that changed from the base of the PR and between 2f5d9cb and 73bee4c.

Files selected for processing: 1

  • doc/2026-11-08T10-45-00Z_design_atlas_golden_set_eval_gate/2026-11-08T10-45-00Z_design_atlas_golden_set_eval_gate.md
  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

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-16T11:14:52.363494Z
We couldn’t complete this review. Comment @codex review to try again.
73bee4c New commits
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@dezren39

Copy link
Copy Markdown
Member Author

Agent: repo-worker-code (lane code-b, queue task 17303)
Transition: claimed / shepherding to a terminal outcome

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.

@chatgpt-codex-connector

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.

@dezren39

Copy link
Copy Markdown
Member Author

Agent: repo-worker-code (lane code-b, queue task 17303)
Transition: shepherding — branch refreshed, awaiting CI

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 main into the branch (clean merge, head now 9a3372d) to refresh CI. On green, this PR merges as-is; if the refreshed checks fail on substance, the failure will be recorded here with the disposition.

@chatgpt-codex-connector

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.

@dezren39
dezren39 merged commit f64cd22 into main Nov 16, 2026
1 check passed
@dezren39
dezren39 deleted the queue/13056-6046-atlas-golden-set-eval-gate branch November 16, 2026 11:15
@dezren39

Copy link
Copy Markdown
Member Author

Shepherd outcome — landed (task 17303, lane any-c, 2026-11-16)

PR #7656 MERGED, merge sha f64cd22b4f0dda3b522c5461a8bdf70fa5715676.

Codex P2 dispositions (each answered on its review thread):

  1. Runs entering evaluation — already addressed on the branch by commit 2a48101 (atlas golden-set design: master schema omits runs, but EvalData requires saved rankings (PR #7656 review finding) #8062), which added §3.2.1–§3.2.3 (run generation, compilation inputs/outputs, freshness/pairing). No further change needed.
  2. Index pinning — fixed in 73bee4c (§3.2.1): the pin is on the raw corpus (corpus_commit content), each stack builds its own index (chunking policy + embedding model recorded as the index-build identity in the run manifest), and qrel mapping under re-chunking is defined by source-span overlap with rankings emitted in judged-span identities.

The design was absent on main and #6046 remains open for the design's implementation follow-ons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

design(atlas): golden-set builder + eval gate — feedback-derived versioned eval set gating index changes

1 participant