sileod commited on
Commit
b4f55be
·
verified ·
1 Parent(s): a13a23f

Document procedural-typed-decisions configurations

Browse files
Files changed (1) hide show
  1. README.md +10 -182
README.md CHANGED
@@ -16,11 +16,11 @@ configs:
16
  - config_name: arithmetic
17
  data_files:
18
  - split: train
19
- path: arithmetic/train-*
20
  - split: validation
21
- path: arithmetic/validation-*
22
  - split: test
23
- path: arithmetic/test-*
24
  - config_name: entity_belief_tracking
25
  data_files:
26
  - split: train
@@ -101,187 +101,13 @@ configs:
101
  path: table_lookup/validation-*.parquet
102
  - split: test
103
  path: table_lookup/test-*.parquet
104
- dataset_info:
105
- config_name: arithmetic
106
- features:
107
- - name: id
108
- dtype: string
109
- - name: level
110
- dtype: int32
111
- - name: state
112
- dtype: string
113
- - name: questions
114
- dtype: string
115
- - name: answers
116
- dtype: string
117
- - name: starts_before_noon
118
- dtype:
119
- class_label:
120
- names:
121
- '0': '0'
122
- '1': '1'
123
- '2': '2'
124
- '3': '3'
125
- '4': '4'
126
- '5': '5'
127
- '6': '6'
128
- '7': '7'
129
- '8': '8'
130
- '9': '9'
131
- '10': '10'
132
- - name: done_by_deadline
133
- dtype:
134
- class_label:
135
- names:
136
- '0': 'false'
137
- '1': 'true'
138
- - name: random_is_long
139
- dtype: float32
140
- - name: longest_task
141
- dtype:
142
- class_label:
143
- names:
144
- '0': backup check
145
- '1': design sync
146
- '2': inventory check
147
- '3': report writing
148
- '4': client call
149
- '5': email triage
150
- '6': planning
151
- '7': standup
152
- '8': interviews
153
- '9': code review
154
- - name: largest_line
155
- dtype:
156
- class_label:
157
- names:
158
- '0': kettle
159
- '1': lamp
160
- '2': mug
161
- '3': clock
162
- '4': scarf
163
- '5': drill
164
- '6': tent
165
- '7': chair
166
- '8': vase
167
- '9': rope
168
- - name: lines_above
169
- dtype:
170
- class_label:
171
- names:
172
- '0': '0'
173
- '1': '1'
174
- '2': '2'
175
- '3': '3'
176
- '4': '4'
177
- '5': '5'
178
- '6': '6'
179
- '7': '7'
180
- '8': '8'
181
- '9': '9'
182
- '10': '10'
183
- - name: random_line_bulk
184
- dtype: float32
185
- - name: within_budget
186
- dtype:
187
- class_label:
188
- names:
189
- '0': 'false'
190
- '1': 'true'
191
- - name: amount_due
192
- dtype: string
193
- - name: budget_use
194
- dtype:
195
- class_label:
196
- names:
197
- '0': At most half of the budget.
198
- '1': More than half of the budget, but within it.
199
- '2': Over the budget.
200
- - name: final_balance
201
- dtype: string
202
- - name: went_negative
203
- dtype:
204
- class_label:
205
- names:
206
- '0': 'false'
207
- '1': 'true'
208
- - name: withdrawal_count
209
- dtype:
210
- class_label:
211
- names:
212
- '0': '0'
213
- '1': '1'
214
- '2': '2'
215
- '3': '3'
216
- '4': '4'
217
- '5': '5'
218
- '6': '6'
219
- '7': '7'
220
- '8': '8'
221
- '9': '9'
222
- '10': '10'
223
- - name: net_change
224
- dtype:
225
- class_label:
226
- names:
227
- '0': Fell by more than 50.
228
- '1': Changed by 50 or less.
229
- '2': Rose by more than 50.
230
- - name: random_is_deposit
231
- dtype: float32
232
- - name: finish_time
233
- dtype: string
234
- - name: lowest_day
235
- dtype:
236
- class_label:
237
- names:
238
- '0': day 2
239
- '1': day 12
240
- '2': day 15
241
- '3': day 18
242
- '4': day 19
243
- '5': day 20
244
- '6': day 23
245
- '7': day 25
246
- '8': day 26
247
- '9': day 27
248
- '10': day 1
249
- '11': day 6
250
- '12': day 7
251
- '13': day 9
252
- '14': day 3
253
- '15': day 5
254
- '16': day 8
255
- '17': day 24
256
- '18': day 28
257
- '19': day 4
258
- '20': day 14
259
- '21': day 17
260
- '22': day 10
261
- '23': day 13
262
- '24': day 22
263
- '25': day 11
264
- '26': day 21
265
- '27': day 16
266
- splits:
267
- - name: train
268
- num_bytes: 30877562
269
- num_examples: 20000
270
- - name: validation
271
- num_bytes: 1541040
272
- num_examples: 1000
273
- - name: test
274
- num_bytes: 1547761
275
- num_examples: 1000
276
- download_size: 6078317
277
- dataset_size: 33966363
278
  ---
