• 제목/요약/키워드: Automatic Program Repair

검색결과 5건 처리시간 0.018초

Applying Token Tagging to Augment Dataset for Automatic Program Repair

  • Hu, Huimin;Lee, Byungjeong
    • Journal of Information Processing Systems
    • /
    • 제18권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
    • /
    • 제22권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)

  • 박성환;이진걸
    • 제어로봇시스템학회논문지
    • /
    • 제5권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년도 ICCAS
    • /
    • 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)

  • 이정기;박문호;박기성;이재호;임성진
    • 비파괴검사학회지
    • /
    • 제24권3호
    • /
    • pp.275-281
    • /
    • 2004
  • 대구경 배관에서 소구경 배관으로 연결하는 부위 및 배관의 방향 전환을 위해 사용하는 소켓용접부는 용입불량 및 사용시간이 경과되면서 내부로부터 진전될 수 있는 균열 등의 결함을 가질 수 있다. 그러나 지금까지 적용하고 있는 비파괴검사법인 액체침투탐상과 방사선투과검사로는 내부에 존재하는 균열성 결함의 검출이 어렵다. 본 연구에서는 소켓용접부 내부의 균열성 결함 검출을 위한 초음파 검사 기법을 확립하였고, 검사를 수행할 수 있는 초음파 탐촉자를 설계 제작하였으며, 자동으로 검사할 수 있는 검사 장비와 제어용 운영 프로그램을 개발하였다. 개발된 장비는 컴퓨터를 기반으로 하고 있으며, pulser/receiver를 내장하고 100 MHz 고속 A/D board를 사용하여 초음파 탐상기 역할을 프로그램으로 구현하였으며, ISA interface type으로 4축 제어용 motion controller를 개발하여 자동 검사를 수행하는 scanner를 제어하도록 하였으며, 검사 결과는 소켓용접부 단면을 실시간 영상으로 나타내도록 되어 있다. 인공결함 시험편의 결함을 평가한 결과 결함의 깊이가 1mm인 결함의 평가 길이는 실제 크기보다 작게 나타내고 있으며, 결함의 깊이가 증가할수록 결함의 길이가 더 크게 평가되었다. 본 연구로 개발한 장비는 원자력 발전소나 화학플랜트에 많이 널려 있는 소켓용접부 내의 용입불량, 피로 균열 등을 검출하여 객관적인 검사 결과를 제시할 수 있으므로 설비 안전 관리 및 보수 부위 결정에 기여할 수 있을 것으로 기대된다.