Karpathy's Claude Code Run: 45K Lines in 7 Hours ~ Ibrahim Kaya
×
Artificial Intelligence

Karpathy's Claude Code Run: 45K Lines in 7 Hours

İbrahim Kaya Published: Updated: 2 min read
Karpathy's Claude Code Run: 45K Lines in 7 Hours
Contents

Andrej Karpathy recently ran an unattended seven-hour session using Anthropic's Claude Code desktop interface paired with Opus 5.5. The autonomous agent produced roughly 45,000 lines of code to build an interactive US map with Civilization-style game mechanics fed by federal datasets.

Unifying 31 public data sources into a hexagonal grid

The agent pulled data from 31 federal organizations, including the U.S. Census Bureau, Bureau of Economic Analysis (BEA), Bureau of Labor Statistics (BLS), FEMA, and the U.S. Geological Survey. It mapped these inputs onto a 25-kilometer hexagonal grid and translated socioeconomic metrics into game units.

Regional GDP translated into Gold yield, and areas with dense technical workforces, such as San Jose, became Campus districts. The resulting single-page application covers 524 metro areas, more than 3,100 counties, and 19 analytical layers.

bash
# Initializing Claude Code environment with reasoning profile
claude --model opus-5.5 --reasoning-effort medium

Autonomous omissions and missing states

Letting the agent work without oversight introduced structural gaps. Karpathy noted that Claude quietly left several states and territories out of the dataset entirely:

"Claude decided to skip a few states and territories sry," Karpathy noted.

The post did not explain whether this stemmed from missing API fields, map projection errors, or an internal compromise by the model to finish the task. In production pipelines, unflagged data drops like this introduce severe sampling bias into regional metrics and reporting dashboards.

The verification gap in agentic software

The build highlights what many developers call the verification gap. Generating 45,000 lines of functional JavaScript and spatial aggregation routines took seven hours of machine time, but verifying the mathematical and geographical transforms requires weeks of human review.

Unit tests written by the same model rarely catch these issues because they test against the model's own assumptions. As development shifts toward autonomous agents, team throughput depends heavily on independent verification rather than code generation speed alone.