Can Vibe Coding Beat Graduate CS Students? An LLM vs. Human Coding Tournament on Market-driven Strategic Planning
This paper presents a tournament-based benchmark evaluating Large Language Models against graduate students on a complex market-driven logistics problem, revealing that human-coded agents significantly outperform LLM-generated solutions, with most LLM agents failing to surpass simple baselines and even degrading optimal human strategies when prompted to improve them.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Question: Can "Vibe Coding" Beat a Grad Student?
Imagine you have a super-smart robot assistant (a Large Language Model, or LLM) that can write code just by you talking to it. You say, "Build me a delivery app," and it types out the code in seconds. This is called "Vibe Coding."
The big question this paper asks is: Is this robot actually smart enough to solve real, messy, high-stakes business problems, or is it just good at writing code that looks right but fails when things get complicated?
To find out, the researchers set up a giant coding tournament.
The Arena: The "Auction, Pickup, and Delivery" Game
Instead of asking the robots to solve simple math problems (like "what is 2+2?"), they put them in a complex simulation called the Auction, Pickup, and Delivery Problem (APDP).
Think of this like a high-stakes game of Logistics Chess:
- The Auction: Several companies (agents) are bidding on delivery jobs. The jobs are sold one by one. You have to guess how much to bid. If you bid too high, you lose money. If you bid too low, you might win the job but lose money on the delivery. You have to guess what your competitors will do.
- The Planning: Once you win a job, you have to figure out the best route for your trucks to pick up and drop off packages. You have limited truck space, and you can't break the rules.
- The Goal: The winner is the company that makes the most profit (Money earned from bids minus the cost of driving).
This isn't just about writing code that doesn't crash; it's about writing code that thinks strategically, predicts the future, and outsmarts opponents.
The Contestants
The researchers pitted two teams against each other:
- Team Human: 17 agents written by graduate students at a university (EPFL) before AI coding tools existed. These students spent weeks thinking, planning, and coding by hand.
- Team AI: 40 agents written by the world's most advanced AI models (like GPT-5, Claude, Gemini) using "Vibe Coding." The researchers gave the AI the exact same instructions the students got.
The Results: The Humans Win, Hands Down
The results were surprising and clear:
- The Top 5 are Humans: In every single tournament, the top 5 spots were taken by the human students. The AI agents couldn't crack the top 5.
- AI vs. The "No-Brainer" Baseline: The researchers created a very simple, dumb AI agent (basically a random guesser). 33 out of the 40 AI agents lost to this simple agent. The AI was so bad at strategy that a basic calculator beat it.
- The "Fix-It" Disaster: In a final test, the researchers took the winning human code and asked the best AI to "improve it." The AI tried to tweak the code, but instead of making it better, it made it worse. The improved version dropped from 1st place to 10th place.
Why Did the AI Fail?
The paper explains that while the AI is great at syntax (writing code without spelling errors), it struggles with reasoning (understanding the "why" and "how" of complex strategies).
- The "Admissible Heuristic" Failure: In a simpler test, the AI was asked to use a specific math trick (A* search) to find the best path. The AI kept forgetting the most basic rule of this trick, even when the researchers told it explicitly. It's like asking a chef to bake a cake but having them forget that eggs are a key ingredient, even after being told.
- The "Time-Out" Bug: The AI agents often got stuck in loops or took too long to think, causing them to lose the auction because they ran out of time. The human code didn't do this.
- Lack of Strategy: The AI agents often bid blindly or planned routes that wasted fuel. They couldn't "read the room" or predict what their competitors were doing.
The Bottom Line
The paper concludes that LLMs are not yet "Graduate-Level Coders."
They are excellent at writing code that runs (no syntax errors), but they are currently terrible at writing code that competes in complex, real-world scenarios requiring long-term planning and strategy.
The Analogy:
Imagine you have a robot that can write a perfect recipe for a cake. It knows exactly how many cups of flour to use. But if you ask it to run a bakery in a city where prices change every minute, competitors are trying to steal your customers, and you have a limited budget, the robot will likely go bankrupt. It can write the recipe, but it can't run the business.
The researchers say it's time to stop just checking if code "works" (passes a test) and start checking if code can actually win in the real world.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.