{"id":"https://openalex.org/W4412704064","doi":"https://doi.org/10.1145/3696630.3728556","title":"HapRepair: Learn to Repair OpenHarmony Apps","display_name":"HapRepair: Learn to Repair OpenHarmony Apps","publication_year":2025,"publication_date":"2025-06-23","ids":{"openalex":"https://openalex.org/W4412704064","doi":"https://doi.org/10.1145/3696630.3728556"},"language":"en","primary_location":{"id":"doi:10.1145/3696630.3728556","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3696630.3728556","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3696630.3728556","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering","raw_type":"proceedings-article"},"type":"conference-paper","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://dl.acm.org/doi/pdf/10.1145/3696630.3728556","any_repository_has_fulltext":null},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5101285201","display_name":"Zhihao Lin","orcid":"https://orcid.org/0009-0003-4868-2805"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Zhihao Lin","raw_affiliation_strings":["Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0009-0003-4868-2805","affiliations":[{"raw_affiliation_string":"Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5065153516","display_name":"Mingyi Zhou","orcid":"https://orcid.org/0000-0003-3514-0372"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Mingyi Zhou","raw_affiliation_strings":["Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0000-0003-3514-0372","affiliations":[{"raw_affiliation_string":"Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5057849611","display_name":"Wei Ma","orcid":"https://orcid.org/0000-0002-0044-466X"},"institutions":[{"id":"https://openalex.org/I79891267","display_name":"Singapore Management University","ror":"https://ror.org/050qmg959","country_code":"SG","type":"education","lineage":["https://openalex.org/I79891267"]}],"countries":["SG"],"is_corresponding":false,"raw_author_name":"Wei Ma","raw_affiliation_strings":["Singapore Management University, Singapore, Singapore"],"raw_orcid":"https://orcid.org/0000-0002-0044-466X","affiliations":[{"raw_affiliation_string":"Singapore Management University, Singapore, Singapore","institution_ids":["https://openalex.org/I79891267"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5103056709","display_name":"Chi Chen","orcid":"https://orcid.org/0000-0002-8472-641X"},"institutions":[{"id":"https://openalex.org/I24943067","display_name":"Fudan University","ror":"https://ror.org/013q1eq08","country_code":"CN","type":"education","lineage":["https://openalex.org/I24943067"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Chi Chen","raw_affiliation_strings":["Fudan University, Shanghai, China"],"raw_orcid":"https://orcid.org/0000-0002-8472-641X","affiliations":[{"raw_affiliation_string":"Fudan University, Shanghai, China","institution_ids":["https://openalex.org/I24943067"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100675701","display_name":"Yun Yang","orcid":"https://orcid.org/0000-0002-9893-3436"},"institutions":[{"id":"https://openalex.org/I189210763","display_name":"Yunnan University","ror":"https://ror.org/0040axw97","country_code":"CN","type":"education","lineage":["https://openalex.org/I189210763"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Yun Yang","raw_affiliation_strings":["Yunnan University, Yunnan, China"],"raw_orcid":"https://orcid.org/0000-0002-9893-3436","affiliations":[{"raw_affiliation_string":"Yunnan University, Yunnan, China","institution_ids":["https://openalex.org/I189210763"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100384677","display_name":"Jun Wang","orcid":"https://orcid.org/0000-0002-0481-5341"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Jun Wang","raw_affiliation_strings":["Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0000-0002-0481-5341","affiliations":[{"raw_affiliation_string":"Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5028857237","display_name":"Chunming Hu","orcid":"https://orcid.org/0000-0003-3473-9703"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Chunming Hu","raw_affiliation_strings":["Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0000-0003-3473-9703","affiliations":[{"raw_affiliation_string":"Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5106407830","display_name":"Li Li","orcid":"https://orcid.org/0000-0003-2990-1614"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Li Li","raw_affiliation_strings":["Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0000-0003-2990-1614","affiliations":[{"raw_affiliation_string":"Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":4,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":null,"has_fulltext":true,"cited_by_count":3,"citation_normalized_percentile":null,"cited_by_percentile_year":null,"biblio":{"volume":null,"issue":null,"first_page":"319","last_page":"330"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T12127","display_name":"Software System Performance and Reliability","score":0.9962000250816345,"subfield":{"id":"https://openalex.org/subfields/1705","display_name":"Computer Networks and Communications"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T12127","display_name":"Software System Performance and Reliability","score":0.9962000250816345,"subfield":{"id":"https://openalex.org/subfields/1705","display_name":"Computer Networks and Communications"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11241","display_name":"Advanced Malware Detection Techniques","score":0.9940000176429749,"subfield":{"id":"https://openalex.org/subfields/1711","display_name":"Signal Processing"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11644","display_name":"Spam and Phishing Detection","score":0.9853000044822693,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.6147010326385498}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.6147010326385498}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3696630.3728556","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3696630.3728556","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3696630.3728556","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering","raw_type":"proceedings-article"}],"best_oa_location":{"id":"doi:10.1145/3696630.3728556","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3696630.3728556","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3696630.3728556","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering","raw_type":"proceedings-article"},"sustainable_development_goals":[{"score":0.4300000071525574,"display_name":"Decent work and economic growth","id":"https://metadata.un.org/sdg/8"}],"awards":[{"id":"https://openalex.org/G5571639394","display_name":null,"funder_award_id":"2024YFB4506300","funder_id":"https://openalex.org/F4320335777","funder_display_name":"National Key Research and Development Program of China"}],"funders":[{"id":"https://openalex.org/F4320320971","display_name":"Monash University","ror":"https://ror.org/02bfwt286"},{"id":"https://openalex.org/F4320321125","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56"},{"id":"https://openalex.org/F4320335777","display_name":"National Key Research and Development Program of China","ror":null}],"has_content":{"grobid_xml":true,"pdf":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4412704064.pdf","grobid_xml":"https://content.openalex.org/works/W4412704064.grobid-xml"},"referenced_works_count":24,"referenced_works":["https://openalex.org/W89527454","https://openalex.org/W1482796962","https://openalex.org/W1543330234","https://openalex.org/W1989657183","https://openalex.org/W2008626182","https://openalex.org/W2164038636","https://openalex.org/W2166766372","https://openalex.org/W2271567685","https://openalex.org/W2537787699","https://openalex.org/W2905463374","https://openalex.org/W2907705732","https://openalex.org/W2912195676","https://openalex.org/W2972082064","https://openalex.org/W4210257598","https://openalex.org/W4238202093","https://openalex.org/W4246923688","https://openalex.org/W4248799824","https://openalex.org/W4285342388","https://openalex.org/W4288614128","https://openalex.org/W4304688778","https://openalex.org/W4391558518","https://openalex.org/W4402443087","https://openalex.org/W4402626702","https://openalex.org/W6980954492"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2899084033","https://openalex.org/W2748952813","https://openalex.org/W2390279801","https://openalex.org/W4391913857","https://openalex.org/W2358668433","https://openalex.org/W4396701345","https://openalex.org/W2376932109","https://openalex.org/W2001405890","https://openalex.org/W4396696052"],"abstract_inverted_index":{"Software":[0],"defect":[1,29,83,98,116,125,129,136,193,213,218,227],"detection":[2,30],"and":[3,31,138,166,185],"repair":[4,64,84,99,126,150,194,214,228],"are":[5],"essential":[6],"software":[7,28],"engineering":[8],"tasks":[9],"that":[10,101,174,233],"mitigate":[11],"potential":[12],"risks":[13],"in":[14,27,52,85,179,187],"the":[15,41,53,67,70,79,91,112,115,133,146,154,162,167,200,217],"early":[16],"development":[17],"stages.":[18],"Large":[19],"Language":[20],"Models":[21],"(LLMs)":[22],"have":[23,234],"demonstrated":[24],"significant":[25],"capabilities":[26],"repair.":[32,117],"However,":[33],"it":[34],"is":[35,49,132],"hard":[36],"for":[37,128,212,226],"LLMs":[38,211],"to":[39,57,110,144,204],"handle":[40],"new":[42,86,230],"programming":[43,87,231],"languages":[44,232],"such":[45],"as":[46],"ArkTS":[47],"(which":[48],"predominantly":[50],"used":[51],"OpenHarmony":[54,180],"platform)":[55],"due":[56],"training":[58],"data":[59],"shortage.":[60],"Additionally,":[61],"LLM-based":[62,82],"multi-defect":[63],"suffers":[65],"from":[66],"limitation":[68,157],"of":[69,73,81,114,135,148,158,196],"context":[71,155],"window":[72,156],"LLMs.":[74],"These":[75],"issues":[76],"significantly":[77],"affect":[78],"performance":[80],"languages.":[88],"To":[89,152],"address":[90],"above":[92],"challenges,":[93],"we":[94,119,160],"propose":[95,161],"HapRepair,":[96],"a":[97,192,223],"framework":[100,127],"integrates":[102],"static":[103],"analysis":[104],"tools":[105],"with":[106,142],"retrieval-augmented":[107],"generation":[108],"(RAG)":[109],"improve":[111,145],"effectiveness":[113],"Specifically,":[118],"integrate":[120],"CodeLinter":[121],"into":[122],"our":[123,149],"iterative":[124],"detection,":[130],"which":[131],"basis":[134],"repair,":[137],"utilize":[139],"RAG":[140],"together":[141],"ArkAnalyzer":[143],"quality":[147],"solutions.":[151],"overcome":[153],"LLMs,":[159],"Surrounding":[163],"Context":[164,168],"Extractor":[165],"Combination":[169],"Tool.":[170],"Experiment":[171],"results":[172],"show":[173],"HapRepair":[175],"effectively":[176],"repairs":[177],"defects":[178],"Apps,":[181],"demonstrating":[182],"high":[183],"reliability":[184],"efficiency":[186],"addressing":[188],"code":[189,236],"issues,":[190],"achieving":[191],"rate":[195],"about":[197,206],"99%":[198],"on":[199,216,229],"test":[201],"set,":[202],"compared":[203],"only":[205],"37%":[207],"when":[208],"directly":[209],"using":[210],"based":[215],"information.":[219],"Our":[220],"approach":[221],"demonstrates":[222],"robust":[224],"solution":[225],"limited":[235],"corpus.":[237]},"counts_by_year":[{"year":2026,"cited_by_count":2},{"year":2025,"cited_by_count":1}],"updated_date":"2026-07-14T23:27:15.235271","created_date":"2025-10-10T00:00:00"}
