earcue
Retrieval & ranking

Did the right evidence arrive?

Follow a fact from a project archive to the answer. A source can be absent from search, lost when the prompt is shortened, or present and still cited incorrectly.

Authored replay · paired contexts

What two graph hops added

All three replay answers passed with either setting. Inspecting the assembled context reveals a difference that the final answer score hides.

Presence of the required connected fact in the prompt
FixtureGraph offTwo hops
proof-paperabsentpresent
binderabsentpresent
drying-rackabsentpresent

evals/results/sample-graph-compare.md

What to measure

Source recall@5

Proposed

For each answerable question, divide distinct required sources found in the first five by all required sources. Average over questions.

Fix the corpus and query set. Compare exact references, paraphrases and multi-source questions separately.

Citation support

Proposed

Factual claims entailed by their attached citations ÷ all factual claims requiring a citation. An uncited claim earns zero.

Label atomic claims against the cited passage. Score correct abstention separately on questions with missing evidence.

Recommendation utility at three

Proposed

Use nDCG@3 with human relevance grades 0–2, gain 2ʳ − 1 and logarithmic rank discount. Normalize by the ideal top three.

Grade each inbox-day as a unit. For days with zero relevant candidates, report the fraction that correctly showed no cards.

Evidence retention

Proposed

Questions retaining every required passage after prompt packing ÷ questions with all required passages before packing.

Read the final context after truncation. Compare by token budget and position of the supporting passage.

Research behind the design

Evaluate retrieval and faithful use of the retrieved text separately. Here, known synthetic source IDs allow a deterministic retrieval check.

RAGAs · Es et al.

A lexical baseline helps expose where a more complex retriever earns its cost. Compare on the same archive across several query types.

BEIR · Thakur et al.

Moving relevant text within long inputs changed answer accuracy in the study. Rotate the decisive message within an otherwise identical earcue thread.

Lost in the Middle · Liu et al.