Datasets:
File size: 7,461 Bytes
a371bb7 7515ac6 a371bb7 3c11c13 a13a23f 6523a0f a13a23f 6523a0f a13a23f 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 4504cdd 6523a0f 4504cdd 6523a0f 4504cdd 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 916e6cc cc8e7ed 6523a0f cc8e7ed 6523a0f cc8e7ed 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3c11c13 6523a0f 3a14c8a 6523a0f 3a14c8a 6523a0f 3a14c8a 6523a0f a371bb7 7515ac6 a371bb7 b4f55be a371bb7 b4f55be a371bb7 3bfaa66 a371bb7 916e6cc 3bfaa66 a371bb7 3bfaa66 a371bb7 3bfaa66 a371bb7 b4f55be a371bb7 b4f55be a371bb7 3bfaa66 a371bb7 7515ac6 a371bb7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | ---
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-*.parquet
- split: validation
path: arithmetic/validation-*.parquet
- split: test
path: arithmetic/test-*.parquet
- config_name: entity_belief_tracking
data_files:
- split: train
path: entity_belief_tracking/train-*.parquet
- split: validation
path: entity_belief_tracking/validation-*.parquet
- split: test
path: entity_belief_tracking/test-*.parquet
- config_name: event_state_reconstruction
data_files:
- split: train
path: event_state_reconstruction/train-*.parquet
- split: validation
path: event_state_reconstruction/validation-*.parquet
- split: test
path: event_state_reconstruction/test-*.parquet
- config_name: evidence_sufficiency
data_files:
- split: train
path: evidence_sufficiency/train-*.parquet
- split: validation
path: evidence_sufficiency/validation-*.parquet
- split: test
path: evidence_sufficiency/test-*.parquet
- config_name: multi_view_adjudication
data_files:
- split: train
path: multi_view_adjudication/train-*.parquet
- split: validation
path: multi_view_adjudication/validation-*.parquet
- split: test
path: multi_view_adjudication/test-*.parquet
- config_name: needle_retrieval
data_files:
- split: train
path: needle_retrieval/train-*.parquet
- split: validation
path: needle_retrieval/validation-*.parquet
- split: test
path: needle_retrieval/test-*.parquet
- config_name: partial_observation_calibration
data_files:
- split: train
path: partial_observation_calibration/train-*.parquet
- split: validation
path: partial_observation_calibration/validation-*.parquet
- split: test
path: partial_observation_calibration/test-*.parquet
- config_name: policy_applicability
data_files:
- split: train
path: policy_applicability/train-*.parquet
- split: validation
path: policy_applicability/validation-*.parquet
- split: test
path: policy_applicability/test-*.parquet
- config_name: policy_under_uncertainty
data_files:
- split: train
path: policy_under_uncertainty/train-*.parquet
- split: validation
path: policy_under_uncertainty/validation-*.parquet
- split: test
path: policy_under_uncertainty/test-*.parquet
- 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
---
# 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.
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) |
| `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 |
| `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), `manager_of` (choice, join), `started_before` (noul), `count_matching` (score) |
## 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`](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions).
## Reproduction
Generation is deterministic (row `i` of a split is seeded by `task:split:i`).
From a [tasksource](https://github.com/sileod/tasksource) checkout:
```bash
PYTHONPATH=.:src python scripts/build_procedural_jev.py --output build/procedural-typed-decisions --upload
```
Generators live in `src/tasksource/jev/procedural/`.
|