Mazda CX90
Хочете будувати кар’єру в Data Science та AI? Vodafone Big Data Lab відкриває новий набір —>

Andrey Karpaty ran Claude Code for seven hours: the agent wrote 45,000 lines of code, creating a Civilization-style map of the USA, but forgot a few states

OpenAI co-founder and Anthropic researcher Andrey Karpaty conducted an autonomous development experiment, tasking the AI ​​agent Claude Code with creating an interactive Civilization-style web map of the United States based on real-world statistics. In seven hours of work, the model wrote about 45,000 lines of code and merged 31 public datasets onto a single hexagonal grid.

Leave a comment
Add to Google
Andrey Karpaty ran Claude Code for seven hours: the agent wrote 45,000 lines of code, creating a Civilization-style map of the USA, but forgot a few states

OpenAI co-founder and Anthropic researcher Andrey Karpaty conducted an autonomous development experiment, tasking the AI ​​agent Claude Code with creating an interactive Civilization-style web map of the United States based on real-world statistics. In seven hours of work, the model wrote about 45,000 lines of code and merged 31 public datasets onto a single hexagonal grid.

Karpaty, who joined Anthropic in May to research model pretraining, used the Claude Code desktop interface with the Opus 5.5 model (medium reasoning level and ultracode mode).

"I don't quite understand what I was going for with this project, but it's really fun to flip through and play with. Maybe it could be expanded or turned into a full-fledged game," Karpaty wrote on the social network X.

How Claude combined 31 databases into game mechanics

The AI ​​agent independently collected information from US federal agencies — the Census Bureau, the Bureau of Economic Analysis, the Bureau of Labor Statistics, the Energy Information Administration, the Geological Survey, and the Federal Emergency Management Agency (FEMA). The model superimposed everything — from GDP and employment levels to the coordinates of power plants and natural disasters — on a grid of hexagons 25 kilometers in size.

The challenge was to adapt the disparate data and translate it into the language of game mechanics:

  • GDP turned into gold mining, San Jose got a science district (Campus) because a quarter of its employees are engineers, programmers or scientists, and Detroit got the status of "Motor City";

  • National park attendance and university research spending determined which features on the map became gaming wonders;

  • Users can view the map through 19 visualization modes, explore 524 agglomerations, and build tables and scatter plots for over 3,100 counties directly in the web application.

The problem of missing data and AI code verification

Despite the impressive result, the experiment revealed the risks of autonomous operation of agents. In his post, Karpaty admitted that the AI ​​​​on its own reduced the geographical scope of the project:

“Claude decided to skip a few states and territories, sorry,” the researcher noted.

He did not specify whether this was due to gaps in the source databases, difficulties with spatial processing, or the model's own solution during implementation. Experts note that in corporate systems, such omissions could distort analytics, and tests written by the agent itself on already transformed data would not detect errors without independent requirements for completeness of coverage.

Karpaty opened the project’s source code through the application’s help menu and assumed that someone else would have to take over further development, as after a seven-hour session he had only half of his weekly Claude usage limit left. At the same time, this case again raised the issue of the cost of code verification: if it took seven hours to generate a working application, then independently verifying 45,000 lines of code and the correctness of mathematical aggregations can take engineers much longer.

The webmap is available at the link .

Not for hackers: during the hack of the US Treasury Department, its IT director was vibcoding a Civilization clone
Not for hackers: during the hack of the US Treasury Department, its IT director was vibcoding a Civilization clone
On the topic
Not for hackers: during the hack of the US Treasury Department, its IT director was vibcoding a Civilization clone
Ukrainian indie developer creates turn-based strategy Agelong in the spirit of Civilization with free city building
Ukrainian indie developer creates turn-based strategy Agelong in the spirit of Civilization with free city building
On the topic
Ukrainian indie developer creates turn-based strategy Agelong in the spirit of Civilization with free city building
Read the country's main IT news in our Telegram
Read the country's main IT news in our Telegram
On the topic
Read the country's main IT news in our Telegram
Also Read
Roosh запускає нову освітню платформу AI HOUSE CLUB для ML/AI-спеціалістів та дата сайнтистів. Розповідаємо, як подати заявку та чому навчатимуть
Roosh запускає нову освітню платформу AI HOUSE CLUB для ML/AI-спеціалістів та дата сайнтистів. Розповідаємо, як подати заявку та чому навчатимуть
Roosh запускає нову освітню платформу AI HOUSE CLUB для ML/AI-спеціалістів та дата сайнтистів. Розповідаємо, як подати заявку та чому навчатимуть
Як нейромережі бачать вільну та незалежну Україну? Тест dev.ua
Як нейромережі бачать вільну та незалежну Україну? Тест dev.ua
Як нейромережі бачать вільну та незалежну Україну? Тест dev.ua
Нейронні мережі для генерації зображень бачать світ по-своєму, їхню логіку зрозуміти часом зовсім неможливо. Але таки хочеться. На честь Дня Незалежності України редакція dev.ua вирішила провести невеликий експеримент. Ми задали чотирьом різним нейронним мережам п’ять однакових запитів: «прапор України», «День Незалежності України», «український Крим», «перемога України» та «українці». Отриманими результатами ми ділимося з вами нижче.
У TikTok тепер можна генерувати фон за допомогою нейромережі. Ми протестували її та ділимося результатами
У TikTok тепер можна генерувати фон за допомогою нейромережі. Ми протестували її та ділимося результатами
У TikTok тепер можна генерувати фон за допомогою нейромережі. Ми протестували її та ділимося результатами
У TikTok з’явилася нова функція «Розумний фон». З її допомогою як фон для тіктоків можна підставляти згенеровані нейромережею зображення. Редакція dev.ua протестувала цю технологію і ділиться своїми враженнями.
1 comment
Які IT-спеціальності будуть потрібні в найближчі п'ять років? Ми з'ясували у голови американського стартапу ADAM Дениса Гурака
Які IT-спеціальності будуть потрібні в найближчі п'ять років? Ми з'ясували у голови американського стартапу ADAM Дениса Гурака
Які IT-спеціальності будуть потрібні в найближчі п'ять років? Ми з'ясували у голови американського стартапу ADAM Дениса Гурака
More from this author
The US has banned telecommunications operator RETN from accessing its networks due to security risks - the company called the decision groundless
The US has banned telecommunications operator RETN from accessing its networks due to security risks - the company called the decision groundless
The US has banned telecommunications operator RETN from accessing its networks due to security risks - the company called the decision groundless
Ukrainian developer creates baby care app
Ukrainian developer creates baby care app "Dennychok". How a pet project for his wife turned into an assistant for all parents
Ukrainian developer creates baby care app "Dennychok". How a pet project for his wife turned into an assistant for all parents
Hackers attacked Ukrainian civil servants with a spy Trojan disguised as military documents
Hackers attacked Ukrainian civil servants with a spy Trojan disguised as military documents
Hackers attacked Ukrainian civil servants with a spy Trojan disguised as military documents
Ukrainian developer creates Astrolabe Studio — an application for managing Claude Code sessions and visually reviewing interfaces
Ukrainian developer creates Astrolabe Studio — an application for managing Claude Code sessions and visually reviewing interfaces
Ukrainian developer creates Astrolabe Studio — an application for managing Claude Code sessions and visually reviewing interfaces

Have important news to share? Message our Telegram bot

Key events and useful links in our Telegram channel

Discussion
No comments yet.