File size: 6,670 Bytes
fb90a3e 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 08dbf85 3623979 fb90a3e d825ae0 3623979 d825ae0 374f910 d825ae0 3623979 08dbf85 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 d825ae0 3623979 374f910 3623979 d825ae0 3623979 d825ae0 08dbf85 d825ae0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | ---
pretty_name: PACE-Bench
language:
- en
license: mit
size_categories:
- n<1K
task_categories:
- text-generation
tags:
- benchmark
- agents
- agent-evaluation
- self-evolving-agents
- physics
- physical-reasoning
- code
- code-generation
- executable-design
- simulation
- box2d
- dynamic-environments
citation: |
@misc{zhan2026pacebenchbenchmarkingphysicsadaptation,
title={PACE-Bench: Benchmarking Physics Adaptation via Code Evolution in Dynamic Environments},
author={Yuhao Zhan and Bingxiang He and Zecong Tang and Chaojun Xiao},
year={2026},
eprint={2608.14441},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2608.14441},
}
source_datasets: []
---
> **Task mirror only.** This dataset repository contains the 36 executable task definitions. The CLI, shared runtime, evaluation engine, self-evolving methods, reporting code, and coding-agent sandbox live in the [PACE-Bench GitHub repository](https://github.com/thunlp/PACE-Bench).
<details>
<summary>Mirror provenance</summary>
- Source: [`src/pace_bench/tasks/categories`](https://github.com/thunlp/PACE-Bench/tree/main/src/pace_bench/tasks/categories)
- Included: 36 base tasks and `primitives_api.json`
- Excluded: shared runtime, evaluation methods, generated results, caches, and local artifacts
</details>
# PACE-Bench
Self-evolving agents improve future behavior from interaction experience, yet existing evaluations typically keep execution conditions fixed. **PACE-Bench** tests whether an agent can adapt a previously successful code-driven design after an environment shift causes it to fail.
[](https://github.com/thunlp/PACE-Bench)
[](https://github.com/thunlp/PACE-Bench/blob/main/LICENSE)
[](https://www.python.org/)
[](https://arxiv.org/pdf/2608.14441)
## What is PACE-Bench?
PACE-Bench contains **144 source-to-target adaptation pairs across six physics domains**. Each pair keeps the goal and interface fixed:
1. A **code-driven design** succeeds in the source environment.
2. The same design fails in a **mutated target environment**.
3. The agent uses **diagnostic sandbox feedback** to revise the design.
4. The adapted design must succeed under the target physics.
| Benchmark scale | Count |
| --- | ---: |
| Physics domains | 6 |
| Base tasks | 36 |
| Environments per task | 5 |
| Evaluation environments | 180 |
| Source-to-target pairs | 144 |
## What is included here?
| Domain | Prefix | Tasks |
| --- | --- | ---: |
| Statics / Equilibrium | `S` | 6 |
| Kinematics / Linkages | `K` | 6 |
| Dynamics / Energy | `D` | 6 |
| Granular / Fluid Interaction | `F` | 6 |
| Cybernetics / Control | `C` | 6 |
| Exotic Physics | `E` | 6 |
```text
tasks/
├── Category1_Statics_Equilibrium/S_01 ... S_06/
├── Category2_Kinematics_Linkages/K_01 ... K_06/
├── Category3_Dynamics_Energy/D_01 ... D_06/
├── Category4_Granular_FluidInteraction/F_01 ... F_06/
├── Category5_Cybernetics_Control/C_01 ... C_06/
├── Category6_ExoticPhysics/E_01 ... E_06/
└── primitives_api.json
```
Each task package contains:
| File | Role |
| --- | --- |
| `agent.py` | Source and four target reference solutions |
| `environment.py` | Box2D world, primitives, and mutable physics |
| `evaluator.py` | Success criteria, score, constraints, and raw metrics |
| `feedback.py` | Diagnostic feedback derived from measured metrics |
| `prompt.py` | Task description, exposed values, and primitive API |
| `renderer.py` | Evaluation-neutral visualization |
| `stages.py` | Four target mutations and prompt updates |
These are **executable benchmark definitions**, not a conventional row-based dataset. The Dataset Viewer is therefore not the primary interface.
## Download the task mirror
```python
from huggingface_hub import snapshot_download
path = snapshot_download(
repo_id="YuhaoZhan/PACE-Bench",
repo_type="dataset",
allow_patterns=["tasks/**"],
)
print(path)
```
Or clone it directly:
```bash
git clone https://huggingface.co/datasets/YuhaoZhan/PACE-Bench
```
Use this mirror when you need to inspect, archive, or distribute the task definitions without the full evaluation stack.
## Run the benchmark
The Hugging Face mirror is **not standalone**. For evaluation, install the complete GitHub repository with [uv](https://docs.astral.sh/uv/):
```bash
git clone https://github.com/thunlp/PACE-Bench.git
cd PACE-Bench
uv venv .venv --python 3.10
source .venv/bin/activate # Windows: .venv\Scripts\activate
uv pip install -r requirements.txt
pace-bench list --task S_01
pace-bench validate --task S_01
```
The GitHub checkout already contains the same task definitions. You do **not** need to download this mirror separately to run PACE-Bench.
## Intended use
- Evaluate adaptation after controlled physical environment changes
- Study feedback-driven code evolution and self-evolving agents
- Compare context-, memory-, search-, and parameter-based methods
- Analyze physical reasoning, redesign, exploration, and convergence failures
- Inspect or extend executable task definitions
## Scope and limitations
- **Physics:** 2D rigid-body systems in Box2D
- **Language:** English prompts and diagnostic feedback
- **Not covered:** 3D/deformable physics, full fluids, perception, navigation, and multi-agent coordination
- **Execution safety:** run generated code on a dedicated evaluator host without unrelated credentials
- **Version note:** these tasks include an additional difficulty-escalation pass beyond the paper version, so new scores may differ slightly while its conclusions remain unchanged
## Issues and contributions
The Hugging Face repository is a distribution mirror. Please open task issues, fixes, and pull requests in the [GitHub repository](https://github.com/thunlp/PACE-Bench).
## License
PACE-Bench is released under the [MIT License](https://github.com/thunlp/PACE-Bench/blob/main/LICENSE).
## Citation
```bibtex
@misc{zhan2026pacebenchbenchmarkingphysicsadaptation,
title={PACE-Bench: Benchmarking Physics Adaptation via Code Evolution in Dynamic Environments},
author={Yuhao Zhan and Bingxiang He and Zecong Tang and Chaojun Xiao},
year={2026},
eprint={2608.14441},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2608.14441},
}
```
|