{"id":"https://openalex.org/W4408124887","doi":"https://doi.org/10.1145/3719345","title":"<i>ContrastRepair</i> : Enhancing Conversation-Based Automated Program Repair via Contrastive Test Case Pairs","display_name":"<i>ContrastRepair</i> : Enhancing Conversation-Based Automated Program Repair via Contrastive Test Case Pairs","publication_year":2025,"publication_date":"2025-03-04","ids":{"openalex":"https://openalex.org/W4408124887","doi":"https://doi.org/10.1145/3719345"},"language":"en","primary_location":{"id":"doi:10.1145/3719345","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3719345","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3719345","source":{"id":"https://openalex.org/S142627899","display_name":"ACM Transactions on Software Engineering and Methodology","issn_l":"1049-331X","issn":["1049-331X","1557-7392"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"ACM Transactions on Software Engineering and Methodology","raw_type":"journal-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"bronze","oa_url":"https://dl.acm.org/doi/pdf/10.1145/3719345","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5111141245","display_name":"Jiaolong Kong","orcid":"https://orcid.org/0009-0001-8248-1981"},"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":true,"raw_author_name":"Jiaolong Kong","raw_affiliation_strings":["Singapore Management University, Singapore, Singapore","Singapore Management University, Singapore"],"raw_orcid":"https://orcid.org/0009-0001-8248-1981","affiliations":[{"raw_affiliation_string":"Singapore Management University, Singapore, Singapore","institution_ids":["https://openalex.org/I79891267"]},{"raw_affiliation_string":"Singapore Management University, Singapore","institution_ids":["https://openalex.org/I79891267"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5084396416","display_name":"Xiaofei Xie","orcid":"https://orcid.org/0000-0002-1288-6502"},"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":"Xiaofei Xie","raw_affiliation_strings":["Singapore Management University, Singapore, Singapore","Singapore Management University, Singapore"],"raw_orcid":"https://orcid.org/0000-0002-1288-6502","affiliations":[{"raw_affiliation_string":"Singapore Management University, Singapore, Singapore","institution_ids":["https://openalex.org/I79891267"]},{"raw_affiliation_string":"Singapore Management University, Singapore","institution_ids":["https://openalex.org/I79891267"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5034249815","display_name":"Mingfei Cheng","orcid":"https://orcid.org/0000-0002-8982-1483"},"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":"Mingfei Cheng","raw_affiliation_strings":["Singapore Management University, Singapore, Singapore","Singapore Management University, Singapore"],"raw_orcid":"https://orcid.org/0000-0002-8982-1483","affiliations":[{"raw_affiliation_string":"Singapore Management University, Singapore, Singapore","institution_ids":["https://openalex.org/I79891267"]},{"raw_affiliation_string":"Singapore Management University, Singapore","institution_ids":["https://openalex.org/I79891267"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5045943684","display_name":"Shangqing Liu","orcid":"https://orcid.org/0000-0002-5598-4006"},"institutions":[{"id":"https://openalex.org/I881766915","display_name":"Nanjing University","ror":"https://ror.org/01rxvg760","country_code":"CN","type":"education","lineage":["https://openalex.org/I881766915"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Shangqing Liu","raw_affiliation_strings":["Nanjing University, Nanjing, China","State Key Laboratory for Novel Software Technology, Nanjing University, China"],"raw_orcid":"https://orcid.org/0000-0002-5598-4006","affiliations":[{"raw_affiliation_string":"Nanjing University, Nanjing, China","institution_ids":["https://openalex.org/I881766915"]},{"raw_affiliation_string":"State Key Laboratory for Novel Software Technology, Nanjing University, China","institution_ids":["https://openalex.org/I881766915"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5102717874","display_name":"Xiaoning Du","orcid":"https://orcid.org/0000-0003-3728-9541"},"institutions":[{"id":"https://openalex.org/I56590836","display_name":"Monash University","ror":"https://ror.org/02bfwt286","country_code":"AU","type":"education","lineage":["https://openalex.org/I56590836"]}],"countries":["AU"],"is_corresponding":false,"raw_author_name":"Xiaoning Du","raw_affiliation_strings":["Monash University, Melbourne, Australia","Monash University, Australia"],"raw_orcid":"https://orcid.org/0000-0003-3728-9541","affiliations":[{"raw_affiliation_string":"Monash University, Melbourne, Australia","institution_ids":["https://openalex.org/I56590836"]},{"raw_affiliation_string":"Monash University, Australia","institution_ids":["https://openalex.org/I56590836"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5103017810","display_name":"Qi Guo","orcid":"https://orcid.org/0009-0008-8002-8068"},"institutions":[{"id":"https://openalex.org/I162868743","display_name":"Tianjin University","ror":"https://ror.org/012tb2g32","country_code":"CN","type":"education","lineage":["https://openalex.org/I162868743"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Qi Guo","raw_affiliation_strings":["Tianjin University, Tianjin, China","Tianjin University, China"],"raw_orcid":"https://orcid.org/0009-0008-8002-8068","affiliations":[{"raw_affiliation_string":"Tianjin University, Tianjin, China","institution_ids":["https://openalex.org/I162868743"]},{"raw_affiliation_string":"Tianjin University, China","institution_ids":["https://openalex.org/I162868743"]}]}],"institutions":[],"countries_distinct_count":3,"institutions_distinct_count":6,"corresponding_author_ids":["https://openalex.org/A5111141245"],"corresponding_institution_ids":["https://openalex.org/I79891267"],"apc_list":null,"apc_paid":null,"fwci":31.7962,"has_fulltext":true,"cited_by_count":17,"citation_normalized_percentile":{"value":0.99699459,"is_in_top_1_percent":true,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":99,"max":100},"biblio":{"volume":"34","issue":"8","first_page":"1","last_page":"31"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9998999834060669,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"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/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9998999834060669,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"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/T11005","display_name":"Radiation Effects in Electronics","score":0.9979000091552734,"subfield":{"id":"https://openalex.org/subfields/2208","display_name":"Electrical and Electronic Engineering"},"field":{"id":"https://openalex.org/fields/22","display_name":"Engineering"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9968000054359436,"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.8242441415786743},{"id":"https://openalex.org/keywords/conversation","display_name":"Conversation","score":0.6878737211227417},{"id":"https://openalex.org/keywords/test","display_name":"Test (biology)","score":0.4825567603111267},{"id":"https://openalex.org/keywords/software-engineering","display_name":"Software engineering","score":0.44909366965293884},{"id":"https://openalex.org/keywords/software-testing","display_name":"Software testing","score":0.42105773091316223},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.28641846776008606},{"id":"https://openalex.org/keywords/software","display_name":"Software","score":0.1885572075843811},{"id":"https://openalex.org/keywords/linguistics","display_name":"Linguistics","score":0.10085180401802063}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8242441415786743},{"id":"https://openalex.org/C2777200299","wikidata":"https://www.wikidata.org/wiki/Q52943","display_name":"Conversation","level":2,"score":0.6878737211227417},{"id":"https://openalex.org/C2777267654","wikidata":"https://www.wikidata.org/wiki/Q3519023","display_name":"Test (biology)","level":2,"score":0.4825567603111267},{"id":"https://openalex.org/C115903868","wikidata":"https://www.wikidata.org/wiki/Q80993","display_name":"Software engineering","level":1,"score":0.44909366965293884},{"id":"https://openalex.org/C2984328558","wikidata":"https://www.wikidata.org/wiki/Q188522","display_name":"Software testing","level":3,"score":0.42105773091316223},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.28641846776008606},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.1885572075843811},{"id":"https://openalex.org/C41895202","wikidata":"https://www.wikidata.org/wiki/Q8162","display_name":"Linguistics","level":1,"score":0.10085180401802063},{"id":"https://openalex.org/C151730666","wikidata":"https://www.wikidata.org/wiki/Q7205","display_name":"Paleontology","level":1,"score":0.0},{"id":"https://openalex.org/C138885662","wikidata":"https://www.wikidata.org/wiki/Q5891","display_name":"Philosophy","level":0,"score":0.0},{"id":"https://openalex.org/C86803240","wikidata":"https://www.wikidata.org/wiki/Q420","display_name":"Biology","level":0,"score":0.0}],"mesh":[],"locations_count":2,"locations":[{"id":"doi:10.1145/3719345","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3719345","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3719345","source":{"id":"https://openalex.org/S142627899","display_name":"ACM Transactions on Software Engineering and Methodology","issn_l":"1049-331X","issn":["1049-331X","1557-7392"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"ACM Transactions on Software Engineering and Methodology","raw_type":"journal-article"},{"id":"pmh:oai:monash.edu:openaire/c948d0bb-216e-47f3-8f12-ed58a2040451","is_oa":true,"landing_page_url":"https://research.monash.edu/en/publications/c948d0bb-216e-47f3-8f12-ed58a2040451","pdf_url":"https://researchmgt.monash.edu/ws/files/758295374/736875182-oa.pdf","source":{"id":"https://openalex.org/S4306402625","display_name":"Monash University Research Portal (Monash University)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I56590836","host_organization_name":"Monash University","host_organization_lineage":["https://openalex.org/I56590836"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"Kong, J, Xie, X, Cheng, M, Liu, S, Du, X & Guo, Q 2025, 'ContrastRepair : Enhancing Conversation-Based Automated Program Repair via Contrastive Test Case Pairs', ACM Transactions on Software Engineering and Methodology, vol. 34, no. 8, 216. https://doi.org/10.1145/3719345","raw_type":"info:eu-repo/semantics/publishedVersion"}],"best_oa_location":{"id":"doi:10.1145/3719345","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3719345","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3719345","source":{"id":"https://openalex.org/S142627899","display_name":"ACM Transactions on Software Engineering and Methodology","issn_l":"1049-331X","issn":["1049-331X","1557-7392"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"ACM Transactions on Software Engineering and Methodology","raw_type":"journal-article"},"sustainable_development_goals":[],"awards":[{"id":"https://openalex.org/G6036235291","display_name":null,"funder_award_id":"NCRP25-P04-TAICeN","funder_id":"https://openalex.org/F4320320709","funder_display_name":"National Research Foundation Singapore"}],"funders":[{"id":"https://openalex.org/F4320320671","display_name":"National Research Foundation","ror":"https://ror.org/05s0g1g46"},{"id":"https://openalex.org/F4320320709","display_name":"National Research Foundation Singapore","ror":"https://ror.org/03cpyc314"}],"has_content":{"pdf":true,"grobid_xml":false},"content_urls":{"pdf":"https://content.openalex.org/works/W4408124887.pdf"},"referenced_works_count":34,"referenced_works":["https://openalex.org/W1531677189","https://openalex.org/W1543330234","https://openalex.org/W1710734607","https://openalex.org/W2002934700","https://openalex.org/W2016716561","https://openalex.org/W2066792529","https://openalex.org/W2101512909","https://openalex.org/W2170224888","https://openalex.org/W2604348044","https://openalex.org/W2911282308","https://openalex.org/W2912671384","https://openalex.org/W2913334895","https://openalex.org/W2914825488","https://openalex.org/W3095319910","https://openalex.org/W3185341429","https://openalex.org/W3209721572","https://openalex.org/W4205807230","https://openalex.org/W4226278401","https://openalex.org/W4229730107","https://openalex.org/W4234542549","https://openalex.org/W4236990373","https://openalex.org/W4238124605","https://openalex.org/W4239249613","https://openalex.org/W4244221193","https://openalex.org/W4252076394","https://openalex.org/W4285417467","https://openalex.org/W4285490400","https://openalex.org/W4285827657","https://openalex.org/W4308643319","https://openalex.org/W4308643994","https://openalex.org/W4382246105","https://openalex.org/W4400190916","https://openalex.org/W4402443087","https://openalex.org/W6870251470"],"related_works":["https://openalex.org/W2899084033","https://openalex.org/W2090301720","https://openalex.org/W4232791850","https://openalex.org/W2008194781","https://openalex.org/W3176274227","https://openalex.org/W3089971865","https://openalex.org/W2039512252","https://openalex.org/W2038209453","https://openalex.org/W2913502950","https://openalex.org/W1916954724"],"abstract_inverted_index":{"Automated":[0],"Program":[1],"Repair":[2],"(APR)":[3],"aims":[4],"to":[5,89,96,128],"automatically":[6],"generate":[7],"patches":[8,152],"for":[9],"rectifying":[10],"software":[11],"bugs.":[12,118,206],"Recent":[13],"strides":[14],"in":[15,27,180],"Large":[16],"Language":[17],"Models":[18],"(LLM),":[19],"such":[20,121],"as":[21],"ChatGPT,":[22,143],"have":[23],"yielded":[24],"encouraging":[25],"outcomes":[26],"APR,":[28],"especially":[29],"within":[30],"the":[31,36,44,47,90,98,101,106,114,126,140,201],"conversation-driven":[32,39,64],"APR":[33,40,60,65],"framework.":[34],"Nevertheless,":[35],"efficacy":[37],"of":[38,46,77,117,135,195],"is":[41,95,137],"contingent":[42],"on":[43,139,158],"quality":[45],"feedback":[48,88],"information.":[49],"In":[50],"this":[51],"article,":[52],"we":[53],"propose":[54],"ContrastRepair":[55,124,136,157,171,190],",":[56],"a":[57,78,82,177],"novel":[58],"conversation-based":[59],"approach":[61],"that":[62,170],"augments":[63],"by":[66],"providing":[67,120],"LLMs":[68],"with":[69,148],"contrastive":[70,87],"test":[71,74,80,104],"pairs.":[72],"A":[73],"pair":[75],"consists":[76],"failing":[79,108],"and":[81,105,144,165,188],"passing":[83,103],"test,":[84,109],"which":[85,110],"offer":[86],"LLM.":[91],"Our":[92],"key":[93],"insight":[94],"minimize":[97],"difference":[99],"between":[100],"generated":[102],"given":[107],"can":[111],"better":[112],"isolate":[113],"root":[115],"causes":[116],"By":[119],"informative":[122],"feedback,":[123],"enables":[125],"LLM":[127],"produce":[129],"effective":[130],"bug":[131,198],"fixes.":[132],"The":[133,167],"implementation":[134],"based":[138],"state-of-the-art":[141,179],"LLM,":[142],"it":[145],"iteratively":[146],"interacts":[147],"ChatGPT":[149],"until":[150],"plausible":[151],"are":[153],"generated.":[154],"We":[155],"evaluate":[156],"multiple":[159],"benchmark":[160],"datasets,":[161],"including":[162],"Defects4J,":[163],"QuixBugs,":[164],"HumanEval-Java.":[166],"results":[168],"demonstrate":[169],"significantly":[172],"outperforms":[173],"existing":[174],"methods,":[175],"achieving":[176],"new":[178],"program":[181],"repair.":[182],"For":[183],"instance,":[184],"among":[185],"Defects4J":[186],"1.2":[187],"2.0,":[189],"correctly":[191],"repairs":[192],"143":[193],"out":[194],"all":[196],"337":[197],"cases,":[199],"while":[200],"best-performing":[202],"baseline":[203],"fixes":[204],"124":[205]},"counts_by_year":[{"year":2026,"cited_by_count":4},{"year":2025,"cited_by_count":13}],"updated_date":"2026-05-21T06:26:12.895304","created_date":"2025-03-04T00:00:00"}
