Manuscript Offprint

arXiv:2611.05548

Iterated creation, grading, and revision of data science projects by language models

Rohan Alexander

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Rohan Alexander

November 3, 2026

We evaluate the extent to which agentic AI models can complete an end-to-end data science project, and how this improves with feedback. A ‘writer’ model with specific tools creates a complete data science project including downloading, cleaning, and analyzing a dataset, and writing a short paper about it. The project is executed and a ‘grader’ model evaluates it. The writer can then revise its submission, and this repeats for a total of three rounds. We consider seven models from five developers: Anthropic, OpenAI, Google, DeepSeek, and Z.AI. Each model is both a writer and a grader, so there are 49 writer-grader pairs and we run each pair three times. Of the 147 initial submissions, 107 run and render, and the average score increases from 59 per cent to 76 per cent after the final round of feedback. By writer the extent of the increase ranges from 3 percentage points for Anthropic’s Opus 5.5 to 46 percentage points for Anthropic’s Haiku 4.5, and by grader it ranges from 13 percentage points for Google’s Gemini 3.8 Flash to 32 percentage points for Anthropic’s Haiku 4.5. When a model grades its own writing the score tends to be about 9 percentage points higher than the average of what the other models give it. About half of the difference that we see from round to round is within the grader’s own noise. Feedback generally results in the highest marks, but even just having the chance to revise, or having the additional budget, in terms of time or tool calls, without any feedback, results in considerable increases for some of the models but not for others. We find that how much such a loop helps depends on which model plays which role, but weaker models generally do not improve stronger models.

*Keywords: automated evaluation; feedback loops; LLM-as-a-judge; reproducibility; data science; agentic AI. Funding information: I thank Natural Sciences and Engineering Research Council of Canada (NSERC) Alliance Grant (ALLRP 599949 - 24) and Social Sciences and Humanities Research Council (SSHRC) Partnership Grant (895-2025-1002) for financial support. I receive free or heavily subsidized access to frontier models via Claude Code, Codex, and Antigravity through the academic researcher programs of Anthropic, OpenAI and Google, respectively. AI usage: I used Claude Code with Fable 5.1 to help with the coding, including API interactions, developing the harness, and data pipeline construction, and I used GPT-6 Astra and Gemini Argon as red-team reviewers of the entire project. I reviewed and evaluated all code and results, and take responsibility for all aspects. Replication materials: https://zenodo.org/records/23927861. Thanks: I thank Monica Howlett for helpful comments. Corresponding author: Rohan Alexander: rohan.alexander@utoronto.ca.

1 Introduction

In many contexts, for many humans, there is great value from feedback, whether it is from someone better or worse than you. In this paper we explore if that is also the case for LLMs. 1^{1} Specifically we examine three things. The first is the quality with which a language model, given specific agentic capacities, can put together a data science project. The second is what two rounds of feedback from a ‘grader’ model do to the quality of that project. The third is how much of this change depends on which model plays each role.

The data science task that we examine involves writing code to obtain, clean, test, and analyze data, and writing a paper to communicate the results. We set up a loop between a ‘writer’ and a ‘grader’ in which a project is written, graded, revised, graded, revised and graded. First a ‘writer’ language model creates a complete data science project. When it does this it works in an agentic way and has access to a shell, a file writer, a file reader, and a file lister in a container and a budget of 40 minutes and 60 tool calls. It runs its scripts and renders its paper after it writes, and it submits either when it chooses to or when it runs out of time or tool calls. After this, the submission is independently executed in a clean directory, which produces a report of what ran, what failed, and why. A ‘grader’ model then evaluates the submission against a rubric with 26 items. When it does this it has access to the execution report, the files that the writer produced, and the rubric. In the next round, the writer receives the report and the grader’s score and comment on every rubric item, and can revise its submission. This happens twice, so each run has three graded submissions. In our main experiment the writer begins the second and third round in a new session with a smaller budget of 40 tool calls and 30 minutes, with its own earlier files, the execution report, and the grader’s comment and score for each rubric item, and with nothing else of the earlier session carried over. We additionally consider two variations. The first is to keep the three writer rounds but to not have any feedback and the second is to just have one big unbroken round.

We consider seven models, which are Anthropic's Claude Opus 5.5 and Claude Haiku 4.5, OpenAI's GPT-6 Sol and GPT-6 Luna, DeepSeek's V4.1 Flash, Google's Gemini 3.8 Flash, and Z.AI's GLM-5.3 Flash. We evaluate every combination including having a model evaluate its own work. This gives a total of 49 writer-grader pairs, seven of which involve a model grading its own writing. Following Cui and Alexander (2026) who advise repeating configurations independently, we conduct three runs per pair, for a total of 147 runs. Our choice of models is designed to sample over the Pareto frontier of capability and cost (Kapoor et al. 2025), along with a few additions to test specific questions. In particular, we consider two models from

1^{1}A large language model (LLM) is a neural network trained on a large corpus to predict the next token given the tokens before it. LLMs generate output by repeatedly sampling one token at a time and appending this to the existing output (Alammar and Grootendorst 2024). These capacities can be enhanced through tool-use, which means enabling the LLM to, say, have commands run in a shell. Grootendorst and Alammar (2026) borrow from Russell and Norvig (2020) to say that “[a]n agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators”. For instance, given a goal and a set of tools, an agentic model may write a tool call. A harness, also called a scaffold (Wijk et al. 2024), refers to all the software and set-up surrounding the model, for instance, to enable the tool call. So in agentic AI, the harness runs the call and appends the result to the context, and the model may then write another call from that longer context, and so on, until it eventually writes the call that ends the task (Yao et al. 2023; Grootendorst and Alammar 2026).

