Datasets:
Download README.md from tasksource/procedural-typed-decisions: direct link, hf CLI and curl.
- Browser
- Download file 20.5 kB
-
https://huggingface.co/datasets/tasksource/procedural-typed-decisions/resolve/38936f836fe45141e730eac2ef3b252059b93fc6/README.md
- Command line
-
hf download hf://datasets/tasksource/procedural-typed-decisions@38936f836fe45141e730eac2ef3b252059b93fc6/README.md
-
curl -L -o README.md https://huggingface.co/datasets/tasksource/procedural-typed-decisions/resolve/38936f836fe45141e730eac2ef3b252059b93fc6/README.md
pretty_name: procedural-typed-decisions
language:
- en
license: apache-2.0
task_categories:
- text-classification
tags:
- tasksource
- jev
- system-one
- procedural
- synthetic
- multi-question
configs:
- config_name: arithmetic
data_files:
- split: train
path: arithmetic/train-*
- split: validation
path: arithmetic/validation-*
- split: test
path: arithmetic/test-*
- config_name: entity_belief_tracking
data_files:
- split: train
path: entity_belief_tracking/train-*
- split: validation
path: entity_belief_tracking/validation-*
- split: test
path: entity_belief_tracking/test-*
- config_name: event_state_reconstruction
data_files:
- split: train
path: event_state_reconstruction/train-*
- split: validation
path: event_state_reconstruction/validation-*
- split: test
path: event_state_reconstruction/test-*
- config_name: evidence_sufficiency
data_files:
- split: train
path: evidence_sufficiency/train-*
- split: validation
path: evidence_sufficiency/validation-*
- split: test
path: evidence_sufficiency/test-*
- config_name: multi_view_adjudication
data_files:
- split: train
path: multi_view_adjudication/train-*
- split: validation
path: multi_view_adjudication/validation-*
- split: test
path: multi_view_adjudication/test-*
- config_name: needle_retrieval
data_files:
- split: train
path: needle_retrieval/train-*
- split: validation
path: needle_retrieval/validation-*
- split: test
path: needle_retrieval/test-*
- config_name: partial_observation_calibration
data_files:
- split: train
path: partial_observation_calibration/train-*
- split: validation
path: partial_observation_calibration/validation-*
- split: test
path: partial_observation_calibration/test-*
- config_name: policy_applicability
data_files:
- split: train
path: policy_applicability/train-*
- split: validation
path: policy_applicability/validation-*
- split: test
path: policy_applicability/test-*
- config_name: policy_under_uncertainty
data_files:
- split: train
path: policy_under_uncertainty/train-*
- split: validation
path: policy_under_uncertainty/validation-*
- split: test
path: policy_under_uncertainty/test-*
- config_name: record_aggregation
data_files:
- split: train
path: record_aggregation/train-*.parquet
- split: validation
path: record_aggregation/validation-*.parquet
- split: test
path: record_aggregation/test-*.parquet
- config_name: state_perturbation
data_files:
- split: train
path: state_perturbation/train-*.parquet
- split: validation
path: state_perturbation/validation-*.parquet
- split: test
path: state_perturbation/test-*.parquet
- config_name: table_lookup
data_files:
- split: train
path: table_lookup/train-*.parquet
- split: validation
path: table_lookup/validation-*.parquet
- split: test
path: table_lookup/test-*.parquet
- config_name: taxonomy_routing
data_files:
- split: train
path: taxonomy_routing/train-*.parquet
- split: validation
path: taxonomy_routing/validation-*.parquet
- split: test
path: taxonomy_routing/test-*.parquet
dataset_info:
- config_name: arithmetic
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: starts_before_noon
dtype:
class_label:
names:
'0': '0'
'1': '1'
'2': '2'
'3': '3'
'4': '4'
'5': '5'
'6': '6'
'7': '7'
'8': '8'
'9': '9'
- name: done_by_deadline
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: random_is_long
dtype: float32
- name: longest_task
dtype:
class_label:
names:
'0': backup check
'1': design sync
'2': inventory check
'3': report writing
'4': client call
'5': email triage
'6': planning
'7': standup
'8': interviews
'9': code review
- name: final_balance
dtype: string
- name: went_negative
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: withdrawal_count
dtype:
class_label:
names:
'0': '0'
'1': '1'
'2': '2'
'3': '3'
'4': '4'
'5': '5'
'6': '6'
'7': '7'
'8': '8'
'9': '9'
- name: net_change
dtype:
class_label:
names:
'0': Fell by more than 50.
'1': Changed by 50 or less.
'2': Rose by more than 50.
- name: random_is_deposit
dtype: float32
- name: budget_use
dtype:
class_label:
names:
'0': At most half of the budget.
'1': More than half of the budget, but within it.
'2': Over the budget.
- name: random_line_bulk
dtype: float32
- name: amount_due
dtype: string
- name: largest_line
dtype:
class_label:
names:
'0': kettle
'1': lamp
'2': mug
'3': clock
'4': scarf
'5': drill
'6': tent
'7': chair
'8': vase
'9': rope
- name: lines_above
dtype:
class_label:
names:
'0': '0'
'1': '1'
'2': '2'
'3': '3'
'4': '4'
'5': '5'
'6': '6'
'7': '7'
'8': '8'
'9': '9'
- name: within_budget
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: finish_time
dtype: string
- name: lowest_day
dtype:
class_label:
names:
'0': day 6
'1': day 9
'2': day 11
'3': day 12
'4': day 14
'5': day 19
'6': day 21
'7': day 27
'8': day 28
'9': day 1
'10': day 7
'11': day 23
'12': day 2
'13': day 4
'14': day 5
'15': day 8
'16': day 15
'17': day 26
'18': day 3
'19': day 24
'20': day 10
'21': day 17
'22': day 20
'23': day 25
'24': day 13
'25': day 22
'26': day 18
'27': day 16
splits:
- name: train
num_bytes: 30451778
num_examples: 20000
- name: validation
num_bytes: 1523943
num_examples: 1000
- name: test
num_bytes: 1532948
num_examples: 1000
download_size: 6033465
dataset_size: 33508669
- config_name: entity_belief_tracking
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: world_location
dtype:
class_label:
names:
'0': drawer
'1': garage
'2': office
'3': mailroom
'4': attic
'5': desk
'6': vault
'7': shelf
'8': archive
'9': basement
'10': lab
'11': workshop
'12': kitchen
'13': cabinet
'14': locker
'15': studio
- name: agent_belief_location
dtype:
class_label:
names:
'0': drawer
'1': garage
'2': office
'3': mailroom
'4': attic
'5': desk
'6': vault
'7': shelf
'8': archive
'9': basement
'10': lab
'11': workshop
'12': kitchen
'13': cabinet
'14': locker
'15': studio
- name: belief_matches_world
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: nested_belief_location
dtype:
class_label:
names:
'0': vault
'1': attic
'2': kitchen
'3': shelf
'4': studio
'5': workshop
'6': drawer
'7': archive
'8': office
'9': cabinet
'10': mailroom
'11': basement
'12': locker
'13': lab
'14': desk
'15': garage
splits:
- name: train
num_bytes: 63267692
num_examples: 20000
- name: validation
num_bytes: 3156820
num_examples: 1000
- name: test
num_bytes: 3148978
num_examples: 1000
download_size: 8544749
dataset_size: 69573490
- config_name: event_state_reconstruction
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: current_owner
dtype:
class_label:
names:
'0': alice
'1': bob
'2': carol
'3': unassigned
- name: is_open
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: current_severity
dtype:
class_label:
names:
'0': 'routine: Routine.'
'1': 'degraded: Degraded service requiring attention.'
'2': 'critical: Critical user-blocking incident.'
splits:
- name: train
num_bytes: 36609261
num_examples: 20000
- name: validation
num_bytes: 1831324
num_examples: 1000
- name: test
num_bytes: 1816662
num_examples: 1000
download_size: 2640808
dataset_size: 40257247
- config_name: evidence_sufficiency
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: claim_supported
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: has_conflict
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: strongest_support_origin
dtype:
class_label:
names:
'0': S1
'1': S2
'2': S3
'3': S4
'4': S5
'5': S6
'6': S7
'7': S8
'8': S9
'9': S10
'10': S11
'11': none
splits:
- name: train
num_bytes: 46868273
num_examples: 20000
- name: validation
num_bytes: 2316373
num_examples: 1000
- name: test
num_bytes: 2323580
num_examples: 1000
download_size: 4437229
dataset_size: 51508226
- config_name: multi_view_adjudication
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: intent
dtype:
class_label:
names:
'0': billing
'1': access
'2': technical
'3': other
- name: is_urgent
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: workflow_impact
dtype:
class_label:
names:
'0': 'Level 0: no affected feature is down or slow.'
'1': >-
Level 1: some affected feature is down or slow, but no core
feature is down without a documented workaround.
'2': >-
Level 2: a core feature is down and has no documented
workaround.
splits:
- name: train
num_bytes: 67196466
num_examples: 20000
- name: validation
num_bytes: 3358902
num_examples: 1000
- name: test
num_bytes: 3360362
num_examples: 1000
download_size: 5465651
dataset_size: 73915730
- config_name: needle_retrieval
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: value_of_id
dtype:
class_label:
names:
'0': Accra
'1': Lagos
'2': Darwin
'3': Sfax
'4': Kobe
'5': Oslo
'6': Osaka
'7': Hue
'8': Hanoi
'9': Dakar
'10': Quito
'11': Bergen
'12': Thies
'13': Porto
'14': Perth
'15': Cuenca
'16': Cusco
'17': Tunis
'18': Braga
'19': Lima
- name: id_has_value
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: id_listed
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
splits:
- name: train
num_bytes: 67638865
num_examples: 20000
- name: validation
num_bytes: 3356651
num_examples: 1000
- name: test
num_bytes: 3621452
num_examples: 1000
download_size: 22383302
dataset_size: 74616968
- config_name: partial_observation_calibration
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: incident_real
dtype: float32
splits:
- name: train
num_bytes: 19530752
num_examples: 20000
- name: validation
num_bytes: 1027142
num_examples: 1000
- name: test
num_bytes: 1023034
num_examples: 1000
download_size: 1413191
dataset_size: 21580928
- config_name: policy_applicability
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: access_allowed
dtype:
class_label:
names:
'0': 'false'
'1': 'true'
- name: governing_policy
dtype:
class_label:
names:
'0': P1
'1': P2
'2': P3
'3': P4
'4': P5
'5': P6
'6': P7
'7': P8
'8': P9
'9': P10
'10': P11
'11': P12
'12': P13
'13': P14
'14': P15
- name: review_risk
dtype:
class_label:
names:
'0': >-
Level 0: the resource is not restricted and the matching
policies agree on effect.
'1': >-
Level 1: the resource is restricted, but the governing policy
allows it and the matching policies agree on effect.
'2': >-
Level 2: the governing policy denies a restricted resource, or
the matching policies disagree on effect.
splits:
- name: train
num_bytes: 65224900
num_examples: 20000
- name: validation
num_bytes: 3287536
num_examples: 1000
- name: test
num_bytes: 3302946
num_examples: 1000
download_size: 5241696
dataset_size: 71815382
- config_name: policy_under_uncertainty
features:
- name: id
dtype: string
- name: level
dtype: int32
- name: state
dtype: string
- name: questions
dtype: string
- name: answers
dtype: string
- name: access_allowed
dtype: float32
- name: governing_policy
dtype:
class_label:
names:
'0': P1
'1': P2
'2': P3
'3': P4
'4': P5
'5': P6
'6': P7
'7': P8
'8': P9
'9': P10
'10': none (default deny)
- name: requester_role
dtype:
class_label:
names:
'0': analyst
'1': engineer
'2': manager
splits:
- name: train
num_bytes: 60307114
num_examples: 20000
- name: validation
num_bytes: 3019762
num_examples: 1000
- name: test
num_bytes: 3030935
num_examples: 1000
download_size: 8009266
dataset_size: 66357811
procedural-typed-decisions
Procedurally generated decision problems. Each row is one structured state
(JSON, or a table, CSV, key=value lines, or prose for the arithmetic,
retrieval, and aggregation configs) with several typed questions over that same state, following the
Jev / System One request shape: choice (pick one criterion), noul (a
number in [0, 1]; a probability or a yes/no), and score (an ordered rubric).
Every answer is computed exactly from the state by rules that the state
itself spells out, so the labels are noise-free. Several configs vary the number of options
(4 to 60), to balance the binary and 4–6-option questions that dominate the rest of Jev.
This is an independent dataset. It is not an official TypeSafe Jev dataset and is not produced by or affiliated with TypeSafe or OpenJev.
Configs
| config | questions |
|---|---|
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) |
entity_belief_tracking |
world_location (choice), agent_belief_location (choice), belief_matches_world (noul); 4 to 16 locations |
event_state_reconstruction |
current_owner (choice), is_open (noul), current_severity (score) |
evidence_sufficiency |
claim_supported (noul), has_conflict (noul), strongest_support_origin (choice) |
multi_view_adjudication |
intent (choice), is_urgent (noul), workflow_impact (score) |
needle_retrieval |
value_of_id (choice), id_has_value (noul), id_listed (noul); up to ~300 records whose ids differ from the target by one or two digits; 6 to 20 options |
partial_observation_calibration |
incident_real (noul, exact Bayesian posterior) |
policy_applicability |
access_allowed (noul), governing_policy (choice), review_risk (score) |
policy_under_uncertainty |
access_allowed (noul), governing_policy (choice), requester_role (choice); exact posteriors over a role known through history counts and reports of stated reliability |
record_aggregation |
count_in_category (score), largest_quantity (choice), any_out_of_stock (noul), total_above (noul) |
state_perturbation |
material_change (noul), changed_dimension (choice), risk_direction (score) |
table_lookup |
find_person (choice, two-condition filter; 6 to 40 options, capped by the table), manager_of (choice, join), started_before (noul), count_matching (score) |
taxonomy_routing |
route (choice among the 4–60 categories of a routing guide drawn fresh per state; many rules share a condition with the right one), belongs_to (noul), conditions_met (score, 0–3) |
Schema
| field | meaning |
|---|---|
id |
task:split:index |
level |
Difficulty level (0–4); larger levels add events, records, sensors, or distractors. |
state |
The state: a JSON string, or rendered text for the retrieval and aggregation configs. |
questions |
JSON object of named System One questions (type, instructions, criteria). |
answers |
JSON object of reference answers, in the System One answers shape. |
| 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). |
States are unique within a split, and validation/test states never occur in train.
Use
As a multi-question Jev request, send {"state": row["state"], "questions": json.loads(row["questions"])} (parsing the state first when it is JSON) and
compare with row["answers"].
The same rows are included, grouped by state, in
tasksource/tasksource-jev-typed-decisions.
Reproduction
Generation is deterministic (row i of a split is seeded by task:split:i).
From a tasksource checkout:
PYTHONPATH=.:src python scripts/build_procedural_jev.py --output build/procedural-typed-decisions --upload
Generators live in src/tasksource/jev/procedural/.