Daily MaverickBOOK EXCERPT: Stoep stories in Victoria West — Where the Karoo’s quiet streets keep history alivePunchOkonkwo poised to grab Charlton chanceInquirerEx-DOE chief: Tap flood infra funds for Visayas powerThe Jerusalem PostHegseth, defense officials weighed using emergency law to reinstate Nvidia's Huang - report한겨레‘반값·8할·20%할인’ 격언도 안 통하는 일본 주식…‘공포의 12월’ 온다CNN Türk26 KASIM METEOROLOJİ HAVA DURUMU | Bugün hava nasıl olacak, İstanbul’da yağış var mı? Soğuk hava dalgası kapıda!ZDF heuteEntdecken Sie das ZDF-NachrichtenstudioCapital FMMore Villages at Risk as Kenya Red Cross Warns of Further Flooding in Tana DeltaSBS 뉴스장동혁, '친한계 조작 징계 의혹 제기' 황경성 윤리위원 해임GhaflaKenya Power Announces Planned Outages in Nairobi, Kiambu, Nyeri, Kwale and Kilifi on November 26النهارالانتصار في البحار... عن مُثلّث هرمز وأوكرانيا وليبياKhaosod EnglishBad weather postpones Macy’s Thanksgiving Day Parade for first time ever
The Daily Newsstand · Free, Always
Thursday, November 26, 2026

Researchers Classify AI-Generated Code Quality Issues From Development Records, Including Features Lost During Additions

Translate

The difference between code that runs and code that is correct

When asking AI to write code, successful compilation or execution without errors provides some reassurance. The difficult problems are those that can remain even after the code is shown to run.

Researchers at USI in Switzerland, the University of Sannio in Italy, and King's College London in the UK investigated quality issues in AI-generated code from real software development. Their paper is titled AI-Generated Code Issues: A Taxonomy from Repository Histories, AI Conversations, and Developer Interviews. It was submitted to arXiv on November 24, 2026, at 2:22 p.m. UTC and, according to the authors, has been accepted at the ICSE 2027 international software engineering conference.

The study identified 36 cases in which AI selected the wrong API, or interface for invoking software functionality, while implementing a required feature, as well as 32 cases in which it passed incorrect arguments to the correct API. There were also 69 cases that referenced nonexistent functions or attributes.

In Microsoft's TypeAgent project, a developer corrected a function call made by GitHub Copilot. The correct function was selectChunks, but the AI selected selectRelevantChunks.

Both functions existed. This was a misunderstanding of the API's semantics that could not be detected merely by checking for existence, and the developer noted in the correction record that their own review had also been at fault.

Does the target exist? Do the arguments match the types? Does the function perform the requested operation? Answering the last question requires an understanding of both the code and the specification.

Every change adds more to verify

An F# development example in the study may sound familiar to anyone who has repeatedly rewritten code with AI.

A developer asked the AI to add a Yield method that set suitable initial values for each value, and the AI implemented it as requested. The developer then asked it to support additional data types, but the previously implemented Yield method had disappeared.

The paper identified 50 cases in which a requested feature was not fully implemented. Each time a newly requested feature is checked, developers must also verify that previously satisfied requirements remain intact.

Even when an implementation is corrected, code maintainability may suffer. Of the 20 interviewees, 95% mentioned maintainability or readability problems and 50% cited code duplication. They also reported cases in which AI reimplemented functionality that already existed elsewhere. Performance problems were mentioned by 65% of the participants.

Code duplication can be missed if testing only confirms that the code works. Because future specification changes would require tracking down and modifying multiple implementations, developers should also check whether an existing implementation can be reused.

The paper also classifies problems in the test code itself, which was written to ensure quality.

Most test problems found in revision histories and conversations involved incorrect expected values. There were also cases in which the AI lost track of implementation details for a function it had created earlier in the conversation and generated incorrect or incomplete tests.

An expected value is the standard used to determine whether a test produced the correct result. When AI generates both the implementation and the expected value, the expected value must still be checked separately against the original specification. Even if a test passes, the value of that result depends on what the test treated as success.

