Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarios

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hu, Ruida, Wang, Xinchen, Peng, Chao, Gao, Cuiyun, Lo, David
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910112148357120
author Hu, Ruida
Wang, Xinchen
Peng, Chao
Gao, Cuiyun
Lo, David
author_facet Hu, Ruida
Wang, Xinchen
Peng, Chao
Gao, Cuiyun
Lo, David
contents Large Language Models (LLMs) are driving a shift towards intent-driven development, where agents build complete software from scratch. However, existing benchmarks fail to assess this 0-to-1 generation capability due to two limitations: reliance on predefined scaffolds that ignore repository structure planning, and rigid white-box unit testing that lacks end-to-end behavioral validation. To bridge this gap, we introduce CLI-Tool-Bench, a structure-agnostic benchmark for evaluating the ground-up generation of Command-Line Interface (CLI) tools. It features 100 diverse real-world repositories evaluated via a black-box differential testing framework. Agent-generated software is executed in sandboxes, comparing system side effects and terminal outputs against human-written oracles using multi-tiered equivalence metrics. Evaluating seven state-of-the-art LLMs, we reveal that top models achieve under 43% success, highlighting the ongoing challenge of 0-to-1 generation. Furthermore, higher token consumption does not guarantee better performance, and agents tend to generate monolithic code.
format Preprint
id arxiv_https___arxiv_org_abs_2604_06742
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarios
Hu, Ruida
Wang, Xinchen
Peng, Chao
Gao, Cuiyun
Lo, David
Software Engineering
Artificial Intelligence
Large Language Models (LLMs) are driving a shift towards intent-driven development, where agents build complete software from scratch. However, existing benchmarks fail to assess this 0-to-1 generation capability due to two limitations: reliance on predefined scaffolds that ignore repository structure planning, and rigid white-box unit testing that lacks end-to-end behavioral validation. To bridge this gap, we introduce CLI-Tool-Bench, a structure-agnostic benchmark for evaluating the ground-up generation of Command-Line Interface (CLI) tools. It features 100 diverse real-world repositories evaluated via a black-box differential testing framework. Agent-generated software is executed in sandboxes, comparing system side effects and terminal outputs against human-written oracles using multi-tiered equivalence metrics. Evaluating seven state-of-the-art LLMs, we reveal that top models achieve under 43% success, highlighting the ongoing challenge of 0-to-1 generation. Furthermore, higher token consumption does not guarantee better performance, and agents tend to generate monolithic code.
title Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarios
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2604.06742