{"id":"https://openalex.org/W4402457491","doi":"https://doi.org/10.1145/3650212.3652134","title":"Automating Zero-Shot Patch Porting for Hard Forks","display_name":"Automating Zero-Shot Patch Porting for Hard Forks","publication_year":2024,"publication_date":"2024-09-11","ids":{"openalex":"https://openalex.org/W4402457491","doi":"https://doi.org/10.1145/3650212.3652134"},"language":"en","primary_location":{"id":"doi:10.1145/3650212.3652134","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3650212.3652134","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis","raw_type":"proceedings-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5005384561","display_name":"Shengyi Pan","orcid":"https://orcid.org/0000-0001-9471-9638"},"institutions":[{"id":"https://openalex.org/I76130692","display_name":"Zhejiang University","ror":"https://ror.org/00a2xv884","country_code":"CN","type":"education","lineage":["https://openalex.org/I76130692"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Shengyi Pan","raw_affiliation_strings":["Zhejiang University, Hangzhou, China"],"raw_orcid":"https://orcid.org/0000-0001-9471-9638","affiliations":[{"raw_affiliation_string":"Zhejiang University, Hangzhou, China","institution_ids":["https://openalex.org/I76130692"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100854536","display_name":"You Wang","orcid":"https://orcid.org/0009-0009-2789-364X"},"institutions":[{"id":"https://openalex.org/I76130692","display_name":"Zhejiang University","ror":"https://ror.org/00a2xv884","country_code":"CN","type":"education","lineage":["https://openalex.org/I76130692"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"You Wang","raw_affiliation_strings":["Zhejiang University, Hangzhou, China"],"raw_orcid":"https://orcid.org/0009-0009-2789-364X","affiliations":[{"raw_affiliation_string":"Zhejiang University, Hangzhou, China","institution_ids":["https://openalex.org/I76130692"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5102825823","display_name":"Zhongxin Liu","orcid":"https://orcid.org/0000-0002-1981-1626"},"institutions":[{"id":"https://openalex.org/I76130692","display_name":"Zhejiang University","ror":"https://ror.org/00a2xv884","country_code":"CN","type":"education","lineage":["https://openalex.org/I76130692"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Zhongxin Liu","raw_affiliation_strings":["Zhejiang University, Hangzhou, China"],"raw_orcid":"https://orcid.org/0000-0002-1981-1626","affiliations":[{"raw_affiliation_string":"Zhejiang University, Hangzhou, China","institution_ids":["https://openalex.org/I76130692"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5047688641","display_name":"Xing Hu","orcid":"https://orcid.org/0000-0003-0093-3292"},"institutions":[{"id":"https://openalex.org/I109935558","display_name":"Ningbo University","ror":"https://ror.org/03et85d35","country_code":"CN","type":"education","lineage":["https://openalex.org/I109935558"]},{"id":"https://openalex.org/I76130692","display_name":"Zhejiang University","ror":"https://ror.org/00a2xv884","country_code":"CN","type":"education","lineage":["https://openalex.org/I76130692"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Xing Hu","raw_affiliation_strings":["Zhejiang University, Ningbo, China"],"raw_orcid":"https://orcid.org/0000-0003-0093-3292","affiliations":[{"raw_affiliation_string":"Zhejiang University, Ningbo, China","institution_ids":["https://openalex.org/I109935558","https://openalex.org/I76130692"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5006669765","display_name":"Xin Xia","orcid":"https://orcid.org/0000-0002-6302-3256"},"institutions":[{"id":"https://openalex.org/I2250955327","display_name":"Huawei Technologies (China)","ror":"https://ror.org/00cmhce21","country_code":"CN","type":"company","lineage":["https://openalex.org/I2250955327"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Xin Xia","raw_affiliation_strings":["Huawei, Hangzhou, China"],"raw_orcid":"https://orcid.org/0000-0002-6302-3256","affiliations":[{"raw_affiliation_string":"Huawei, Hangzhou, China","institution_ids":["https://openalex.org/I2250955327"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5114429788","display_name":"Shanping Li","orcid":"https://orcid.org/0000-0003-2615-9792"},"institutions":[{"id":"https://openalex.org/I76130692","display_name":"Zhejiang University","ror":"https://ror.org/00a2xv884","country_code":"CN","type":"education","lineage":["https://openalex.org/I76130692"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Shanping Li","raw_affiliation_strings":["Zhejiang University, Hangzhou, China"],"raw_orcid":"https://orcid.org/0000-0003-2615-9792","affiliations":[{"raw_affiliation_string":"Zhejiang University, Hangzhou, China","institution_ids":["https://openalex.org/I76130692"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":3,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":2.7903,"has_fulltext":false,"cited_by_count":7,"citation_normalized_percentile":{"value":0.9219554,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":97,"max":98},"biblio":{"volume":null,"issue":null,"first_page":"363","last_page":"375"},"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.9921000003814697,"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.9921000003814697,"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/T11032","display_name":"VLSI and Analog Circuit Testing","score":0.9824000000953674,"subfield":{"id":"https://openalex.org/subfields/1708","display_name":"Hardware and Architecture"},"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/T11338","display_name":"Advancements in Photolithography Techniques","score":0.9789999723434448,"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"}}],"keywords":[{"id":"https://openalex.org/keywords/porting","display_name":"Porting","score":0.8516616225242615},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.6575248837471008},{"id":"https://openalex.org/keywords/shot","display_name":"Shot (pellet)","score":0.5757145285606384},{"id":"https://openalex.org/keywords/zero","display_name":"Zero (linguistics)","score":0.49984216690063477},{"id":"https://openalex.org/keywords/operating-system","display_name":"Operating system","score":0.40412890911102295},{"id":"https://openalex.org/keywords/embedded-system","display_name":"Embedded system","score":0.3370513916015625},{"id":"https://openalex.org/keywords/software","display_name":"Software","score":0.1294528841972351},{"id":"https://openalex.org/keywords/materials-science","display_name":"Materials science","score":0.106305330991745}],"concepts":[{"id":"https://openalex.org/C106251023","wikidata":"https://www.wikidata.org/wiki/Q851989","display_name":"Porting","level":3,"score":0.8516616225242615},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.6575248837471008},{"id":"https://openalex.org/C2778344882","wikidata":"https://www.wikidata.org/wiki/Q278938","display_name":"Shot (pellet)","level":2,"score":0.5757145285606384},{"id":"https://openalex.org/C2780813799","wikidata":"https://www.wikidata.org/wiki/Q3274237","display_name":"Zero (linguistics)","level":2,"score":0.49984216690063477},{"id":"https://openalex.org/C111919701","wikidata":"https://www.wikidata.org/wiki/Q9135","display_name":"Operating system","level":1,"score":0.40412890911102295},{"id":"https://openalex.org/C149635348","wikidata":"https://www.wikidata.org/wiki/Q193040","display_name":"Embedded system","level":1,"score":0.3370513916015625},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.1294528841972351},{"id":"https://openalex.org/C192562407","wikidata":"https://www.wikidata.org/wiki/Q228736","display_name":"Materials science","level":0,"score":0.106305330991745},{"id":"https://openalex.org/C41895202","wikidata":"https://www.wikidata.org/wiki/Q8162","display_name":"Linguistics","level":1,"score":0.0},{"id":"https://openalex.org/C191897082","wikidata":"https://www.wikidata.org/wiki/Q11467","display_name":"Metallurgy","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}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3650212.3652134","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3650212.3652134","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis","raw_type":"proceedings-article"}],"best_oa_location":null,"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":32,"referenced_works":["https://openalex.org/W27961112","https://openalex.org/W2064459023","https://openalex.org/W2065890363","https://openalex.org/W2136279823","https://openalex.org/W2139092060","https://openalex.org/W2144160189","https://openalex.org/W2154151876","https://openalex.org/W2503836346","https://openalex.org/W2599704569","https://openalex.org/W2963245805","https://openalex.org/W2967095170","https://openalex.org/W2967932715","https://openalex.org/W2968109196","https://openalex.org/W2969343988","https://openalex.org/W2979679630","https://openalex.org/W2991305803","https://openalex.org/W3090035558","https://openalex.org/W3091102523","https://openalex.org/W3116924855","https://openalex.org/W3154151289","https://openalex.org/W3178549314","https://openalex.org/W4206738852","https://openalex.org/W4214871480","https://openalex.org/W4226278401","https://openalex.org/W4281763794","https://openalex.org/W4284679382","https://openalex.org/W4286530330","https://openalex.org/W4384345708","https://openalex.org/W4384345738","https://openalex.org/W4384345745","https://openalex.org/W6601146891","https://openalex.org/W6807488368"],"related_works":["https://openalex.org/W2368028869","https://openalex.org/W2389790172","https://openalex.org/W2187911614","https://openalex.org/W2186516977","https://openalex.org/W1583729815","https://openalex.org/W2392011550","https://openalex.org/W2356921469","https://openalex.org/W2393823990","https://openalex.org/W2356247729","https://openalex.org/W2349011119"],"abstract_inverted_index":{"Forking":[0],"is":[1,75,166],"a":[2,10,17,104,144,161,169,173,183,219,245],"typical":[3],"way":[4,12],"of":[5,32,84,113,130,168,182,237,305],"code":[6,207],"reuse,":[7],"which":[8,77],"provides":[9],"simple":[11],"for":[13,100,157,310],"developers":[14],"to":[15,38,46,53,62,96,119,126,153,211,221,225,248,261,266,313],"create":[16],"variant":[18],"software":[19,42],"(denoted":[20],"as":[21],"hard":[22,51,71,101,158],"fork)":[23],"by":[24,205],"copying":[25],"and":[26,69,133,172,179,189,270,302],"modifying":[27],"an":[28,79,110,256],"existing":[29],"codebase.":[30],"Despite":[31],"the":[33,50,63,66,70,85,93,114,122,128,134,138,177,186,190,194,197,202,212,215,223,226,229,235,238,264,268,291,306,311,315],"benefits,":[34],"forking":[35],"also":[36],"leads":[37],"duplicate":[39],"efforts":[40],"in":[41,137],"maintenance.":[43],"Developers":[44],"need":[45],"port":[47,155,267,298,314],"patches":[48,115,156,280,301],"across":[49],"forks":[52,102,159],"address":[54],"similar":[55,59],"bugs":[56],"or":[57],"implement":[58],"features.":[60],"Due":[61],"divergence":[64],"between":[65],"source":[67],"project":[68,188],"fork,":[72],"patch":[73,98,131,224,241,269],"porting":[74,99,132,174,216],"complicated,":[76],"requires":[78],"adaption":[80],"regarding":[81],"different":[82],"implementations":[83],"same":[86],"functionality.":[87],"In":[88],"this":[89],"work,":[90],"we":[91,243],"take":[92],"first":[94,108,200],"step":[95],"automate":[97,303],"under":[103],"zero-shot":[105],"setting.":[106],"We":[107,141,253,274],"conduct":[109],"empirical":[111],"study":[112],"ported":[116,281],"from":[117,185,193,228,282],"Vim":[118],"Neovim":[120,279],"over":[121],"last":[123],"ten":[124],"years":[125],"investigate":[127],"necessities":[129],"potential":[135],"flaws":[136],"current":[139],"practice.":[140],"then":[142],"propose":[143,255],"large":[145],"language":[146],"model":[147],"(LLM)":[148],"based":[149,258],"approach":[150],"(namely":[151],"PPatHF)":[152],"automatically":[154],"on":[160,240,277],"function-wise":[162],"basis.":[163],"Specifically,":[164,294],"PPatHF":[165,276,289,295],"composed":[167],"reduction":[170,198],"module":[171,199,217],"module.":[175],"Given":[176],"pre-":[178],"post-patch":[180],"versions":[181],"function":[184,192,227],"reference":[187],"corresponding":[191],"target":[195,230],"project,":[196],"slims":[201],"input":[203],"functions":[204],"removing":[206],"snippets":[208],"less":[209],"relevant":[210],"patch.":[213,316],"Then,":[214],"leverages":[218],"LLM":[220,239,265],"apply":[222],"project.":[231],"To":[232],"better":[233,262],"elicit":[234],"power":[236],"porting,":[242],"design":[244],"prompt":[246],"template":[247],"enable":[249],"efficient":[250],"in-context":[251],"learning.":[252],"further":[254],"instruction-tuning":[257],"training":[259],"task":[260],"guide":[263],"inject":[271],"task-specific":[272],"knowledge.":[273],"evaluate":[275],"310":[278],"Vim.":[283],"The":[284],"experimental":[285],"results":[286],"show":[287],"that":[288],"outperforms":[290],"baselines":[292],"significantly.":[293],"can":[296],"correctly":[297],"131":[299],"(42.3%)":[300],"57%":[304],"manual":[307],"edits":[308],"required":[309],"developer":[312]},"counts_by_year":[{"year":2026,"cited_by_count":2},{"year":2025,"cited_by_count":5}],"updated_date":"2026-07-01T08:55:40.977307","created_date":"2025-10-10T00:00:00"}
