ericchang00 commited on
Commit
23b1365
·
verified ·
1 Parent(s): 7adf21d

simplify: drop hand-maintained dataset_info, minimal 2-tag schema (person+job_name)

Browse files
Files changed (1) hide show
  1. README.md +25 -231
README.md CHANGED
@@ -1,239 +1,39 @@
1
  ---
2
- dataset_info:
3
- - config_name: eric__screenshot2-claude
4
- features:
5
- - name: conversations
6
- list:
7
- - name: role
8
- dtype: string
9
- - name: content
10
- dtype: string
11
- - name: agent
12
- dtype: string
13
- - name: model
14
- dtype: string
15
- - name: model_provider
16
- dtype: string
17
- - name: date
18
- dtype: string
19
- - name: task
20
- dtype: string
21
- - name: episode
22
- dtype: string
23
- - name: run_id
24
- dtype: string
25
- - name: trial_name
26
- dtype: string
27
- - name: result
28
- dtype: string
29
- - name: instruction
30
- dtype: string
31
- - name: verifier_output
32
- dtype: string
33
- - name: person
34
- dtype: string
35
- - name: job_name
36
- dtype: string
37
- splits:
38
- - name: train
39
- num_bytes: 4225942
40
- num_examples: 38
41
- download_size: 4155393
42
- dataset_size: 4225942
43
- - config_name: eric__screenshot2-claude__20260509
44
- features:
45
- - name: conversations
46
- list:
47
- - name: role
48
- dtype: string
49
- - name: content
50
- dtype: string
51
- - name: agent
52
- dtype: string
53
- - name: model
54
- dtype: string
55
- - name: model_provider
56
- dtype: string
57
- - name: date
58
- dtype: string
59
- - name: task
60
- dtype: string
61
- - name: episode
62
- dtype: string
63
- - name: run_id
64
- dtype: string
65
- - name: trial_name
66
- dtype: string
67
- - name: result
68
- dtype: string
69
- - name: instruction
70
- dtype: string
71
- - name: verifier_output
72
- dtype: string
73
- - name: person
74
- dtype: string
75
- - name: project
76
- dtype: string
77
- - name: experiment_group
78
- dtype: string
79
- - name: job_name
80
- dtype: string
81
- - name: job_date
82
- dtype: string
83
- splits:
84
- - name: train
85
- num_examples: 38
86
- - config_name: eric__screenshot2-gemini
87
- features:
88
- - name: conversations
89
- list:
90
- - name: role
91
- dtype: string
92
- - name: content
93
- dtype: string
94
- - name: agent
95
- dtype: string
96
- - name: model
97
- dtype: string
98
- - name: model_provider
99
- dtype: string
100
- - name: date
101
- dtype: string
102
- - name: task
103
- dtype: string
104
- - name: episode
105
- dtype: string
106
- - name: run_id
107
- dtype: string
108
- - name: trial_name
109
- dtype: string
110
- - name: result
111
- dtype: string
112
- - name: instruction
113
- dtype: string
114
- - name: verifier_output
115
- dtype: string
116
- - name: person
117
- dtype: string
118
- - name: job_name
119
- dtype: string
120
- splits:
121
- - name: train
122
- num_bytes: 643152
123
- num_examples: 21
124
- download_size: 588333
125
- dataset_size: 643152
126
- - config_name: eric__screenshot2-gemini__20260509
127
- features:
128
- - name: conversations
129
- list:
130
- - name: role
131
- dtype: string
132
- - name: content
133
- dtype: string
134
- - name: agent
135
- dtype: string
136
- - name: model
137
- dtype: string
138
- - name: model_provider
139
- dtype: string
140
- - name: date
141
- dtype: string
142
- - name: task
143
- dtype: string
144
- - name: episode
145
- dtype: string
146
- - name: run_id
147
- dtype: string
148
- - name: trial_name
149
- dtype: string
150
- - name: result
151
- dtype: string
152
- - name: instruction
153
- dtype: string
154
- - name: verifier_output
155
- dtype: string
156
- - name: person
157
- dtype: string
158
- - name: project
159
- dtype: string
160
- - name: experiment_group
161
- dtype: string
162
- - name: job_name
163
- dtype: string
164
- - name: job_date
165
- dtype: string
166
- splits:
167
- - name: train
168
- num_examples: 21
169
  configs:
170
- - config_name: eric__screenshot2-claude
171
- data_files:
172
- - split: train
173
- path: eric__screenshot2-claude/train-*
174
- - config_name: eric__screenshot2-claude__20260509
175
- data_files:
176
- - split: train
177
- path: eric__screenshot2-claude__20260509/train-*
178
- - config_name: eric__screenshot2-gemini
179
- data_files:
180
- - split: train
181
- path: eric__screenshot2-gemini/train-*
182
- - config_name: eric__screenshot2-gemini__20260509
183
- data_files:
184
- - split: train
185
- path: eric__screenshot2-gemini__20260509/train-*
186
  ---
