翻篇收录说明
翻篇网页快照

SlopCodeBench: Measuring Code Erosion as Agents Iterate

https://snorkel.ai/blog/slopcodebench-measuring-code-erosion-as-agents-iterate/

最近抓取:2026-12-04 07:23:42(北京时间)

最近内容变化:2026-12-01 07:58:16(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

SlopCodeBench reveals how AI coding agents degrade code quality over time—measuring “slop,” technical debt, and architectural erosion across iterations.

正文摘录

Back to blog Now liveSlopCodeBench leaderboard(opens in a new tab)Data development, ResearchSlopCodeBench: Measuring Code Erosion as Agents IterateJanuary 20, 2026•38 min read•Kobie Crawford(opens in a new tab)AI coding assistants have become remarkably capable at solving isolated programming tasks. They can implement features, fix bugs, and even navigate complex codebases. But there’s a growing frustration among developers: these models can write code, but they can’t maintain a codebase. They make mistakes, they add unnecessary complexity, they write redundant tests – in other words, they generate slop. And, since a non-trivial codebase isn’t written one-and-done, the slop accumulates with each iteration until the code becomes unmanageable.SlopCodeBench (scbench.ai) is designed to fix this. We spoke with Gabriel Orlanski, the project lead for SCBench and a PhD student at the University of Wisconsin-Madison, to discuss SCBench and the future of agentic coding.The problem: single-shot evaluation misses the real storyCurrent benchmarks like SWE-bench evaluate coding agents on whether they can solve a problem—full stop. Did the agent fix the bug? Did it implement the feature? Check. Move on.But as Gabe points out, “that’s not really how you code, it’s not how you develop software.” Real development is iterative. We add features, refactor, debug, and maintain code over time. The impact of your architectural decisions compounds with each change.“If the codebase is garbage, you’re better off rewriting the entire thing from scratch,” Gabe explains. “If you have to go through 10 if statements branched into all one function with seven levels of nesting—it’s more work to try and figure out what’s going on than it is to rewrite the entire thing.”This is the gap that SlopCodeBench addresses. It doesn’t just measure whether an agent can solve a problem. It measures what happens to code quality as an agent makes multiple changes over time.How SlopCodeBench worksRather than evaluating agents on single, isolated tasks, SlopCodeBench presents multi-checkpoint problems that simulate real feature development:Checkpoint 1: Implement the core functionalityCheckpoint 2: Add a new feature that builds on the firstCheckpoint 3: Add another featureAnd so on…Each checkpoint represents a realistic feature addition that a developer might face. These checkpoints validate how strong coding models are—and how much they tend to produce slop or erode code quality as we go.“The point of this benchmark is for models to make decisions regarding design and architecture that will have impacts later on,” Gabe says. “That’s our core thesis here.”Why AI coding needs SlopCodeBenchAs far as AI coding has come, it’s still a good idea to expect more. Advanced models display consistent patterns of problematic behavior:Selective amnesiaModels frequently ignore code they’ve already written. In one problem involving manufacturing logic from a video game, agents define a function at checkpoint one, then are explicitly told to use that calculation at checkpoint five. Instead of reusing their own code, models often try to reimplement the logic from scratch—and get it wrong.“The number of times I’ve seen Opus just try and rewrite that logic and get it wrong has been more than enough,” Gabe notes. Ironically, this happens most frequently when models are in “high thinking” mode—they literally overthink the problem.Library aversionModels are “allergic to libraries,” preferring to hand-roll implementations rather than use well-tested code. “Why aren’t you using pandas?” Gabe asks rhetorically when the model decides to burn AI compute budget rewriting CSV parsing from scratch.Deletion phobiaPerhaps most frustratingly, models refuse to delete unnecessary code. “These models refuse to ever delete code unless there’s no other choice,” Gabe observes. “That is huge bloat, huge slop. It’s just eroding your codebase.”The complexity spiralAs agents patch and re-patch code without refactoring, complexity compounds. Functions balloon with nested conditionals. Logic that should be abstracted gets duplicated. The codebase becomes progressively harder to reason about.“The erosion compounds at every single step,” Gabe explains. “It’s just taking the least resistance approach and patching solution after solution after solution.”Why this matters for production AI systemsFor organizations deploying AI coding assistants, these patterns have real consequences. Code that passes tests but accumulates technical debt creates long-term maintenance burdens. When human developers need to intervene—to debug, extend, or refactor—they’re stuck with a codebase that’s harder to work with than necessary.“If these models are entirely autonomous, or even if there is a human in the loop, what’s gonna happen when a human has to intervene?” Gabe asks. “If the codebase is garbage, you’re better off rewriting the entire thing from scratch.”This is particularly relevant for teams thinking about technical debt remediation. While coding agents promise to help clean up legacy codebases, current models show a troubling tendency to add to the problem rather than solve it.At the end of the day, the goal isn’t just autonomous coding. It’s autonomous coding that produces maintainable, high-quality software. SlopCodeBench helps us measure the gap between where we are and where we need to be.A benchmark built for communityFollowing the successful model of Terminal-Bench, SlopCodeBench is designed for community contribution. The team is looking for developers who are opinionated about code quality to write additional problems.“The best people that we’ve found for writing problems are those who, even if I disagree with the majority of their opinions, are really opinionated about coding and how coding should be done,” Gabe says.Interested contributors can:Visit scbench.ai to review the design philosophy and contributing guidelinesCheck out existing problems for inspirationJoin the Discord communitySubmit new problems to the repo via PRSlopCodeBench evaluates model behavior in a way that single-shot benchmarks miss. And in doing so, it provides a path toward building coding agents that don’t just solve problems, but solve them in ways that humans can actually work with. Snorkel is proud to support SlopCodeBench and other open benchmarks. To find out more about Snorkel’s data development platform and our work with frontier AI labs, visit us at snorkel.ai and connect with our team.Full interview on YouTubeTimestamps[00:00:00] Introduction and Gabe’s journey into ML for code[00:02:52] The frustration with “slop” and what’s missing in current benchmarks[00:07:57] Design philosophy: Why hand-written problems matter[00:10:22] SlopCodeBench and technical debt[00:15:13] Benchmaxing: How to spot when models are over-optimized[00:16:30] Where advanced models struggle most[00:19:00] Recommendations for model builders and agent designers[00:21:49] Gabe’s approach to AI coding tools (skills and subagents)[00:23:54] Building the SlopCodeBench community[00:25:45] Fred’s perspective on evaluation research[00:26:56] Contributing to the benchmarkTranscriptSpeakers: Fred Sala, Chief Scientist, Snorkel / Faculty, University of Wisconsin-MadisonKobie Crawford, Developer Advocate, SnorkelGabriel Orlanski, Project Lead, SlopCodeBench / PhD student, University of Wisconsin-Madison[00:00:00] Kobie Crawford: Gabe, thanks for joining us today. Really excited to get a chance to talk to you about SlopCodeBench. I wanted to dive right into the questions and just throw out really quickly. So tell us a bit about how you got into this particular part of this little particular subset of ML and what you’re excited about in the, in the coding agent space going forward.[00:00:16] Gabriel Orlanski: Yeah, thanks for having me. I am, I guess going back to the beginning, I, during my undergrad at RPI in upstate New York, I, you know, last year I got really into just ML for code specifically. You know, I had been into ML for a bit, but just the idea of coding seemed so perfect for machine learning. It was essentially like building blocks on building blocks on building blocks that seemed very learnable, that you could compose really well. And, you know, this was back in, back in the day, but back during when it was still CoNaLa, it was still very much semantic translation with surface metrics. And then code, the OG Codex came out alongside the original program synthesis with large language models from Google. And, you know, that really kind of kickstarted my interest in this area essentially the idea of, well, you have execution, things should be possible, right? I worked a lot on multilingual coding, on building benchmarks for multilingual coding. And then what it was 2024, 2023 is when like SWE-bench came out, and I think it was kind of the most obvious next steps for where the field was going. It was, you know, essentially it was a question of who’s gonna do this versus if it’s possible. To build a benchmark like that, to really make these agentic systems what they are today is wasn’t really a question of will it happen? It’s a question of when. Because code has all these amazing properties. It has all these amazing verification properties. It really just made so much sense that this was the direction everyone would start heading. And I think that’s kind of what got me into this area. Well it was in 2024, I was interning at Replit and you know, they were really at the forefront of, they still are at the forefront of end-to-end agents. They’re really just doing amazing work there.[00:01:54] Kobie Crawford: Yeah.[00:01:55] Gabriel Orlanski: And I remember what it was there, there was some company at the time reported 70% on SWE-bench light. And it was just, it was kind of exciting to see one, everyone trying to figure out how they did it and then also realizing, oh, this, you know, the likelihood that that was correct is near zero. But it was really, it was sti