Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 6 new columns ({'stage', 'tool', 'step', 'audit', 'flagged', 'every'}) and 3 missing columns ({'finished', 'question', 'budget'}).

This happened while the csv dataset builder was generating data using

hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine/escalation_demo.csv (at revision 88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7), ['hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/budget_sweep.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/escalation_demo.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/runs_summary.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/supervision_policies.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/trace_rows.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/two_tool_trace.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              step: int64
              stage: string
              tool: string
              every: string
              flagged: string
              audit: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 934
              to
              {'question': Value('string'), 'budget': Value('int64'), 'finished': Value('bool')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 6 new columns ({'stage', 'tool', 'step', 'audit', 'flagged', 'every'}) and 3 missing columns ({'finished', 'question', 'budget'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine/escalation_demo.csv (at revision 88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7), ['hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/budget_sweep.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/escalation_demo.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/runs_summary.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/supervision_policies.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/trace_rows.csv', 'hf://datasets/kenneth-holstad/lab09-build-the-paperwork-machine@88cf6afc3d7fa6679bf733c613e6d2c564a8ccb7/two_tool_trace.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

question
string
budget
int64
finished
bool
q1_metformin
2
true
q1_metformin
4
true
q1_metformin
6
true
q2_alerts
2
false
q2_alerts
4
false
q2_alerts
6
true
q3_policy
2
false
q3_policy
4
true
q3_policy
6
true
null
null
null
null
null
null
null
null
null
null
null
null
q1_metformin
null
null
q2_alerts
null
null
q3_policy
null
null
null
null
null
null
null
null
null
null
null
null
null
null
q1_metformin
null
null
q1_metformin
null
null
q1_metformin
null
null
q1_metformin
null
null
q2_alerts
null
null
q2_alerts
null
null
q2_alerts
null
null
q2_alerts
null
null
q3_policy
null
null
q3_policy
null
null
q3_policy
null
null
q3_policy
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null

No dataset card yet

Downloads last month
30

Space using kenneth-holstad/lab09-build-the-paperwork-machine 1