MiniAppBench: Evaluating the Shift from Text to Interactive HTML Responses in LLM-Powered Assistants

Zuhao zhang, Chengyue Yu, Yuante Li, Chenyi Zhuang, Linjian Mo, Shuai Li

Introduction

As Large Language Models (LLMs) evolve from simple text generators into "Autonomous Architects," human-AI interaction is shifting toward dynamic, interactive HTML-based applications, termed MiniApps. To measure this new capability, researchers introduce MiniAppBench, a comprehensive benchmark of 500 diverse tasks, and MiniAppEval, an agentic framework that playtests generated applications to ensure they follow real-world logic and user intent.

The Problem with Traditional Benchmarks

Traditional LLM benchmarks like HumanEval or MBPP focus on isolated code snippets and algorithmic correctness. Web-generation benchmarks typically only evaluate static layout reconstruction (e.g., matching a reference image).

However, users now ask LLMs to create interactive MiniApps—such as physics simulators, diet trackers, or small games. These applications require a "world model." For instance, a pendulum simulation must not only run but also obey the laws of gravity and periodicity. Existing metrics cannot verify these implicit real-world principles or handle the open-ended nature of coding where no single ground truth exists.

MiniAppBench: A Real-World Dataset

To address this gap, the researchers created MiniAppBench. Distilled from a massive pool of 10 million real-world user queries, the benchmark consists of 500 high-quality tasks spanning six domains: Science, Games, Tools, Humanities, Lifestyle, and Visualization.

Tasks are categorized by difficulty (Easy, Mid, Hard) based on baseline model pass rates. To ensure broad coverage of interaction patterns and real-world principles, the dataset includes both direct user queries (15.4%) and LLM-augmented variants.

MiniAppEval: Agentic Evaluation

Evaluating open-ended interactions requires a novel approach. The authors propose MiniAppEval, an agentic evaluation framework. Instead of static code analysis, an LLM-powered agent equipped with Playwright (a browser automation tool) interacts with the generated MiniApp—clicking buttons, dragging sliders, and entering data.

Applications are judged across three dimensions:

  • Intention: Does it fulfill the high-level goal?
  • Static: Is the UI structured well and is the code clean?
  • Dynamic: Does the logic hold up during interaction, and does it handle edge cases without crashing?

To combat confirmation bias (where a judge might score highly just because a UI looks correct), the framework uses a double-blind judging stage. One agent describes the visual elements without knowing the prompt, and a second agent scores that description against the requirements. Furthermore, the evaluation enforces a "Weakest Link" rule: a MiniApp must score at least 0.8 across all three dimensions to pass. A beautiful simulator that fails to simulate anything is considered a failure.

Key Results and Insights

The benchmark reveals that current LLMs still face significant challenges in generating high-quality MiniApps. The authors frame code as an executable world model—where HTML represents world states, CSS represents perceptual salience, and JavaScript encodes causality—and current models struggle to synthesize all three flawlessly.

  • Current State of the Art: Even the most advanced models find this difficult. The leading model, GPT-5.2, achieved only a 45.46% average pass rate.
  • The Open-Source Gap: Closed-source models (GPT-5.2, Claude-Opus-4.5, Gemini-3-Pro) dominated the rankings. The top open-source model, GLM-4.7, trailed significantly at 18.31%, highlighting a massive performance chasm for complex, multi-step logic.
  • Domain Performance: Models excelled at Visualization and Lifestyle tasks (which rely heavily on common sense) but struggled with Science and Games, which require precise adherence to physical laws and complex state management.
  • Human Alignment: Importantly, MiniAppEval demonstrated high alignment with expert human judgment (achieving an average F1 score of 92.4%), establishing it as a reliable, scalable alternative to manual testing.

Limitations and Future Work

The agentic nature of MiniAppEval makes it more expensive and slower than traditional unit testing because the LLM must "act" as a tester over multiple steps. Additionally, the benchmark currently requires self-contained MiniApps, excluding complex applications that rely on external APIs or backend databases.

Future work will explore multi-turn interactions—where users and LLMs iterate on an app together—and expand support for complex software architectures beyond single-file HTML and React components.

Summary updated

BibTeX
@inproceedings{zhang2026miniappbench,
  author = {Zuhao zhang and Chengyue Yu and Yuante Li and Chenyi Zhuang and Linjian Mo and Shuai Li},
  title = {{MiniAppBench: Evaluating the Shift from Text to Interactive HTML Responses in LLM-Powered Assistants}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=pwbLmew1aq},
}
Figure