YuhaoZhan commited on
Commit
d825ae0
·
verified ·
1 Parent(s): 121e234

Add PACE-Bench dataset card

Browse files
Files changed (1) hide show
  1. README.md +142 -0
README.md CHANGED
@@ -1,3 +1,145 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ language:
4
+ - en
5
+ pretty_name: PACE-Bench
6
+ tags:
7
+ - benchmark
8
+ - physics
9
+ - code-generation
10
+ - agents
11
+ - self-evolving-agents
12
+ - simulation
13
  ---
14
+
15
+ # PACE-Bench
16
+
17
+ **PACE-Bench: Benchmarking Physics Adaptation via Code Evolution in Dynamic Environments** evaluates whether an agent can adapt an executable physical design after its environment changes.
18
+
19
+ ## Overview
20
+
21
+ PACE-Bench contains **144 source-to-target adaptation pairs across six physics domains**. Each pair preserves the same task goal and interface:
22
+
23
+ 1. A code-driven design succeeds in a source environment.
24
+ 2. The same design fails in a mutated target environment.
25
+ 3. The agent receives diagnostic sandbox feedback and iteratively revises the design.
26
+ 4. The adapted design must succeed under the target physics.
27
+
28
+ | Property | Count |
29
+ | --- | ---: |
30
+ | Physics domains | 6 |
31
+ | Base tasks | 36 |
32
+ | Environments per task | 5 |
33
+ | Evaluation environments | 180 |
34
+ | Source-to-target pairs | 144 |
35
+
36
+ The six domains cover **statics, kinematics, dynamics, granular/fluid interaction, control, and exotic physics**.
37
+
38
+ ## Repository contents
39
+
40
+ ```text
41
+ tasks/
42
+ ├── Category1_Statics_Equilibrium/
43
+ ├── Category2_Kinematics_Linkages/
44
+ ├── Category3_Dynamics_Energy/
45
+ ├── Category4_Granular_FluidInteraction/
46
+ ├── Category5_Cybernetics_Control/
47
+ ├── Category6_ExoticPhysics/
48
+ └── primitives_api.json
49
+ ```
50
+
51
+ Each domain contains six tasks. Every task directory includes:
52
+
53
+ | File | Role |
54
+ | --- | --- |
55
+ | `agent.py` | Source and four target reference solutions |
56
+ | `environment.py` | Box2D world, primitives, and mutable physics |
57
+ | `evaluator.py` | Success criteria, scores, constraints, and metrics |
58
+ | `feedback.py` | Diagnostic feedback derived from measured metrics |
59
+ | `prompt.py` | Task description, exposed values, and primitive API |
60
+ | `renderer.py` | Evaluation-neutral visualization |
61
+ | `stages.py` | Four target mutations and visibility-aware prompt updates |
62
+
63
+ These files are **executable benchmark definitions**, not a conventional row-based dataset. The Hugging Face Dataset Viewer is therefore not the main interface.
64
+
65
+ ## Download
66
+
67
+ Download the complete snapshot:
68
+
69
+ ```python
70
+ from huggingface_hub import snapshot_download
71
+
72
+ dataset_path = snapshot_download(
73
+ repo_id="YuhaoZhan/PACE-Bench",
74
+ repo_type="dataset",
75
+ )
76
+ print(dataset_path)
77
+ ```
78
+
79
+ Download only the executable tasks:
80
+
81
+ ```python
82
+ from huggingface_hub import snapshot_download
83
+
84
+ tasks_path = snapshot_download(
85
+ repo_id="YuhaoZhan/PACE-Bench",
86
+ repo_type="dataset",
87
+ allow_patterns=["tasks/**"],
88
+ )
89
+ ```
90
+
91
+ You can also clone the dataset repository:
92
+
93
+ ```bash
94
+ git clone https://huggingface.co/datasets/YuhaoZhan/PACE-Bench
95
+ ```
96
+
97
+ ## Running the benchmark
98
+
99
+ The task definitions depend on the PACE-Bench runtime, evaluator, and shared prompt infrastructure. Install and run the full benchmark from the official code repository:
100
+
101
+ ```bash
102
+ git clone https://github.com/thunlp/PACE-Bench.git
103
+ cd PACE-Bench
104
+ conda create -n pace-bench python=3.10 -y
105
+ conda activate pace-bench
106
+ python -m pip install -r requirements.txt
107
+
108
+ pace-bench list --task S_01
109
+ pace-bench validate --task S_01
110
+ ```
111
+
112
+ See the [PACE-Bench GitHub repository](https://github.com/thunlp/PACE-Bench) for evaluation commands, supported providers and methods, result reporting, and coding-agent evaluation.
113
+
114
+ ## Intended use
115
+
116
+ PACE-Bench is intended for:
117
+
118
+ - evaluating adaptation after controlled physical environment changes;
119
+ - studying feedback-driven code evolution and self-evolving agents;
120
+ - comparing context-, memory-, search-, and parameter-based methods;
121
+ - analyzing physical reasoning, redesign, exploration, and convergence failures.
122
+
123
+ ## Scope and limitations
124
+
125
+ - The current release focuses on **2D rigid-body systems in Box2D**.
126
+ - It does not cover 3D or deformable physics, full fluids, perception, navigation, or multi-agent coordination.
127
+ - Prompts and diagnostic feedback are currently English-only.
128
+ - Generated solutions should be evaluated on a dedicated host without unrelated credentials.
129
+
130
+ ## License
131
+
132
+ PACE-Bench is released under the **MIT License**.
133
+
134
+ ## Citation
135
+
136
+ The paper citation will be added when the public preprint is available. Until then, please cite the project repository:
137
+
138
+ ```bibtex
139
+ @misc{zhan2026pacebench,
140
+ title = {PACE-Bench: Benchmarking Physics Adaptation via Code Evolution in Dynamic Environments},
141
+ author = {Zhan, Yuhao and He, Bingxiang and Tang, Zecong and Xiao, Chaojun},
142
+ year = {2026},
143
+ howpublished = {\url{https://github.com/thunlp/PACE-Bench}}
144
+ }
145
+ ```