279
 
280
  # procedural-typed-decisions
281
 
282
  Procedurally generated decision problems. Each row is one structured state
283
- (JSON, or a table, CSV, key=value lines, or prose for the retrieval and
284
- aggregation configs) with **several typed questions over that same state**, following the
285
  Jev / System One request shape: `choice` (pick one criterion), `noul` (a
286
  number in [0, 1]; a probability or a yes/no), and `score` (an ordered rubric).
287
  Every answer is computed exactly from the state by rules that the state
@@ -294,6 +120,7 @@ is not produced by or affiliated with TypeSafe or OpenJev.
294
 
295
  | config | questions |
296
  |---|---|
 
297
  | `entity_belief_tracking` | `world_location` (choice), `agent_belief_location` (choice), `belief_matches_world` (noul) |
298
  | `event_state_reconstruction` | `current_owner` (choice), `is_open` (noul), `current_severity` (score) |
299
  | `evidence_sufficiency` | `claim_supported` (noul), `has_conflict` (noul), `strongest_support_origin` (choice) |
@@ -314,15 +141,16 @@ is not produced by or affiliated with TypeSafe or OpenJev.
314
  | `state` | The state: a JSON string, or rendered text for the retrieval and aggregation configs. |
315
  | `questions` | JSON object of named System One questions (`type`, `instructions`, `criteria`). |
316
  | `answers` | JSON object of reference answers, in the System One `answers` shape. |
317
- | one column per question | Flat label, for browsing and filtering: a `ClassLabel` for choice, score, and yes/no noul questions; a float for graded noul (`incident_real`). |
318
 
319
  States are unique within a split, and validation/test states never occur in
320
  train.
321
 
322
  ## Use
323
 
324
- As a multi-question Jev request, send `{"state": json.loads(row["state"]),
325
- "questions": json.loads(row["questions"])}` and compare with `row["answers"]`.
 
326
  The same rows are included, grouped by state, in
327
  [`tasksource/tasksource-jev-typed-decisions`](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions).
328
 
 
16
  - config_name: arithmetic
17
  data_files:
18
  - split: train
19
+ path: arithmetic/train-*.parquet
20
  - split: validation
21
+ path: arithmetic/validation-*.parquet
22
  - split: test
23
+ path: arithmetic/test-*.parquet
24
  - config_name: entity_belief_tracking
25
  data_files:
26
  - split: train
 
101
  path: table_lookup/validation-*.parquet
102
  - split: test
103
  path: table_lookup/test-*.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  ---
105
 
106
  # procedural-typed-decisions
107
 
108
  Procedurally generated decision problems. Each row is one structured state
109
+ (JSON, or a table, CSV, key=value lines, or prose for the arithmetic,
110
+ retrieval, and aggregation configs) with **several typed questions over that same state**, following the
111
  Jev / System One request shape: `choice` (pick one criterion), `noul` (a
112
  number in [0, 1]; a probability or a yes/no), and `score` (an ordered rubric).
113
  Every answer is computed exactly from the state by rules that the state
 
120
 
121
  | config | questions |
122
  |---|---|
123
+ | `arithmetic` | An order with a discount/shipping rule, an account ledger, or a schedule; each state asks 2–5 of: `amount_due` / `final_balance` / `finish_time` (choice among the result and typical slips), `within_budget`, `went_negative`, `done_by_deadline` (noul), `random_line_bulk`, `random_is_deposit`, `random_is_long` (noul, exact probability k/n), `budget_use`, `net_change` (score, descriptive levels), `lines_above`, `withdrawal_count`, `starts_before_noon` (score), `largest_line`, `lowest_day`, `longest_task` (choice) |
124
  | `entity_belief_tracking` | `world_location` (choice), `agent_belief_location` (choice), `belief_matches_world` (noul) |
125
  | `event_state_reconstruction` | `current_owner` (choice), `is_open` (noul), `current_severity` (score) |
126
  | `evidence_sufficiency` | `claim_supported` (noul), `has_conflict` (noul), `strongest_support_origin` (choice) |
 
141
  | `state` | The state: a JSON string, or rendered text for the retrieval and aggregation configs. |
142
  | `questions` | JSON object of named System One questions (`type`, `instructions`, `criteria`). |
143
  | `answers` | JSON object of reference answers, in the System One `answers` shape. |
144
+ | one column per question | Flat label, for browsing and filtering: a `ClassLabel` for choice, score, and yes/no noul questions; a float for graded noul (`incident_real`, `random_*`); the option text for open numeric choices (`amount_due`, `final_balance`, `finish_time`). Null when the state does not ask that question (`arithmetic` only). |
145
 
146
  States are unique within a split, and validation/test states never occur in
147
  train.
148
 
149
  ## Use
150
 
151
+ As a multi-question Jev request, send `{"state": row["state"], "questions":
152
+ json.loads(row["questions"])}` (parsing the state first when it is JSON) and
153
+ compare with `row["answers"]`.
154
  The same rows are included, grouped by state, in
155
  [`tasksource/tasksource-jev-typed-decisions`](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions).
156