[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-273681-105":59,"doc-detail-273681-en":131,"doc-similar-273681":155},{"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":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","natural-language-code-retrieval-for-1centerprise-an-open-benchmark-and-efficient-bi-encoder","Natural Language Code Retrieval for 1C:Enterprise - An Open Benchmark and Efficient Bi-Encoder","","Natural language code retrieval ranks relevant code fragments from text queries, yet the 1C:Enterprise ecosystem lacks open datasets and specialized models because Russian syntax and domain-specific terminology constrain existing approaches. The paper introduces a full 1C retrieval pipeline: an open benchmark of 3,413 PII-scrubbed query-code pairs, a reproducible evaluation harness, and a specialized bi-encoder trained with privacy-aware tokenization on 784,057 synthetic triplets. Results report balanced macro, micro, and forum-only metrics, plus contamination audits, and show Matryoshka truncation preserving 99.9% quality while reducing storage.",{"@graph":69,"@context":123},[70,84,106],{"@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/natural-language-code-retrieval-for-1centerprise-an-open-benchmark-and-efficient-bi-encoder/273681/",{"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/natural-language-code-retrieval-for-1centerprise-an-open-benchmark-and-efficient-bi-encoder/273681.png","ImageObject",300,407,{"name":92,"@type":93},"River Wang","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-16","2026-09-15",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",15,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What problem does the paper address for 1C:Enterprise code retrieval?","Question",{"text":113,"@type":114},"It addresses the lack of open datasets and specialized retrieval models for 1C:Enterprise, where queries are often Russian and code uses highly domain-specific terminology and Cyrillic-heavy vocabulary.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What does the proposed benchmark include?",{"text":118,"@type":114},"The benchmark provides 3,413 real-world, PII-scrubbed query–code pairs, organized into subsets such as forum and fastcode, and is accompanied by a reproducible evaluation harness.",{"name":120,"@type":111,"acceptedAnswer":121},"How is the bi-encoder trained to overcome scarce labeled data?",{"text":122,"@type":114},"The model is fine-tuned using 784,057 synthetic triplets generated from public code repositories, employing Matryoshka Representation Learning and a privacy-aware tokenizer.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},273681,1789472476,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":130,"read_time":145,"preview_page_count":14,"preview_urls":146},1099514067438,"https://ap-avatar.wpscdn.com/avatar/100002539ee87300030?x-image-process=image/resize,m_fixed,w_180,h_180&k=1780474512215547542","arXiv : 2608 . 19957v 1 [cs .CL] 20 Aug 2026  \nNatural Language Code Retrieval for 1C:Enterprise: An Open Benchmark and Efficient  \nBi-Encoder  \nKonstantin Chesnokov 1[0009−0007−0162−9344] * and Chingiz Mingazov2[0009−0006−1744−0207]  \n1 Independent Researcher, Moscow, Russia  \n[konstphx@gmail.com](konstphx@gmail.com) * Corresponding author  \n2 Independent Researcher, Kazan, Russia  \nAbstract. Natural language code retrieval is a rapidly evolving task in computer science. However, the 1C:Enterprise ecosystem combines Russian syntax with highly domain-specific terminology, for which open datasets and specialized models have been virtually non-existent. We present a comprehensive pipeline for 1C code retrieval: an open benchmark of 3,413 real-world, PII-scrubbed query–code pairs, a reproducible evaluation harness, and a specialized bi-encoder. To overcome scarce labeled data, we fine-tune on 784,057 synthetic triplets generated by google/gemma-4-26B-A4B-it from public code repositories, using Matryoshka Representation Learning (MRL) and a privacy-aware tokenizer. Because the benchmark subsets differ in size, we report balancedsubset macro, query-weighted micro, and forum-only results. Our model reaches 0.5992 balanced macro nDCG@10, 0.5044 micro, and 0.4617 on forum, versus 0.4932 macro for the baseline architecture and 0.5404 for google/embeddinggemma-300m. Removing every benchmark example flagged by the conservative exact/13-gram overlap audit leaves 0.6011 balanced macro (0.5010 micro), indicating that detected train–benchmark overlap does not explain the headline result. MRL truncation to 256 dimensions preserves 99.9% of retrieval quality while reducing dense-index storage and exact similarity arithmetic by a factor of three.  \nKeywords: Code retrieval · 1C:Enterprise · BSL · Dense retrieval · Benchmark · Matryoshka embeddings  \n1 Introduction  \nNatural-language code retrieval ranks code fragments in response to a text query. For popular languages, sizeable datasets and trained retrievers exist; for 1C:Enterprise, open retrieval infrastructure has been scarce despite its role in Russian-speaking enterprise software.  \nThe 1C domain differs from typical English-language code search. Queries are often Russian and may describe errors, platform objects, reports, registries, or accounting operations; relevant documents are BSL or 1C query fragments  \n2 K. Chesnokov and C. Mingazov  \nthat mix Cyrillic keywords, Russian identifiers, SQL-like clauses, and business terminology. Without a domain benchmark, it is hard to tell whether general multilingual embeddings suffice or domain adaptation is needed.  \nWe formulate the task as single-stage dense closed-set retrieval, where queries and documents are represented by learned continuous vectors and ranked by vector similarity. Given a corpus D = {d1 ,..., dn } and query q, the system ranks documents so that the labeled relevant fragment d+ ranks as high as possible. Abi-encoder embeds queries and documents independently:  \neq = Enc 􀀀q; search_query􀀁 ,  \n(1)  \ned = Enc 􀀀d; search_document􀀁 ,  \nand scores them by cosine similarity (an inner product after L2 normalization):  \nscore(q, d) = cos(eq , ed) . (2)  \nThis work establishes a starting point for 1C retrieval. We do not propose anew architecture or loss; we contribute a benchmark, evaluation protocol, training resource, contamination audit, and reference domain model.  \nThe main contributions are:  \n1. PruhaNLP/1C-Ebench, an open benchmark for retrieving 1C/BSL code from Russian questions (3,413 pairs; subsets forum and fastcode) .  \n2. PruhaNLP/1C-Code-Train , 784,057 synthetic triplets (q, d+ , d − ) with PIIscrubbing.  \n3. PruhaNLP/1C-RB, a reproducible evaluation harness for dense models and BM25Okapi.  \n4. A train–benchmark contamination audit (exact match and 13-gram); no exact duplicate pairs.  \n5. A reference baseline suite and PruhaNLP/USER2-1C-code , a domain-adapted bi-encoder with Matryoshka truncation that improves over","cbCaimqT9dANadSe","https://ap.wps.com/l/cbCaimqT9dANadSe","pdf",657867,17,"English","# Introduction\n## Task Formulation and Model Approach\n# Related Work\n## Code Retrieval Benchmarks\n## 1C:Enterprise Evaluation Resources\n## Multilingual and Cross-lingual Retrieval Context\n## Dense Retrieval, BM25, and Compact Embeddings","[{\"question\":\"What problem does the paper address for 1C:Enterprise code retrieval?\",\"answer\":\"It addresses the lack of open datasets and specialized retrieval models for 1C:Enterprise, where queries are often Russian and code uses highly domain-specific terminology and Cyrillic-heavy vocabulary.\"},{\"question\":\"What does the proposed benchmark include?\",\"answer\":\"The benchmark provides 3,413 real-world, PII-scrubbed query–code pairs, organized into subsets such as forum and fastcode, and is accompanied by a reproducible evaluation harness.\"},{\"question\":\"How is the bi-encoder trained to overcome scarce labeled data?\",\"answer\":\"The model is fine-tuned using 784,057 synthetic triplets generated from public code repositories, employing Matryoshka Representation Learning and a privacy-aware tokenizer.\"}]","Natural Language Code Retrieval for 1C:Enterprise - An Open Benchmark and Efficient Bi-Encoder | PDF",43,[147,151],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/78b9f9ca5ee11b9fc3880fcb14e92106.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/fcd86676b73e4b596f27d566f6166a05.webp",982,1270,{"list":156,"token":66},[157,164,171,178,185,191,198,205,212,219],{"doc_id":158,"doc_title":159,"file_type":138,"home_preview_img_url":160,"slug":161,"view_count":162,"category_name":40,"create_tm":163},84170,"Thinking More Harnessing Better Automatic Harness Generation with Dataflow Aggregation and Workflow Decomposition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809029067/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=0iv8yz2W2%2FAT%2Fm0bcsA368WFaqY%3D","thinking-more-harnessing-better-automatic-harness-generation-with-dataflow-aggregation-and-workflow-decomposition",37,1784193617,{"doc_id":165,"doc_title":166,"file_type":138,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":40,"create_tm":170},83314,"From Prompts to Contracts: Harness Engineering for Auditable Enterprise LLM Agents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808962680/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=7bnF2xqOlU%2BXGvcGD6KGX0jk%2BuY%3D","from-prompts-to-contracts-harness-engineering-for-auditable-enterprise-llm-agents",24,1784186682,{"doc_id":172,"doc_title":173,"file_type":138,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":40,"create_tm":177},84907,"Harnessing Code Agents for Automatic Software Verification","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809219203/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=S4R1TUDdeNvkTVEsApoHQtrXWOE%3D","harnessing-code-agents-for-automatic-software-verification",23,1784199283,{"doc_id":179,"doc_title":180,"file_type":138,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":40,"create_tm":184},493558,"POP-3D: Open-Vocabulary 3D Occupancy Prediction from Images","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928445728/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=GuW7TPHfdqODEiF1A12DxQ%2BxNJ0%3D","pop-3d-open-vocabulary-3d-occupancy-prediction-from-images",12,1790884004,{"doc_id":186,"doc_title":187,"file_type":138,"home_preview_img_url":188,"slug":189,"view_count":183,"category_name":40,"create_tm":190},423263,"Omni-Attribute - Open-vocabulary Attribute Encoder for Visual Concept Personalization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922615025/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=0rM5O6bX4iMdA4qGm3S6Pokw0PM%3D","omni-attribute-open-vocabulary-attribute-encoder-for-visual-concept-personalization",1790630625,{"doc_id":192,"doc_title":193,"file_type":138,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":40,"create_tm":197},85723,"JEPA for AI-Native 6G: Predictive Representations and Open Challenges","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809346566/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=UnbJ%2FpTzj1ZlvHJyIpaQ9rvDigs%3D","jepa-for-ai-native-6g-predictive-representations-and-open-challenges",32,1784205812,{"doc_id":199,"doc_title":200,"file_type":138,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},82967,"A Mechanistic Lens on Semantic Conflicts Using Activation Patching to Understand LLM Behavior","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808810243/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=RXcL0NQvLMarpGhggQIx6CVE3O4%3D","a-mechanistic-lens-on-semantic-conflicts-using-activation-patching-to-understand-llm-behavior",21,1784184377,{"doc_id":206,"doc_title":207,"file_type":138,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":40,"create_tm":211},85497,"PRiSM Benchmarking Phone Realization in Speech Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809272147/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=2sN5k5GIDB4RsRJ9vkl9uUOnttU%3D","prism-benchmarking-phone-realization-in-speech-models",29,1784204021,{"doc_id":213,"doc_title":214,"file_type":138,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":40,"create_tm":218},86114,"QwenPaw-Data: Bridging Facts, Methodology, and Execution for Autonomous Enterprise Data Analytics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809378921/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=858Dsv9Mldh9Z9Ujr2QE9AJvzdU%3D","qwenpaw-data-bridging-facts-methodology-and-execution-for-autonomous-enterprise-data-analytics",36,1784208607,{"doc_id":220,"doc_title":221,"file_type":138,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":40,"create_tm":225},81864,"Open Bitcoin Metrics Verifiable Full-Node-Derived Bitcoin Time Series for Economic Research","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808689228/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=l58cutnQEimqoWUtHXMMlIbDVaI%3D","open-bitcoin-metrics-verifiable-full-node-derived-bitcoin-time-series-for-economic-research",26,1784176715]