{"id":"https://openalex.org/W4390897855","doi":"https://doi.org/10.1145/3597503.3639184","title":"PyTy: Repairing Static Type Errors in Python","display_name":"PyTy: Repairing Static Type Errors in Python","publication_year":2024,"publication_date":"2024-04-12","ids":{"openalex":"https://openalex.org/W4390897855","doi":"https://doi.org/10.1145/3597503.3639184"},"language":"en","primary_location":{"id":"doi:10.1145/3597503.3639184","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3597503.3639184","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the IEEE/ACM 46th International Conference on Software Engineering","raw_type":"proceedings-article"},"type":"preprint","indexed_in":["arxiv","crossref"],"open_access":{"is_oa":true,"oa_status":"green","oa_url":"https://arxiv.org/pdf/2401.06619","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5012621080","display_name":"Yiu Wai Chow","orcid":"https://orcid.org/0000-0003-4503-5699"},"institutions":[{"id":"https://openalex.org/I100066346","display_name":"University of Stuttgart","ror":"https://ror.org/04vnq7t77","country_code":"DE","type":"education","lineage":["https://openalex.org/I100066346"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Yiu Wai Chow","raw_affiliation_strings":["University of Stuttgart, Stuttgart, Germany"],"raw_orcid":"https://orcid.org/0000-0003-4503-5699","affiliations":[{"raw_affiliation_string":"University of Stuttgart, Stuttgart, Germany","institution_ids":["https://openalex.org/I100066346"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5029745565","display_name":"Luca Di Grazia","orcid":"https://orcid.org/0000-0002-5306-8645"},"institutions":[{"id":"https://openalex.org/I100066346","display_name":"University of Stuttgart","ror":"https://ror.org/04vnq7t77","country_code":"DE","type":"education","lineage":["https://openalex.org/I100066346"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Luca Di Grazia","raw_affiliation_strings":["University of Stuttgart, Stuttgart, Germany"],"raw_orcid":"https://orcid.org/0000-0002-5306-8645","affiliations":[{"raw_affiliation_string":"University of Stuttgart, Stuttgart, Germany","institution_ids":["https://openalex.org/I100066346"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5013438083","display_name":"Michael Pradel","orcid":"https://orcid.org/0000-0003-1623-498X"},"institutions":[{"id":"https://openalex.org/I100066346","display_name":"University of Stuttgart","ror":"https://ror.org/04vnq7t77","country_code":"DE","type":"education","lineage":["https://openalex.org/I100066346"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Michael Pradel","raw_affiliation_strings":["University of Stuttgart, Stuttgart, Germany"],"raw_orcid":"https://orcid.org/0000-0003-1623-498X","affiliations":[{"raw_affiliation_string":"University of Stuttgart, Stuttgart, Germany","institution_ids":["https://openalex.org/I100066346"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":3,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":8.9639,"has_fulltext":true,"cited_by_count":13,"citation_normalized_percentile":{"value":0.97609004,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":95,"max":99},"biblio":{"volume":null,"issue":null,"first_page":"1","last_page":"13"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9998999834060669,"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"}},"topics":[{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9998999834060669,"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"}},{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9988999962806702,"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/T12423","display_name":"Software Reliability and Analysis Research","score":0.992900013923645,"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"}}],"keywords":[{"id":"https://openalex.org/keywords/python","display_name":"Python (programming language)","score":0.8827215433120728},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.8334236741065979},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.6526505947113037},{"id":"https://openalex.org/keywords/type-inference","display_name":"Type inference","score":0.6101107597351074},{"id":"https://openalex.org/keywords/type-safety","display_name":"Type safety","score":0.5331356525421143},{"id":"https://openalex.org/keywords/artificial-intelligence","display_name":"Artificial intelligence","score":0.5032557845115662},{"id":"https://openalex.org/keywords/exception-handling","display_name":"Exception handling","score":0.4799099862575531},{"id":"https://openalex.org/keywords/open-source","display_name":"Open source","score":0.4694508910179138},{"id":"https://openalex.org/keywords/data-type","display_name":"Data type","score":0.4259202480316162},{"id":"https://openalex.org/keywords/source-code","display_name":"Source code","score":0.41942524909973145},{"id":"https://openalex.org/keywords/natural-language-processing","display_name":"Natural language processing","score":0.36085936427116394},{"id":"https://openalex.org/keywords/machine-learning","display_name":"Machine learning","score":0.32609665393829346},{"id":"https://openalex.org/keywords/software","display_name":"Software","score":0.2060086727142334},{"id":"https://openalex.org/keywords/inference","display_name":"Inference","score":0.08485782146453857}],"concepts":[{"id":"https://openalex.org/C519991488","wikidata":"https://www.wikidata.org/wiki/Q28865","display_name":"Python (programming language)","level":2,"score":0.8827215433120728},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8334236741065979},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.6526505947113037},{"id":"https://openalex.org/C198370458","wikidata":"https://www.wikidata.org/wiki/Q586459","display_name":"Type inference","level":3,"score":0.6101107597351074},{"id":"https://openalex.org/C44779574","wikidata":"https://www.wikidata.org/wiki/Q736866","display_name":"Type safety","level":2,"score":0.5331356525421143},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.5032557845115662},{"id":"https://openalex.org/C145428669","wikidata":"https://www.wikidata.org/wiki/Q471748","display_name":"Exception handling","level":2,"score":0.4799099862575531},{"id":"https://openalex.org/C3018397939","wikidata":"https://www.wikidata.org/wiki/Q3644502","display_name":"Open source","level":3,"score":0.4694508910179138},{"id":"https://openalex.org/C138958017","wikidata":"https://www.wikidata.org/wiki/Q190087","display_name":"Data type","level":2,"score":0.4259202480316162},{"id":"https://openalex.org/C43126263","wikidata":"https://www.wikidata.org/wiki/Q128751","display_name":"Source code","level":2,"score":0.41942524909973145},{"id":"https://openalex.org/C204321447","wikidata":"https://www.wikidata.org/wiki/Q30642","display_name":"Natural language processing","level":1,"score":0.36085936427116394},{"id":"https://openalex.org/C119857082","wikidata":"https://www.wikidata.org/wiki/Q2539","display_name":"Machine learning","level":1,"score":0.32609665393829346},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.2060086727142334},{"id":"https://openalex.org/C2776214188","wikidata":"https://www.wikidata.org/wiki/Q408386","display_name":"Inference","level":2,"score":0.08485782146453857}],"mesh":[],"locations_count":2,"locations":[{"id":"doi:10.1145/3597503.3639184","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3597503.3639184","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the IEEE/ACM 46th International Conference on Software Engineering","raw_type":"proceedings-article"},{"id":"pmh:oai:arXiv.org:2401.06619","is_oa":true,"landing_page_url":"http://arxiv.org/abs/2401.06619","pdf_url":"https://arxiv.org/pdf/2401.06619","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"}],"best_oa_location":{"id":"pmh:oai:arXiv.org:2401.06619","is_oa":true,"landing_page_url":"http://arxiv.org/abs/2401.06619","pdf_url":"https://arxiv.org/pdf/2401.06619","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},"sustainable_development_goals":[{"id":"https://metadata.un.org/sdg/4","score":0.5099999904632568,"display_name":"Quality Education"}],"awards":[{"id":"https://openalex.org/G8390793956","display_name":null,"funder_award_id":"851895","funder_id":"https://openalex.org/F4320334678","funder_display_name":"European Research Council"}],"funders":[{"id":"https://openalex.org/F4320320879","display_name":"Deutsche Forschungsgemeinschaft","ror":"https://ror.org/018mejw64"},{"id":"https://openalex.org/F4320334678","display_name":"European Research Council","ror":"https://ror.org/0472cxd90"}],"has_content":{"grobid_xml":true,"pdf":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4390897855.pdf","grobid_xml":"https://content.openalex.org/works/W4390897855.grobid-xml"},"referenced_works_count":49,"referenced_works":["https://openalex.org/W569478347","https://openalex.org/W1515587369","https://openalex.org/W2145373440","https://openalex.org/W2153881107","https://openalex.org/W2164777277","https://openalex.org/W2343875716","https://openalex.org/W2373227884","https://openalex.org/W2548165777","https://openalex.org/W2560674852","https://openalex.org/W2767468415","https://openalex.org/W2794859654","https://openalex.org/W2806718802","https://openalex.org/W2899384793","https://openalex.org/W2907705732","https://openalex.org/W2954823997","https://openalex.org/W2954950681","https://openalex.org/W2963250244","https://openalex.org/W2968109196","https://openalex.org/W2981852735","https://openalex.org/W2997847174","https://openalex.org/W2998011150","https://openalex.org/W2998223243","https://openalex.org/W3003620414","https://openalex.org/W3029993213","https://openalex.org/W3033533057","https://openalex.org/W3043761819","https://openalex.org/W3098605233","https://openalex.org/W3100869085","https://openalex.org/W3109537811","https://openalex.org/W3137596000","https://openalex.org/W3138622308","https://openalex.org/W3156480510","https://openalex.org/W3160155705","https://openalex.org/W3163202066","https://openalex.org/W3167640545","https://openalex.org/W3193682477","https://openalex.org/W4238623774","https://openalex.org/W4255632703","https://openalex.org/W4284685949","https://openalex.org/W4284687350","https://openalex.org/W4284710241","https://openalex.org/W4288089799","https://openalex.org/W4288578157","https://openalex.org/W4308643048","https://openalex.org/W4308643319","https://openalex.org/W4384304728","https://openalex.org/W4384345708","https://openalex.org/W6600339963","https://openalex.org/W6759266148"],"related_works":["https://openalex.org/W1726238843","https://openalex.org/W3141365533","https://openalex.org/W2129345992","https://openalex.org/W2135265328","https://openalex.org/W1550049051","https://openalex.org/W2112150205","https://openalex.org/W2561504266","https://openalex.org/W4205369977","https://openalex.org/W1517572804","https://openalex.org/W2584819674"],"abstract_inverted_index":{"Gradual":[0],"typing":[1,57],"enables":[2,159],"developers":[3,133],"to":[4,102,116,152,161,239],"annotate":[5],"types":[6],"of":[7,42,55,79,142,165,193,202,221,227,261,276],"their":[8],"own":[9],"choosing,":[10],"offering":[11],"a":[12,21,93,104,139,163,247],"flexible":[13],"middle":[14],"ground":[15],"between":[16],"no":[17],"type":[18,35,43,73,81,109,136,155,183,222,241,252],"annotations":[19],"and":[20,28,100,106,245],"fully":[22],"statically":[23,71],"typed":[24],"language.":[25],"As":[26],"more":[27,29],"code":[30],"bases":[31],"get":[32],"type-annotated,":[33],"static":[34],"checkers":[36],"detect":[37],"an":[38,64,113,127,150],"increasingly":[39],"large":[40,235],"number":[41],"errors.":[44,230],"Unfortunately,":[45],"fixing":[46,143,182],"these":[47],"errors":[48,74,82,184,242,253],"requires":[49],"manual":[50],"effort,":[51],"hampering":[52],"the":[53,176,189,194,196,200,274],"adoption":[54],"gradual":[56,108],"in":[58,75,185,278],"practice.":[59,279],"This":[60,231],"paper":[61],"presents":[62],"PyTy,":[63],"automated":[65],"program":[66],"repair":[67,90,179,240],"approach":[68,151],"targeted":[69],"at":[70,199,251,256],"detectable":[72],"Python.":[76,186],"The":[77],"problem":[78,122],"repairing":[80],"deserves":[83],"specific":[84],"attention":[85],"because":[86,107],"it":[87],"exposes":[88],"particular":[89],"patterns,":[91],"offers":[92,215],"warning":[94],"message":[95],"with":[96,145,265],"hints":[97],"about":[98],"where":[99],"how":[101,132],"apply":[103],"fix,":[105],"checking":[110],"serves":[111],"as":[112],"automatic":[114],"way":[115],"validate":[117],"fixes.":[118],"We":[119],"addresses":[120],"this":[121],"through":[123],"three":[124],"contributions:":[125],"(i)":[126],"empirical":[128],"study":[129],"that":[130,213,254],"investigates":[131],"fix":[134],"Python":[135],"errors,":[137,223],"showing":[138,273],"diverse":[140],"set":[141],"strategies":[144],"some":[146],"recurring":[147],"patterns;":[148],"(ii)":[149],"automatically":[153],"extract":[154],"error":[156],"fixes,":[157],"which":[158],"us":[160],"create":[162],"dataset":[164],"2,766":[166],"error-fix":[167],"pairs":[168],"from":[169],"176":[170],"GitHub":[171],"repositories,":[172],"named":[173],"PyTyDefects;":[174],"(iii)":[175],"first":[177],"learning-based":[178],"technique":[180,249],"for":[181,217],"Motivated":[187],"by":[188,271],"relative":[190],"data":[191],"scarcity":[192],"problem,":[195],"neural":[197],"model":[198],"core":[201],"PyTy":[203,214,277],"is":[204],"trained":[205],"via":[206],"cross-lingual":[207],"transfer":[208],"learning.":[209],"Our":[210],"evaluation":[211],"shows":[212],"fixes":[216,267],"ten":[218],"frequent":[219],"categories":[220],"successfully":[224],"addressing":[225],"85.4%":[226],"281":[228],"real-world":[229],"effectiveness":[232],"outperforms":[233],"state-of-the-art":[234],"language":[236],"models":[237],"asked":[238],"(by":[243],"2.1x)":[244],"complements":[246],"previous":[248],"aimed":[250],"manifest":[255],"runtime.":[257],"Finally,":[258],"20":[259],"out":[260],"30":[262],"pull":[263],"requests":[264],"PyTy-suggested":[266],"have":[268],"been":[269],"merged":[270],"developers,":[272],"usefulness":[275]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":6},{"year":2024,"cited_by_count":6}],"updated_date":"2026-06-11T09:08:48.828518","created_date":"2025-10-10T00:00:00"}
