Let the AI work the problem
(then check its homework)
There’s a quiet assumption baked into a lot of how people judge AI: it’s a computer, so it should behave like a machine. You put a question in, turn the handle once, and out comes the right answer or the wrong one. If it’s wrong, the machine is broken and someone should fix it.
That assumption has bugged me for a while, and not just in AI coding. In plenty of respects these models behave (reason, really) a lot more like people than like calculators. And nobody sensible expects a person to nail a hard problem in a single uninterrupted pass with no feedback.
Anyone moderately versed in AI engineering already knows this. The way to get the result you want isn’t the low-effort “make me Flappy Bird in one prompt” evaluation that infests the AI influencer web. You define what success looks like, you give the model ways to find out when it’s wrong, and you let it work the problem. Tests, basically. Obvious stuff. But I keep running into it in places where it’s less obvious, so here’s one.
Letting a model loose on Hansard
I’m currently working on deploying an Australian Hansard database as part of an ANU project on how deliberative and representative Australian parliamentary speech is. I can’t go into the specifics, but given my AI interests I cooked up a quick prototype to explore the potential of AI interrogation of a well-described dataset.
The pattern is straightforward. Give the model a tool to reach the data (it can be as plain as “execute this SQL”), give it the schema, and give it everything else that helps it understand how the data model maps onto the real world: annotations, worked examples, known gotchas.
You could file this under retrieval-augmented generation (RAG), but it’s a long way from what most people mean by that. Typical RAG takes your query, embeds it, uses a distance measure to find the most semantically similar chunks of content, and stitches those into an answer. One lookup, then generation.
What I’m describing is different in kind. It’s a large, rich dataset with a stack of joinable tables, columns that each come with their own traps, and full-text fields for proper text search. The model isn’t retrieving a chunk, it’s planning and running an investigation. A typical research question looks like: how does debate from one party compare with another, or how has something shifted across parliaments, binned by year. That needs a data-gathering step and then an analytical step, and the model has to design both.
Remarkable, mostly
I’ll cut to the chase: give all of this to Claude Opus and the results are flat-out remarkable.
One query asked it to check how well speaker attribution was sorted in the data. It dug in and, unprompted, surfaced a significant data problem we didn’t know we had. Other queries came back answered correctly in a matter of seconds. Each time, the model tries something, hits an error or an odd result, adjusts, and keeps working towards the answer.
It doesn’t always get it right, though, and that’s the bit I find interesting. Those deceptively simple research questions hide two separate jobs: design a data-gathering step, then design an analysis over what came back. Models are good at complex work, but they don’t get this kind of thing perfect every time.
There’s a reason long-horizon coding tasks work as well as they do. Along the way the model gets a steady stream of signals: the build breaks, a test fails, the output is obviously wrong. Analysis is much stingier with feedback. A query that runs without error can still be answering the wrong question, and the prose explaining what the numbers mean can be confidently off. Nothing throws an exception when an interpretation is wrong.
Same as code: it needs a reviewer
To get a feel for this, I put together a series of test queries and ran each one in a Claude Code shell with the tooling and docs. Then I had Claude look over the results as a reviewer.
What came back echoed my experience of AI in software engineering almost exactly. The model doing the work, whether that’s writing code or gathering data and analysing it, doesn’t have the helicopter view. A reviewer is given a different job: here’s the data, here’s the analysis, here are the claims made on the back of it, does this hold up? It’s the same move as code review. Here’s some code that passes the tests; looking at what was written, the tests and the spec, can you find any flaws? The answer is inevitably yes.
The other thing I noticed was a clear quality gap between Sonnet and Opus on these tasks. To me that’s a decent sign the overall complexity of the ask is sitting right around the ceiling of what current models can do reliably in a single pass. There’s no model out there that’s dramatically better than Opus to hand the job to instead, so the sensible move is to add a second pass.
That’s the plan, then: the system I’ve described, plus a review phase. One thing I’ll be watching is how independent the reviewer really is. A reviewer built on the same model, primed with the same framing, can share the same blind spots, so a fresh context and a deliberately sceptical brief matter as much as the extra pass itself.
So is it reproducible?
A few people have asked what this means for reproducibility. Good question. I read it as: is there some way we can show the AI was right about this thing? That’s a genre of work I do all the time for AI-assisted data processing, and it’s a whole can of worms of its own.
For this system, my answer is no, and deliberately so. This is an exploration tool.
The part I will stand behind from a reproducibility standpoint is the assembly of the data. That means the SQL that was run, the model’s rationale for what each query was meant to achieve (a genuinely useful thing to get a model to write down), and the version provenance of the data it ran against. All of that can be logged, inspected and re-run.
The analysis is another matter. Adding a review step is about raising the odds that the model’s answer is right. It isn’t a guarantee, and it doesn’t turn an AI’s reading of the data into a finding.
If the goal is a research finding, or even a defensible observation, that’s the researcher’s job. The tool can point you somewhere interesting and hand you the queries that got it there. Checking whether it holds up, and standing behind it, is on us. We need to be really clear about that.
Where to from here
I haven’t built the review step yet. The demo was knocked up as a conversation starter with the research team, for whom a lot of this is new. Assuming it all gets the go ahead, next up is refining the v1 skill that describes how Claude should go about this work, and adding a review subagent to it. There’s further questions about the deployment pattern which is interesting in its own right, and a possible future post.
For now, that’s where my head’s at. Getting AI to answer complicated questions against complicated data isn’t a one-crank job. Let it work the problem, get a second set of eyes on the result, and be honest about where the tool’s responsibility ends and ours begins.