• Title/Summary/Keyword: Automatic Program Repair

Search Result 5, Processing Time 0.018 seconds

Applying Token Tagging to Augment Dataset for Automatic Program Repair

  • Hu, Huimin;Lee, Byungjeong
    • Journal of Information Processing Systems
    • /
    • v.18 no.5
    • /
    • pp.628-636
    • /
    • 2022
  • Automatic program repair (APR) techniques focus on automatically repairing bugs in programs and providing correct patches for developers, which have been investigated for decades. However, most studies have limitations in repairing complex bugs. To overcome these limitations, we developed an approach that augments datasets by utilizing token tagging and applying machine learning techniques for APR. First, to alleviate the data insufficiency problem, we augmented datasets by extracting all the methods (buggy and non-buggy methods) in the program source code and conducting token tagging on non-buggy methods. Second, we fed the preprocessed code into the model as an input for training. Finally, we evaluated the performance of the proposed approach by comparing it with the baselines. The results show that the proposed approach is efficient for augmenting datasets using token tagging and is promising for APR.

OAPR-HOML'1: Optimal automated program repair approach based on hybrid improved grasshopper optimization and opposition learning based artificial neural network

  • MAMATHA, T.;RAMA SUBBA REDDY, B.;BINDU, C SHOBA
    • International Journal of Computer Science & Network Security
    • /
    • v.22 no.4
    • /
    • pp.261-273
    • /
    • 2022
  • Over the last decade, the scientific community has been actively developing technologies for automated software bug fixes called Automated Program Repair (APR). Several APR techniques have recently been proposed to effectively address multiple classroom programming errors. However, little attention has been paid to the advances in effective APR techniques for software bugs that are widely occurring during the software life cycle maintenance phase. To further enhance the concept of software testing and debugging, we recommend an optimized automated software repair approach based on hybrid technology (OAPR-HOML'1). The first contribution of the proposed OAPR-HOML'1 technique is to introduce an improved grasshopper optimization (IGO) algorithm for fault location identification in the given test projects. Then, we illustrate an opposition learning based artificial neural network (OL-ANN) technique to select AST node-level transformation schemas to create the sketches which provide automated program repair for those faulty projects. Finally, the OAPR-HOML'1 is evaluated using Defects4J benchmark and the performance is compared with the modern technologies number of bugs fixed, accuracy, precession, recall and F-measure.

The Improvement of Cab Tilting system in Heavy Truck and the Development of Program for Automatic Design Parameter Selection (트럭 캡 틸팅 시스템의 성능 향상 및 설계 파라미터의 자동 선정 프로그램의 개발)

  • Park, Sung-Hwan;Lee, Jin-Kul
    • Journal of Institute of Control, Robotics and Systems
    • /
    • v.5 no.4
    • /
    • pp.496-503
    • /
    • 1999
  • In this paper, the improvement of cap tilting system in heavy truck and the development of program for automatic design are discussed. Cab tilting system takes some important roles in heavy truck, absorbing discomfort vibration from load, increasing repair efficiency and making sure of safety. Common manual cab tilting system cannot be easily tilt up in sloped road, giving difficulty to driver as cal tilting up/down. So recently hydraulic cab tilting system is in wide use. But some problem such as tilting up/down speed is not constant and sudden swing of cab has brought discredit from user. Therefore, this paper presents advanced cab tilting system which prevents sudden swing of cab and development of program for selecting design parameters automatically.

  • PDF

Development of a Nuclear Steam Generator Tube Inspection/maintenance Robot

  • Shin, Ho-Cheol;Kim, Seung-Ho;Seo, Yong-Chil;Jung, Kyung-Min;Jung, Seung-Ho;Choi, Chang-Hwan
    • 제어로봇시스템학회:학술대회논문집
    • /
    • 2003.10a
    • /
    • pp.2508-2513
    • /
    • 2003
  • This paper presents a nuclear steam generator tube inspection/maintenance robot system. The robot assists in automatic non-destructive testing and the repair of nuclear steam generator tubes welded into a thick tube sheet that caps a hemispherical or quarter-sphere plenum which is a high-radiation area. For easy carriage and installation, the robot system consists of three separable parts: a manipulator, a water-chamber entering and leaving device for the manipulator and a manipulator base pose adjusting device. A software program to control and manage the robotic system has been developed on the NT based OS to increase the usability. The software program provides a robot installation function, a robot calibration function, a managing and arranging function for the eddy-current test, a real time 3-D graphic simulation function which offers remote reality to operators and so on. The image information acquired from the camera attached to the end-effecter is used to calibrate the end-effecter pose error and the time-delayed control algorithm is applied to calculate the optimal PID gain of the position controller. The developed robotic system has been tested in the Ulchin NPP type steam generator mockup in a laboratory.

  • PDF

Development of the Automated Ultrasonic Testing System for Inspection of the flaw in the Socket Weldment (소켓 용접부 결함 검사용 초음파 자동 검사 장비 개발)

  • Lee, Jeong-Ki;Park, Moon-Ho;Park, Ki-Sung;Lee, Jae-Ho;Lim, Sung-Jin
    • Journal of the Korean Society for Nondestructive Testing
    • /
    • v.24 no.3
    • /
    • pp.275-281
    • /
    • 2004
  • Socket weldment used to change the flow direction of fluid nay have flaws such as lack of fusion and cracks. Liquid penetrant testing or Radiography testing have been applied as NDT methods for flaw detection of the socket weldment. But it is difficult to detect the flaw inside of the socket weldment with these methods. In order to inspect the flaws inside the socket weldment, a ultrasonic testing method is established and a ultrasonic transducer and automated ultrasonic testing system are developed for the inspection. The automated ultrasonic testing system is based on the portable personal computer and operated by the program based Windows 98 or 2000. The system has a pulser/receiver, 100MHz high speed A/D board, and basic functions of ultrasonic flaw detector using the program. For the automated testing, motion controller board of ISA interface type is developed to control the 4-axis scanner and a real time iC-scan image of the automated testing is displayed on the monitor. A flaws with the size of less than 1mm in depth are evaluated smaller than its actual site in the testing, but the flaws larger than 1mm appear larger than its actual size on the contrary. This tendency is shown to be increasing as the flaw size increases. h reliable and objective testing results are obtained with the developed system, so that it is expected that it can contribute to safety management and detection of repair position of pipe lines of nuclear power plants and chemical plants.