ericchang00 commited on
Commit
e5c9fd3
·
verified ·
1 Parent(s): f44c14b

rewrite README: drop default config, document schema and workflow

Browse files
Files changed (1) hide show
  1. README.md +77 -50
README.md CHANGED
@@ -1,45 +1,5 @@
1
  ---
2
  dataset_info:
3
- - config_name: default
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: project
36
- dtype: string
37
- - name: experiment
38
- dtype: string
39
- splits:
40
- - name: train
41
- num_bytes: 0
42
- num_examples: 59
43
  - config_name: eric__screenshot2-claude__20260509
44
  features:
45
  - name: conversations
@@ -82,10 +42,7 @@ dataset_info:
82
  dtype: string
83
  splits:
84
  - name: train
85
- num_bytes: 4227880
86
  num_examples: 38
87
- download_size: 4156771
88
- dataset_size: 4227880
89
  - config_name: eric__screenshot2-gemini__20260509
90
  features:
91
  - name: conversations
@@ -128,15 +85,8 @@ dataset_info:
128
  dtype: string
129
  splits:
130
  - name: train
131
- num_bytes: 644223
132
  num_examples: 21
133
- download_size: 589696
134
- dataset_size: 644223
135
  configs:
136
- - config_name: default
137
- data_files:
138
- - split: train
139
- path: data/train-*
140
  - config_name: eric__screenshot2-claude__20260509
141
  data_files:
142
  - split: train
@@ -146,3 +96,80 @@ configs:
146
  - split: train
147
  path: eric__screenshot2-gemini__20260509/train-*
148
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  - config_name: eric__screenshot2-claude__20260509
4
  features:
5
  - name: conversations
 
42
  dtype: string
43
  splits:
44
  - name: train
 
45
  num_examples: 38
 
 
46
  - config_name: eric__screenshot2-gemini__20260509
47
  features:
48
  - name: conversations
 
85
  dtype: string
86
  splits:
87
  - name: train
 
88
  num_examples: 21
 
 
89
  configs:
 
 
 
 
90
  - config_name: eric__screenshot2-claude__20260509
91
  data_files:
92
  - split: train
 
96
  - split: train
97
  path: eric__screenshot2-gemini__20260509/train-*
98
  ---
99
+
100
+ # fullstackbench-trajectories
101
+
102
+ Agent rollouts from the [FullStackBench](https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks) benchmark, packed as parquet and tagged by contributor.
103
+
104
+ ## Layout
105
+
106
+ Each push lands as its own **config** named `<person>__<job-name>__<YYYYMMDD>`. The HF dataset viewer renders these as a **Subset** dropdown — pick one to browse just that experiment.
107
+
108
+ | Column | Meaning |
109
+ |---|---|
110
+ | `conversations` | ATIF turn list (role + content) |
111
+ | `agent`, `model`, `model_provider` | which agent/model produced the rollout |
112
+ | `task` | registry-style task id, e.g. `loki/screenshot2-add-expense-sparse` (join key to [fullstackbench-tasks](https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks)) |
113
+ | `trial_name`, `run_id`, `episode` | harbor-intrinsic trial IDs |
114
+ | `result` | trial reward/outcome (parsed from `verifier/reward.txt`) |
115
+ | `instruction`, `verifier_output` | full task instruction text and verifier stdout/stderr |
116
+ | `person` | contributor slug (e.g. `eric`) |
117
+ | `project` | research project (matches repo name) |
118
+ | `experiment_group` | high-level theme (e.g. `screenshot-deltas`) — many jobs share this |
119
+ | `job_name` | matches `harbor run --job-name` — unique per push |
120
+ | `job_date` | run date as `YYYYMMDD` |
121
+
122
+ ## Browse one experiment
123
+
124
+ ```python
125
+ from datasets import load_dataset
126
+ ds = load_dataset("ApolloTeam/fullstackbench-trajectories", "eric__screenshot2-claude__20260509", split="train")
127
+ print(ds[0]["task"], ds[0]["result"])
128
+ for turn in ds[0]["conversations"][:3]:
129
+ print(turn["role"], turn["content"][:200])
130
+ ```
131
+
132
+ ## Query across experiments
133
+
134
+ ```python
135
+ from datasets import load_dataset, get_dataset_config_names, concatenate_datasets
136
+ configs = get_dataset_config_names("ApolloTeam/fullstackbench-trajectories")
137
+ all_ds = concatenate_datasets([
138
+ load_dataset("ApolloTeam/fullstackbench-trajectories", c, split="train")
139
+ for c in configs
140
+ ])
141
+ eric_screenshot = all_ds.filter(lambda r: r["person"] == "eric" and r["experiment_group"] == "screenshot-deltas")
142
+ ```
143
+
144
+ ## Add your own trajectories
145
+
146
+ Use the wrapper script in [loki/scripts/push_trajectories.py](https://github.com/ericchang00/loki/blob/main/scripts/push_trajectories.py):
147
+
148
+ ```bash
149
+ ~/Local/harbor-spike/.venv/bin/python scripts/push_trajectories.py \
150
+ --jobs-dir ~/Local/harbor-spike/jobs/<your-job-dir> \
151
+ --person <slug> \
152
+ --project fullstackbench \
153
+ --experiment-group <theme> \
154
+ --job-name <matches --job-name from harbor run> \
155
+ --date 20260520 \
156
+ --repo ApolloTeam/fullstackbench-trajectories
157
+ ```
158
+
159
+ Each push becomes its own config — no overwrites between contributors.
160
+
161
+ ## Re-run a task
162
+
163
+ ```bash
164
+ hf download ApolloTeam/fullstackbench-tasks \
165
+ --repo-type dataset \
166
+ --include "screenshot2-add-expense-sparse/*" \
167
+ --local-dir ./tasks
168
+
169
+ harbor run -p ./tasks/screenshot2-add-expense-sparse \
170
+ --agent claude-code -m anthropic/claude-opus-4-7 \
171
+ -k 2 -n 2 \
172
+ --jobs-dir ./jobs/my-rerun --job-name screenshot2-claude-rerun
173
+ ```
174
+
175
+ Then push using the wrapper above.