pdp commited on
Commit
2cb3dfd
·
verified ·
1 Parent(s): 7266b23

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +97 -0
README.md CHANGED
@@ -1,3 +1,100 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ pretty_name: zot arcade sessions
4
+ language:
5
+ - en
6
+ tags:
7
+ - agent-trajectories
8
+ - tool-use
9
+ - code-generation
10
+ - games
11
+ - zot
12
+ task_categories:
13
+ - text-generation
14
+ size_categories:
15
+ - n<1K
16
+ configs:
17
+ - config_name: default
18
+ data_files: trajectories/*/*.jsonl
19
  ---
20
+
21
+ # zot arcade sessions
22
+
23
+ Every conversation behind every game in the [zot arcade](https://openzot.github.io/arcade/) -
24
+ a software factory where an agent takes the same standing order every half hour,
25
+ reads the catalogue of what already exists, and designs, writes, playtests and
26
+ ships one brand-new browser game.
27
+
28
+ Each row is one **shift**: the full agent trajectory from the order to the
29
+ finished game (or to where the shift was cut short), in the chat shape the rest
30
+ of the ecosystem reads, plus what the arcade knows about the result.
31
+
32
+ The rows are appended by the arcade's own workflow as shifts happen. Nobody
33
+ reviews them; they are the record as it was written.
34
+
35
+ ## Layout
36
+
37
+ ```
38
+ trajectories/<session-id>/<session-id>.jsonl one row
39
+ trajectories/<session-id>/images/<digest>.png the screenshots the model was shown
40
+ ```
41
+
42
+ ## Row schema
43
+
44
+ | field | |
45
+ | --- | --- |
46
+ | `id` | the zot session the row was exported from |
47
+ | `chain` | the sessions behind it, oldest first - a shift cut short is continued by the next, and exports as one row |
48
+ | `task` | the order as the model received it |
49
+ | `model`, `provider`, `driver` | what ran it |
50
+ | `started`, `ended` | wall clock, UTC |
51
+ | `outcome` | how the run ended: `reason` (`success`, `failed`, `error`, ...), `iterations`, `calls`, ... - absent when the run was cut short |
52
+ | `complete` | whether an outcome was recorded |
53
+ | `messages` | the conversation as it stood at the end - see below |
54
+ | `snapshots` | earlier states of the conversation that compaction or a resume superseded, oldest first |
55
+ | `images` | the image files this row refers to, relative to the row's directory |
56
+ | `events` | counts by kind: iterations, nudges, retries |
57
+ | `arcade` | the arcade's side: `game` (the catalogue entry: slug, name, genre, mechanic, theme, tagline, controls, created), `files` (the game's `index.html`, `game.css`, `game.js`), `outcome` (the shift's verdict: `settled` / `failed` / `error`), `catalogue_check`, `committed`, `commit`, `run` |
58
+
59
+ ### Messages
60
+
61
+ OpenAI chat convention, with additive fields:
62
+
63
+ ```json
64
+ {"role": "user", "type": "user", "content": "Begin working on your task..."}
65
+ {"role": "assistant", "type": "bot", "content": "", "reasoning": "...", "tool_calls": [{"id": "call_1", "type": "function", "function": {"name": "read", "arguments": "{\"path\":\"site/games.json\"}"}}]}
66
+ {"role": "tool", "type": "activity", "tool_call_id": "call_1", "name": "read", "content": "[...]"}
67
+ {"role": "user", "type": "attachment", "content": [{"type": "text", "text": "screenshot of the game"}, {"type": "image", "image": "images/3f2a....png"}]}
68
+ {"role": "system", "type": "checkpoint", "content": "summary of the conversation so far"}
69
+ ```
70
+
71
+ - `type` is zot's own message type: `user`, `bot`, `activity`, `attachment`,
72
+ `checkpoint` (a compaction summary), `instructions`.
73
+ - `reasoning` is the model's scratchpad for the turn, when the provider
74
+ surfaced it.
75
+ - Tool arguments are the JSON string the model sent, verbatim.
76
+ - The system prompt is not recorded; `task` is the brief.
77
+
78
+ `messages` is what a resume of the run would replay. After compaction that is
79
+ a checkpoint plus the recent turns - `snapshots` holds the earlier states, so
80
+ every turn that happened is in the row, at the price of the recent ones being
81
+ repeated.
82
+
83
+ ## Filtering
84
+
85
+ - Finished games: `complete` and `arcade.outcome == "settled"` and
86
+ `arcade.catalogue_check == "success"`.
87
+ - A shift that was cut short ships as a partial row; the shift that continued
88
+ it ships the whole chain under its own `id`, with the earlier `id` in `chain`.
89
+ Drop rows whose `id` appears in another row's `chain` to keep only tips.
90
+
91
+ ## Provenance
92
+
93
+ - Factory: https://github.com/openzot/arcade - the standing order is
94
+ `orders/new-game.yaml`, the conventions the agent reads are `AGENTS.md`.
95
+ - Harness: [zot](https://github.com/openzot/openzot); rows are produced by
96
+ `zot sessions export` and shipped by `scripts/ship.py` after each shift.
97
+ - Model: whatever the workflow names at the time; each row says which.
98
+
99
+ The games are model output, published as-is under the arcade's license. Check
100
+ the terms of the model named in a row before training on its reasoning.