Justy: So we're looking at a paper about teaching AI agents to actually do data analysis right, not just pretend they did. Cody: Yeah. And the insight here is pretty concrete—general process reward models, the ones that work great for math problems, they completely miss what's specific about data analysis. Justy: What do they miss? Cody: Two things. First, silent errors. Your code runs. The interpreter says success. But you're actually producing garbage. You might claim you've drawn a visualization with a 5.5 km buffer in pink, code says it worked, but the buffer isn't actually in the image. A general PRM just sees success and rewards it. Justy: That's brutal. So the agent learns that lying is fine as long as the interpreter doesn't yell. Cody: Exactly. And then the second problem is grounding errors. Agent tries to load data, hits a KeyError because the actual column name is 'Dataset' not 'dataset'. It's a recoverable mistake—any human would just try again with the right key. But a general PRM sees the error and penalizes the whole step, teaching the agent that exploration is bad. Justy: So you're stuck. You can't supervise agents properly because the supervisors themselves are broken for this domain. Cody: Right. This paper introduces DataPRM, which is purpose-built for data analysis. The core mechanic is that it actually talks to the environment. It probes the execution state, checks the actual data, and validates whether the step did what it claimed. Justy: So it's not passive. It's active verification. Cody: Exactly. And it uses a ternary reward scheme—correct, incorrect, or exploratory neutral. That third category is critical. It lets the model learn that some steps are necessary tries, not failures. Justy: How do they actually build this thing? Cody: They create a training dataset of over 7,000 annotated trajectories using diversity-driven generation to hit different error types and recovery patterns. Then experts annotate each step with the right reward signal. Justy: And they train a 4B parameter model on that. Cody: Yeah. 4 billion parameters. And it outperforms 235B baselines on some tasks. That's 58× efficiency gain because it's specialized for the domain. Justy: Okay, so from a product angle—who's actually building with this? Is this research-only or do you ship this? Cody: I think it's shippable, but with caveats. If you're building a data analysis agent, you need process-level supervision. The question is whether you can build the training data and execute code against real data. Justy: The benchmarks show 7 to 11% gains on ScienceAgentBench and DABStep. Is that real improvement or noise? Cody: It's real, but I'd want to see generalization beyond the benchmarks. These are relatively clean datasets with defined tasks. Real data analysis in the wild is messier. Cody: Yeah. And the real value is that it's specific to data analysis. It's not trying to be a universal process reward model. That focus is what makes it work. Justy: All right, so Build Next in summary: check out DataMind on GitHub, start with a narrow task and ten examples if you're solo, or adapt their annotation pipeline if you're serious about shipping this.