Repository: https://github.com/code-philia/arc-bench-lite.
This is the six-application ARC-Bench Lite variant. The current YAML packages define its scope; retained/excluded features and validation limits are documented in the Lite audit. Shared helpers follow applicable upstream compatibility updates. No additional-test suites are included.
arc-bench is a benchmark for requirement-to-application generation. It
evaluates whether a generation system can transform multi-modal web application
requirements into a runnable implementation whose behavior is validated by
end-to-end Playwright tests.
The benchmark was first introduced in the ARC paper, Compiling Large Multi-Modal Requirement Documents into Runnable Software Systems: From an Agentic Test-Driven Perspective. This repository provides the benchmark artifacts and evaluation workflow for independent reproduction. The associated ARC compiler is open-sourced at https://github.com/code-philia/agentic-requirement-compiler.
The benchmark is organized as a set of web application tasks. Each task pairs a requirement package with an executable test suite, so different generators can be compared against the same inputs and behavioral checks. This repository contains:
arc-bench/
├── <app>/
│ ├── requirements/
│ │ ├── requirements.yaml Structured requirements and scenarios
│ │ └── reference/ Visual reference images
│ └── tests/ Playwright tests, helpers, and fixtures
setup-playwright.sh Test environment setup script
README.md
The benchmark itself is generator-agnostic. Any implementation, whether it is produced by a generator or written as a reference implementation, is responsible for starting successfully, initializing the data required by the requirements, and exposing one entry URL. The benchmark runner is responsible only for running the selected app's tests against that URL.
Applications are sorted by the number of requirement nodes, from smallest
to largest. Counts include every node: ROOT, FOLDER, and ATOMIC.
Scenarios are the GIVEN / WHEN / THEN cases in requirements.yaml;
each scenario corresponds to one Playwright test.
| Application | # Requirements | # Scenarios | # Tests | Domain |
|---|---|---|---|---|
keep |
11 | 14 | 14 | Google Keep |
stackoverflow |
20 | 26 | 26 | Stack Overflow |
bookstack |
21 | 19 | 19 | BookStack |
prestashop |
22 | 28 | 28 | PrestaShop |
ctrip |
32 | 45 | 45 | Ctrip |
12306 |
49 | 47 | 47 | China Railway 12306 |
| Total | 155 | 179 | 179 |
The simplified Stack Overflow task retains registration/login, public discovery and search, question publication and revision, answers and acceptance. It contains 20 requirement nodes (14 atomic requirements), down from 60. Registered emails provide identity without requiring profile editing; tests create their accounts and posts through the public UI.
The simplified PrestaShop task retains product discovery/search, variants and stock, cart management, verified-account login, and checkout through order confirmation. It contains 22 requirement nodes (15 atomic requirements), down from 63. Its flat catalog contains five products. Shipping addresses are created during checkout, also serve as billing addresses, and require no account address book. Order confirmation survives reload with the same assigned reference.
The simplified 12306 task retains direct train search, verified login, saved passengers, booking confirmation, payment and unpaid/upcoming order inspection. It contains 49 requirement nodes (31 atomic requirements), down from 129. Registration, transfers, filters, refunds and unpaid-order cancellation are excluded.
The simplified Ctrip task retains route/date search, verified login, fare selection, passenger validation, booking/payment, order inspection and unpaid cancellation. It contains 32 requirement nodes (25 atomic requirements), down from 107. Saved travelers and a read-only masked profile remain; optional services, account security, flight status, vouchers and airport guidance are excluded. Both travel tasks declare independent system-provided scenario accounts in their YAML inputs so test setup requires no registration, refund or cleanup features. Initialize seed data before each benchmark run.
Original requirement and scenario IDs are retained for traceability; gaps are intentional. Reference images guide the retained features' layout; excluded features visible within a shared screenshot are not implementation requirements.
The six-case audit report records scope, retained business flows and validation limits. Against the audited baseline, Keep retains 50% of requirement nodes and BookStack 62%; the current scope is retained for these simpler tasks without requiring further reduction to one third.
To check all requirement packages, install PyYAML with python -m pip install PyYAML, then run npm run check:requirements. Run npm run check:bench for
TypeScript validation and Playwright test collection across all six tasks.
These checks do not execute application behavior.
Use both inputs under arc-bench/<app>/requirements/ to generate a web application:
requirements.yaml— application behavior, scenarios, and required data.reference/— visual references for the application.
Start the generated application and record its entry URL, for example
http://127.0.0.1:3000. Keep it running while executing the tests.
Example generator: ARC. Clone the Agentic Requirement Compiler and follow its README to install and configure it:
git clone https://github.com/code-philia/agentic-requirement-compiler.gitProvide arc-bench/<app>/requirements/ as the input requirement directory, then
start the resulting application using its generated startup instructions.
Other generators can use the same benchmark inputs.
Install Node.js 22 LTS and npm before setting up the test environment.
Step 1 — Copy the test files. Copy arc-bench/<app>/tests/ and
setup-playwright.sh into the generated application directory or a separate
test directory. Keep the script and tests/ at the same level:
target-directory/
├── setup-playwright.sh
└── tests/
├── REQ-*.spec.ts
└── ...
Step 2 — Set up Playwright. From that directory, run:
source setup-playwright.sh "http://127.0.0.1:3000"Replace the URL with the entry URL of your running application. The script
installs the Playwright dependency and Chromium, adds npm test commands, and
generates playwright.config.ts with the target URL. It also supplies default
run IDs automatically. On Linux, append --with-deps if browser system
dependencies need to be installed.
Step 3 — Execute the tests.
npm run test:e2eTests run sequentially with workers: 1. The generated configuration sets
timeout: 10_000 for each complete test and expect.timeout: 10_000 for
assertions. Actions use a 15-second timeout and navigation uses a 30-second
timeout, subject to the overall test timeout. Adjust these settings in
playwright.config.ts to suit your execution environment; set
use.actionTimeout: 10_000 for a 10-second limit on locator actions.
To view the HTML report after a run:
npm run test:e2e:report@article{kong2026arc,
author = {Weiyu Kong and Yun Lin and Xiwen Teoh and Duc-Minh Nguyen and Ruofei Ren and Jiaxin Chang and Haoxu Hu and Haoyu Chen},
title = {Compiling Large Multi-Modal Requirement Documents into Runnable Software Systems: From an Agentic Test-Driven Perspective},
booktitle = {Proceedings of the ACM SIGSOFT International Symposium on Software Testing and Analysis},
year = {2026},
series = {ISSTA}
}