187
 
188
  # fullstackbench-trajectories
189
 
190
  Agent rollouts from the [FullStackBench](https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks) benchmark, packed as parquet and tagged by contributor.
191
 
192
- ## Prerequisites
193
-
194
- - `hf` CLI logged in to an ApolloTeam-member account (`hf auth login`)
195
- - Python with `datasets`, `huggingface_hub`, `pyarrow` (any recent venv works)
196
- - For pushing or re-running: a working install of [Harbor](https://github.com/laude-institute/harbor) (ask the Loki team if you don't already have it set up — the wrapper auto-discovers `harbor` on `PATH`; pass `--harbor-bin` to override)
197
- - For re-running tasks: Docker daemon running locally
198
-
199
- > Both repos are **private** — open the URLs in a browser only if you're logged in to HF as an ApolloTeam member. For programmatic README fetch use `hf download <repo> README.md --repo-type dataset --local-dir .`.
200
-
201
  ## Layout
202
 
203
- Each push lands as its own **config** named `<person>__<job-name>__<YYYYMMDD>`. Browse them via `get_dataset_config_names(...)` or `load_dataset(repo, config_name)`.
204
 
205
- > **Note:** The interactive HF Dataset Viewer (Subset dropdown, row browser) requires a PRO/Team/Enterprise plan on private repos. Until ApolloTeam upgrades or the repo is made public, browsing is programmatic only. The config layout below still works the same way regardless.
206
 
207
  | Column | Meaning |
208
  |---|---|
209
- | `conversations` | List of `{role, content}` turns in [ATIF](https://harborframework.com) (Agent Trajectory Interchange Format). `role` ∈ {`user`, `assistant`}. |
210
- | `agent`, `model`, `model_provider` | which agent/model produced the rollout |
211
- | `task` | registry-style task id, e.g. `loki/screenshot2-add-expense-sparse`. **Strip the `loki/` prefix to get the directory name in [fullstackbench-tasks](https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks).** |
212
- | `trial_name` | Harbor's unique-per-trial dir name, e.g. `screenshot2-add-expense-sparse__zNc4iqB` |
213
- | `run_id` | Harbor's unique-per-job ID — same across all trials in one `harbor run` |
214
- | `episode` | Episode index within a trial (most trials are single-episode) |
215
- | `result` | Trial reward as a string (cast to float when needed), e.g. `"1.0"` for full pass. Parsed from `verifier/reward.txt`. |
216
- | `instruction`, `verifier_output` | Full task instruction text and verifier stdout/stderr |
217
  | `person` | contributor slug (e.g. `eric`) |
218
- | `project` | research project (matches repo name) |
219
- | `experiment_group` | high-level theme (e.g. `screenshot-deltas`) — many jobs share this |
220
  | `job_name` | matches `harbor run --job-name` — unique per push |
221
- | `job_date` | run date as `YYYYMMDD` |
222
 
223
- ## Find a config by job_name
224
 
225
- ```python
226
- from datasets import get_dataset_config_names
227
- configs = get_dataset_config_names("ApolloTeam/fullstackbench-trajectories")
228
- [c for c in configs if "screenshot2-claude" in c]
229
- # -> ['eric__screenshot2-claude__20260509']
230
- ```
231
 
232
  ## Browse one experiment
233
 
234
  ```python
235
  from datasets import load_dataset
236
- ds = load_dataset("ApolloTeam/fullstackbench-trajectories", "eric__screenshot2-claude__20260509", split="train")
237
  print(ds[0]["task"], ds[0]["result"])
238
  for turn in ds[0]["conversations"][:3]:
239
  print(turn["role"], turn["content"][:200])
@@ -248,35 +48,23 @@ all_ds = concatenate_datasets([
248
  load_dataset("ApolloTeam/fullstackbench-trajectories", c, split="train")
249
  for c in configs
250
  ])
251
- eric_screenshot = all_ds.filter(lambda r: r["person"] == "eric" and r["experiment_group"] == "screenshot-deltas")
252
  ```
253
 
254
  ## Add your own trajectories
255
 
256
- Grab the bundled wrapper script:
257
-
258
  ```bash
259
- hf download ApolloTeam/fullstackbench-trajectories \
260
- --repo-type dataset --include "push_trajectories.py" --local-dir .
261
 
262
- ~/Local/harbor-spike/.venv/bin/python push_trajectories.py \
263
  --jobs-dir ./jobs/<your-job-name> \
264
  --person <slug> \
265
- --project fullstackbench \
266
- --experiment-group <theme> \
267
  --job-name <matches --job-name from harbor run> \
268
- --date 20260520 \
269
  --repo ApolloTeam/fullstackbench-trajectories
270
  ```
271
 
272
- Each push becomes its own config — no overwrites between contributors. The wrapper auto-discovers `harbor` on `PATH`; pass `--harbor-bin` to override.
273
-
274
- ### Naming conventions
275
-
276
- - `--person` — short lowercase slug, e.g. `eric`, `jane`
277
- - `--experiment-group` — free-form kebab-case theme; reuse across related jobs (e.g. `screenshot-deltas`, `pallas-diff-bench-night1`). Current values in the repo: `screenshot-deltas`.
278
- - `--job-name` — must match what you passed to `harbor run --job-name`. Becomes the middle segment of the config_name.
279
- - `--date` — `YYYYMMDD`. The wrapper does not enforce this; pick the date of the harbor run.
280
 
281
  ## Re-run a task
282
 
@@ -289,7 +77,13 @@ hf download ApolloTeam/fullstackbench-tasks \
289
  harbor run -p ./tasks/screenshot2-add-expense-sparse \
290
  --agent claude-code -m anthropic/claude-opus-4-7 \
291
  -k 2 -n 2 \
292
- --jobs-dir ./jobs/my-rerun --job-name screenshot2-claude-rerun
293
  ```
294
 
295
  Then push using the wrapper above.
 
 
 
 
 
 
 
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  configs:
3
+ - config_name: eric__screenshot2-claude
4
+ data_files:
5
+ - split: train
6
+ path: eric__screenshot2-claude/train-*
7
+ - config_name: eric__screenshot2-gemini
8
+ data_files:
9
+ - split: train
10
+ path: eric__screenshot2-gemini/train-*
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  # fullstackbench-trajectories
14
 
15
  Agent rollouts from the [FullStackBench](https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks) benchmark, packed as parquet and tagged by contributor.
16
 
 
 
 
 
 
 
 
 
 
17
  ## Layout
18
 
19
+ Each push lands as its own **config** named `<person>__<job-name>`. Browse via the **Subset** dropdown above, or programmatically with `load_dataset(repo, config_name)`.
20
 
21
+ Two columns are added by the push script:
22
 
23
  | Column | Meaning |
24
  |---|---|
 
 
 
 
 
 
 
 
25
  | `person` | contributor slug (e.g. `eric`) |
 
 
26
  | `job_name` | matches `harbor run --job-name` — unique per push |
 
27
 
28
+ Everything else (`conversations`, `agent`, `model`, `task`, `trial_name`, `run_id`, `episode`, `result`, `instruction`, `verifier_output`) is the standard [ATIF](https://harborframework.com) schema that `harbor traces export` produces.
29
 
30
+ `task` is the registry-style id like `loki/screenshot2-add-expense-sparse` — **strip the `loki/` prefix** to get the directory in [fullstackbench-tasks](https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks). `result` is a string — cast to float when comparing.
 
 
 
 
 
31
 
32
  ## Browse one experiment
33
 
34
  ```python
35
  from datasets import load_dataset
36
+ ds = load_dataset("ApolloTeam/fullstackbench-trajectories", "eric__screenshot2-claude", split="train")
37
  print(ds[0]["task"], ds[0]["result"])
38
  for turn in ds[0]["conversations"][:3]:
39
  print(turn["role"], turn["content"][:200])
 
48
  load_dataset("ApolloTeam/fullstackbench-trajectories", c, split="train")
49
  for c in configs
50
  ])
