{"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","alternate_titles":[],"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","doi":"https://doi.org/10.1145/3597503.3639184","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3597503.3639184","pdf_url":null,"source":{"id":"https://openalex.org/S4210203175","display_name":"ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)","issn_l":"0270-5257","issn":["0270-5257","1558-1225"],"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":["norway-2"],"host_organization":"https://openalex.org/P4310319808","host_organization_name":"Institute of Electrical and Electronics Engineers","host_organization_lineage":["https://openalex.org/P4310319808"],"host_organization_lineage_names":["Institute of Electrical and Electronics Engineers"],"type":"conference"},"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"},"parent_works":[],"lineage":["https://openalex.org/W4390897855"],"child_works_count":0,"type":"conference-paper","is_traditional":true,"indexed_in":["arxiv","crossref","datacite"],"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","observed_orcids":["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,"contributor_roles":[],"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","observed_orcids":["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,"contributor_roles":[],"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","observed_orcids":["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,"contributor_roles":[],"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":1,"corresponding_author_ids":[],"corresponding_institution_ids":["https://openalex.org/I100066346"],"apc_list":null,"apc_paid":null,"fwci":6.5096,"has_fulltext":true,"cited_by_count":39,"citation_normalized_percentile":{"value":0.97720422,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":98,"max":100},"biblio":{"volume":null,"issue":null,"first_page":"1","last_page":"13"},"is_retracted":false,"is_pulled":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.7910000085830688,"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.7910000085830688,"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/T10260","display_name":"Software Engineering Research","score":0.20569999516010284,"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/T10126","display_name":"Logic, programming, and type systems","score":0.0012000000569969416,"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/automated-program-repair","display_name":"automated program repair","score":0.9160000085830688},{"id":"https://openalex.org/keywords/type-errors","display_name":"type errors","score":0.6890000104904175},{"id":"https://openalex.org/keywords/gradual-typing","display_name":"gradual typing","score":0.8640000224113464},{"id":"https://openalex.org/keywords/python","display_name":"Python","score":0.7509999871253967},{"id":"https://openalex.org/keywords/static-type-checking","display_name":"static type checking","score":0.9120000004768372},{"id":"https://openalex.org/keywords/type-annotations","display_name":"type annotations","score":0.8679999709129333},{"id":"https://openalex.org/keywords/cross-lingual-transfer-learning","display_name":"cross-lingual transfer learning","score":0.9940000176429749},{"id":"https://openalex.org/keywords/large-language-models","display_name":"large language models","score":0.6840000152587891}],"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":3,"locations":[{"id":"doi:10.1145/3597503.3639184","doi":"https://doi.org/10.1145/3597503.3639184","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3597503.3639184","pdf_url":null,"source":{"id":"https://openalex.org/S4210203175","display_name":"ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)","issn_l":"0270-5257","issn":["0270-5257","1558-1225"],"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":["norway-2"],"host_organization":"https://openalex.org/P4310319808","host_organization_name":"Institute of Electrical and Electronics Engineers","host_organization_lineage":["https://openalex.org/P4310319808"],"host_organization_lineage_names":["Institute of Electrical and Electronics Engineers"],"type":"conference"},"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","doi":null,"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":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"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"},{"id":"doi:10.48550/arxiv.2401.06619","doi":"https://doi.org/10.48550/arxiv.2401.06619","is_oa":true,"landing_page_url":"https://doi.org/10.48550/arxiv.2401.06619","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"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":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"article-journal"}],"best_oa_location":{"id":"pmh:oai:arXiv.org:2401.06619","doi":null,"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":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"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":[],"study_designs":[],"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":55,"referenced_works":["https://openalex.org/W569478347","https://openalex.org/W1515587369","https://openalex.org/W2053154970","https://openalex.org/W2145373440","https://openalex.org/W2146691185","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/W2885185669","https://openalex.org/W2899384793","https://openalex.org/W2907705732","https://openalex.org/W2914161001","https://openalex.org/W2914933759","https://openalex.org/W2954823997","https://openalex.org/W2954950681","https://openalex.org/W2968109196","https://openalex.org/W2981852735","https://openalex.org/W2993555399","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/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/W4244452926","https://openalex.org/W4255632703","https://openalex.org/W4284685949","https://openalex.org/W4284687350","https://openalex.org/W4284710241","https://openalex.org/W4285487359","https://openalex.org/W4308642593","https://openalex.org/W4308643048","https://openalex.org/W4308643319","https://openalex.org/W4384304728","https://openalex.org/W4384345708","https://openalex.org/W4394652731","https://openalex.org/W4402457546","https://openalex.org/W6600339963"],"related_works":["https://openalex.org/W4308642593","https://openalex.org/W4405602317","https://openalex.org/W7212003847","https://openalex.org/W4391558545","https://openalex.org/W3110051347","https://openalex.org/W4384159113","https://openalex.org/W3033533057","https://openalex.org/W4387793519","https://openalex.org/W4403536023","https://openalex.org/W4283653535"],"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]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W4390897855","counts_by_year":[{"year":2026,"cited_by_count":23},{"year":2025,"cited_by_count":10},{"year":2024,"cited_by_count":6}],"updated_date":"2026-11-21T10:27:49.728292","created_date":"2024-01-16T00:00:00"}