each of Anthropic and OpenAI, one that is more capable and one that is less capable, to examine the effect of capability within a developer. From Google we consider an ostensibly less capable model, but one that does well on benchmarks for its cost. And we consider open-weight models from DeepSeek and Z.AI. Every model, apart from DeepSeek, is served through its own developer, via OpenRouter, at default settings.

Of the 147 initial submissions, we find that 107 run end to end and render, and after the final revision this increases to 116. The average score increases from 59 per cent to 76 per cent after the final revision. About a third of that increase is because fewer submissions receive zero, but those tend to be concentrated in a few models and if we remove those submissions, then the increase is from 70 per cent to 80 per cent. The increase depends on both the writer and the grader. For each of the writers it ranges from 3 percentage points with Opus 5.5 as the writer to 46 percentage points with Haiku 4.5 as the writer, although a considerable part of that is how much room for improvement there was initially. Over each of the graders other than Haiku 4.5, which gives many submissions 0, it ranges from 13 percentage points with Gemini 3.8 Flash as the grader to 22 percentage points with GPT-6 Luna as the grader. Most of the increase comes from the first revision, with an average increase of 13 percentage points compared with an additional 5 percentage points after the second revision. A model grading its own final submission scores it about 9 percentage points higher compared with the other graders grading that same submission. Revising without any feedback, but with the same additional budget of time and tool calls in the second and third rounds, gets writers other than Haiku 4.5 some of the way there. Specifically, on average, to 74 per cent compared with 78 per cent with feedback, when marked by the other graders. And just having that additional budget of time and tool calls initially, but without any rounds of revision, gets four of the seven writers to within three points of their final submission with feedback. That all said, revising after feedback usually results in the highest scores.

A few other findings are worth highlighting. Firstly, when we examine the consistency of the marking we find that the same grader scoring the same final submission three times gives scores that differ by almost 4 percentage points on average. Secondly, the writer does tend to act on the feedback. Of the 3,564 rubric items that were below the maximum for that rubric item, the file that the rubric item relates to changed in 76 per cent of cases. Finally, despite doing well overall on this task, the models name themselves as a model from a different developer in 44 per cent of final submissions, highlighting the brittleness of the accomplishment. Nearly all of this is because of models from Google, DeepSeek, and Z.AI saying they were from Anthropic.

The extent to which AI models can do data science has been explored in various settings. Many earlier benchmarks of data science agents gave the model a dataset and a task with a specific outcome, such as a numerical answer, a set of analysis decisions, or a Kaggle leaderboard score (Z. Chen et al. 2025; Chan et al. 2025; Jing et al. 2025), but real-world data science tends to be less clear-cut. Previous work has found that LLMs can produce every part of such a project, including grading it (Hughes and Alexander 2026), but their writer did not have substantial tool-use and their grader did not execute the scripts. More recent work tends to focus on agentic approaches. For instance, Rahman et al. (2026) benchmark agents on 275 data science workflow tasks, finding that the best agent completes 57 per cent of them, but the tasks have specified goals and no feedback mechanism. Even agents that run their analyses end-to-end still lack reliable statistical reasoning (Miao et al. 2026). And frontier models were found to fabricate data, when presented with situations where they should actually acknowledge failure (Yang et al. 2026). In terms of open-ended research, Edwards et al. (2026) find that some models can sometimes implement extensions to published research papers, while Kim et al. (2026) find less promising agentic qualities in terms of writing follow-up papers on open problems, including finding that models claim to have done work that they did not.

We use LLM-as-a-judge, which has been found to have lower agreement with experts on tasks that need domain knowledge (Szymanski et al. 2025), and to give scores that change with the order of the rubric's score descriptions and with the score attached to a reference answer (Li et al. 2026). The issue of self-bias in particular is well documented (Panickssery et al. 2024; W.-L. Chen et al. 2025; Roytburg et al. 2026). That said, AI models have been found to give useful feedback. For instance, a randomized study at ICLR 2025 found that when reviewers were given AI feedback on their reviews, they updated their reviews about a quarter of the time, and that revised reviews tended to be preferred (Thakkar et al. 2025), and Bianchi et al. (2026) ran a conference whose papers were primarily written and reviewed by AI. In the social sciences King and Worthington (2026) find that AI-generated reviews of articles tended to be better than reviews written by paid human reviewers.

Beyond data science, the type of loop that we examine in this paper is one way in which AI is expected to make automated contributions to science (Swanson et al. 2025; Lange et al. 2026; Liu et al. 2026). That is, an AI model produces some output, which is judged by an AI model, and then the original model revises its output. Expectations for the improvements due to such loops turn on whether the AI judgment has a significant effect. Our set-up allows us to explore aspects of that larger question. For instance whether a weaker model can usefully advise a stronger one, the extent of stochasticity in outcomes, and whether it is the feedback or the opportunity to keep going that matters. Our approach could be widely adapted in any area where knowledge work occurs and can be evaluated.

References (28)