Skip to content

fix(eval): deduplicate queries and qualify explicit evidence - #655

Merged
jlopezlira merged 2 commits into
mainfrom
fix/retrieval-evidence-round-2
Sep 5, 2026
Merged

fix(eval): deduplicate queries and qualify explicit evidence#655
jlopezlira merged 2 commits into
mainfrom
fix/retrieval-evidence-round-2

Conversation

@jlopezlira

@jlopezlira jlopezlira commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Retrieval evaluation counted one query with several labeled results as several independent samples and repeated the same served lookup. It now groups positives into one query case, excludes every citing anchor, and keeps explicit references separate from automatic proxy labels.

Comparison gates use distinct explicit-reference queries only; unknown label sources cannot silently become explicit evidence. Reports describe date cohorts over the current corpus and no longer imply a historical replay.

Validation: focused evaluation and integration tests pass (52 tests, 115 assertions). The reproduction changes three identical-query lookups into one while retaining all relevant results. On this repository the served evaluation drops from 131 lookups to 14 distinct queries; the explicit-reference metrics remain unchanged. This is reduced evaluation work, not a claim of provider-token savings or improved model outcomes.

Round 2 of the requested three-round ship/merge/upgrade/evaluation cycle.

Group relevance sets by query and label source, exclude every citing anchor, reject unknown source labels, and compare retrieval strategies only on explicit references.

Generated with [p/](https://www.prjct.app/)
… explicit evidence (round 2 of 3) (v4.22.0)

Generated with [p/](https://www.prjct.app/)
@jlopezlira jlopezlira changed the title feat: Deduplicate retrieval evaluation queries and qualify gates with explicit evidence (round 2 of 3) (v4.22.0) fix(eval): deduplicate queries and qualify explicit evidence Sep 5, 2026
@jlopezlira
jlopezlira merged commit 5983f95 into main Sep 5, 2026
11 checks passed
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