Repository navigation
1.0.5 — reranking judges each passage on its own
Fixed
jev_rerank scored each passage against its neighbours instead of the question. Found by running it against a live provider, not by reading it. The instruction said "judge the passage on its own", but every passage sits in the shared state and the model read them together anyway.
Measured — "The team agreed in Q2 to add a caching layer", asked "what invalidates a cache entry?":
| set with no answer | set with an answer | |
|---|---|---|
| before | 0.73 | 2.72, ranked first, usable |
| after | 0.91 | 0.88, ranked last, not usable |
Same passage, same question. Before the fix it outranked the passage that actually answered, and all three came back usable.
Each per-passage question now restates the question and names its own passage so it stands alone, and the scale names the case that was scoring too high — background, history, configuration and "we decided to build it" are level 1, explicitly.
On the same two sets after the fix: drift 0.73→2.72 becomes 0.91→0.88, the answering passage moves from last to first at 2.95, and usable_count falls from 3 to 1.
The retrieval inversion is now stark: retrieval ranked the answering passage last at 0.62; this ranks it first.
should_abstain was correct throughout and is unchanged — 0.07/0.08 on the unanswering set, 0.91 on the answering one. The set-level question was never the problem.