sileod's picture
Publish record_aggregation
702a204 verified
|
Raw History Blame
22 kB
metadata
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-*
      - split: validation
        path: record_aggregation/validation-*
      - split: test
        path: record_aggregation/test-*
  - 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
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'
              '10': '10'
      - 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: 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'
              '10': '10'
      - name: random_line_bulk
        dtype: float32
      - name: within_budget
        dtype:
          class_label:
            names:
              '0': 'false'
              '1': 'true'
      - name: amount_due
        dtype: string
      - 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: 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'
              '10': '10'
      - 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: finish_time
        dtype: string
      - name: lowest_day
        dtype:
          class_label:
            names:
              '0': day 2
              '1': day 12
              '2': day 15
              '3': day 18
              '4': day 19
              '5': day 20
              '6': day 23
              '7': day 25
              '8': day 26
              '9': day 27
              '10': day 1
              '11': day 6
              '12': day 7
              '13': day 9
              '14': day 3
              '15': day 5
              '16': day 8
              '17': day 24
              '18': day 28
              '19': day 4
              '20': day 14
              '21': day 17
              '22': day 10
              '23': day 13
              '24': day 22
              '25': day 11
              '26': day 21
              '27': day 16
    splits:
      - name: train
        num_bytes: 30877562
        num_examples: 20000
      - name: validation
        num_bytes: 1541040
        num_examples: 1000
      - name: test
        num_bytes: 1547761
        num_examples: 1000
    download_size: 6078317
    dataset_size: 33966363
  - 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': desk
              '1': locker
              '2': archive
              '3': lab
      - name: agent_belief_location
        dtype:
          class_label:
            names:
              '0': desk
              '1': locker
              '2': archive
              '3': lab
      - name: belief_matches_world
        dtype:
          class_label:
            names:
              '0': 'false'
              '1': 'true'
    splits:
      - name: train
        num_bytes: 38066460
        num_examples: 20000
      - name: validation
        num_bytes: 1906806
        num_examples: 1000
      - name: test
        num_bytes: 1894768
        num_examples: 1000
    download_size: 2965367
    dataset_size: 41868034
  - 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.
              '1': Degraded service requiring attention.
              '2': Critical user-blocking incident.
    splits:
      - name: train
        num_bytes: 34904934
        num_examples: 20000
      - name: validation
        num_bytes: 1747994
        num_examples: 1000
      - name: test
        num_bytes: 1738194
        num_examples: 1000
    download_size: 2525516
    dataset_size: 38391122
  - 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': none
    splits:
      - name: train
        num_bytes: 38220061
        num_examples: 20000
      - name: validation
        num_bytes: 1906368
        num_examples: 1000
      - name: test
        num_bytes: 1904591
        num_examples: 1000
    download_size: 2905110
    dataset_size: 42031020
  - 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': Minor inconvenience; normal work can continue.
              '1': Important workflow is degraded but a workaround exists.
              '2': Core work is blocked and no workaround is available.
    splits:
      - name: train
        num_bytes: 64158247
        num_examples: 20000
      - name: validation
        num_bytes: 3208122
        num_examples: 1000
      - name: test
        num_bytes: 3207604
        num_examples: 1000
    download_size: 5184471
    dataset_size: 70573973
  - 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': Cusco
              '1': Quito
              '2': Dakar
              '3': Accra
              '4': Osaka
              '5': Thies
              '6': Lagos
              '7': Tunis
              '8': Lima
              '9': Perth
              '10': Kobe
              '11': Hanoi
              '12': Cuenca
              '13': Hue
              '14': Braga
              '15': Porto
              '16': Oslo
              '17': Darwin
              '18': Bergen
              '19': Sfax
      - 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: 60554236
        num_examples: 20000
      - name: validation
        num_bytes: 3012062
        num_examples: 1000
      - name: test
        num_bytes: 3184692
        num_examples: 1000
    download_size: 20003641
    dataset_size: 66750990
  - 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: 17712369
        num_examples: 20000
      - name: validation
        num_bytes: 924994
        num_examples: 1000
      - name: test
        num_bytes: 922014
        num_examples: 1000
    download_size: 1237474
    dataset_size: 19559377
  - 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
      - name: review_risk
        dtype:
          class_label:
            names:
              '0': Routine policy outcome.
              '1': Sensitive or exceptional outcome requiring review.
              '2': Denied high-risk request or policy conflict.
    splits:
      - name: train
        num_bytes: 52765925
        num_examples: 20000
      - name: validation
        num_bytes: 2637812
        num_examples: 1000
      - name: test
        num_bytes: 2649214
        num_examples: 1000
    download_size: 5068565
    dataset_size: 58052951
  - 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': none (default deny)
      - name: requester_role
        dtype:
          class_label:
            names:
              '0': analyst
              '1': engineer
              '2': manager
    splits:
      - name: train
        num_bytes: 54431576
        num_examples: 20000
      - name: validation
        num_bytes: 2728020
        num_examples: 1000
      - name: test
        num_bytes: 2727142
        num_examples: 1000
    download_size: 7127107
    dataset_size: 59886738
  - config_name: record_aggregation
    features:
      - name: id
        dtype: string
      - name: level
        dtype: int32
      - name: state
        dtype: string
      - name: questions
        dtype: string
      - name: answers
        dtype: string
      - name: count_in_category
        dtype:
          class_label:
            names:
              '0': '0'
              '1': '1'
              '2': '2'
              '3': '3'
              '4': '4'
              '5': '5'
              '6': '6'
              '7': '7'
              '8': '8'
              '9': '9'
              '10': '10'
              '11': '11'
              '12': '12'
              '13': '13'
              '14': '14'
              '15': '15'
              '16': '16'
              '17': '17'
              '18': '18'
              '19': '19'
              '20': '20'
      - name: largest_quantity
        dtype:
          class_label:
            names:
              '0': purple scarf
              '1': gray kettle
              '2': green mug
              '3': yellow scarf
              '4': gray mug
              '5': brown clock
              '6': orange scarf
              '7': brown chair
              '8': orange rope
              '9': black rope
              '10': white tent
              '11': red clock
              '12': white chair
              '13': gray lamp
              '14': green chair
              '15': white drill
              '16': white vase
              '17': yellow clock
              '18': yellow chair
              '19': brown lamp
              '20': white scarf
              '21': orange tent
              '22': red kettle
              '23': green lamp
              '24': white lamp
              '25': yellow kettle
              '26': red lamp
              '27': green vase
              '28': yellow lamp
              '29': orange vase
              '30': yellow vase
              '31': orange mug
              '32': blue mug
              '33': green clock
              '34': white clock
              '35': gray rope
              '36': yellow rope
              '37': brown tent
              '38': purple drill
              '39': gray clock
              '40': yellow tent
              '41': purple clock
              '42': blue scarf
              '43': orange clock
              '44': black kettle
              '45': white mug
              '46': green kettle
              '47': yellow mug
              '48': gray tent
              '49': red rope
              '50': gray scarf
              '51': gray drill
              '52': gray chair
              '53': purple tent
              '54': orange drill
              '55': black tent
              '56': purple vase
              '57': red mug
              '58': blue kettle
              '59': white rope
              '60': blue tent
              '61': black drill
              '62': gray vase
              '63': green scarf
              '64': black lamp
              '65': brown rope
              '66': blue drill
              '67': red tent
              '68': orange chair
              '69': brown scarf
              '70': blue lamp
              '71': green rope
              '72': orange kettle
              '73': brown kettle
              '74': black vase
              '75': red scarf
              '76': purple rope
              '77': black clock
              '78': red drill
              '79': orange lamp
              '80': green tent
              '81': blue clock
              '82': white kettle
              '83': red chair
              '84': blue rope
              '85': brown vase
              '86': purple kettle
              '87': red vase
              '88': blue chair
              '89': purple mug
              '90': black mug
              '91': purple chair
              '92': yellow drill
              '93': brown drill
              '94': blue vase
              '95': purple lamp
              '96': brown mug
              '97': black chair
              '98': black scarf
              '99': green drill
      - name: any_out_of_stock
        dtype:
          class_label:
            names:
              '0': 'false'
              '1': 'true'
      - name: total_above
        dtype:
          class_label:
            names:
              '0': 'false'
              '1': 'true'
    splits:
      - name: train
        num_bytes: 55344851
        num_examples: 20000
      - name: validation
        num_bytes: 2770761
        num_examples: 1000
      - name: test
        num_bytes: 2752423
        num_examples: 1000
    download_size: 10034412
    dataset_size: 60868035

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)
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.

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/.