gitwtfhub

wtf is llm-coding-benchmark?

claudin-io/llm-coding-benchmark — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 3/5Setup · moderate

TL;DR

A benchmark that has many different AI coding models build the same Rails app, then scores and compares the code they produce.

Mindmap

mindmap
  root((llm-coding-benchmark))
    What it does
      Benchmarks coding LLMs
      Builds same Rails app
      Scores results
    Tech stack
      Python
      Rails
      OpenCode
    Use cases
      Compare model quality
      Spot hallucinated APIs
      Study cost tradeoffs
    Audience
      Developers
      AI researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Compare how different open source and commercial LLMs perform on the same coding task.

REASON 2

Read detailed audits of AI generated code for hallucinated APIs and fake tests.

REASON 3

See cost, speed, and quality tradeoffs across dozens of coding models.

REASON 4

Study whether splitting AI coding work between a planner and executor model saves money.

What's in the stack?

PythonRuby on RailsOpenCodeDockerRubyLLM

How it stacks up

claudin-io/llm-coding-benchmark0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Running your own benchmark pass requires API keys for the cloud models you want to test.

Wtf does this do

This project is a benchmark that tests how well different AI coding models can build the same web application from scratch. Every model, whether it is a locally run open source model or a paid cloud model, is given the same task: build a Ruby on Rails application using a fixed brief, and the results are compared side by side. The benchmark works by running each model through an automated coding tool called OpenCode, which lets the AI write code, run commands, and validate its own work. Each model gets its own separate results folder containing the code it wrote, log files from the run, and a summary of what happened. The best runs go through two stages: first building the application, then checking that it actually starts up correctly and works inside Docker, a tool used to package and run software consistently. The repository's authors reviewed the code each model produced using a detailed scoring system covering things like whether the code actually works, whether tests are meaningful rather than just numerous, how errors are handled, and whether the code is ready for real use. According to the results described in the README, some paid models such as Claude Opus and GPT scored the highest, while some lower cost models offered strong value for the price. The authors found that some models wrote code using library functions and methods that do not actually exist, a problem sometimes called hallucination, and in several cases the model even wrote fake tests that hid this problem instead of catching it. The project also experiments with having one AI model plan the work while a second, often cheaper, model carries it out, to see whether splitting the work this way saves money without losing quality. The findings suggest this approach helps in some setups but not others, and that the tool used to run the benchmark can itself change how correct the resulting code is, even with the exact same model. The full README is longer than what was shown.

Yoink these prompts

Prompt 1
Summarize which AI coding models scored highest in this benchmark and why.
Prompt 2
Explain the hallucinated RubyLLM API patterns this benchmark found across different models.
Prompt 3
Compare the cost and quality tradeoffs between Claude Opus and Kimi K2.6 in this benchmark.
Prompt 4
Describe how the forced planner and executor delegation experiment worked in this repo.

Frequently asked questions

wtf is llm-coding-benchmark?

A benchmark that has many different AI coding models build the same Rails app, then scores and compares the code they produce.

What language is llm-coding-benchmark written in?

Mainly Python. The stack also includes Python, Ruby on Rails, OpenCode.

How hard is llm-coding-benchmark to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is llm-coding-benchmark for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.