RepairFormer: Automated Repair of Structured Inputs Using Transformers
Structured input files such as JSON, DOT, OBJ, INI, Lisp, and TinyC are widely used in software systems, but small corruptions can cause parsers to reject otherwise useful data. Repairing such inputs is important because malformed configuration, program, and data files can interrupt testing, analysis, deployment, and downstream automation even when most of the original content remains intact. Existing repair techniques can produce structurally valid inputs, but they often rely on deletion or repeated search, which may lose original content and result in semantic incorrectness. This paper presents RepairFormer, a transformer-based framework for structured input repair. The approach formulates repair as a supervised sequence generation task and uses format tags, oracle validation, and boundary-localized repair to generate valid outputs while preserving content. The boundary workflow focuses generation on the detected fault region, reducing the input size, and supporting repair of longer files. In evaluation, RepairFormer achieves a 88% in repair and 94% in recovery, showing strongest content preservation when repairs are successful. Additional experiments on our benchmark shows RepairFormer repairs 97.57% and recovers 94.29% with 5x faster runtime compared to state of the art.
Tue 6 OctDisplayed time zone: Pacific Time (US & Canada) change
15:30 - 17:00 | Developer Tools, Diagnostics & AutomationSPLASH/ISSTA Tool Demonstrations at OCC 202 Chair(s): Lucie le Blanc | ||
15:30 18mPaper | HeapLens: An IDE-Integrated Tool for Heap Dump Analysis with In-Editor Source Bridging and LLM-Assisted Diagnosis SPLASH/ISSTA Tool Demonstrations | ||
15:48 18mTalk | CoCoMUT: A Tool for Code-Context Mining and Automated Dataset Generation SPLASH/ISSTA Tool Demonstrations A: Alessandro Botta University of Texas at Dallas, A: Shiven Garisa Heritage High School, A: Jaya Vardhini Akurathi University of Texas at Dallas, A: Ahsanul Ameen Sabit University of Texas at Dallas, A: Trey Woodlief William & Mary, A: Soneya Binta Hossain University of Texas at Dallas | ||
16:06 18mPaper | RepairFormer: Automated Repair of Structured Inputs Using Transformers SPLASH/ISSTA Tool Demonstrations A: Ovi Paul University of Houston, A: Tom J King University of Houston, A: Ali Shokri University of Houston Pre-print Media Attached | ||
16:24 18mPaper | Falconf: A Web-Based Tool for Misconfiguration Diagnosis via Log Analysis SPLASH/ISSTA Tool Demonstrations A: Youyang Kim Kyungpook National University, A: Sahil Suneja IBM Research, A: Yong-Hwan Jeong Kyungpook National University, A: Yunja Choi Kyungpook National University, A: Young-Woo Kwon Kyungpook National University, A: Byungchul Tak Kyungpook National University | ||
16:42 18mPaper | bench: A Programmable Command-Line Framework for Complex Benchmarking Workflows SPLASH/ISSTA Tool Demonstrations | ||