Patents by Inventor Sonal Mahajan

Sonal Mahajan 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).

  • Patent number: 11650901
    Abstract: Operations include obtaining a first patch that corrects a first error in a first buggy code snippet of first source code based on the first buggy code snippet and a first repaired code snippet. The operations also include generating a second patch based on the first patch and a bug pattern of a bug scenario that corresponds to the first error. In addition, the operations include generating a third patch based on the second patch, the bug pattern, and a second buggy code snippet of second source code, the third patch correcting a second error in the second buggy code snippet. Moreover, the operations include performing one or more repair operations with respect to the second buggy code snippet based on the third patch.
    Type: Grant
    Filed: September 23, 2020
    Date of Patent: May 16, 2023
    Assignee: FUJITSU LIMITED
    Inventors: Sonal Mahajan, Mukul R. Prasad
  • Patent number: 11556455
    Abstract: Operations may include obtaining a buggy code snippet of source code of a software program in which the buggy code snippet includes a particular error. The operations may also include determining a respective first similarity between the buggy code snippet and a plurality of bug patterns of previously identified bug scenarios. In addition, the operations may include selecting a particular bug pattern based on a determined particular first similarity between the particular bug pattern and the buggy code snippet. Moreover, the operations may include determining a respective second similarity between the particular bug pattern and example code snippets obtained from a plurality of posts. The operations may also include selecting a particular post as providing a potential solution to correct the particular error based on a determined particular second similarity between the particular bug pattern and a particular example code snippet of the particular post.
    Type: Grant
    Filed: August 4, 2020
    Date of Patent: January 17, 2023
    Assignee: FUJITSU LIMITED
    Inventors: Sonal Mahajan, Mukul R. Prasad
  • Publication number: 20220342799
    Abstract: Operations may include obtaining a plurality of posts from one or more web sites, each post including a respective buggy snippet of source code that includes a corresponding error. The operations may also include generating a plurality of bug patterns from the plurality of posts in which each respective bug pattern corresponds to a respective buggy snippet and indicates a corresponding bug scenario that leads to the corresponding error of the respective buggy snippet that corresponds to the respective bug pattern. The operations may also include determining similarities with respect to the respective bug patterns and selecting, based on the similarity determinations, a first bug pattern of the plurality of bug patterns for revision. In addition, the operations may include obtaining a revised bug pattern that is a revised version of the first bug pattern.
    Type: Application
    Filed: April 20, 2021
    Publication date: October 27, 2022
    Applicant: FUJITSU LIMITED
    Inventors: Sonal MAHAJAN, Mukul R. PRASAD
  • Patent number: 11366742
    Abstract: Operations may include obtaining a buggy code snippet from a question included in a post of a discussion forum, the buggy code snippet including an error and a plurality of lines of code. The operations may further include obtaining text from an answer to the question and identifying keywords from the text. In addition, the operations may include marking a particular line from the plurality of lines as being related to the error based on one or more of the keywords corresponding to one or more elements of the particular line. Moreover, the operations may include performing one or more software program repair operations based on the marking of the particular line.
    Type: Grant
    Filed: November 13, 2020
    Date of Patent: June 21, 2022
    Assignee: FUJITSU LIMITED
    Inventors: Sonal Mahajan, Mukul R. Prasad
  • Publication number: 20220156174
    Abstract: Operations may include obtaining a buggy code snippet from a question included in a post of a discussion forum, the buggy code snippet including an error and a plurality of lines of code. The operations may further include obtaining text from an answer to the question and identifying keywords from the text. In addition, the operations may include marking a particular line from the plurality of lines as being related to the error based on one or more of the keywords corresponding to one or more elements of the particular line. Moreover, the operations may include performing one or more software program repair operations based on the marking of the particular line.
    Type: Application
    Filed: November 13, 2020
    Publication date: May 19, 2022
    Applicant: FUJITSU LIMITED
    Inventors: Sonal MAHAJAN, Mukul R. PRASAD
  • Publication number: 20220091963
    Abstract: Operations may include obtaining a first patch that corrects a first error in a first buggy code snippet of first source code based on the first buggy code snippet and the first repaired code snippet. The operations may also include generating a second patch based on the first patch and a bug pattern of a bug scenario that corresponds to the first error. In addition, the operations may include generating a third patch based on the second patch, the bug pattern, and a second buggy code snippet of second source code, the third patch correcting a second error in the second buggy code snippet. Moreover, the operations may include performing one or more repair operations with respect to the second buggy code snippet based on the third patch.
    Type: Application
    Filed: September 23, 2020
    Publication date: March 24, 2022
    Applicant: FUJITSU LIMITED
    Inventors: Sonal MAHAJAN, Mukul R. PRASAD
  • Publication number: 20220043738
    Abstract: Operations may include obtaining a buggy code snippet of source code of a software program in which the buggy code snippet includes a particular error. The operations may also include determining a respective first similarity between the buggy code snippet and a plurality of bug patterns of previously identified bug scenarios. In addition, the operations may include selecting a particular bug pattern based on a determined particular first similarity between the particular bug pattern and the buggy code snippet. Moreover, the operations may include determining a respective second similarity between the particular bug pattern and example code snippets obtained from a plurality of posts. The operations may also include selecting a particular post as providing a potential solution to correct the particular error based on a determined particular second similarity between the particular bug pattern and a particular example code snippet of the particular post.
    Type: Application
    Filed: August 4, 2020
    Publication date: February 10, 2022
    Applicant: FUJITSU LIMITED
    Inventors: Sonal MAHAJAN, Mukul R. PRASAD
  • Patent number: 11119740
    Abstract: Operations may include obtaining a code artifact in which the code artifact is a code snippet is of a software language of interest. The operations may also include identifying fault locations of the code snippet that each correspond to a parsing error. In addition, the operations may include implementing repairs for each identified fault location in which, for each fault location, a respective repair is implemented for its corresponding parsing error such that the code snippet is modified into a parsable code snippet.
    Type: Grant
    Filed: January 8, 2020
    Date of Patent: September 14, 2021
    Assignee: FUJITSU LIMITED
    Inventors: Sonal Mahajan, Mukul R. Prasad
  • Publication number: 20210208857
    Abstract: Operations may include obtaining a code artifact in which the code artifact is a code snippet is of a software language of interest. The operations may also include identifying fault locations of the code snippet that each correspond to a parsing error. In addition, the operations may include implementing repairs for each identified fault location in which, for each fault location, a respective repair is implemented for its corresponding parsing error such that the code snippet is modified into a parsable code snippet.
    Type: Application
    Filed: January 8, 2020
    Publication date: July 8, 2021
    Applicant: FUJITSU LIMITED
    Inventors: Sonal MAHAJAN, Mukul R. PRASAD
  • Patent number: 11042467
    Abstract: A method may include obtaining a first violation in a first software program and identifying one or more characteristics of the first violation. The method may include searching at least one website to identify a set of posts. The method may include obtaining, as a first context, a first portion of the first software program that includes the first violation. The method may include obtaining a set of second contexts, each second context corresponding to a different post of the set of posts. The method may also include determining a set of similarity scores by comparing a first abstract tree representation of the first context with each second abstract tree representation corresponding with the second contexts and selecting a particular post based on the similarity score between the first abstract tree representation and the particular second abstract tree representation associated with the particular post.
    Type: Grant
    Filed: August 23, 2019
    Date of Patent: June 22, 2021
    Assignee: FUJITSU LIMITED
    Inventors: Sonal Mahajan, Mukul R. Prasad
  • Publication number: 20210056006
    Abstract: A method may include obtaining a first violation in a first software program and identifying one or more characteristics of the first violation. The method may include searching at least one website to identify a set of posts. The method may include obtaining, as a first context, a first portion of the first software program that includes the first violation. The method may include obtaining a set of second contexts, each second context corresponding to a different post of the set of posts. The method may also include determining a set of similarity scores by comparing a first abstract tree representation of the first context with each second abstract tree representation corresponding with the second contexts and selecting a particular post based on the similarity score between the first abstract tree representation and the particular second abstract tree representation associated with the particular post.
    Type: Application
    Filed: August 23, 2019
    Publication date: February 25, 2021
    Applicant: FUJITSU LIMITED
    Inventors: Sonal MAHAJAN, Mukul R. PRASAD
  • Publication number: 20200019583
    Abstract: Methods, systems, and apparatus for identifying display issues with a website, and automatically repairing the display issues with the website. The display issue may be an internationalization issue, a cross-browser issue, or a mobile-friendly issue. The display issues are automatically detected by analyzing the structure of the website layout. Possible fixes are determined using iterative testing, and they are evaluated using a fitness function representing a quantitative value of the display of the website. When a best fix is determined, the website is automatically repaired according to the best fix.
    Type: Application
    Filed: July 11, 2018
    Publication date: January 16, 2020
    Inventors: William G. J. Halfond, Sonal Mahajan, Negarsadat Abolhassani, Phil McMinn, Abdulmajeed Alameer