knowledge: answer-level count corroboration (DESIGN §12) — LIST rows verified via prose
- VerifyCountSignature: LLM finds ONE verbatim sentence in the article prose (tables excluded by construction) stating the set's count - _verify_count: code checks containment + digit equality — no LLM compares numbers; NOQUOTE -> count_corroborated=false (honest, one call, never loops) - row verified <=> complete_per_source AND count_corroborated - DESIGN §12 documents now vs deferred (extension, criteria, cross-article) - live: EU question cold — E1 (50) + E2 (27) both corroborated with quotes, 23 computed; 25/25 tests
This commit is contained in:
@@ -346,3 +346,34 @@ article, table fully parsed); Q2 -> 27 EU members ingested (Member state
|
||||
article); Q3 -> setop difference computed, verified=True, zero LLM calls.
|
||||
Answer: **23**, citing E3 over E1 and E2. The count is a computation over
|
||||
two typed lists — exactly what the INIT plan always asked for.
|
||||
|
||||
|
||||
---
|
||||
|
||||
# Run F — count corroboration live (2026-10-19)
|
||||
|
||||
**Goal:** verify the answer-level CHECK (DESIGN §12) end-to-end: LIST rows
|
||||
must come back `verified` when the article prose corroborates the ingested
|
||||
count, and the corroborating sentence must be cited in the payload.
|
||||
|
||||
`How many European countries do not belong to European Union?` (cold KG)
|
||||
|
||||
- Q1 → LIST path: table 1 (50 rows) of 'List of sovereign states... in Europe',
|
||||
50 members ingested, VERIFY found the prose count:
|
||||
"There are 50 sovereign states with territory located within the common
|
||||
definition of Europe and/or membership in international European
|
||||
organisations..." → **E1 verified**, count_corroborated=true.
|
||||
- Q2 → LIST path: table 1 (27 rows) of 'Member state of the European Union',
|
||||
27 members, VERIFY found: "The European Union (EU) is a supranational
|
||||
union of 27 member states that are party to the EU's founding
|
||||
treaties..." → **E2 verified**. (Emili predicted this exact sentence.)
|
||||
- Q3 → setop difference, computed: 23, E3 verified.
|
||||
- FINAL: 23, consistent with E1/E2.
|
||||
|
||||
**Notes:**
|
||||
- The run-level `[UNVERIFIED]` tag remains: it is the prover stub
|
||||
(derivability check, v0.2); per-row verified is the honest state today.
|
||||
E1+E2+E3 all verified, but 'answer follows from evidence' is still not
|
||||
machine-checked — the synthesizer wrote it, no prover validated it.
|
||||
- VERIFY adds exactly one LLM call per LIST ingest (budget 4→5, 8→9).
|
||||
NOQUOTE → count_corroborated=false → row stays unverified: honest, no loop.
|
||||
|
||||
Reference in New Issue
Block a user