Skip to content

feat(competition): provenance-rank engine-lane submission - #567

Merged
plind-junior merged 1 commit into
koth-ladderfrom
engine/provenance-rank
Jul 28, 2026
Merged

feat(competition): provenance-rank engine-lane submission#567
plind-junior merged 1 commit into
koth-ladderfrom
engine/provenance-rank

Conversation

@plind-junior

Copy link
Copy Markdown
Member

engine-lane submission: provenance-aware ranking. three general principles, no benchmark-keyed logic:

  1. hearsay demotion — reported speech attributing a fact to a named third party ("x mentioned her ... is") ranks below first-hand statements, hardest when the query is first-person ("my ...").
  2. instruction demotion — a memory that instructs the reader ("always answer", "no matter what", "if anyone asks") is a stored injection, not a fact; it ranks behind every ordinary match.
  3. update boost — change-of-state phrasing ("changed to", "is now", "moved ... to") surfaces the newest value first inside a tight budget.

everything else defers to the backend's fused score blended with lexical overlap.

local verification with the ci-exact loop (vouch bench run --seeds 1,2,3,4,5,6,7,8,9,10,11,12 --strategy contrib/strategies/provenance_rank.py --against contrib/strategies/baseline.py): challenger 0.5750, baseline 0.5250, diff +0.0500, band 0.0381 — dethroned.

per the lane rules this pr is scored by the gate in a sandbox and never auto-merges: a human reviews the code for benchmark-keyed logic and merges the highest verified score.

ranks first-hand statements over hearsay (reported speech about a named
third party is demoted, hardest when the query is first-person), pushes
stored instructions to the tail (a memory that tells the reader what to
answer is an injection, not a fact), and boosts change-of-state phrasing
so the newest value survives a tight budget. blended with the backend
score and plain lexical overlap for everything else.

verified locally with the ci-exact loop over generic seeds 1-12:
challenger 0.5750 vs baseline 0.5250, diff +0.0500, band 0.0381 -
dethroned.
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • test
  • main

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 Plus

Run ID: bc35c8aa-76a5-4b9e-bc71-c949da481dbd

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 engine/provenance-rank

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.

@github-actions github-actions Bot added size: S 50-199 changed non-doc lines ci: passing ci is green labels Jul 28, 2026
@plind-junior
plind-junior enabled auto-merge July 28, 2026 03:55
@plind-junior
plind-junior disabled auto-merge July 28, 2026 03:55
@plind-junior
plind-junior merged commit cacf49d into koth-ladder Jul 28, 2026
14 of 15 checks passed
plind-junior added a commit that referenced this pull request Jul 28, 2026
the engine-lane winner (pr #567) moves in-package as
vouch.strategies.provenance and becomes what challengers must beat:
contrib/strategies/baseline.py now delegates to it instead of returning
identity order. new KBs get it as the final reorder stage via the
starter config (retrieval.strategy); existing KBs keep byte-identical
ordering until they add the key, and strategy: null opts out. the bench
is unaffected - its throwaway KBs write their own config, so kits and
strategies keep being measured explicitly.

rerank-isolation tests opt out of the strategy stage, since the champion
is final-say and would re-sort the asserted window.
plind-junior added a commit that referenced this pull request Jul 28, 2026
the engine-lane winner (pr #567) moves in-package as
vouch.strategies.provenance and becomes what challengers must beat:
contrib/strategies/baseline.py now delegates to it instead of returning
identity order. new KBs get it as the final reorder stage via the
starter config (retrieval.strategy); existing KBs keep byte-identical
ordering until they add the key, and strategy: null opts out. the bench
is unaffected - its throwaway KBs write their own config, so kits and
strategies keep being measured explicitly.

rerank-isolation tests opt out of the strategy stage, since the champion
is final-say and would re-sort the asserted window.
plind-junior added a commit to Steve-too/vouch that referenced this pull request Jul 29, 2026
pull_request_target workflows only trigger when the workflow file exists
on the default branch. the engine gate lived only on the ladder and
feature branches, so engine-lane pr vouchdev#567 got no scoring run at all while
the kit gate (registered from main) ran fine. the file is byte-identical
to the ladder copy; the run itself still checks out and executes
base-branch code per its security model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: passing ci is green size: S 50-199 changed non-doc lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant