Skip to main content

Worked-example assets

Everything the six notebooks share.

FileContentSource
indicators.csv150 observations: five indicators, Kenya and Rwanda, 2010 to 2024World Bank Indicators API v2, retrieved 13 October 2026, CC BY 4.0
indicator_metadata.jsonName, definition, unit, source organization, and topics for each indicatorSame API
documents/*.mdEight short documents with a YAML header: four country briefs written for the workshop from the indicator data, one indicator definition note, one outdated regional summary from 2016, two distractorsWritten for the workshop; each header names its source and date
questions.jsonEight evaluation questions with the expected evidence, expected numbers, and the expected behaviourWritten for the workshop
recorded_responses.jsonModel outputs recorded for each scenario the notebooks run, used when no API key is configuredRecorded live with anthropic/claude-haiku-5.5 through OpenRouter on 22 October 2026, except four hand-made scenarios that a live model does not reproduce on demand: nb01_zero_context (an answer from a chat assistant without data access, pasted in), nb05_agent_error (a call with a wrong indicator id and its retry), nb05_runaway (a model that never stops calling tools), and nb06_claims_error (an answer with one altered and one untagged figure). Notebook 02 calls no model. Regenerate with notebooks/record_responses.py <notebook> --keep <scenario,...> when a key is available

Indicators​

IdName
IT.NET.USER.ZSIndividuals using the Internet (% of population)
IT.CEL.SETS.P2Mobile cellular subscriptions (per 100 people)
NY.GDP.PCAP.CDGDP per capita (current US$)
NY.GDP.MKTP.KD.ZGGDP growth (annual %)
SP.POP.TOTLPopulation, total

The role of each document​

IdTitleRole in the session
kenya-digitalKenya: internet use and mobile subscriptions, 2010 to 2024Relevant evidence
rwanda-digitalRwanda: internet use and mobile subscriptions, 2010 to 2024Relevant evidence
kenya-economyKenya: GDP per capita and growth, 2010 to 2024Relevant evidence
rwanda-economyRwanda: GDP per capita and growth, 2010 to 2024Relevant evidence
internet-indicatorHow the internet-users indicator is defined and measuredDefinition; answers the metadata question
regional-2016Regional digital summary, 2016Outdated figures; shows why dates in metadata matter
coffeeCoffee exports in East AfricaIrrelevant to the question; shows a retrieval failure
mobile-moneyMobile money in Kenya and RwandaRelated topic without the requested indicators; a plausible distractor

The figures in the briefs are rounded from indicators.csv. The 2016 summary reproduces the values as they stood for 2015 and states expectations that later data did not confirm. No document is an official publication.

Planted problems​

ProblemWhere it appearsCapability that addresses it
Ambiguous question ("How connected is Kenya?")questions.json, q3Instructions that ask for clarification or state the indicator chosen
Irrelevant retrieval result (coffee note)Notebook 03Metadata filters and ranking
Outdated evidence (2016 summary)Notebook 03Dates in chunk metadata; recency in ranking
Request for data that does not exist (Kenya, 2025)Notebook 04A tool that returns "no observation" and an answer that says so
Unsupported numerical claimNotebook 06Claim tags and the verifier