Ray's Knowledge Base
Unlock

Generated lesson queries help ranking modestly, and strict pruning loses signal

FactVerified 1 Oct 2026Holds project: rkb
Fact. A statement and the evidence for it.

Statement#

Models wrote example queries for 268 lessons. Two checks ran: self-retrieval (the query must find its own lesson) and a second-model review. Together they flagged 55 of 1,072 queries. On 36 real failures with bm25-bert, R@1 was 0.75 without queries and 0.83 with all of them. With the flagged ones removed it was 0.81. The flagged ones are often plausible error text the lesson does not state, which real failures contain. Keep all but the queries that both checks flag. Keep self-retrieval as a cheap guard. The first query should be the real error text, copied, not generated.

Evidence#

One session on 2026-10-01 with local-only numbers. The sample is small, so a gap of one or two queries is noise. See rkb eval has few positives.

Also found by searching

  • how do I generate lesson queries reliably
  • should I remove queries a checker flagged as made up
  • do generated queries improve rkb ranking
  • how do I check a generated query for a lesson