[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-673293-105":59,"doc-detail-673293-en":130,"doc-similar-673293":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","libevolutioneval-a-benchmark-and-study-for-version-specific-code-generation","LIBEVOLUTIONEVAL - A Benchmark and Study for Version-Specific Code Generation","","Recent code-completion research mainly uses local file context, which fails to reflect real software development where public libraries change rapidly. To address this gap, LIBEVOLUTIONEVAL introduces a version-specific in-line code-completion benchmark covering eight evolving libraries and analyzes two well-maintained ones: PyTorch and Matplotlib. Experiments show that library evolution affects model performance, and mitigation via retrieved version-specific documentation and prompting improves handling of fast-changing packages.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/libevolutioneval-a-benchmark-and-study-for-version-specific-code-generation/673293/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/libevolutioneval-a-benchmark-and-study-for-version-specific-code-generation/673293.png","ImageObject",300,407,{"name":92,"@type":93},"GGG","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-12-02","2026-11-02",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does LIBEVOLUTIONEVAL address?","Question",{"text":112,"@type":113},"It addresses the gap that existing code-completion evaluations often ignore how public libraries evolve, causing version mismatch and reduced accuracy in real software development.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What does the benchmark include?",{"text":117,"@type":113},"LIBEVOLUTIONEVAL defines a version-specific in-line code-completion task covering eight libraries (torch, torchvision, scipy, pil, tqdm, pyyaml, matplotlib, pandas) across evolving versions over time.",{"name":119,"@type":110,"acceptedAnswer":120},"How do the authors mitigate the impact of library evolution?",{"text":121,"@type":113},"They study approaches that retrieve version-specific library documentation and use prompting to improve code LLM capability for fast-evolving packages.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},673293,1793627967,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962093532725,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","LIBEVOLUTIONEVAL: A Benchmark and Study  \nfor Version-Specific Code Generation  \nSachit Kuhar1 Wasi Uddin Ahmad2∗ Zijian Wang 1 Nihal Jain 1 Haifeng Qian2 * Baishakhi Ray 1 Murali Krishna Ramanathan 1 Xiaofei Ma 1 Anoop Deoras 1  \n1AWS AI Labs 2NVIDIA  \nAbstract  \nRecent advancements in code completion models have primarily focused on local file contexts (Ding et al., 2023b ; Jimenez et al., 2024) . However, these studies do not fully capture the complexity of real-world software development, which often requires the use of rapidlyevolving public libraries. To fill the gap, we introduce LIBEVOLUTIONEVAL, a detailed study requiring an understanding of library evolution to perform in-line code completion accurately. LIBEVOLUTIONEVAL provides a versionspecific code-completion task comprised of eight libraries (torch, torchvision, scipy, pil, tqdm, pyyaml, matplotlib, and pandas) as they evolve over the year along with a detailed analysis of the evolution of two popular and well-maintained public libraries:  \nPyTorch and Matplotlib. We evaluate popular public models and find that public library evolution significantly influences model performance. We explored mitigation methods by studying how retrieved version-specific library documentation and prompting can improve the model’s capability in handling these fastevolving packages, paving a promising future path in better handling fast-evolving libraries.  \n1 Introduction  \nLarge Language Models for code (a.k.a. code LLMs) (Li et al., 2023 ; Lozhkov et al., 2024 ; Roziere et al., 2023) have significantly advanced developer productivity through improved code completion tasks. These models are pivotal not only in code completion, but also in debugging, code summarization, and language translation for software development (Yan et al., 2023 ; Roziere et al., 2020, 2022 ; Min et al., 2024) . These models are usually evaluated either with code contest dataset (Li et al., 2022) or with a focus on local files for context to enhance the completion of the function (Chen  \n* Work done at AWS AI Labs. Correspondence: {skuhar, [rabaisha}@amazon.com](rabaisha}@amazon.com)  \net al., 2021 ; Ding et al., 2023a ; Athiwaratkun et al., 2023 ; Ding et al., 2023b ; Jimenez et al., 2024) . However, these studies do not fully encompass the complexities of real-world software development, which requires public libraries. Complexity of code completion with public library APIs increases, asthe APIs often evolve—some APIs change their signature, some gets deprecated, while many new APIs surfaced in this evaluation process (McDonnell et al., 2013) . While some works perform code completion involving public libraries (Liao et al., 2023 ; Zan et al., 2022), use documentation of the library for prediction (Qin et al., 2024), and show that zero shot code completions suffer from hallucinations (Patil et al., 2023), these works do not focus on the rapidly evolving nature of public libraries.  \nLarge Language Models are trained on extensive corpora of open-source code, which likely includes public libraries. Consequently, while LLMgenerated code may appear reasonable, it might not be accurate for the specific version of the library being used, leading to version-dependent performance issues. Figure 1 shows that Code LLM’s generation is correct for v2 .2 but incorrect for v1 .2. This variability is significant since developers often work with different library versions – newest versions for current projects and older ones for legacy code maintenance. Therefore, the developer’s experience with coding assistants depending on LLMs for code completion can vary greatly depending on their specific use case.  \nExisting benchmarks and studies do not fully capture evolution, revealing a gap in our current evaluation and understanding of code LLMs. This work focuses on the following research questions: (1) Does the performance of code LLMs change as the library evolves? (2) If yes, can retrieving versionspecific meta-data like l","cbCaii5SwxVsxuAJ","https://ap.wps.com/l/cbCaii5SwxVsxuAJ","pdf",1831107,15,"English","# Abstract\n# Introduction\n## Problem: Limits of local-context evaluation\n## Version mismatch in code LLM generation\n## Research questions\n## LIBEVOLUTIONEVAL benchmark and study design","[{\"question\":\"What problem does LIBEVOLUTIONEVAL address?\",\"answer\":\"It addresses the gap that existing code-completion evaluations often ignore how public libraries evolve, causing version mismatch and reduced accuracy in real software development.\"},{\"question\":\"What does the benchmark include?\",\"answer\":\"LIBEVOLUTIONEVAL defines a version-specific in-line code-completion task covering eight libraries (torch, torchvision, scipy, pil, tqdm, pyyaml, matplotlib, pandas) across evolving versions over time.\"},{\"question\":\"How do the authors mitigate the impact of library evolution?\",\"answer\":\"They study approaches that retrieve version-specific library documentation and use prompting to improve code LLM capability for fast-evolving packages.\"}]","LIBEVOLUTIONEVAL - A Benchmark and Study for Version-Specific Code Generation | PDF",38,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/fe10a8662fcd1573538a085987841914.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/07c3371c57cd5e1175986fe1409733f0.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/84409951509cf96bec0e577d3ed95ddd.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/45ad3d58aca1bbd57fa3b7337d75f569.webp",980,1385,{"list":163,"token":66},[164,171,177,184,191,198,205,212,219,225],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":40,"create_tm":170},290699,"Earthquake Magnitude Modelling using Machine Learning technology - Configuration Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903739569/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=Khz8OKuXi0GOo6O2Vgc5zNaIzkI%3D","earthquake-magnitude-modelling-using-machine-learning-technology-configuration-manual",13,1789642386,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":14,"category_name":40,"create_tm":176},759800,"Compromising filesystems with npm dependencies - Bachelor Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044222114/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=8T5n%2FoF1EYA7bdUO7i8eUowWVe4%3D","compromising-filesystems-with-npm-dependencies-bachelor-thesis",1795895117,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},394506,"Iowa Disclosures - Completion Rates for Exam Review and CPE Programs in 2025","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918252051/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=uAJ7Y0cdgv%2BLXIl99bO9dswQdYE%3D","iowa-disclosures-completion-rates-for-exam-review-and-cpe-programs-in-2025",11,1790404717,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":40,"create_tm":190},85303,"TREETHINK: A Modular Tree Search Library for Mathematical Reasoning with LLMs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809256585/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=MhpaFhghsuLavkHLpf2%2BhsOUaC4%3D","treethink-a-modular-tree-search-library-for-mathematical-reasoning-with-llms",31,1784202350,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":40,"create_tm":197},661202,"Information Retrieval and Retrieval-Augmented Generation - Chapter 11 - Intro","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229980204373/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=kmH09QCRDrIL32jwyMMEzT73qWE%3D","information-retrieval-and-retrieval-augmented-generation-chapter-11-intro",16,1793159584,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},83664,"AutoResearch An Execution Grounded Multi Agent Framework for Reliable Research Workflow Automation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808880408/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=mMWxIbDUWjCWRoYMxfnJ5cv11QI%3D","autoresearch-an-execution-grounded-multi-agent-framework-for-reliable-research-workflow-automation",29,1784189615,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":40,"create_tm":211},126885,"Leveraging Machine Learning for Browser-Based Detection of Misinformation - Towards User-Empowered News Consumption","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839398351/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=ibAMa9gEAYhcmaEZ5OEc9WEjn9M%3D","leveraging-machine-learning-for-browser-based-detection-of-misinformation-towards-user-empowered-news-consumption",24,1785935416,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":40,"create_tm":218},460512,"Synchrotron radiation analysis of microparticles from the Fukushima Daiichi nuclear power station","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925997648/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=a%2FwDUV4sVQch3dgYCliqn%2FV8%2F50%3D","synchrotron-radiation-analysis-of-microparticles-from-the-fukushima-daiichi-nuclear-power-station",12,1790758650,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":139,"category_name":40,"create_tm":224},126046,"Mapping soil parent materials in a previously glaciated landscape - Potential for a machine learning approach for detailed nationwide mapping","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838696919/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=T1xBZKDMreUlMnWshyeULMMfDTQ%3D","mapping-soil-parent-materials-in-a-previously-glaciated-landscape-potential-for-a-machine-learning-approach-for-detailed-nationwide-mapping",1785902720,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":40,"create_tm":231},85819,"Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Libraries","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809486190/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=K7l29AT7GPZxkbxN0Fxs37X3WnQ%3D","dynamic-agent-skills-a-lifecycle-survey-and-taxonomy-of-evolving-skill-libraries",36,1784206445]