JamesK2W commited on
Commit
e2e9f8a
·
verified ·
1 Parent(s): 4de97a5

Leaderboard data: counted attempts, numbers and links to every run

Browse files
README.md CHANGED
@@ -12,6 +12,8 @@ tags:
12
 
13
  This repository holds the pictures, videos and agent runs behind the [Embodied First Exam](https://www.embodied-first-exam.ai), a benchmark for code agents in robotics. Each question in the exam is a frozen simulation scene with a goal written for a person, and the answer is a program, which is marked by replaying it in a fresh simulator.
14
 
 
 
15
  ## Layout
16
 
17
  ```
 
12
 
13
  This repository holds the pictures, videos and agent runs behind the [Embodied First Exam](https://www.embodied-first-exam.ai), a benchmark for code agents in robotics. Each question in the exam is a frozen simulation scene with a goal written for a person, and the answer is a program, which is marked by replaying it in a fresh simulator.
14
 
15
+ Leaderboard data (every counted attempt of the ranked agents, with a link to its full run): [`leaderboard/`](leaderboard/README.md).
16
+
17
  ## Layout
18
 
19
  ```
leaderboard/README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Embodied First Exam: leaderboard data
2
+
3
+ The numbers behind the [leaderboard](https://www.embodied-first-exam.ai/leaderboard/), one row per counted attempt, and a
4
+ link from every attempt to its full run. Snapshot of 5 November 2026; the newest counted attempt finished on
5
+ 2 November 2026. Task set: the exam repository [mll-lab-nu/embodied-first-exam](https://github.com/mll-lab-nu/embodied-first-exam)
6
+ at main `ebd10b62b0`.
7
+
8
+ ## What is counted
9
+
10
+ | | tasks | tests (task x mode) | privileged | standard | realtime | suites |
11
+ |---|---|---|---|---|---|---|
12
+ | all | 1,156 | 2,288 | 1,047 | 1,155 | 86 | 35 |
13
+ | core | 456 | 901 | 391 | 456 | 54 | |
14
+
15
+ - **Core** = `docs/core_set.toml` of that commit. Each core task has a default mode: 403 standard, 53 realtime.
16
+ - **One attempt per (agent, test):** the latest finished valid attempt, success or failed. Infrastructure failures
17
+ caught before grading are re-run and do not count; ablation and quick-check runs are left out. An attempt that an
18
+ API or infrastructure error ended after grading keeps its verdict and is labelled in its run.
19
+ - **Success** = verifier reward >= 1 within the token budget.
20
+ - **Missing counts as failed:** a test with no counted attempt is a failure (59 of the 6,307 pairs).
21
+ - **Views:** Core = each core task's default test (456). Privileged / Standard / Realtime = every core test of that
22
+ mode (391 / 456 / 54). Rate = solved / tests of the view.
23
+
24
+ | agent | Core /456 | Privileged /391 | Standard /456 | Realtime /54 | missing |
25
+ |---|---|---|---|---|---|
26
+ | Codex · GPT-6 Astra | 150 (32.9%) | 303 (77.5%) | 156 (34.2%) | 17 (31.5%) | 3 |
27
+ | Claude Code · Opus 5.5 | 107 (23.5%) | 231 (59.1%) | 114 (25.0%) | 4 (7.4%) | 1 |
28
+ | Antigravity · Gemini 4 Argon | 89 (19.5%) | 164 (41.9%) | 96 (21.1%) | 4 (7.4%) | 0 |
29
+ | Antigravity · Gemini 3.8 Flash | 27 (5.9%) | 96 (24.6%) | 27 (5.9%) | 1 (1.9%) | 0 |
30
+ | Claude Code · Qwen3.8 Max | 18 (3.9%) | 37 (9.5%) | 18 (3.9%) | 1 (1.9%) | 48 |
31
+ | dsh · DeepSeek V4.1 Flash | 12 (2.6%) | 69 (17.6%) | 12 (2.6%) | 1 (1.9%) | 0 |
32
+ | Claude Code · GLM 5.3 Flash | 11 (2.4%) | 36 (9.2%) | 11 (2.4%) | 0 (0.0%) | 7 |
33
+
34
+ "missing" counts tests over all three modes.
35
+
36
+ ## Files
37
+
38
+ | file | content |
39
+ |---|---|
40
+ | `numbers.json` | the sizes above, the rule, and per agent and view: solved, tests, rate, missing |
41
+ | `leaderboard_core.csv` | 901 core tests x 7 agents = 6,307 rows: verdict (`success` / `failed` / `missing`), `counts_as`, the attempt's `trial_id` and `hf_slug` |
42
+ | `trials.csv` | the 6,248 counted attempts: suite, task dir, setting, is_default, run, verdict, reward, finished_at (UTC), `in_common7` (the 843 core tests all seven agents have a result on), `hf_slug`, `has_video`, `hf_run_dir`, `viewer_url`, `video_url` |
43
+ | `tests.csv` | the 901 core tests: default or not, in the common set or not, and which runs lack a result |
44
+ | `check_coverage.py` | checks that every row of `trials.csv` has its run in [MLL-Lab/embodied-exam-runs](https://huggingface.co/datasets/MLL-Lab/embodied-exam-runs) with the same outcome |
45
+
46
+ `run_id` is `<harness>-<model>-<effort>`, e.g. `codex-gpt6_astra-high`. A task dir is `<suite>-<task>-<mode>`.
47
+
48
+ ## Opening a run
49
+
50
+ Every counted attempt has a run in the public dataset `MLL-Lab/embodied-exam-runs`:
51
+
52
+ - slug = `<task dir>--<last 7 characters of trial_id>`, lower case (the `hf_slug` column);
53
+ - viewer: `https://www.embodied-first-exam.ai/run/?r=<slug>`;
54
+ - files: `runs/<first 2 hex digits of sha1(slug)>/<slug>/`: `run.json` (every step, tool call and output),
55
+ `trajectory.jsonl.gz` (the agent's full trajectory), `steps.bin` (the images the agent saw), and `replay.mp4` +
56
+ `poster.jpg` when the attempt has a video (privileged attempts that submitted nothing have none).
57
+
58
+ ```
59
+ huggingface-cli download MLL-Lab/embodied-exam-runs --repo-type dataset \
60
+ --include "runs/e1/ambench-cabinet-pick-place-fahexa-i00-privileged--zvvkvgc/*" --local-dir efe-runs
61
+ python3 check_coverage.py trials.csv # no token needed; HF may rate-limit anonymous calls for a few minutes
62
+ ```
63
+
64
+ At `MLL-Lab/embodied-exam-runs@dfb89b3` the check passes for all 6,248 counted attempts (5,839 with a video).
65
+
66
+ ## How this maps to the website
67
+
68
+ - Leaderboard page: `numbers.json` `per_agent` (Core and the three mode views).
69
+ - Task pages: each task's Results row = `leaderboard_core.csv` (S = success, F = failed or missing).
70
+ - "Watch the run" links and the `/run/` page: `viewer_url`, served from `MLL-Lab/embodied-exam-runs`.
71
+ - A run whose last attempt an API or infrastructure error ended is shown with its verdict as counted and labelled
72
+ ("Ended by an API error"); its `run.json` has `ended_by`.
leaderboard/check_coverage.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Check that every counted leaderboard attempt has its run on HF (works without a token).
2
+
3
+ usage: python3 check_coverage.py [trials.csv] [--revision REV]
4
+
5
+ For each row of trials.csv (one row per counted attempt), it checks in the dataset MLL-Lab/embodied-exam-runs:
6
+ - runs/<h2>/<slug>/run.json and trajectory.jsonl.gz exist, and replay.mp4 exists when has_video = 1;
7
+ - the slug has a row in index/<suite>.json whose run and outcome equal the leaderboard's.
8
+ It lists the runs/<h2>/ folders through the HF API (at most 256 calls) and reads the index files. Without a token,
9
+ HF's rate limit may make it wait a few minutes; with HF_TOKEN set it runs in about a minute.
10
+ Exit status 0 only at 100% coverage.
11
+ """
12
+ import argparse, collections, csv, hashlib, json, sys, time, urllib.request
13
+ from huggingface_hub import HfApi
14
+ REPO = 'MLL-Lab/embodied-exam-runs'
15
+ ap = argparse.ArgumentParser(); ap.add_argument('trials', nargs='?', default='trials.csv'); ap.add_argument('--revision', default='main')
16
+ a = ap.parse_args()
17
+ api = HfApi()
18
+ rev = api.dataset_info(REPO, revision=a.revision).sha
19
+ rows = list(csv.DictReader(open(a.trials)))
20
+ h2 = lambda s: hashlib.sha1(s.encode()).hexdigest()[:2]
21
+ files = set()
22
+ def tree(d): # anonymous calls are rate limited (a few hundred per 5 min): wait and retry
23
+ for k in range(20):
24
+ try:
25
+ return [e.path for e in api.list_repo_tree(REPO, path_in_repo=f'runs/{d}', recursive=True, repo_type='dataset', revision=rev)]
26
+ except Exception as e:
27
+ if '429' not in str(e) and 'rate limit' not in str(e).lower() or k == 19: raise
28
+ print('rate limited, waiting 60 s', file=sys.stderr, flush=True); time.sleep(60)
29
+ for d in sorted({h2(r['hf_slug']) for r in rows}):
30
+ files.update(tree(d))
31
+ def get(path): # plain urllib: no compressed transfer
32
+ return json.loads(urllib.request.urlopen(f'https://huggingface.co/datasets/{REPO}/resolve/{rev}/{path}', timeout=300).read())
33
+ idx = get('index.json')
34
+ irow = {}
35
+ for s in idx['suites']:
36
+ for x in get(f'index/{s}.json')['runs']:
37
+ irow[x['slug']] = x
38
+ c = collections.Counter(); bad = []
39
+ for r in rows:
40
+ s = r['hf_slug']; base = f'runs/{h2(s)}/{s}/'
41
+ need = ['run.json', 'trajectory.jsonl.gz'] + (['replay.mp4'] if r['has_video'] == '1' else [])
42
+ miss = [f for f in need if base + f not in files]
43
+ x = irow.get(s)
44
+ ok_idx = bool(x) and x['run'] == r['run_id'] and ((x.get('success') == 1 or x.get('state') == 'success') == (r['verdict'] == 'success'))
45
+ if miss or not ok_idx:
46
+ bad.append((r['run_id'], r['task_dir'], s, miss, 'index ok' if ok_idx else ('index outcome differs' if x else 'not in index')))
47
+ else:
48
+ c['covered'] += 1
49
+ c['with video'] += r['has_video'] == '1'
50
+ print(f'{REPO}@{rev[:10]}: {c["covered"]} of {len(rows)} counted attempts covered '
51
+ f'(run.json + trajectory + index row with the same outcome; replay.mp4 for the {c["with video"]} with a video)')
52
+ for b in bad: print('MISSING', *b)
53
+ sys.exit(0 if not bad else 1)
leaderboard/leaderboard_core.csv ADDED
The diff for this file is too large to render. See raw diff
 
leaderboard/numbers.json ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "snapshot": {
3
+ "taken_at": "2026-11-05T23:17:48-06:00",
4
+ "newest_counted_trial_finished_at": "2026-11-03T00:20:36Z"
5
+ },
6
+ "rule": "Task set: the exam repository main at ebd10b62b0 (1,156 tasks / 2,288 task dirs). Core: that commit's docs/core_set.toml (456 tasks / 901 tests; default modes 403 standard + 53 realtime). Per (agent run, test): the latest finished valid attempt (success or failed; infrastructure failures re-run, ablation and quick-check runs left out). Success = reward >= 1 within the token budget. A test with no counted attempt is missing and counts as failed. Core view = each core task's default test; Privileged / Standard / Realtime = every core test of that mode; rate = solved / tests of the view.",
7
+ "all": {
8
+ "tasks": 1156,
9
+ "dirs": 2288,
10
+ "dirs_per_mode": {
11
+ "privileged": 1047,
12
+ "standard": 1155,
13
+ "realtime": 86
14
+ },
15
+ "suites": 35
16
+ },
17
+ "core": {
18
+ "tasks": 456,
19
+ "tests": 901,
20
+ "tests_per_mode": {
21
+ "privileged": 391,
22
+ "standard": 456,
23
+ "realtime": 54
24
+ },
25
+ "defaults": {
26
+ "standard": 403,
27
+ "realtime": 53
28
+ },
29
+ "commit": "ebd10b62b0"
30
+ },
31
+ "views": {
32
+ "core": "each core task's default test",
33
+ "privileged": "every core privileged test",
34
+ "standard": "every core standard test",
35
+ "realtime": "every core realtime test"
36
+ },
37
+ "per_agent": {
38
+ "codex-gpt6_astra-high": {
39
+ "core": {
40
+ "solved": 150,
41
+ "tests": 456,
42
+ "rate": 0.328947,
43
+ "missing_as_fail": 2
44
+ },
45
+ "privileged": {
46
+ "solved": 303,
47
+ "tests": 391,
48
+ "rate": 0.774936,
49
+ "missing_as_fail": 1
50
+ },
51
+ "standard": {
52
+ "solved": 156,
53
+ "tests": 456,
54
+ "rate": 0.342105,
55
+ "missing_as_fail": 2
56
+ },
57
+ "realtime": {
58
+ "solved": 17,
59
+ "tests": 54,
60
+ "rate": 0.314815,
61
+ "missing_as_fail": 0
62
+ },
63
+ "missing_as_fail_total": 3
64
+ },
65
+ "claude_code-opus_5_5-high": {
66
+ "core": {
67
+ "solved": 107,
68
+ "tests": 456,
69
+ "rate": 0.234649,
70
+ "missing_as_fail": 0
71
+ },
72
+ "privileged": {
73
+ "solved": 231,
74
+ "tests": 391,
75
+ "rate": 0.590793,
76
+ "missing_as_fail": 1
77
+ },
78
+ "standard": {
79
+ "solved": 114,
80
+ "tests": 456,
81
+ "rate": 0.25,
82
+ "missing_as_fail": 0
83
+ },
84
+ "realtime": {
85
+ "solved": 4,
86
+ "tests": 54,
87
+ "rate": 0.074074,
88
+ "missing_as_fail": 0
89
+ },
90
+ "missing_as_fail_total": 1
91
+ },
92
+ "antigravity_cli-gemini_4_argon-high": {
93
+ "core": {
94
+ "solved": 89,
95
+ "tests": 456,
96
+ "rate": 0.195175,
97
+ "missing_as_fail": 0
98
+ },
99
+ "privileged": {
100
+ "solved": 164,
101
+ "tests": 391,
102
+ "rate": 0.419437,
103
+ "missing_as_fail": 0
104
+ },
105
+ "standard": {
106
+ "solved": 96,
107
+ "tests": 456,
108
+ "rate": 0.210526,
109
+ "missing_as_fail": 0
110
+ },
111
+ "realtime": {
112
+ "solved": 4,
113
+ "tests": 54,
114
+ "rate": 0.074074,
115
+ "missing_as_fail": 0
116
+ },
117
+ "missing_as_fail_total": 0
118
+ },
119
+ "antigravity_cli-gemini_3_8_flash-high": {
120
+ "core": {
121
+ "solved": 27,
122
+ "tests": 456,
123
+ "rate": 0.059211,
124
+ "missing_as_fail": 0
125
+ },
126
+ "privileged": {
127
+ "solved": 96,
128
+ "tests": 391,
129
+ "rate": 0.245524,
130
+ "missing_as_fail": 0
131
+ },
132
+ "standard": {
133
+ "solved": 27,
134
+ "tests": 456,
135
+ "rate": 0.059211,
136
+ "missing_as_fail": 0
137
+ },
138
+ "realtime": {
139
+ "solved": 1,
140
+ "tests": 54,
141
+ "rate": 0.018519,
142
+ "missing_as_fail": 0
143
+ },
144
+ "missing_as_fail_total": 0
145
+ },
146
+ "claude_code-qwen3_8_max-high": {
147
+ "core": {
148
+ "solved": 18,
149
+ "tests": 456,
150
+ "rate": 0.039474,
151
+ "missing_as_fail": 6
152
+ },
153
+ "privileged": {
154
+ "solved": 37,
155
+ "tests": 391,
156
+ "rate": 0.094629,
157
+ "missing_as_fail": 29
158
+ },
159
+ "standard": {
160
+ "solved": 18,
161
+ "tests": 456,
162
+ "rate": 0.039474,
163
+ "missing_as_fail": 17
164
+ },
165
+ "realtime": {
166
+ "solved": 1,
167
+ "tests": 54,
168
+ "rate": 0.018519,
169
+ "missing_as_fail": 2
170
+ },
171
+ "missing_as_fail_total": 48
172
+ },
173
+ "dsh-deepseek_v4_1_flash-high": {
174
+ "core": {
175
+ "solved": 12,
176
+ "tests": 456,
177
+ "rate": 0.026316,
178
+ "missing_as_fail": 0
179
+ },
180
+ "privileged": {
181
+ "solved": 69,
182
+ "tests": 391,
183
+ "rate": 0.176471,
184
+ "missing_as_fail": 0
185
+ },
186
+ "standard": {
187
+ "solved": 12,
188
+ "tests": 456,
189
+ "rate": 0.026316,
190
+ "missing_as_fail": 0
191
+ },
192
+ "realtime": {
193
+ "solved": 1,
194
+ "tests": 54,
195
+ "rate": 0.018519,
196
+ "missing_as_fail": 0
197
+ },
198
+ "missing_as_fail_total": 0
199
+ },
200
+ "claude_code-glm_5_3_flash-high": {
201
+ "core": {
202
+ "solved": 11,
203
+ "tests": 456,
204
+ "rate": 0.024123,
205
+ "missing_as_fail": 4
206
+ },
207
+ "privileged": {
208
+ "solved": 36,
209
+ "tests": 391,
210
+ "rate": 0.092072,
211
+ "missing_as_fail": 3
212
+ },
213
+ "standard": {
214
+ "solved": 11,
215
+ "tests": 456,
216
+ "rate": 0.024123,
217
+ "missing_as_fail": 4
218
+ },
219
+ "realtime": {
220
+ "solved": 0,
221
+ "tests": 54,
222
+ "rate": 0.0,
223
+ "missing_as_fail": 0
224
+ },
225
+ "missing_as_fail_total": 7
226
+ }
227
+ }
228
+ }
leaderboard/tests.csv ADDED
The diff for this file is too large to render. See raw diff
 
leaderboard/trials.csv ADDED
The diff for this file is too large to render. See raw diff