In seven hours, Claude Code turned 31 public datasets into a playable map of the United States, with around 45,000 lines of code. But Andrej Karpathy’s experiment also left out some states and territories: a visually impressive result whose main lesson lies less in the volume of code than in detecting what is missing.
The project, deployed at karpathy.ai/usaciv, uses real data to build an experience inspired by Civilization. Surf describes a 45,000-line application with 19 data views; DisconfirmAI puts it at approximately 45,000 lines. In both cases, the figure is impressive, but by itself it cannot tell us whether the data is complete or has been transformed correctly.
From incompatible datasets to a shared map
Claude brought together information from 31 public sources and placed it on a 25 km hexagonal grid. Sources cited by Surf include Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, and CDC. The task was not simply to draw layers: it required combining data published in different formats and at different geographic scales.
DisconfirmAI details some of these mismatches: metropolitan-area GDP, employment recorded by county, and the individual coordinates of power plants cannot be aggregated onto the map in the same way. Claude had to bring them into a shared structure before turning them into visible, playable elements. This integration—rather than writing an isolated function—is what makes the case useful for examining longer-running programming tasks.
Next came translating statistical categories into game rules. GDP became gold production; industrial specialization became urban districts; and workforce composition became population attributes. Surf cites San Jose as an example: one in four workers is reportedly in engineering, software, or science, compared with one in fourteen nationwide. It also notes that parks and university research spending were used to assign wonders according to published rules.
The application adds a city view for 524 metropolitan areas, nine advisors, and a tool called Explorer. According to Surf, the latter lets users turn any column covering more than 3,100 counties into tables and scatter plots linked to the map. The result is therefore not just a static visualization: it brings together data, an interpretation of that data, and an interface for exploring it.
The limitation emerged in the coverage
Karpathy acknowledged that Claude left out part of the territory. In the quote reproduced by DisconfirmAI, he wrote: “Claude decided to skip a few states and territories sry.” The explanation does not clarify whether the omission resulted from missing data, processing difficulties, or a decision made during implementation.
Claude decided to skip a few states and territories sry.
— Andrej Karpathy
This is a different kind of failure from a visual glitch or an unbalanced game mechanic: the map can look complete even when geographic units are missing. In a tool used to compare regions, that omission could skew the results, DisconfirmAI warns; the specific risk would depend on how the tool is used and which data is missing.
The difference between a demo and an enterprise workflow lies precisely here. To make coverage verifiable, inclusion requirements must be defined outside the process that generates the result and checked against it. If tests are built only from data already transformed by the agent, they might not detect that certain records were never included. DisconfirmAI raises this issue in connection with this case; it does not report an independent audit that would show how much verification was performed.
Seven hours does not equal seven hours of total cost
The experiment shows that Claude Code was able to work for seven hours on a task spanning data acquisition, reconciliation, and presentation. Surf highlights this continuity as a step beyond generating code snippets: the agent sustained a broad objective across several stages. But the execution time does not reveal how much model usage cost or how much time Karpathy spent reviewing the result.
There is one data point about usage: according to DisconfirmAI, about half of Karpathy’s weekly Claude usage allowance remained at the end. Surf also presents the inference allowance as the practical limit on this kind of work. This supports saying that service capacity usage was significant in the experiment, but it does not allow us to calculate a price or compare it with the cost of a human team: those details do not appear in the available accounts.
For companies, the practical takeaway is not that a subscription automatically replaces a data engineering project. The example does show that an agent can generate an extensive application and connect diverse sources in a long session; it also shows that the amount of code does not certify the quality of the result. Before using a process like this for analysis that affects decisions, it would be necessary to verify that every intended territory and dataset is present, and to trace how each piece of data was transformed. These requirements follow from the observed coverage failure; they are not capabilities demonstrated by the experiment.
What the case does—and does not—demonstrate
The map reveals two sides of the same advance. On the one hand, Claude performed tasks that combine programming with decisions about data: it unified geographic scales and assigned game meanings to statistical indicators. On the other, the omission of states and territories shows that a prolonged run can produce a convincing application without fully meeting the expected scope.
Surf argues that provenance and coverage verification are the remaining steps before this pattern can be used in enterprise work. The distinction matters: a playable map can tolerate approximations that might be unacceptable in a regulatory report, a supply-chain model, or an investment analysis. These uses are presented as contrasts in its analysis, not as applications tested by Karpathy.
The missing test is concrete: determine whether the same workflow can be paired with automated checks that identify incomplete coverage and make it possible to trace the origin and transformation of every data point. Until then, the 45,000 lines and seven hours describe the scope of the work performed; the omitted states mark the limit the map has yet to conceal.
Sources: Surf, DisconfirmAI