RealEmbedBench: Benchmarking LLMs on Real-World Application-Layer Embedded Software Tasks
Yujun Huang, Yuwei Zhang, Yi Zhou, Shanshan Wu, Xiang Chen, Lina Gong
Abstract
Large language models (LLMs) perform well on general coding tasks, but their capabilities in application-layer embedded software development remain underexplored. Existing embedded benchmarks primarily focus on hardware-in-the-loop validation in simulated environments. We introduce RealEmbedBench, a benchmark of 5,142 samples covering three application-layer tasks: code generation and completion, state machine modeling and implementation, and cross-OS code translation. We evaluate six representative LLMs and find substantial performance differences across tasks and models. Project context, especially the local code window, significantly affects code generation and completion. Models perform reasonably well at state machine modeling but struggle to translate these models into executable code. Cross-OS translation performance varies substantially by direction. Translation from Harmony to RT-Thread is particularly challenging, with an average pass rate of 0.1667. These findings suggest that developers should consider local code context when using LLMs for code generation and completion and select models according to the translation direction. They also motivate the use of more real-world state machine implementation data in LLM training to narrow the gap between modeling and executable code.
Create a lesson
Related papers
EcomWriteBench: A Real-World Benchmark for E-commerce Writing Tasks
Shared title terminology · Kaicheng Liang, Jingyi Cui, Hongwei Wen et al.
Infrathon: Benchmarking Language Agents for Real-World, Long-Horizon AI Infra Optimization
Shared title terminology · Zhengyu Hu, Zheyuan Xiao, Yike Wang et al.
CodeReviewBench: An Automated Benchmark for Evaluating the Software Factory
Shared title terminology · Ashley Zhang, Narmeen Fatimah Oozeer, Aleksandr Zverianskii et al.
Beyond Demographic Discrimination: Benchmarking Normative-Descriptive Calibration in LLMs
Shared title terminology · Radhika Bhargava, Shinibali Bhattacharyya, George Mihaila et al.
Agent Benchmarks Stop Ranking Before They Run Out of Tasks
Shared title terminology · Zihan Dong, Qishi Zhan, Minxuan Hu
Joi-Bench-Task: Benchmarking Task Coordination in Full-duplex Voice Agents through Interactive Simulation
Shared title terminology · Xiangheng He, Mingjun Zhao, Zhehao Fan et al.