Google patents code tools that predict edits and errors
Google describes a system that uses a language model to help with software development tasks like predicting code changes or build errors. It works by turning code and instructions into text tokens that the neural network processes to generate specific actions or fixes.
In the filing’s own words
Systems and methods for performing software development tasks using a language model neural network. The software development tasks can include any of a variety of tasks that require modifying computer program code in one or more programming languages. For example, the language model neural network can be used to predict code edits that will be made to a piece of computer code, to predict comments that will be left on a piece of computer code by a code reviewer, to resolve comments on a piece of computer code, to predict edits that will repair a given code build, or to predict build errors that will result from compiling a piece of computer code. To perform these tasks, the system represents code development actions as tokens in a domain-specific language and processes these tokens using the language model neural network.
What exactly they claim (claim 1)
1. A computer-implemented method comprising: receiving input source code in a programming language; receiving data specifying a software development task to be performed on the input source code; generating a first sequence of text tokens from a vocabulary of text tokens that describes the software development task; generating a second sequence of text tokens from the vocabulary of text tokens that represents at least the input source code; processing an input sequence comprising the first sequence of text tokens and the second sequence of text tokens using a language model neural network to generate, as output, an output sequence of text tokens in a domain specific language; and generating, from the output sequence in the domain specific language, an output for the software development task.
Facts
- Company
- Google (Google LLC)
- Official title
- COMPUTER CODE MODIFICATION USING LANGUAGE MODEL NEURAL NETWORKS
- Publication number
- US20260259729A1
- Application number
- 19489188
- Filed
- May 31, 2024
- Published
- Sep 3, 2026
- Inventors
- 18
- Claims
- 23
Classified under
G06F 8/73 Physics & computingG06N 3/0455 Physics & computingMore from Google in AI & software
- Google patents video search that answers questions using AI descriptions Sep 15, 2026
- Google patents photo tool that removes people and their gear Sep 15, 2026
- Google patents AI that writes live meeting notes and summaries Sep 15, 2026
- Google patents AI tool that turns messy emergency notes into clear messages Sep 3, 2026
- Google patents AI that clicks through apps to finish tasks for you Sep 24, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.