Patents by Inventor Max Schaefer

Max Schaefer has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).

  • Publication number: 20250138791
    Abstract: Techniques for intelligently prompting an LLM to fix code are disclosed. A corpus of release notes for a set of libraries is accessed. The release notes include information describing deprecated or removed APIs associated with the libraries. The corpus is stored in a vector database. A code snippet is accessed. This snippet is identified as potentially using a deprecated API. The code snippet is used to identify a set of release notes from the vector database. These release notes are determined to satisfy a threshold level of similarity with the code snippet. An LLM prompt is built and is fed to the LLM. The LLM prompt instructs the LLM to update the code snippet based on the identified set of release notes. Output of the LLM is displayed. This output includes a proposed rewritten version of the code snippet.
    Type: Application
    Filed: October 27, 2023
    Publication date: May 1, 2025
    Inventors: Max SCHAEFER, Sarah Ezzeldin Mostafa NADI
  • Patent number: 12271710
    Abstract: An elidable text is constructed that prioritizes the content included in a prompt to a large language model having a fixed-size context window. The elidable text is generated from developer-generated instructions or automatically for source code within a source code editor. A source code editor may include a feature that selects certain lines of code as important or focused which are assigned a high-priority value. A changed line, a line of source code at a current cursor position, lines of source code at the beginning of a file and those that output data are considered focused lines. Non-focused lines are assigned a priority based on a distance from a focused line. The elidable text constrains the data included in a prompt to the context window size by replacing the lowest-valued lines of text and source code with a replacement string.
    Type: Grant
    Filed: May 16, 2023
    Date of Patent: April 8, 2025
    Assignee: Microsoft Technology Licensing, LLC.
    Inventors: Max Schaefer, Albert Ziegler
  • Patent number: 12210628
    Abstract: Classifying packages based on generic feature extraction. A computer system identifies a set of training packages, including a first subset known to be malicious, and a second subset known to be benign. The computer system extracts a set of training feature vectors from the set of training packages by inputting each training package to a feature extraction model, which generates a training feature vector for each training package. The computer system trains a classification model using the set of training feature vectors. After training the classification model using the set of training feature vectors, a subject package is classified as malicious or benign based on extracting a feature vector for the subject package by inputting the subject package to the feature extraction model, and inputting the feature vector to the classification model.
    Type: Grant
    Filed: June 10, 2022
    Date of Patent: January 28, 2025
    Assignee: Microsoft Technology Licensing, LLC
    Inventors: Rahul Pandita, Max Schaefer, Albert Ziegler
  • Patent number: 12174734
    Abstract: A computer system identifies a code synthesis model and a set of software repositories, each comprising corresponding source code and corresponding tests for testing the corresponding source code. The computer system tests a plurality of generated source code predictions using the set of software repositories. The testing includes, for each software repository in the set of software repositories, identifying a portion of the corresponding source code of the software repository that is covered by the corresponding tests of the software repository, using the code synthesis model to generate a source code prediction for the portion of the corresponding source code, and using the corresponding tests of the software repository to test the source code prediction that was generated using the code synthesis model. Based on testing the plurality of generated source code predictions using the set of software repositories, the computer system generates an evaluation of the code synthesis model.
    Type: Grant
    Filed: May 17, 2022
    Date of Patent: December 24, 2024
    Assignee: Microsoft Technology Licensing, LLC
    Inventors: Albert Ziegler, Oegerikus De Moor, Balabhadra Graveley, Johan Sebastian Heesemann Rosenkilde, Edward Emil Aftandilian, Max Schaefer
  • Publication number: 20240311582
    Abstract: A large language model, trained on source code and natural language text generates a unit test for a change to a file in a pull request of a code repository. An ordered sequence of prompts is created and each is applied serially to the large language model to perform an individual task that leads to the generation of the unit test. The unit test may be added to an existing file or generated as a newly-created file. Each prompt includes the data from a previously-issued prompt of the ordered sequence in order for the model to retain contextual knowledge learned previously. The model generates the unit test as update commands when the unit test is added to an existing file.
    Type: Application
    Filed: May 17, 2023
    Publication date: September 19, 2024
    Inventors: MAX SCHAEFER, ALBERT ZIEGLER
  • Publication number: 20240311272
    Abstract: A large language model, trained on source code and natural language text, predicts the testworthiness of a change in a pull request of a code repository. A prompt given to the large language model includes a question and an answer format for the model to predict whether a unit test is needed for the change. The question describes the model's task, the changes made to the file, and the contents of the changed file. When the model predicts that the change requires a unit test, a check is made to determine if the test exists. A comment is inserted into the pull request indicating the testworthiness of the change and whether a unit test exits for the test.
    Type: Application
    Filed: May 16, 2023
    Publication date: September 19, 2024
    Inventors: MAX SCHAEFER, ALBERT ZIEGLER
  • Publication number: 20240311093
    Abstract: An elidable text is constructed that prioritizes the content included in a prompt to a large language model having a fixed-size context window. The elidable text is generated from developer-generated instructions or automatically for source code within a source code editor. A source code editor may include a feature that selects certain lines of code as important or focused which are assigned a high-priority value. A changed line, a line of source code at a current cursor position, lines of source code at the beginning of a file and those that output data are considered focused lines. Non-focused lines are assigned a priority based on a distance from a focused line. The elidable text constrains the data included in a prompt to the context window size by replacing the lowest-valued lines of text and source code with a replacement string.
    Type: Application
    Filed: May 16, 2023
    Publication date: September 19, 2024
    Inventors: MAX SCHAEFER, ALBERT ZIEGLER
  • Patent number: 12061697
    Abstract: Detecting a malicious package associated with a software repository. A method identifies a subject package in a software repository, and extracts a feature set from the subject package. The feature set includes single-version features, including whether the subject package accesses personally identifying information, accesses specified system resource(s), uses specified application programming interface(s), includes installation script(s), and/or includes a binary, minified, or obfuscated file. The feature set also includes change features, including an amount of time since publication of a prior version of the subject package, a semantic update type, and/or how single-version feature(s) have changed since the prior version. The method provides the feature set as input to a set of classifiers, each being configured to use the feature set to generate a prediction of whether the subject package is malicious or benign.
    Type: Grant
    Filed: February 16, 2022
    Date of Patent: August 13, 2024
    Assignee: Microsoft Technology Licensing, LLC
    Inventors: Max Schaefer, Adriana Sejfia
  • Publication number: 20230401320
    Abstract: Classifying packages based on generic feature extraction. A computer system identifies a set of training packages, including a first subset known to be malicious, and a second subset known to be benign. The computer system extracts a set of training feature vectors from the set of training packages by inputting each training package to a feature extraction model, which generates a training feature vector for each training package. The computer system trains a classification model using the set of training feature vectors. After training the classification model using the set of training feature vectors, a subject package is classified as malicious or benign based on extracting a feature vector for the subject package by inputting the subject package to the feature extraction model, and inputting the feature vector to the classification model.
    Type: Application
    Filed: June 10, 2022
    Publication date: December 14, 2023
    Inventors: Rahul PANDITA, Max SCHAEFER, Albert ZIEGLER
  • Publication number: 20230376409
    Abstract: A computer system identifies a code synthesis model and a set of software repositories, each comprising corresponding source code and corresponding tests for testing the corresponding source code. The computer system tests a plurality of generated source code predictions using the set of software repositories. The testing includes, for each software repository in the set of software repositories, identifying a portion of the corresponding source code of the software repository that is covered by the corresponding tests of the software repository, using the code synthesis model to generate a source code prediction for the portion of the corresponding source code, and using the corresponding tests of the software repository to test the source code prediction that was generated using the code synthesis model. Based on testing the plurality of generated source code predictions using the set of software repositories, the computer system generates an evaluation of the code synthesis model.
    Type: Application
    Filed: May 17, 2022
    Publication date: November 23, 2023
    Inventors: Albert ZIEGLER, Oegerikus DE MOOR, Balabhadra GRAVELEY, Johan Sebastian Heesemann ROSENKILDE, Edward Emil AFTANDILIAN, Max SCHAEFER
  • Publication number: 20230359442
    Abstract: A computer system is configured to identify a position of a cursor in an editor where a code file is displayed and identify one or more wish items based on the position of the cursor or metadata associated with the code file. The computer system is further configured to identify one or more first portions of text from the one or more wish items that are relevant to text immediately preceding the cursor, and prioritize the one or more first portions of text to identify a particular first portion of text that is most relevant to the text immediately preceding the cursor. The computer system then generates a second portion of text based on the particular first portion of text and suggest that the second portion of text be entered at the cursor.
    Type: Application
    Filed: May 9, 2022
    Publication date: November 9, 2023
    Inventors: Albert ZIEGLER, Oegerikus DE MOOR, Johan Sebastian Heesemann ROSENKILDE, Edward Emil AFTANDILIAN, Max SCHAEFER
  • Publication number: 20230259620
    Abstract: Detecting a malicious package associated with a software repository. A method identifies a subject package in a software repository, and extracts a feature set from the subject package. The feature set includes single-version features, including whether the subject package accesses personally identifying information, accesses specified system resource(s), uses specified application programming interface(s), includes installation script(s), and/or includes a binary, minified, or obfuscated file. The feature set also includes change features, including an amount of time since publication of a prior version of the subject package, a semantic update type, and/or how single-version feature(s) have changed since the prior version. The method provides the feature set as input to a set of classifiers, each being configured to use the feature set to generate a prediction of whether the subject package is malicious or benign.
    Type: Application
    Filed: February 16, 2022
    Publication date: August 17, 2023
    Inventors: Max SCHAEFER, Adriana SEJFIA
  • Patent number: 11089021
    Abstract: Methods and apparatus that allow clients to establish sub private networks as resources within private networks on a provider network. A sub private network may be owned and controlled by a different entity than the owner of its parent private network. A parent private network controls access to its sub private networks, and each sub private network also controls access to its resources. This enables a layered topology in which a parent private network may establish access control rules for its sub private networks; the sub private networks may supplement the access control according to their specific needs. Sub private networks may share resources of their parent private network, and a sub private network may allow or restrict access to its resources by its parent private network, by its sibling private networks, and/or by its own sub private network(s).
    Type: Grant
    Filed: February 15, 2019
    Date of Patent: August 10, 2021
    Assignee: Amazon Technologies, Inc.
    Inventors: Edward Max Schaefer, Upendra Bhalchandra Shevade
  • Patent number: 10353702
    Abstract: Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating signatures for source code elements. One of the methods includes generating a respective signature for each source code element of the plurality of source code elements, including obtaining a name of the source code element, obtaining one or more of a location of a compilation unit containing the source code element and contents of the compilation unit containing the source code element, and generating the signature including combining a first representation of the name of the source code element and one or more of a second representation of the location of the compilation unit and a third representation of the contents of the compilation unit containing the source code element, wherein at least two of the plurality of source code elements have a same name and different respective signatures.
    Type: Grant
    Filed: October 13, 2017
    Date of Patent: July 16, 2019
    Assignee: Semmle Limited
    Inventors: Max Schaefer, Julian Tibble, Pavel Avgustinov
  • Publication number: 20190182256
    Abstract: Methods and apparatus that allow clients to establish sub private networks as resources within private networks on a provider network. A sub private network may be owned and controlled by a different entity than the owner of its parent private network. A parent private network controls access to its sub private networks, and each sub private network also controls access to its resources. This enables a layered topology in which a parent private network may establish access control rules for its sub private networks; the sub private networks may supplement the access control according to their specific needs. Sub private networks may share resources of their parent private network, and a sub private network may allow or restrict access to its resources by its parent private network, by its sibling private networks, and/or by its own sub private network(s).
    Type: Application
    Filed: February 15, 2019
    Publication date: June 13, 2019
    Applicant: Amazon Technologies, Inc.
    Inventors: Edward Max Schaefer, Upendra Bhalchandra Shevade
  • Patent number: 10212161
    Abstract: Methods and apparatus that allow clients to establish sub private networks as resources within private networks on a provider network. A sub private network may be owned and controlled by a different entity than the owner of its parent private network. A parent private network controls access to its sub private networks, and each sub private network also controls access to its resources. This enables a layered topology in which a parent private network may establish access control rules for its sub private networks; the sub private networks may supplement the access control according to their specific needs. Sub private networks may share resources of their parent private network, and a sub private network may allow or restrict access to its resources by its parent private network, by its sibling private networks, and/or by its own sub private network(s).
    Type: Grant
    Filed: November 19, 2014
    Date of Patent: February 19, 2019
    Assignee: Amazon Technologies, Inc.
    Inventors: Edward Max Schaefer, Upendra Bhalchandra Shevade
  • Patent number: 10088441
    Abstract: Method and thermal analysis device including a sample holder and at least one temperature detector which is assigned to the holder. The invention further relates to a production method for a temperature detector. A heat flow to be detected is conveyed to the temperature detector between a support surface and the sample holder, wherein the support surface and/or the sample holder include elevations or depressions forming contact points, which define a relevant heat flow zone assigned to the support surface. A thermocouple, which includes at least two elements made of different metals, a first metallic element A, with a higher expansion coefficient compared to a second metallic element B, is introduced in a precisely fitting manner into second metallic element B constituted as a hollow profile and the two elements A, B are heated in a first operational step and then cooled again in a second operational step.
    Type: Grant
    Filed: August 28, 2015
    Date of Patent: October 2, 2018
    Assignee: Netzsch-Gerätebau GmbH
    Inventors: Thomas Denner, Juergen Blumm, Otto Max Schaefer, Markus Hollering, Matthias Gradl, Gunther Herr, Andre Nijmeh, Thilo Hilpert, Alexander Frenzl, Stefan Lauterbach, Andreas Strobel, Gabriele Kaiser, Stefan Schmoelzer, Markus Meyer, Stephan Knappe, Rolf Preuss, Michael Gebhardt, Elena Moukhina, Alexander Schindler
  • Patent number: 10042884
    Abstract: Methods, systems, and apparatus, including computer programs encoded on computer storage media, for implementing algebraic data types in database query languages. One of the methods includes receiving an expression in a database query language, the expression having a programming language construct representing an algebraic data type, wherein the expression specifies two or more alternative subtypes. Respective domain relations are generated using definitions of each of the alternative subtypes within the expression. Unique domain identifiers are assigned among domain tuples belonging to each alternative subtype. A union relation is generated for the algebraic data type. Unique union identifiers are assigned for union tuples belonging to the union relation. Respective injector relations are generated for each of the alternative subtypes.
    Type: Grant
    Filed: June 29, 2017
    Date of Patent: August 7, 2018
    Assignee: Semmle Limited
    Inventors: Max Schaefer, Alexander Eyers-Taylor
  • Publication number: 20180101379
    Abstract: Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating signatures for source code elements. One of the methods includes generating a respective signature for each source code element of the plurality of source code elements, including obtaining a name of the source code element, obtaining one or more of a location of a compilation unit containing the source code element and contents of the compilation unit containing the source code element, and generating the signature including combining a first representation of the name of the source code element and one or more of a second representation of the location of the compilation unit and a third representation of the contents of the compilation unit containing the source code element, wherein at least two of the plurality of source code elements have a same name and different respective signatures.
    Type: Application
    Filed: October 13, 2017
    Publication date: April 12, 2018
    Inventors: Max Schaefer, Julian Tibble, Pavel Avgustinov
  • Patent number: RE48405
    Abstract: What is disclosed are a novel system and method for inferring types of database queries. In one embodiment a program and associated database schema that includes a type hierarchy is accessed. The program includes query operations to a database that contains relations described by a database schema. Types are inferred from definitions in the program by replacing each database relationship in the program by the types in the database schema. A new program is generated with the types that have been inferred with the new program only accessing unary relations in the database. In another embodiment, testing of each of the types that have been inferred is performed for type emptiness. In response to type emptiness being found for a type that have been inferred, a variety of different operations are performing including removing the type, providing a notification regarding the emptiness found for the type, and more.
    Type: Grant
    Filed: April 21, 2017
    Date of Patent: January 26, 2021
    Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
    Inventors: Max Schaefer, Oege de Moor