AI-Generated Code Quality Issues (87 Types Classified From Real Cases)

Quality issue (excerpt)CasesWhat to verify
NonexistentFunctions / attributes69Target exists
Missing required functionality50Existing functionality remains
Wrong existing API selected36Behavior meets requirements
Correct API withIncorrect arguments32Argument meaning and type
General test issues32Matches the specificationExpected values

Where the issue taxonomy came from

The research team extracted 914 commits, or change records, from public GitHub activity between January 2022 and October 2025 that appeared to fix problems attributed to AI-generated code.

After manual review removed 131 records that were no longer accessible, 68 duplicates, and 485 false positives, 230 remained for analysis. At this stage, the quality issues were grouped into 51 types.

The researchers then selected 299 ChatGPT conversations shared on GitHub and analyzed 1,863 message exchanges. Their analysis of 453 exchanges in which they could confirm that an issue had occurred added 25 issue types not found in the revision histories.

Finally, interviews with 17 practitioners and three researchers who use AI continuously added another 11 types. The final taxonomy covered 87 types of quality issues, including 50 that were absent even from the five previous studies used for comparison. The team has also published its research materials.

Revision histories reveal traces of code that developers corrected. Conversation records also show problems discovered before developers integrated the code. Interviews include experiences that are less likely to remain in public records.

The taxonomy's value lies in capturing failures that would not have been visible from corrected code alone. Because the study selected candidates using wording that indicated AI mistakes, its results describe the types of issues discovered; they cannot be used to calculate a defect rate across all AI-generated code.

What developers gained and the time they spent

All 20 interviewees cited benefits such as reduced manual coding and higher productivity. They also described feeling that AI let them devote more time to design and other important work.

Nineteen of the 20 participants mentioned semantically incorrect code that was nevertheless syntactically valid. Sixteen had experienced abandoning a solution entirely after being unable to make AI-generated code work.

Nine said that continuous review, verification, and debugging were necessary, meaning that a substantial share of the time saved with AI could be spent checking and correcting its output.

Interviews With 20 Continuing Users of AI Code Generation

Benefits / challengesPeopleShare
Benefits such as less manual work20100%
Syntactically correct but semantically wrong1995%
Maintainability / readability problems1995%
Abandoned solution after failing to make it work1680%
Performance problems1365%
Code duplication1050%
Continuous verification / correction needed945%

For cases in which the team could identify a cause, it distinguished between AI losing context during long conversations, generating nonexistent APIs, or ignoring instructions, and users supplying incomplete or ambiguous requirements.

Users can take steps as well. Interviewees described dividing large tasks into smaller pieces, generating code incrementally, and checking each stage. Writing down the requirements makes it easier to verify that they are still met after the AI moves on to the next task.

Continuing to use AI and strictly checking the quality of generated code are compatible choices. The interviews show developers who see a need for both.

From acceptance counts to time-to-completion

AI-assisted development has also been deployed at scale in Japan. According to a report for developers from NTT Docomo, GitHub Copilot had 3,039 registered users as of September 2025.

Between June 8 and September 15, 2025, Copilot suggested 2,131,503 code changes, of which 517,524 were accepted. Assuming that each accepted suggestion saved one minute of work, Docomo estimated an average monthly reduction equivalent to about 20 person-months.

The number of accepted suggestions measured here must be distinguished from the estimated time saved. The actual savings may vary depending on how much time was needed to verify or rewrite the accepted code.

METR, which has studied AI developer productivity using another approach, also described changes to its experimental method in February 2026. Its reasons included developers who did not want to work without AI declining to participate and the difficulty of accurately measuring the working time of developers who used multiple AI agents in parallel.

In addition to generation speed and acceptance counts, assessments should measure the total work time required to satisfy the requirements. This includes not only implementation but also comparison with specifications, review, testing, and correction. Evaluating maintainability and effects on existing functionality would also help organizations decide why they are adopting AI.

AI is used to reclaim time once spent writing code. Whether that time was truly saved is not yet known at the moment the code is generated.

View the original on Joho no Todai →

KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.