All work
Personal demonstration project
Document Q&A that shows its sources, tested on 30 questions
A question-and-answer system over three public FY2026 annual reports: Microsoft, Apple and Nike. Every answer shows the passage it came from, and it declines when the answer is not in the documents. Each dot below is one test question, scored by code with no AI judge.
With the documentsClaude Sonnet 5.5
30/30
Same model, no documentsAnswering from memory
5/30
- 25/25answers correct
- 25/25citations supported
- 5/5correct refusals
How it got to 30
First runSmall local model
23/30
After fixing the search stepSame local model
26/30
With Claude Sonnet 5.5Same system, stronger model
30/30
This is a small test set: 30 questions on three documents, written by the author. It shows the method works. It is not a measured accuracy for other documents.
See the code and scorecard on GitHub
The scorecard: 30/30 with the documents, 5/30 for the same model without them.