{"id":"https://openalex.org/W4400484660","doi":"https://doi.org/10.1145/3663529.3663869","title":"Do Large Language Models Recognize Python Identifier Swaps in Their Generated Code?","display_name":"Do Large Language Models Recognize Python Identifier Swaps in Their Generated Code?","publication_year":2024,"publication_date":"2024-07-10","ids":{"openalex":"https://openalex.org/W4400484660","doi":"https://doi.org/10.1145/3663529.3663869"},"language":"en","primary_location":{"id":"doi:10.1145/3663529.3663869","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3663529.3663869","pdf_url":null,"source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering","raw_type":"proceedings-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://doi.org/10.1145/3663529.3663869","any_repository_has_fulltext":null},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5088923585","display_name":"Srinivas Rao Chavan","orcid":"https://orcid.org/0009-0007-4202-0092"},"institutions":[{"id":"https://openalex.org/I27674431","display_name":"Indian Institute of Technology Gandhinagar","ror":"https://ror.org/0036p5w23","country_code":"IN","type":"education","lineage":["https://openalex.org/I27674431"]}],"countries":["IN"],"is_corresponding":true,"raw_author_name":"Sagar Bhikan Chavan","raw_affiliation_strings":["IIT Gandhinagar, Gandhinagar, India"],"raw_orcid":"https://orcid.org/0009-0007-4202-0092","affiliations":[{"raw_affiliation_string":"IIT Gandhinagar, Gandhinagar, India","institution_ids":["https://openalex.org/I27674431"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5067225281","display_name":"Shouvick Mondal","orcid":"https://orcid.org/0000-0002-0703-8728"},"institutions":[{"id":"https://openalex.org/I27674431","display_name":"Indian Institute of Technology Gandhinagar","ror":"https://ror.org/0036p5w23","country_code":"IN","type":"education","lineage":["https://openalex.org/I27674431"]}],"countries":["IN"],"is_corresponding":false,"raw_author_name":"Shouvick Mondal","raw_affiliation_strings":["IIT Gandhinagar, Gandhinagar, India"],"raw_orcid":"https://orcid.org/0000-0002-0703-8728","affiliations":[{"raw_affiliation_string":"IIT Gandhinagar, Gandhinagar, India","institution_ids":["https://openalex.org/I27674431"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":2,"corresponding_author_ids":["https://openalex.org/A5088923585"],"corresponding_institution_ids":["https://openalex.org/I27674431"],"apc_list":null,"apc_paid":null,"fwci":0.6623,"has_fulltext":false,"cited_by_count":2,"citation_normalized_percentile":{"value":0.73707571,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":{"min":91,"max":98},"biblio":{"volume":null,"issue":null,"first_page":"663","last_page":"664"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10028","display_name":"Topic Modeling","score":0.9987999796867371,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"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/T10028","display_name":"Topic Modeling","score":0.9987999796867371,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"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/T10181","display_name":"Natural Language Processing Techniques","score":0.9987000226974487,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"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/T13629","display_name":"Text Readability and Simplification","score":0.9879999756813049,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"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.7917125225067139},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.7742906808853149},{"id":"https://openalex.org/keywords/python","display_name":"Python (programming language)","score":0.7216975688934326},{"id":"https://openalex.org/keywords/identifier","display_name":"Identifier","score":0.6706183552742004}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7917125225067139},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.7742906808853149},{"id":"https://openalex.org/C519991488","wikidata":"https://www.wikidata.org/wiki/Q28865","display_name":"Python (programming language)","level":2,"score":0.7216975688934326},{"id":"https://openalex.org/C154504017","wikidata":"https://www.wikidata.org/wiki/Q853614","display_name":"Identifier","level":2,"score":0.6706183552742004}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3663529.3663869","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3663529.3663869","pdf_url":null,"source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering","raw_type":"proceedings-article"}],"best_oa_location":{"id":"doi:10.1145/3663529.3663869","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3663529.3663869","pdf_url":null,"source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering","raw_type":"proceedings-article"},"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"pdf":false,"grobid_xml":false},"content_urls":null,"referenced_works_count":1,"referenced_works":["https://openalex.org/W4384026520"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2748952813","https://openalex.org/W2341492732","https://openalex.org/W3187193180","https://openalex.org/W106542691","https://openalex.org/W4378651134","https://openalex.org/W1699080303","https://openalex.org/W4297799326","https://openalex.org/W2207495067","https://openalex.org/W1906486629"],"abstract_inverted_index":{"Large":[0],"Language":[1],"Models":[2],"(LLMs)":[3],"have":[4],"transformed":[5],"natural":[6],"language":[7],"processing":[8],"and":[9,19,30,52,55,61,112,130],"generation":[10,97],"activities":[11],"in":[12,58],"recent":[13],"years.":[14],"However,":[15],"as":[16],"the":[17,43,67,73,80,95,124],"scale":[18],"complexity":[20],"of":[21,46,69,82,89,99,146],"these":[22,100],"models":[23],"grow,":[24],"their":[25,56],"ability":[26,126],"to":[27,93,122,127,156],"write":[28],"correct":[29],"secure":[31,62],"code":[32,74,96,109],"has":[33],"come":[34],"under":[35],"scrutiny.":[36],"In":[37],"our":[38],"research,":[39],"we":[40,103],"delve":[41],"into":[42],"critical":[44],"examination":[45],"LLMs":[47,144],"including":[48],"ChatGPT-3.5,":[49],"legacy":[50],"Bard,":[51],"Gemini":[53],"Pro,":[54],"proficiency":[57],"generating":[59,147],"accurate":[60],"code,":[63],"particularly":[64],"focusing":[65],"on":[66],"occurrence":[68],"identifier":[70,158],"swaps":[71],"within":[72],"they":[75],"produce.":[76],"Our":[77,136],"methodology":[78],"encompasses":[79],"creation":[81],"a":[83,87,114,140],"diverse":[84],"dataset":[85],"comprising":[86],"range":[88],"coding":[90,134],"tasks":[91],"designed":[92],"challenge":[94],"capabilities":[98],"models.":[101],"Further,":[102],"employ":[104],"Pylint":[105],"for":[106,142],"an":[107],"extensive":[108],"quality":[110,149],"assessment":[111],"undertake":[113],"manual":[115],"multi-turn":[116],"prompted":[117],"\u201cPython":[118],"identifier-swap\u201d":[119],"test":[120],"session":[121],"evaluate":[123],"models\u2019":[125],"maintain":[128],"context":[129],"coherence":[131],"over":[132],"sequential":[133],"prompts.":[135],"preliminary":[137],"findings":[138],"indicate":[139],"concern":[141],"developers:":[143],"capable":[145],"better":[148],"codes":[150],"can":[151],"perform":[152],"worse":[153],"when":[154],"queried":[155],"recognize":[157],"swaps.":[159]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":1}],"updated_date":"2025-12-26T23:08:49.675405","created_date":"2025-10-10T00:00:00"}
