Patent · US Active

Device and method for program repair for type errors in dynamically typed language

US12430200B2 · kind B2 · utility

0Cited by
0References
7Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 12, 2024
Grant dateSep 30, 2025
Priority date
Expiry dateMar 12, 2044

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3604
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Disclosed is a device and method for automatically repairing type errors occurring in a dynamically typed language. A method of automatically repairing a type error refers to a method of automatically repairing a type error occurring in a dynamically typed language, performed by a computing device including a processor and includes acquiring a buggy program, a testcase, and error information; collecting a candidate variable in which a type error occurs; inferring a negative type that is a type of the candidate variable observed from a negative testcase and a positive type that is a type of the candidate variable observed from a positive testcase; estimating a fault location at which the type error occurs; generating a patch; and generating a fixed program by applying the patch to the buggy program, and the collecting of the candidate variable includes selecting a variable included in the error information as the candidate variable.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.