Skip to content

docs: sweep stale Default-OFF claims for already-flipped retrieval flags - #770

Merged
github-actions[bot] merged 3 commits into
mainfrom
docs/sweep-stale-default-off-claims
May 14, 2026
Merged

docs: sweep stale Default-OFF claims for already-flipped retrieval flags#770
github-actions[bot] merged 3 commits into
mainfrom
docs/sweep-stale-default-off-claims

Conversation

@robotrocketscience

Copy link
Copy Markdown
Owner

Summary

Three retrieval flags flipped from default-OFF to default-ON in past minors but stale Default-OFF wording lingered in source comments and feature docs. Companion to #768 (which fixed the same drift inside retrieve_v2's docstring).

Flag Flip release Gate cleared
use_bm25f_anchors v1.7.0 #154 +0.6650 NDCG@k on v0.1 retrieve_uplift fixture
use_hrr_structural v2.1 #154 / #437 reproducibility-harness 11/11
use_intentional_clustering v3.0 #436 R6 A4 latency, 60/60 PASS at p99 0.328ms

Changes (3 atomic commits)

  1. src/aelfrice/retrieval.pyBM25F_FLAG and INTENTIONAL_CLUSTERING_FLAG block-comments updated. Cite the cleared gate, list opt-out paths.
  2. docs/feature-hrr-integration.md — three spots reframed: "Problem" lede (now historical), hrr_index.py bullet, and "Default-flip flag" §. The doc was a v2.1 spec proposal; its pre-flip framing is now historical.
  3. docs/feature-intentional-clustering.md — Status header + Configuration §4 precedence-list item updated to cite the cleared gate.

Out of scope (intentionally not touched):

Test plan

  • git diff shows comment- and prose-only changes; no logic touched.
  • grep confirms no test pins any of the old Default-OFF wording for the three flipped flags.
  • CI: staging-gate green (no code path touched).

Refs

@sourcery-ai sourcery-ai 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.

Sorry @robotrocketscience, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai

coderabbitai Bot commented May 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (2)
  • docs:
  • release:

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: bd621963-ed0d-47de-98fc-0eb7add82780

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/sweep-stale-default-off-claims

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

Comment @coderabbitai help to get the list of available commands and usage tips.

…l-clustering

Two flag block-comments in retrieval.py still claimed Default-OFF for
flags that have since flipped:

- BM25F_FLAG (line 132-135): The #154 composition-tracker bench cleared
  at +0.6650 NDCG@k on the v0.1 retrieve_uplift fixture in v1.7.0;
  resolve_use_bm25f_anchors() has resolved to True since.

- INTENTIONAL_CLUSTERING_FLAG (line 154-161): The #436 R6 A4 latency
  gate cleared 60/60 PASS at p99 0.328ms on the multi-store production
  sweep in v3.0; resolve_use_intentional_clustering() has resolved to
  True since.

Update both block-comments to state Default-ON, cite the cleared
bench, and list the opt-out paths. No behavior change.
The HRR-integration spec doc was written pre-v2.1 to motivate the
persistence substrate as a precondition for the default-ON ship. v2.1
shipped both pieces — persistence + the #154 / #437 default-flip
clearance — but the doc retained pre-flip wording in three spots:

- "Problem" section lede claimed v1.7+ ships HRR default-OFF: reframe
  as historical context for the v2.1 work.
- `hrr_index.py` bullet claimed Default-OFF behind use_hrr_structural:
  update to Default-ON since v2.1 with gate citation.
- "Default-flip flag" section claimed the flag still ships default-OFF
  until the bench clears: update to the post-flip state with opt-out
  paths documented.

No behavior change. No new claims — just align the spec doc with the
shipped state.
…ing.md

The intentional-clustering spec doc still framed the flag as
default-OFF awaiting bench evidence. The #436 R6 A4 latency gate
cleared 60/60 PASS at p99 0.328ms on the multi-store production sweep
and the flag flipped to default-ON in v3.0 (see CHANGELOG).

- "Status" header: drop "default-OFF at v2.0.0" framing; cite the
  cleared gate.
- "Configuration" precedence list item #4: replace the
  "Default OFF at v2.0.0 until bench-gate clears" stub with the
  post-flip state, citing the gate and listing the opt-out paths.

No behavior change.
@robotrocketscience
robotrocketscience force-pushed the docs/sweep-stale-default-off-claims branch from 993541b to 301a411 Compare May 14, 2026 03:03
@robotrocketscience robotrocketscience added the ready-to-merge Trigger merge-train: FF main to this PR's head label May 14, 2026
@github-actions github-actions Bot removed the ready-to-merge Trigger merge-train: FF main to this PR's head label May 14, 2026
@github-actions
github-actions Bot merged commit 301a411 into main May 14, 2026
27 checks passed
@github-actions

Copy link
Copy Markdown

merge-train: merged 301a411main via FF push.

@robotrocketscience
robotrocketscience deleted the docs/sweep-stale-default-off-claims branch May 14, 2026 04:43
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.

1 participant