← Latest papers
💬 NLP

code_transformed: The Influence of Large Language Models on Code

This paper presents a pioneering large-scale empirical study analyzing over 20,000 GitHub repositories to demonstrate that Large Language Models are measurably transforming real-world programming styles, evidenced by trends such as increased adherence to snake_case naming conventions and shifts in code complexity and maintainability.

Original authors: Yuliang Xu, Siming Huang, Mingmeng Geng, Yao Wan, Xuanhua Shi, Dongping Chen

Published 2026-02-09
📖 4 min read☕ Coffee break read

Original authors: Yuliang Xu, Siming Huang, Mingmeng Geng, Yao Wan, Xuanhua Shi, Dongping Chen

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the world of computer programming as a giant, bustling library where millions of people write books (code) every day. For decades, these books had their own unique handwriting styles: some authors used short, cryptic nicknames for their characters, while others wrote long, descriptive paragraphs.

This paper is like a detective story that asks: "Has the arrival of a super-smart AI librarian (Large Language Models, or LLMs) started to change how humans write these books?"

The researchers didn't just ask people if they use AI; they went into the library, looked at over 20,000 real-world code repositories (the "books"), and compared them against code written by humans before AI was popular and code generated by AI today.

Here is what they found, broken down into simple concepts:

1. The "Handwriting" Change (Naming Patterns)

Think of variable names (like ml or max_length) as the names authors give to their characters.

  • The Old Way: Humans often used short, quick names like ml (short for "max length") or mlt. It was efficient but sometimes hard to read.
  • The AI Way: AI models love to be very descriptive. They prefer names like max_length and current_length. They also love a specific style called "snake_case" (using underscores like snake_case instead of camelCase).
  • The Discovery: The researchers found that in recent years, human-written code has started to look more like the AI's handwriting. The use of long, descriptive names with underscores has gone up significantly. It's as if humans are unconsciously starting to write like the AI librarian they are borrowing from.

2. The "Complexity" of the Story (Code Quality)

The researchers also looked at how "twisty" the stories were. In coding, a "twist" is a decision point (like an if statement: "If it rains, take an umbrella").

  • The Finding: When AI rewrites code, the stories often become slightly less twisty (lower complexity) and easier to maintain.
  • The Catch: This wasn't a magic fix. In some languages (like Python), the AI actually made the stories more complex than a human would have. But in others (like C/C++), the AI made them cleaner.
  • The Trend: Interestingly, the code in the real-world library (GitHub) has also started to look cleaner and easier to maintain since 2023, mirroring the AI's style.

3. The "Copy-Paste" Effect (Similarity)

The team tested two scenarios:

  1. Direct Generation: Asking the AI, "Write a story about X from scratch."
  2. Reference-Guided: Showing the AI a human's story and saying, "Read this, then rewrite it to be better."

The Result: When the AI was given a human story to rewrite, it kept the human's "voice" and style very closely. But when asked to write from scratch, the AI's story sounded very different from how humans usually write. This suggests that AI is great at polishing human work, but its natural "native" style is quite distinct from ours.

4. The "Thinking Process" (Reasoning)

Finally, the researchers peeked inside the AI's "brain" to see how it solved problems. They checked if the AI actually used the right logical steps (algorithms) to solve the puzzle.

  • The Finding: The AI often guessed the wrong logical steps. It would try to use a "brute force" method (trying every possible door) when a "smart key" (a specific algorithm) was needed.
  • The Language Difference: The AI seemed to think more like a logic puzzle solver when writing in C/C++, but more like a practical coder when writing in Python.
  • The Difficulty Factor: The AI only seemed to "wake up" and use its best reasoning skills when the problems were very hard. For easy problems, it often just guessed.

The Big Picture

The paper concludes that we are witnessing a cultural shift in coding. It's not just that AI is writing code; it's that AI is subtly reshaping how humans write code. Just as a new fashion trend can change how everyone dresses, the presence of AI is nudging human developers toward a more descriptive, standardized, and "AI-friendly" style.

The researchers warn that while this might make code easier to read, it also means the unique "human fingerprint" in programming is starting to blend with the machine's style, and we need to be aware of this transformation.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →