Techniques for processing code by means of machine learning models
OwnerJesko Hecking-Harbusch, Jochen Quante +2inventors
InventorsJesko Hecking-Harbusch, Jochen Quante, Martin Leinberger, Matthias Woehrle
Life of this patent
Estimating the term…
Abstract
A method for editing program code using a machine learning model. The method includes accessing an original code and replacing elements of the original code with replacement elements to obtain a modified code. The replacement elements are shorter than the corresponding elements of the original code. The method further includes processing the modified code using a machine learning model.
Claims15
1-14. (canceled)
A method for editing program code using a machine learning model, the method comprising the following steps:
- accessing an original code;
- replacing elements of the original code with replacement elements to obtain a modified code, wherein the replacement elements are shorter than the corresponding elements of the original code;
- and
- processing the modified code using a machine learning model.
A method for training a machine learning model to edit program code, comprising the following steps:
- accessing a machine learning model;
- accessing two or more modified codes, wherein each modified code is generated from the same original code by replacing elements of the original code with replacement elements, wherein the replacement elements are shorter than the corresponding elements of the original code, and wherein the replacement elements for each of the modified codes differ from one another at least partially;
- separately processing the two or more modified codes using a machine learning model;
- and
- adapting the machine learning model based on an analysis of a result of the processing of the two or more modified codes by the machine learning model.
An environment that is configured to carry out a method for editing program code using a machine learning model, the method comprising the following steps:
- accessing an original code;
- replacing elements of the original code with replacement elements to obtain a modified code, wherein the replacement elements are shorter than the corresponding elements of the original code;
- and
- processing the modified code using a machine learning model.
A non-transitory computer-readable medium on which is stored a computer program containing instructions editing program code using a machine learning model, the instructions, when executed by a computer, causing the computer to perform the following steps comprising:
- accessing an original code;
- replacing elements of the original code with replacement elements to obtain a modified code, wherein the replacement elements are shorter than the corresponding elements of the original code;
- and
- processing the modified code using a machine learning model.
Dependencies are inferred from the claim text.