{"id":"https://openalex.org/W4411450091","doi":"https://doi.org/10.1145/3715724","title":"CKTyper: Enhancing Type Inference for Java Code Snippets by Leveraging Crowdsourcing Knowledge in Stack Overflow","display_name":"CKTyper: Enhancing Type Inference for Java Code Snippets by Leveraging Crowdsourcing Knowledge in Stack Overflow","publication_year":2025,"publication_date":"2025-06-19","ids":{"openalex":"https://openalex.org/W4411450091","doi":"https://doi.org/10.1145/3715724"},"language":"en","primary_location":{"id":"doi:10.1145/3715724","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3715724","pdf_url":null,"source":{"id":"https://openalex.org/S4404663975","display_name":"Proceedings of the ACM on software engineering.","issn_l":"2994-970X","issn":["2994-970X"],"is_oa":false,"is_in_doaj":false,"is_core":false,"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":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the ACM on Software Engineering","raw_type":"journal-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"hybrid","oa_url":"https://doi.org/10.1145/3715724","any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5111131227","display_name":"Anji Li","orcid":null},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":true,"raw_author_name":"Anji Li","raw_affiliation_strings":["Sun Yat-sen University, Zhuhai, China"],"raw_orcid":"https://orcid.org/0009-0001-4881-4148","affiliations":[{"raw_affiliation_string":"Sun Yat-sen University, Zhuhai, China","institution_ids":["https://openalex.org/I157773358"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101800331","display_name":"Neng Zhang","orcid":"https://orcid.org/0000-0001-8662-5690"},"institutions":[{"id":"https://openalex.org/I40963666","display_name":"Central China Normal University","ror":"https://ror.org/03x1jna21","country_code":"CN","type":"education","lineage":["https://openalex.org/I40963666"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Neng Zhang","raw_affiliation_strings":["Central China Normal University, Wuhan, China"],"raw_orcid":"https://orcid.org/0000-0001-8662-5690","affiliations":[{"raw_affiliation_string":"Central China Normal University, Wuhan, China","institution_ids":["https://openalex.org/I40963666"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101468895","display_name":"Ying Zou","orcid":"https://orcid.org/0000-0002-5335-0261"},"institutions":[{"id":"https://openalex.org/I204722609","display_name":"Queen's University","ror":"https://ror.org/02y72wh86","country_code":"CA","type":"education","lineage":["https://openalex.org/I204722609"]}],"countries":["CA"],"is_corresponding":false,"raw_author_name":"Ying Zou","raw_affiliation_strings":["Queen's University, Kingston, Canada"],"raw_orcid":"https://orcid.org/0000-0002-5335-0261","affiliations":[{"raw_affiliation_string":"Queen's University, Kingston, Canada","institution_ids":["https://openalex.org/I204722609"]}]},{"author_position":"middle","author":{"id":null,"display_name":"Zhixiang Chen","orcid":"https://orcid.org/0009-0002-6536-5978"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Zhixiang Chen","raw_affiliation_strings":["Sun Yat-sen University, Zhuhai, China"],"raw_orcid":"https://orcid.org/0009-0002-6536-5978","affiliations":[{"raw_affiliation_string":"Sun Yat-sen University, Zhuhai, China","institution_ids":["https://openalex.org/I157773358"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100370411","display_name":"Jian Wang","orcid":"https://orcid.org/0000-0002-1559-9314"},"institutions":[{"id":"https://openalex.org/I37461747","display_name":"Wuhan University","ror":"https://ror.org/033vjfk17","country_code":"CN","type":"education","lineage":["https://openalex.org/I37461747"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Jian Wang","raw_affiliation_strings":["Wuhan University, Wuhan, China"],"raw_orcid":"https://orcid.org/0000-0002-1559-9314","affiliations":[{"raw_affiliation_string":"Wuhan University, Wuhan, China","institution_ids":["https://openalex.org/I37461747"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5000582109","display_name":"Zibin Zheng","orcid":"https://orcid.org/0000-0002-7878-4330"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Zibin Zheng","raw_affiliation_strings":["Sun Yat-sen University, Zhuhai, China"],"raw_orcid":"https://orcid.org/0000-0002-7878-4330","affiliations":[{"raw_affiliation_string":"Sun Yat-sen University, Zhuhai, China","institution_ids":["https://openalex.org/I157773358"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":6,"corresponding_author_ids":["https://openalex.org/A5111131227"],"corresponding_institution_ids":["https://openalex.org/I157773358"],"apc_list":null,"apc_paid":null,"fwci":2.9051,"has_fulltext":false,"cited_by_count":1,"citation_normalized_percentile":{"value":0.90972955,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":91,"max":95},"biblio":{"volume":"2","issue":"FSE","first_page":"176","last_page":"196"},"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/T10028","display_name":"Topic Modeling","score":0.9878000020980835,"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/T12127","display_name":"Software System Performance and Reliability","score":0.9782000184059143,"subfield":{"id":"https://openalex.org/subfields/1705","display_name":"Computer Networks and Communications"},"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/snippet","display_name":"Snippet","score":0.9340939521789551},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.8510806560516357},{"id":"https://openalex.org/keywords/crowdsourcing","display_name":"Crowdsourcing","score":0.7126473188400269},{"id":"https://openalex.org/keywords/context","display_name":"Context (archaeology)","score":0.6318185925483704},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.6042919754981995},{"id":"https://openalex.org/keywords/inference","display_name":"Inference","score":0.5878143906593323},{"id":"https://openalex.org/keywords/set","display_name":"Set (abstract data type)","score":0.5339274406433105},{"id":"https://openalex.org/keywords/information-retrieval","display_name":"Information retrieval","score":0.4932228922843933},{"id":"https://openalex.org/keywords/type-inference","display_name":"Type inference","score":0.4557267725467682},{"id":"https://openalex.org/keywords/java","display_name":"Java","score":0.4490976929664612},{"id":"https://openalex.org/keywords/source-code","display_name":"Source code","score":0.44828686118125916},{"id":"https://openalex.org/keywords/world-wide-web","display_name":"World Wide Web","score":0.33277612924575806},{"id":"https://openalex.org/keywords/artificial-intelligence","display_name":"Artificial intelligence","score":0.2888374328613281},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.2674304246902466}],"concepts":[{"id":"https://openalex.org/C2777822670","wikidata":"https://www.wikidata.org/wiki/Q1120538","display_name":"Snippet","level":2,"score":0.9340939521789551},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8510806560516357},{"id":"https://openalex.org/C62230096","wikidata":"https://www.wikidata.org/wiki/Q275969","display_name":"Crowdsourcing","level":2,"score":0.7126473188400269},{"id":"https://openalex.org/C2779343474","wikidata":"https://www.wikidata.org/wiki/Q3109175","display_name":"Context (archaeology)","level":2,"score":0.6318185925483704},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.6042919754981995},{"id":"https://openalex.org/C2776214188","wikidata":"https://www.wikidata.org/wiki/Q408386","display_name":"Inference","level":2,"score":0.5878143906593323},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.5339274406433105},{"id":"https://openalex.org/C23123220","wikidata":"https://www.wikidata.org/wiki/Q816826","display_name":"Information retrieval","level":1,"score":0.4932228922843933},{"id":"https://openalex.org/C198370458","wikidata":"https://www.wikidata.org/wiki/Q586459","display_name":"Type inference","level":3,"score":0.4557267725467682},{"id":"https://openalex.org/C548217200","wikidata":"https://www.wikidata.org/wiki/Q251","display_name":"Java","level":2,"score":0.4490976929664612},{"id":"https://openalex.org/C43126263","wikidata":"https://www.wikidata.org/wiki/Q128751","display_name":"Source code","level":2,"score":0.44828686118125916},{"id":"https://openalex.org/C136764020","wikidata":"https://www.wikidata.org/wiki/Q466","display_name":"World Wide Web","level":1,"score":0.33277612924575806},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.2888374328613281},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.2674304246902466},{"id":"https://openalex.org/C151730666","wikidata":"https://www.wikidata.org/wiki/Q7205","display_name":"Paleontology","level":1,"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":1,"locations":[{"id":"doi:10.1145/3715724","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3715724","pdf_url":null,"source":{"id":"https://openalex.org/S4404663975","display_name":"Proceedings of the ACM on software engineering.","issn_l":"2994-970X","issn":["2994-970X"],"is_oa":false,"is_in_doaj":false,"is_core":false,"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":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the ACM on Software Engineering","raw_type":"journal-article"}],"best_oa_location":{"id":"doi:10.1145/3715724","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3715724","pdf_url":null,"source":{"id":"https://openalex.org/S4404663975","display_name":"Proceedings of the ACM on software engineering.","issn_l":"2994-970X","issn":["2994-970X"],"is_oa":false,"is_in_doaj":false,"is_core":false,"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":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the ACM on Software Engineering","raw_type":"journal-article"},"sustainable_development_goals":[],"awards":[{"id":"https://openalex.org/G8985529467","display_name":null,"funder_award_id":"2023A1515012292","funder_id":"https://openalex.org/F4320337111","funder_display_name":"Basic and Applied Basic Research Foundation of Guangdong Province"}],"funders":[{"id":"https://openalex.org/F4320337111","display_name":"Basic and Applied Basic Research Foundation of Guangdong Province","ror":null}],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":42,"referenced_works":["https://openalex.org/W1480909796","https://openalex.org/W1543330234","https://openalex.org/W1857789879","https://openalex.org/W2006291142","https://openalex.org/W2056894403","https://openalex.org/W2085030399","https://openalex.org/W2093400716","https://openalex.org/W2101105183","https://openalex.org/W2115130131","https://openalex.org/W2406204547","https://openalex.org/W2463123136","https://openalex.org/W2604348044","https://openalex.org/W2741609678","https://openalex.org/W2747329762","https://openalex.org/W2795362139","https://openalex.org/W2883903648","https://openalex.org/W2911282308","https://openalex.org/W2912671384","https://openalex.org/W2913273467","https://openalex.org/W2913334895","https://openalex.org/W2954950681","https://openalex.org/W2964002372","https://openalex.org/W3101609070","https://openalex.org/W3147133761","https://openalex.org/W4205596332","https://openalex.org/W4205616574","https://openalex.org/W4229666494","https://openalex.org/W4236990373","https://openalex.org/W4237993802","https://openalex.org/W4238623774","https://openalex.org/W4239025696","https://openalex.org/W4246606684","https://openalex.org/W4246788636","https://openalex.org/W4253813365","https://openalex.org/W4284685915","https://openalex.org/W4284685949","https://openalex.org/W4289255588","https://openalex.org/W4313563421","https://openalex.org/W4313563756","https://openalex.org/W4324102213","https://openalex.org/W4388502417","https://openalex.org/W4388505012"],"related_works":["https://openalex.org/W1607713096","https://openalex.org/W3032998312","https://openalex.org/W135177976","https://openalex.org/W4384486036","https://openalex.org/W1503094549","https://openalex.org/W2798329462","https://openalex.org/W3036724449","https://openalex.org/W2337920774","https://openalex.org/W1511521437","https://openalex.org/W4384811727"],"abstract_inverted_index":{"Code":[0],"snippets":[1,25,134,163,204],"are":[2,54],"widely":[3],"used":[4,33,239],"in":[5,34,111,226],"technical":[6,112],"forums":[7],"to":[8,11,20,56,118,140,193,240],"demonstrate":[9,270],"solutions":[10],"programming":[12],"problems.":[13],"They":[14],"can":[15,65],"be":[16,194],"leveraged":[17],"by":[18,73,107,160,217,258],"developers":[19],"accelerate":[21],"problem-solving.":[22],"However,":[23],"code":[24,48,80,87,126,133,162,191,203,233,250],"often":[26],"lack":[27],"concrete":[28],"types":[29,59],"of":[30,46,52,60,85,168,186,201,245,254,275,282],"the":[31,44,58,78,83,93,129,138,142,172,206,227,231,242,248,260,271,279],"APIs":[32],"them,":[35],"which":[36],"impedes":[37],"their":[38,69],"understanding":[39],"and":[40,135,170,219,273,284,295],"resue.":[41],"To":[42],"enhance":[43],"description":[45],"a":[47,50,100,120,124,155,165,184,190,199,212],"snippet,":[49],"number":[51],"approaches":[53,64],"proposed":[55],"infer":[57],"APIs.":[61],"Although":[62],"existing":[63],"achieve":[66],"good":[67],"performance,":[68],"performance":[70],"is":[71,117,180,237,256],"limited":[72],"ignoring":[74],"other":[75],"information":[76],"outside":[77],"input":[79,249],"snippet":[81,127,192],"(e.g.,":[82,149,223],"descriptions":[84],"similar":[86,132,202,232],"snippets)":[88],"that":[89,229],"could":[90],"potentially":[91],"improve":[92,241],"performance.":[94],"In":[95],"this":[96],"paper,":[97],"we":[98,153,196,210],"propose":[99],"novel":[101],"type":[102,143,178,243,262],"inference":[103,144,244],"approach,":[104],"named":[105],"CKTyper,":[106],"leveraging":[108],"crowdsourcing":[109,156,213],"knowledge":[110,157,214],"posts.":[113],"The":[114,235,252],"key":[115],"idea":[116],"generate":[119,211],"relevant":[121],"context":[122,139,215],"for":[123],"target":[125],"from":[128,164,183,205],"posts":[130,169,228],"containing":[131],"then":[136],"employ":[137],"promote":[141],"with":[145],"large":[146,166],"language":[147],"models":[148],"ChatGPT).":[150],"More":[151],"specifically,":[152],"build":[154],"base":[158],"(CKB)":[159],"extracting":[161,218],"set":[167,185],"index":[171],"CKB":[173],"using":[174],"Lucene.":[175],"An":[176],"API":[177,187,261],"dictionary":[179],"also":[181],"built":[182],"libraries.":[188],"Given":[189],"inferred,":[195],"first":[197],"retrieve":[198],"list":[200],"indexed":[207],"CKB.":[208],"Then,":[209],"(CKC)":[216],"summarizing":[220],"useful":[221],"content":[222],"API-related":[224],"sentences)":[225],"contain":[230],"snippets.":[234],"CKC":[236],"subsequently":[238],"ChatGPT":[246,255],"on":[247,266,286],"snippet.":[251],"hallucination":[253],"eliminated":[257],"employing":[259],"dictionary.":[263],"Evaluation":[264],"results":[265],"two":[267],"open-source":[268],"datasets":[269],"effectiveness":[272],"efficiency":[274],"CKTyper.":[276],"CKTyper":[277],"achieves":[278],"optimal":[280],"precision/recall":[281],"97.80%":[283],"95.54%":[285],"both":[287],"datasets,":[288],"respectively,":[289],"significantly":[290],"outperforming":[291],"three":[292],"state-of-the-art":[293],"baselines":[294],"ChatGPT.":[296]},"counts_by_year":[{"year":2025,"cited_by_count":1}],"updated_date":"2025-11-06T03:46:38.306776","created_date":"2025-10-10T00:00:00"}
