How often LLMs misread government contracts
- Organization
- SalesPatriot (YC W25)
- Role
- Software engineering intern, via HUVTSP
- When
- Summer 2025
- Tools
- Python, LangChain, Pydantic, OpenAI API, Anthropic API, Figma
SalesPatriot helps defense suppliers find and bid on government contracts. Thousands of new requests for quote (RFQs) go up on DIBBS, the Defense Logistics Agency's bid board, every day, full of codes like NSNs and laid out differently by each office. The product leans on language models to read them, so we measured how often the models get the details wrong.
With Yashvi Mehta and Émillien Lavallée, I built a benchmark on four real RFQs. The models had to find seven fields in each: NSN, quantity, unit, delivery time, delivery type, delivery address and whether the contract was set aside for small businesses. Each RFQ went in twice, once as extracted text and once as images of the pages, and every answer was compared against a value we'd checked by hand.
Text beat images for both models, and GPT-4o-mini reading page images did worst, with 3 of 28 values wrong. Text has its own blind spot, though: it can't show which checkbox is ticked, and that's how an RFQ marks a small-business set-aside.
The sample was small, and to stay under token limits the models only saw the first ten pages of each RFQ. I presented those limits to SalesPatriot's CTO along with what we found and what we recommended.
The models were useful but couldn't be trusted alone, so we spent the next two weeks making them checkable, joined by Krish Sachithanand, Aditya Desale and Garvit Chadha. First we built an audit log that records the model, prompt version, timestamp and sources behind every answer. We chose not to store full responses, which kept the log light and kept sensitive text out of it.
Then we designed a review screen. The AI flags a risk in an RFQ, highlights the clause it came from and explains the issue, the risk and the impact, and the contractor confirms or dismisses it before anything goes out.
| Model | Text | Images | Overall |
|---|---|---|---|
| GPT-4o-mini | 2 of 28 | 3 of 28 | 9% |
| Claude 3.5 Sonnet | 1 of 28 | 2 of 28 | 5% |
Critical errors, meaning the model gave a wrong value. Formatting slips, like “4” for “4.000”, were counted separately and aren't included.


