ACL Findings2026
ArkRepoBench: A Repository-Level Code Completion Benchmark for HarmonyOS Development
Yanlin Wang, Bowen Zhang, Yanli Wang, Daya Guo, Terry Yue Zhuo, Jiachi Chen, Mingwei Liu, Xingong Zhang, Zibin Zheng
Abstract
ArkTS is the primary programming language for Huawei's HarmonyOS ecosystem, which has expanded across smartphones, tablets, and IoT devices. While large language models have demonstrated strong code generation capabilities for mainstream languages, their performance on ArkTS remains largely unexplored. To address this gap, we introduce ARKRE-POBENCH, the first repository-level code completion benchmark for ArkTS, 7,519 samples collected from 20 official HarmonyOS repositories. The benchmark covers multiple difficulty levels and further categorizes completion instances into Single-File, Cross-File Independent, and Cross-File Dependent settings based on dependency analysis, distinguishing the mere presence of cross-file context from its actual necessity. Our experiments show that: (1) ArkTS completion consistently underperforms mainstream languages under our experimental settings, suggesting language-specific challenges associated with this emerging language;
(2) open-source 7B models achieve performance comparable to close-source models;
(3) cross-file context is a double-edged sword, with sparse retrieval (Jaccard) outperforming dense methods on ArkTS; and (4) HarmonyOS API documentation consistently improves performance, suggesting the benefits of domainspecific enhancements in low-resource settings.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems cites CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems cites RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation
- Repoformer: Selective Retrieval for Repository-Level Code Completion cites CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
- Repoformer: Selective Retrieval for Repository-Level Code Completion cites ReACC: A Retrieval-Augmented Code Completion Framework
- Repoformer: Selective Retrieval for Repository-Level Code Completion cites RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation
- RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation cites CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
Builds on14
- RepoBench: Benchmarking Repository-Level Code Auto-Completion SystemsTianyang Liu, Canwen Xu, Julian J. McAuleyICLR 2024 · 338 citations
- CodeGen: An Open Large Language Model for Code with Multi-Turn Program SynthesisErik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu et al.ICLR 2023 · 234 citations
- ReACC: A Retrieval-Augmented Code Completion FrameworkShuai Lu, Nan Duan, Hojae Han, Daya Guo et al.ACL 2022 · 208 citations
- RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and GenerationFengji Zhang, Bei Chen, Yue Zhang, Jacky Keung et al.EMNLP 2023 · 110 citations
- Repoformer: Selective Retrieval for Repository-Level Code CompletionDi Wu, Wasi Uddin Ahmad, Dejiao Zhang, Murali Krishna Ramanathan et al.ICML 2024 · 78 citations
Related papers
- Porting Software Libraries to OpenHarmony: Transitioning from TypeScript or JavaScript to ArkTSBo Zhou, Jiaqi Shi, Ying Wang, Li Li et al.ISSTA 2025 · 2 citations
- M2RC-EVAL: Massively Multilingual Repository-level Code Completion EvaluationJiaheng Liu, Ken Deng, Congnan Liu, Jian Yang et al.ACL 2025 · 19 citations
- CrossPL: Systematic Evaluation of Large Language Models for Cross Programming Language Interoperating Code Generationzhanhang xiong, Dongxia Wang, Yuekang Li, Xinyuan An et al.ICLR 2026
- OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System VerificationShangyu Li, Juyong Jiang, Tiancheng Zhao, Jiasi ShenAAAI 2026 · 10 citations
- Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet'Shanchao Liang, Nan Jiang, Yiran Hu, Lin TanACL 2025 · 9 citations
