{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T11:36:58Z","timestamp":1791459418429,"version":"4.3.4"},"reference-count":64,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T00:00:00Z","timestamp":1750291200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["2346561,2443763,CNS-2145493,CNS-1929771"],"award-info":[{"award-number":["2346561,2443763,CNS-2145493,CNS-1929771"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000185","name":"DARPA","doi-asserted-by":"crossref","award":["230939"],"award-info":[{"award-number":["230939"]}],"id":[{"id":"10.13039\/100000185","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/100000140","name":"USDOT","doi-asserted-by":"crossref","award":["69A3552348327"],"award-info":[{"award-number":["69A3552348327"]}],"id":[{"id":"10.13039\/100000140","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,19]]},"abstract":"<jats:p>As autonomous driving systems (ADSes) become increasingly complex and integral to daily life, the importance of understanding the nature and mitigation of software bugs in these systems has grown correspondingly. Addressing the challenges of software maintenance in autonomous driving systems (e.g., handling real-time system decisions and ensuring safety-critical reliability) is crucial due to the unique combination of real-time decision-making requirements and the high stakes of operational failures in ADSes. The potential of automated tools in this domain is promising, yet there remains a gap in our comprehension of the challenges faced and the strategies employed during manual debugging and repair of such systems. In this paper, we present an empirical study that investigates bug-fix patterns in ADSes, with the aim of improving reliability and safety. We have analyzed the commit histories and bug reports of two major autonomous driving projects, Apollo and Autoware, from 1,331 bug fixes with the study of bug symptoms, root causes, and bug-fix patterns. Our study reveals several dominant bug-fix patterns, including those related to path planning, data flow, and configuration management. Additionally, we find that the frequency distribution of bug-fix patterns varies significantly depending on their nature and types and that certain categories of bugs are recurrent and more challenging to exterminate. Based on our findings, we propose a hierarchy of ADS bugs and two taxonomies of 15 syntactic bug-fix patterns and 27 semantic bug-fix patterns that offer guidance for bug identification and resolution. We also contribute a benchmark of 1,331 ADS bug-fix instances.<\/jats:p>","DOI":"10.1145\/3715733","type":"journal-article","created":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T11:15:34Z","timestamp":1750331734000},"page":"380-402","source":"Crossref","is-referenced-by-count":3,"title":["A Comprehensive Study of Bug-Fix Patterns in Autonomous Driving Systems"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3497-4167","authenticated-orcid":false,"given":"Yuntianyi","family":"Chen","sequence":"first","affiliation":[{"name":"University of California at Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4792-8215","authenticated-orcid":false,"given":"Yuqi","family":"Huai","sequence":"additional","affiliation":[{"name":"University of California at Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-6248-2053","authenticated-orcid":false,"given":"Yirui","family":"He","sequence":"additional","affiliation":[{"name":"University of California at Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-8875-983X","authenticated-orcid":false,"given":"Shilong","family":"Li","sequence":"additional","affiliation":[{"name":"University of California at Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-3704-3379","authenticated-orcid":false,"given":"Changnam","family":"Hong","sequence":"additional","affiliation":[{"name":"University of California at Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0316-9285","authenticated-orcid":false,"given":"Qi Alfred","family":"Chen","sequence":"additional","affiliation":[{"name":"University of California at Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1696-8783","authenticated-orcid":false,"given":"Joshua","family":"Garcia","sequence":"additional","affiliation":[{"name":"University of California at Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,19]]},"reference":[{"key":"e_1_3_1_1_2","unstructured":"April 2022. Toyota Follows Tesla In Developing A Vision-Based Self-Driving System. https:\/\/bit.ly\/3TQQNuw"},{"key":"e_1_3_1_2_2","unstructured":"December 2020. 40+ Corporations Working On Autonomous Vehicles. https:\/\/bit.ly\/3PdBpGu"},{"key":"e_1_3_1_3_2","unstructured":"December 2023. Baidu launches Apollo Open Source Platform 9.0. https:\/\/autonews.gasgoo.com\/rn\/70030171.html"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","unstructured":"February 2025. Artifacts of the ADS Bug-Fix Pattern Study. doi:10.5281\/zenodo.14807539","DOI":"10.5281\/zenodo.14807539"},{"key":"e_1_3_1_5_2","unstructured":"January 2018. You can take a ride in a self-driving Lyft during CES - The Verge. https:\/\/bit.ly\/3Rhlp6s"},{"key":"e_1_3_1_6_2","unstructured":"July 2018. Baidu starts mass production of autonomous buses. https:\/\/bit.ly\/3oJXrSy"},{"key":"e_1_3_1_7_2","unstructured":"July 2018. Waymo\u2019s autonomous cars have driven 8 million miles on public roads. https:\/\/bit.ly\/43uSNwb"},{"key":"e_1_3_1_8_2","unstructured":"June 2019. CARMA Overview. https:\/\/bit.ly\/44JQ423. ( 2019)"},{"key":"e_1_3_1_9_2","unstructured":"June 2021. Baidu is building Level 4 autonomous robotaxis called Apollo Moon in China. https:\/\/bit.ly\/3HQ46qH"},{"key":"e_1_3_1_10_2","unstructured":"June 2022. GM\u2019s Cruise starts charging fares for driverless rides in San Francisco. https:\/\/reut.rs\/40rtGJu"},{"key":"e_1_3_1_11_2","unstructured":"March 2022. Udacity: Self-Driving Fundamentals: Featuring Apollo. https:\/\/bit.ly\/3RnMVC0"},{"key":"e_1_3_1_12_2","unstructured":"November 2018. Baidu hits the gas on autonomous vehicles with Volvo and Ford deals. https:\/\/tcrn.ch\/3EL8Prj"},{"key":"e_1_3_1_13_2","doi-asserted-by":"crossref","unstructured":"October 2020. Ford unveils new self-driving test vehicle for 2022 launch. https:\/\/cnb.cx\/3zi2AIQ","DOI":"10.1016\/S1464-2859(20)30376-X"},{"key":"e_1_3_1_14_2","unstructured":"October 2021. Tesla Sold 2 Million Electric Cars: First Automaker To Reach Milestone. https:\/\/bit.ly\/3GlzDVm"},{"key":"e_1_3_1_15_2","unstructured":"September 2017. The 18 Companies Most Likely to Get Driverless Cars on the Road First. https:\/\/bit.ly\/3sFsNRo("},{"key":"e_1_3_1_16_2","unstructured":"September 2022. Waymo and Intel Collaborate on Self-Driving Car Technology. https:\/\/bit.ly\/4d71Mbg"},{"key":"e_1_3_1_17_2","unstructured":"September 2022. Past Present and the Future of Autoware - Autoware. https:\/\/bit.ly\/4clFkKW"},{"key":"e_1_3_1_18_2","unstructured":"September 2024. Apollo Architecture Evolution. https:\/\/bit.ly\/3PnTVwL"},{"key":"e_1_3_1_19_2","unstructured":"September 2024. Baidu Apollo: An open autonomous driving platform. https:\/\/en.apollo.auto\/apollo-self-driving"},{"key":"e_1_3_1_20_2","unstructured":"September 2024. Debug Autoware - Auto ware Documentation. https:\/\/bit.ly\/3zkkTRg"},{"key":"e_1_3_1_21_2","unstructured":"September 2024. GitHub - Apollo: An open autonomous driving platform. https:\/\/bit.ly\/3XSQUa5"},{"key":"e_1_3_1_22_2","unstructured":"September 2024. GitHub - Autoware: An open-source software project for autonomous driving. https:\/\/bit.ly\/3MIaiCH"},{"key":"e_1_3_1_23_2","unstructured":"September 2024. GitHub - CARMA Platform. https:\/\/bit.ly\/45GZGvN"},{"key":"e_1_3_1_24_2","unstructured":"September 2024. How to Debug Apollo. https:\/\/bit.ly\/3TNhvpq"},{"key":"e_1_3_1_25_2","unstructured":"September 2024. Planning component design - Autoware Documentation. https:\/\/bit.ly\/3SDUzrE"},{"key":"e_1_3_1_26_2","unstructured":"September 2024. Waymo - Self-Driving Cars - Autonomous Vehicles. https:\/\/waymo.com\/"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1109\/IVWORKSHOPS54471.2021.9669254"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1109\/IVS.2017.7995971"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.2458\/v6i1.18772"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1109\/ESEM.2017.55"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1002\/SMR.2173"},{"key":"e_1_3_1_32_2","unstructured":"Krzysztof Czarnecki. 2018. Operational design domain for automated driving systems. In Taxonomy of Basic Terms \u201c Waterloo Intelligent Systems Engineering (WISE) Lab University of Waterloo Canada."},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616347"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","unstructured":"Marc Eaddy Alfred Aho and Gail C. Murphy. 2007. Identifying Assigning and Quantifying Crosscutting Concerns. In First International Workshop on Assessment of Contemporary Modularization Techniques (ACoM \u201907). 2\u20132. doi:10.1109\/ACOM.2007.4","DOI":"10.1109\/ACOM.2007.4"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2008.36"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2017.8115662"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380397"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616325"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2303.18184"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1109\/IVS.2013.6629569"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3338906.3338955"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380378"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/3341105.3373880"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3540250.3549111"},{"issue":"34","key":"e_1_3_1_45_2","first-page":"597","article-title":"Design principles and design patterns","volume":"1","author":"Martin Robert C","year":"2000","unstructured":"Robert C Martin. 2000. Design principles and design patterns. Object Mentor 1, 34 (2000), 597.","journal-title":"Object Mentor"},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.11613\/BM.2012.031"},{"key":"e_1_3_1_47_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.ifacol.2016.07.612"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","DOI":"10.1177\/1609406919899220"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1007\/sl0664-008-9077-5"},{"key":"e_1_3_1_50_2","first-page":"5","volume-title":"ICRA workshop on open source software","author":"Quigley Morgan","year":"2009","unstructured":"Morgan Quigley, Ken Conley, Brian Gerkey, Josh Faust, Tully Foote, Jeremy Leibs, Rob Wheeler, Andrew Y Ng, and et al.. 2009. ROS: an open-source Robot Operating System. In ICRA workshop on open source software, Vol. 3. Kobe, Japan, 5."},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/2667317.2667330"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/1414004.1414030"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1145\/2901739.2903495"},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/3020266"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1109\/COMPSAC.2018.00057"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1109\/IVS.2016.7535402"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISSRE.2012.22"},{"key":"e_1_3_1_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/2786805.2786850"},{"key":"e_1_3_1_59_2","doi-asserted-by":"publisher","DOI":"10.1109\/FUZZY.2010.5584447"},{"key":"e_1_3_1_60_2","doi-asserted-by":"publisher","DOI":"10.1109\/32.44376"},{"key":"e_1_3_1_61_2","doi-asserted-by":"publisher","DOI":"10.1016\/J.JSS.2022.111425"},{"key":"e_1_3_1_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/3631974"},{"key":"e_1_3_1_63_2","doi-asserted-by":"publisher","DOI":"10.1145\/3213846.3213866"},{"key":"e_1_3_1_64_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2015.101"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3715733","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3715733","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T11:03:39Z","timestamp":1787483019000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3715733"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,19]]},"references-count":64,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2025,6,19]]}},"alternative-id":["10.1145\/3715733"],"URL":"https:\/\/doi.org\/10.1145\/3715733","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,19]]}}}