serendipity-zk commited on
Commit
7256bbf
·
verified ·
1 Parent(s): 527707a

Add Viewer-ready Parquet tables for v0.0.2

Browse files

Export the v0.0.2 DuckDB rounds, tool_calls, and timing_events tables to stable Parquet schemas. Keep the original GitHub release JSONL and DuckDB byte-identical as auxiliary artifacts.

README.md CHANGED
@@ -17,7 +17,15 @@ configs:
17
  default: true
18
  data_files:
19
  - split: train
20
- path: "data/v0.0.2/syfi_coding_trace.jsonl.gz"
 
 
 
 
 
 
 
 
21
  ---
22
 
23
  # TraceLab Coding Agent Workload Traces
@@ -50,6 +58,14 @@ print(dataset.num_rows)
50
  print(dataset.features)
51
  ```
52
 
 
 
 
 
 
 
 
 
53
  Pin the published snapshot for reproducible studies:
54
 
55
  ```python
@@ -74,9 +90,12 @@ print(connection.execute("SELECT provider, count(*) FROM rounds GROUP BY provide
74
 
75
  ## Data format
76
 
77
- Top-level fields include pseudonymous provider/session/round identifiers, model, token counts,
78
- cache-prefix accounting, source store, an ordered `timing_events` list, a nested `tools` list, and a
79
- stable `trace_key`.
 
 
 
80
 
81
  Important token fields include:
82
 
@@ -85,9 +104,14 @@ Important token fields include:
85
  - `newly_append_tokens`: non-cached input tokens appended for the invocation.
86
  - `output_tokens`: generated output tokens.
87
 
88
- `tools[]` contains privacy-safe structural metadata such as tool name, pseudonymous tool-call id,
89
  timestamps, input/result character counts, latency, error status, executable labels, and command
90
- skeletons. Full tool inputs and outputs are not published.
 
 
 
 
 
91
 
92
  ## Sanitization and responsible use
93
 
@@ -117,6 +141,9 @@ projects from the remaining workload structure.
117
 
118
  | File | SHA-256 |
119
  |---|---|
 
 
 
120
  | `data/v0.0.2/syfi_coding_trace.jsonl.gz` | `11ce51ec0a25e3d1d95b025bca2f7d1647e47571eb7cc968acd5fc64d4b4fb65` |
121
  | `artifacts/v0.0.2/syfi_coding_trace.duckdb` | `a7bab286bc640844560850965ccf47975cf66407154132abaab90f27ec9be744` |
122
 
 
17
  default: true
18
  data_files:
19
  - split: train
20
+ path: "data/v0.0.2/rounds/train.parquet"
21
+ - config_name: tool_calls
22
+ data_files:
23
+ - split: train
24
+ path: "data/v0.0.2/tool_calls/train.parquet"
25
+ - config_name: timing_events
26
+ data_files:
27
+ - split: train
28
+ path: "data/v0.0.2/timing_events/train.parquet"
29
  ---
30
 
31
  # TraceLab Coding Agent Workload Traces
 
58
  print(dataset.features)
59
  ```
60
 
61
+ The default config is the `rounds` table. Load the normalized child tables separately and join them
62
+ to rounds with `round_pk`:
63
+
64
+ ```python
65
+ tool_calls = load_dataset("UW-SyFI/TraceLab", "tool_calls", split="train")
66
+ timing_events = load_dataset("UW-SyFI/TraceLab", "timing_events", split="train")
67
+ ```
68
+
69
  Pin the published snapshot for reproducible studies:
70
 
71
  ```python
 
90
 
91
  ## Data format
92
 
93
+ The Viewer-friendly Parquet representation contains three relational tables with stable schemas:
94
+
95
+ - `default` / `rounds`: 665,453 LLM invocations with pseudonymous provider/session/round
96
+ identifiers, model, token counts, cache-prefix accounting, source store, and `trace_key`.
97
+ - `tool_calls`: 743,819 normalized tool calls keyed to `rounds.round_pk`.
98
+ - `timing_events`: 2,688,829 ordered events keyed to `rounds.round_pk`.
99
 
100
  Important token fields include:
101
 
 
104
  - `newly_append_tokens`: non-cached input tokens appended for the invocation.
105
  - `output_tokens`: generated output tokens.
106
 
107
+ `tool_calls` contains privacy-safe structural metadata such as tool name, pseudonymous tool-call id,
108
  timestamps, input/result character counts, latency, error status, executable labels, and command
109
+ skeletons. `timing_events.event_index` preserves event order within each round. Full tool inputs and
110
+ outputs are not published.
111
+
112
+ The original sanitized nested JSONL and the query-ready DuckDB remain available as auxiliary files.
113
+ They are byte-identical to the GitHub v0.0.2 release assets. The Parquet tables are deterministic
114
+ relational exports of that DuckDB for Hugging Face Data Studio and `load_dataset()`.
115
 
116
  ## Sanitization and responsible use
117
 
 
141
 
142
  | File | SHA-256 |
143
  |---|---|
144
+ | `data/v0.0.2/rounds/train.parquet` | `cb8c2b1d23307090c8057c747f955663bacde16a49f84a3c5071a1e2e96a7ab8` |
145
+ | `data/v0.0.2/tool_calls/train.parquet` | `7186e0d86d3d870e5b374cc29678a4754fcb789ebee4f5ad86461dd02db6f68b` |
146
+ | `data/v0.0.2/timing_events/train.parquet` | `a207499989d4f004a6807698c33ad6da57cd30fd45404188bf8593fc4d3b9296` |
147
  | `data/v0.0.2/syfi_coding_trace.jsonl.gz` | `11ce51ec0a25e3d1d95b025bca2f7d1647e47571eb7cc968acd5fc64d4b4fb65` |
148
  | `artifacts/v0.0.2/syfi_coding_trace.duckdb` | `a7bab286bc640844560850965ccf47975cf66407154132abaab90f27ec9be744` |
149
 
SHA256SUMS CHANGED
@@ -1,2 +1,5 @@
1
  11ce51ec0a25e3d1d95b025bca2f7d1647e47571eb7cc968acd5fc64d4b4fb65 data/v0.0.2/syfi_coding_trace.jsonl.gz
2
  a7bab286bc640844560850965ccf47975cf66407154132abaab90f27ec9be744 artifacts/v0.0.2/syfi_coding_trace.duckdb
 
 
 
 
1
  11ce51ec0a25e3d1d95b025bca2f7d1647e47571eb7cc968acd5fc64d4b4fb65 data/v0.0.2/syfi_coding_trace.jsonl.gz
2
  a7bab286bc640844560850965ccf47975cf66407154132abaab90f27ec9be744 artifacts/v0.0.2/syfi_coding_trace.duckdb
3
+ cb8c2b1d23307090c8057c747f955663bacde16a49f84a3c5071a1e2e96a7ab8 data/v0.0.2/rounds/train.parquet
4
+ 7186e0d86d3d870e5b374cc29678a4754fcb789ebee4f5ad86461dd02db6f68b data/v0.0.2/tool_calls/train.parquet
5
+ a207499989d4f004a6807698c33ad6da57cd30fd45404188bf8593fc4d3b9296 data/v0.0.2/timing_events/train.parquet
data/v0.0.2/rounds/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb8c2b1d23307090c8057c747f955663bacde16a49f84a3c5071a1e2e96a7ab8
3
+ size 22785108
data/v0.0.2/timing_events/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a207499989d4f004a6807698c33ad6da57cd30fd45404188bf8593fc4d3b9296
3
+ size 28511584
data/v0.0.2/tool_calls/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7186e0d86d3d870e5b374cc29678a4754fcb789ebee4f5ad86461dd02db6f68b
3
+ size 25909050