A platform that let users ask questions of their spreadsheet data in plain English. After months of development it was still returning malformed output, schema validation errors and runtime exceptions on roughly 40% of queries, at an unpredictable 20,000–50,000 tokens a time.
Measured against a fixed 35-case evaluation suite. Zero syntax errors reached execution.
Foundations before architecture: dependency management, linting, CI via GitHub Actions, documentation. Nothing clever.
Built the evaluation suite — 35 cases, six business domains — then used it to settle the core architectural question on evidence: custom DSL, or direct Python generation.
Production pipeline: four specialised agents — planner, code generator, verifier, summariser — with self-healing retry logic.
Integration, documentation, and knowledge transfer to the engineers who would own it afterwards.
Why this should matter to you. The client was small. The problem isn't. Every organisation past a certain size has operational data sitting in spreadsheets that nobody can query without opening a dozen files by hand: finance reporting, supply chain, claims, procurement. The engineering that makes an answer trustworthy is identical at four hundred people as at forty. So is the discipline of proving it.
Mapped to the Go-Live Gate. Week one covered automated evaluation in CI (item 2.4). Week two built the fixed test set and agreed the threshold (gates 2.1 and 2.2). Week three designed failure behaviour and verification (gate 4.1, item 4.2) and right-sized the models (5.3). Week four was handover (7.2, 7.3, 7.5). Not every box was ticked: the handover listed nine areas for future work, with code-execution sandboxing (3.4) flagged as security-critical. That is a condition with an owner and a date, which is worth more than a box ticked generously.
The Go-Live Gate Review is the same discipline in one week: a measured baseline on your own cases, twelve gates, and a written verdict on whether it can ship.