Lune

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems 引用了 CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
  • RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems 引用了 RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation
  • Repoformer: Selective Retrieval for Repository-Level Code Completion 引用了 CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
  • Repoformer: Selective Retrieval for Repository-Level Code Completion 引用了 ReACC: A Retrieval-Augmented Code Completion Framework
  • Repoformer: Selective Retrieval for Repository-Level Code Completion 引用了 RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation
  • RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation 引用了 CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper14

  1. RepoBench: Benchmarking Repository-Level Code Auto-Completion SystemsTianyang Liu, Canwen Xu, Julian J. McAuleyICLR 2024 · 338 次引用
  2. CodeGen: An Open Large Language Model for Code with Multi-Turn Program SynthesisErik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu 等ICLR 2023 · 234 次引用
  3. ReACC: A Retrieval-Augmented Code Completion FrameworkShuai Lu, Nan Duan, Hojae Han, Daya Guo 等ACL 2022 · 208 次引用
  4. RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and GenerationFengji Zhang, Bei Chen, Yue Zhang, Jacky Keung 等EMNLP 2023 · 110 次引用
  5. Repoformer: Selective Retrieval for Repository-Level Code CompletionDi Wu, Wasi Uddin Ahmad, Dejiao Zhang, Murali Krishna Ramanathan 等ICML 2024 · 78 次引用

相关 Paper

  1. Porting Software Libraries to OpenHarmony: Transitioning from TypeScript or JavaScript to ArkTSBo Zhou, Jiaqi Shi, Ying Wang, Li Li 等ISSTA 2025 · 2 次引用
  2. M2RC-EVAL: Massively Multilingual Repository-level Code Completion EvaluationJiaheng Liu, Ken Deng, Congnan Liu, Jian Yang 等ACL 2025 · 19 次引用
  3. CrossPL: Systematic Evaluation of Large Language Models for Cross Programming Language Interoperating Code Generationzhanhang xiong, Dongxia Wang, Yuekang Li, Xinyuan An 等ICLR 2026
  4. OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System VerificationShangyu Li, Juyong Jiang, Tiancheng Zhao, Jiasi ShenAAAI 2026 · 10 次引用
  5. Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet'Shanchao Liang, Nan Jiang, Yiran Hu, Lin TanACL 2025 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