AI Writes Code Fast — New Tool Helps Humans Check It Faster
Because AI now writes code faster than people can carefully review it.
Every time a programmer changes software, someone else usually has to read those changes and approve them before they go live. Today that reading is done file by file, like being handed chapters of a book in random order. The team behind a new research paper argues there's a better way: group the changes by what actually talks to what.
Their idea is built on a "call graph" — a simple map of which piece of code asks which other piece to run. Think of it as a subway map instead of a street-by-street list. The researchers examined real code changes on GitHub (the main site where open-source software lives) and found that in about 40% of them, more than half of the edited pieces were connected this way. Crucially, those connected pieces often sit in completely different files — which is exactly when the file-by-file view gets confusing and reviewers lose the thread.
So they built a web page that reorganizes a proposed change around these clusters, then tested it against GitHub's normal view with real people. Reviewers said the new view helped them get oriented faster and gave them more meaningful paths to follow through unfamiliar code. It isn't perfect: the same piece of code can appear in several clusters, which is disorienting, and changes that don't live inside any function — like settings or imports — are easy to miss.
Why does this matter outside the coding world? Because AI tools now churn out enormous amounts of code, and humans are the ones stuck checking it. Anything that helps a person quickly understand unfamiliar code means fewer bugs shipping into the apps and services you use, and less burnout for the volunteer maintainers who keep free software running.
- Code reviewers currently read changes one file at a time, which is confusing when related edits are scattered across many files.
- In roughly 40% of real code changes on GitHub, more than half the edited pieces were linked by who-calls-whom.
- Testers said the new grouped view helped them get oriented faster, though repeated code and non-function edits still cause confusion.
Why It Matters
Faster, clearer code reviews mean fewer bugs reaching the apps and services you rely on daily.