51
+ eric = all_ds.filter(lambda r: r["person"] == "eric")
52
  ```
53
 
54
  ## Add your own trajectories
55
 
 
 
56
  ```bash
57
+ hf download ApolloTeam/fullstackbench-trajectories push_trajectories.py \
58
+ --repo-type dataset --local-dir .
59
 
60
+ python push_trajectories.py \
61
  --jobs-dir ./jobs/<your-job-name> \
62
  --person <slug> \
 
 
63
  --job-name <matches --job-name from harbor run> \
 
64
  --repo ApolloTeam/fullstackbench-trajectories
65
  ```
66
 
67
+ Each push becomes its own config. Re-pushing the same `<person>__<job-name>` overwrites — pick a fresh `--job-name` (e.g. `screenshot2-claude-v2`) for a separate config. HF commit metadata records the date.
 
 
 
 
 
 
 
68
 
69
  ## Re-run a task
70
 
 
77
  harbor run -p ./tasks/screenshot2-add-expense-sparse \
78
  --agent claude-code -m anthropic/claude-opus-4-7 \
79
  -k 2 -n 2 \
80
+ --jobs-dir ./jobs/my-rerun --job-name my-rerun
81
  ```
82
 
83
  Then push using the wrapper above.
84
+
85
+ ## Prerequisites
86
+
87
+ - `hf` CLI logged in (`hf auth login`)
88
+ - Python with `datasets`, `huggingface_hub`, and `harbor` importable
89
+ - For re-running: Docker daemon running locally