ConDABench: Interactive Evaluation of Language Models for Data Analysis

Avik Dutta, Priyanshu Gupta, Hosein Hasanbeig, Rahul Pratap Singh, Harshit Nigam, Sumit Gulwani, Arjun Radhakrishna, Gustavo Soares, Ashish Tiwari

TL;DR

ConDABench introduces a novel multi-agent framework to evaluate Large Language Models (LLMs) on realistic, interactive data analysis tasks. By reverse-engineering analysis code from real-world data journalism and scientific articles, it creates an automated "User Proxy" capable of simulating dynamic, human-in-the-loop conversations. Evaluation reveals that while advanced reasoning models solve tasks with fewer turns, sustaining natural, long-form collaborative dialogue remains a significant challenge for state-of-the-art assistants.

What Problem Does This Paper Address?

Data analysis in the wild is rarely a single-turn "prompt-and-response" task. Real-world datasets are messy, and user queries are frequently vague or under-specified (e.g., asking to analyze "low-budget horror movies" without defining what dollar amount qualifies as "low-budget"). Human analysts naturally resolve these ambiguities through back-and-forth clarification and iterative query refinement.

However, existing LLM benchmarks treat data analysis as a static question-answering problem or rely on pre-scripted, static follow-up questions. They fail to evaluate how well an LLM agent interacts dynamically when the user's responses depend entirely on the LLM's intermediate outputs. Simulating this human-in-the-loop interaction automatically—without relying on expensive human judges—has been a major bottleneck in evaluating conversational AI.

Methods

The authors present ConDABench, a framework consisting of a multi-agent benchmark generation workflow and an interactive evaluation harness.

  • Benchmark Generation Workflow: To build realistic problems, a multi-agent pipeline processes real-world data analysis articles. First, a Curator Agent extracts a natural language query and its corresponding answer from an article. Next, Code Generator and Reviewer Agents work together to reverse-engineer the Python code required to transform the raw dataset into the article's stated answer. This code serves as the "ground truth reasoning" that anchors the problem.
  • Interactive Evaluation Harness: To automate testing without a human in the loop, ConDABench introduces a User Proxy Agent. This proxy has access to the dataset and the reverse-engineered code (but not the final answer, to prevent leakage). When the LLM-under-test asks a clarification question, the User Proxy consults the code logic to provide a realistic, consistent answer (e.g., specifying the exact budget threshold used in the original analysis).
  • Evaluation Metrics: Models are evaluated on two axes: Correctness (does the final answer match the ground truth?) and Conversation Quality (using Satisfiable [SAT] and Dissatisfiable [DSAT] rubrics to penalize redundancy, verbosity, or failure to follow instructions).
Figure 1: ConDABench Generation. From an article and data d, Curation pipeline extracts a query-answer pair (q, a) for which the code generation pipeline produces code c to support answer a. Details on agents’ implementation and prompt outlines can be found on https://github.com/condabench/condabench_details.

Datasets

The paper introduces the ConDABench dataset, which contains 1,420 conversational data analysis problems mapped to 1,855 data files.

The problems are sourced from three distinct real-world repositories:

  1. TidyTuesday: Informal, community-driven data visualization projects.
  2. Kaggle notebooks: Practical data science and machine learning workflows.
  3. ScienceDirect: Peer-reviewed scientific literature.

Unlike older benchmarks (such as WikiTableQuestions) that feature clean, static tables, ConDABench includes unclean datasets, multi-dataset queries, open-ended questions, and projection/forecasting tasks.

Key Insights and Ideas

  • The "Up and Left" Pareto Frontier: Newer reasoning models (like OpenAI's o3 and o4-mini) demonstrate a clear trend of moving "up and left" on performance charts—meaning they achieve higher accuracy in fewer conversational turns. Longer conversations do not correlate with better results; non-reasoning models often get lost or forget nuances in extended dialogues.
  • The Reasoning Effort Trade-off: Turning up the "reasoning effort" on frontier models improves accuracy but often degrades conversational quality. High-effort models tend to generate verbose, over-complicated code and explanations, hindering natural, concise interaction.
  • Framework Bias: The choice of deployment framework heavily impacts behavior. OpenAI's Assistants API yields higher correctness because it iteratively generates and executes code during inference (acting like test-time compute), but it produces verbose, repetitive, and less natural conversations compared to standard Tool Calling setups.

Key Results

  • Top Performer: OpenAI's o3 using the Tool Calling framework achieved the highest overall correctness score of 81.06%, outperforming the next best configuration by 8.6%.
  • The "Deep" Challenge: The authors categorized tasks into "shallow" (converging in <3 iterations during generation) and "deep" (requiring $\ge 3$ iterations). While models excelled at shallow tasks, performance dropped sharply on deep tasks, with o3 topping out at 54.37% on the deep subset.
  • Human Alignment: The automated evaluation metrics showed strong alignment with human experts, achieving a Pearson correlation of 0.748 for correctness and an F1-score of 0.75 for conversation quality.

Limitations and Future Work

  • Static User Intent: The User Proxy assumes a fixed analytical goal derived from the source article. In real-world scenarios, users frequently change their minds, shift goals mid-conversation, or ask completely open-ended exploratory questions ("What interesting patterns do you see here?"), which the current framework does not simulate.
  • Source Material Errors: If the original source article contains factual errors or bad data practices, the code generation pipeline might overfit to reproduce that incorrect answer, inadvertently baking flaws into the benchmark.

Summary updated

BibTeX
@inproceedings{dutta2026condabench,
  author = {Avik Dutta and Priyanshu Gupta and Hosein Hasanbeig and Rahul Pratap Singh and Harshit Nigam and Sumit Gulwani and Arjun Radhakrishna and Gustavo Soares and Ashish Tiwari},
  title = {{ConDABench: Interactive Evaluation of Language Models for Data Analysis}},
  booktitle = {SIGMOD Companion},
  year = {2026},
  doi = {10.1145/3788853.3803099},
}
Figure