Human-in-the-Loop Automatic Program Repair

被引:1
|
作者
Geethal, Charaka [1 ,2 ]
Bohme, Marcel [3 ]
Pham, Van-Thuan [4 ]
机构
[1] Monash Univ, Clayton, Vic 3800, Australia
[2] Univ Ruhuna, Fac Sci, Dept Comp Sci, Matara 81000, Sri Lanka
[3] Max Planck Inst Secur & Privacy, D-44799 Bochum, Germany
[4] Univ Melbourne, Carlton, Vic 3053, Australia
关键词
Automated test oracles; semi-automatic program repair; classification algorithms; active machine learning; GENERATION;
D O I
10.1109/TSE.2023.3305052
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
learn2fix is a human-in-the-loop interactive program repair technique, which can be applied when no bug oracle-except the user who is reporting the bug-is available. This approach incrementally learns the condition under which the bug is observed by systematic negotiation with the user. In this process, learn2fix generates alternative test inputs and sends some of those to the user for obtaining their labels. A limited query budget is assigned to the user for this task. A query is a Yes/No question: "When executing this alternative test input, the program under test produces the following output; is the bug observed?". Using the labelled test inputs, learn2fix incrementally learns an automatic bug oracle to predict the user's response. A classification algorithm in machine learning is used for this task. Our key challenge is to maximise the oracle's accuracy in predicting the tests that expose the bug given a practical, small budget of queries. After learning the automatic oracle, an existing program repair tool attempts to repair the bug using the alternative tests that the user has labelled. Our experiments demonstrate that learn2fix trains a sufficiently accurate automatic oracle with a reasonably low labelling effort (lt. 20 queries), and the oracles represented by interpolation-based classifiers produce more accurate predictions than those represented by approximation-based classifiers. Given the user-labelled test inputs, generated using the interpolation-based approach, the GenProg and Angelix automatic program repair tools produce patches that pass a much larger proportion of validation tests than the manually constructed test suites provided by the repair benchmark.
引用
收藏
页码:4526 / 4549
页数:24
相关论文
共 50 条
  • [41] Assessment of Normal Tissue Radiosensitivity by Evaluating DNA Damage and Repair Kinetics in Human Brain Organoids
    Bojcevski, Jovana
    Wang, Changwen
    Liu, Haikun
    Abdollahi, Amir
    Dokic, Ivana
    INTERNATIONAL JOURNAL OF MOLECULAR SCIENCES, 2021, 22 (24)
  • [42] Repair of osteochondral defects: efficacy of a tissue-engineered hybrid implant containing both human MSC and human iPSC-cartilaginous particles
    Nakagawa, Shinichi
    Ando, Wataru
    Shimomura, Kazunori
    Hart, David A.
    Hanai, Hiroto
    Jacob, George
    Chijimatsu, Ryota
    Yarimitu, Seido
    Fujie, Hiromichi
    Okada, Seiji
    Tsumaki, Noriyuki
    Nakamura, Norimasa
    NPJ REGENERATIVE MEDICINE, 2023, 8 (01)
  • [43] Cancer-like epigenetic derangements of human pluripotent stem cells and their impact on applications in regeneration and repair
    Huo, Jeffrey S.
    Baylin, Stephen B.
    Zambidis, Elias T.
    CURRENT OPINION IN GENETICS & DEVELOPMENT, 2014, 28 : 43 - 49
  • [44] Layer-By-Layer Fabrication of Thicker and Larger Human Cardiac Muscle Patches for Cardiac Repair in Mice
    Wang, Lu
    Zhang, Jianyi
    FRONTIERS IN CARDIOVASCULAR MEDICINE, 2022, 8
  • [45] Human Induced Pluripotent Stem Cells Differentiate Into Functional Mesenchymal Stem Cells and Repair Bone Defects
    Sheyn, Dmitriy
    Ben-David, Shiran
    Shapiro, Galina
    de Mel, Sandra
    Bez, Maxim
    Ornelas, Loren
    Sahabian, Anais
    Sareen, Dhruv
    Da, Xiaoyu
    Pelled, Gadi
    Tawackoli, Wafa
    Liu, Zhenqiu
    Gazit, Dan
    Gazit, Zulma
    STEM CELLS TRANSLATIONAL MEDICINE, 2016, 5 (11) : 1447 - 1460
  • [46] Cloud cover effect of clear-sky index distributions and differences between human and automatic cloud observations
    Smith, Christopher J.
    Bright, Jamie M.
    Crook, Rolf
    SOLAR ENERGY, 2017, 144 : 10 - 21
  • [47] Repair of a Rat Mandibular Bone Defect by Hypertrophic Cartilage Grafts Engineered From Human Fractionated Adipose Tissue
    Cheng, Chen
    Chaaban, Mansoor
    Born, Gordian
    Martin, Ivan
    Li, Qingfeng
    Schaefer, Dirk J.
    Jaquiery, Claude
    Scherberich, Arnaud
    FRONTIERS IN BIOENGINEERING AND BIOTECHNOLOGY, 2022, 10
  • [48] Human Amniotic Epithelial Stem Cell-Derived Retinal Pigment Epithelium Cells Repair Retinal Degeneration
    Li, Jinying
    Qiu, Chen
    Wei, Yang
    Yuan, Weixin
    Liu, Jia
    Cui, Wenyu
    Zhou, Jiayi
    Qiu, Cong
    Guo, Lihe
    Huang, Liquan
    Ge, Zhen
    Yu, Luyang
    FRONTIERS IN CELL AND DEVELOPMENTAL BIOLOGY, 2021, 9
  • [49] Rapid repair of human disease-specific single-nucleotide variants by One-SHOT genome editing
    Yokouchi, Yuji
    Suzuki, Shinichi
    Ohtsuki, Noriko
    Yamamoto, Kei
    Noguchi, Satomi
    Soejima, Yumi
    Goto, Mizuki
    Ishioka, Ken
    Nakamura, Izumi
    Suzuki, Satoru
    Takenoshita, Seiichi
    Era, Takumi
    SCIENTIFIC REPORTS, 2020, 10 (01)
  • [50] Human Pluripotent Stem Cell-Derived Multipotent Vascular Progenitors of the Mesothelium Lineage Have Utility in Tissue Engineering and Repair
    Colunga, Thomas
    Hayworth, Miranda
    Kress, Sebastian
    Reynolds, David M.
    Chen, Luoman
    Nazor, Kristopher L.
    Baur, Johannes
    Singh, Amar M.
    Loring, Jeanne F.
    Metzger, Marco
    Dalton, Stephen
    CELL REPORTS, 2019, 26 (10): : 2566 - +