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 9 new columns ({'onset', 'Rsponse', 'trial_type', 'duration', 'Stimulus', 'cond', 'StimVar', 'response_time', 'correctness'}) and 3 missing columns ({'age', 'gender', 'participant_id'}).

This happened while the csv dataset builder was generating data using

hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data/data/sub-01/func/sub-01_task-flanker_run-1_events.tsv (at revision c27e1dc2f5daf091a73dba237a319ba77f0a6628), ['hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/participants.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-01/func/sub-01_task-flanker_run-1_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-01/func/sub-01_task-flanker_run-2_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-02/func/sub-02_task-flanker_run-1_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-02/func/sub-02_task-flanker_run-2_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-03/func/sub-03_task-flanker_run-1_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-03/func/sub-03_task-flanker_run-2_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-04/func/sub-04_task-flanker_run-1_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-04/func/sub-04_task-flanker_run-2_events.tsv']

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 1837, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, 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 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              onset: double
              duration: double
              trial_type: string
              response_time: double
              correctness: string
              StimVar: int64
              Rsponse: int64
              Stimulus: string
              cond: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1321
              to
              {'participant_id': Value('string'), 'gender': Value('string'), 'age': Value('float64')}
              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 1369, 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 948, 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 1683, 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 1839, 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 9 new columns ({'onset', 'Rsponse', 'trial_type', 'duration', 'Stimulus', 'cond', 'StimVar', 'response_time', 'correctness'}) and 3 missing columns ({'age', 'gender', 'participant_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data/data/sub-01/func/sub-01_task-flanker_run-1_events.tsv (at revision c27e1dc2f5daf091a73dba237a319ba77f0a6628), ['hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/participants.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-01/func/sub-01_task-flanker_run-1_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-01/func/sub-01_task-flanker_run-2_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-02/func/sub-02_task-flanker_run-1_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-02/func/sub-02_task-flanker_run-2_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-03/func/sub-03_task-flanker_run-1_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-03/func/sub-03_task-flanker_run-2_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-04/func/sub-04_task-flanker_run-1_events.tsv', 'hf://datasets/xiaochen233/ptsd-fear-conditioning-fmri-data@c27e1dc2f5daf091a73dba237a319ba77f0a6628/data/sub-04/func/sub-04_task-flanker_run-2_events.tsv']
              
              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.

participant_id
string
gender
string
age
float64
sub-01
F
21.94
sub-02
M
22.79
sub-03
M
19.65
sub-04
M
25.98
sub-05
M
23.24
sub-06
M
23.27
sub-07
D
34.72
sub-08
D
22.22
sub-09
M
22.7
sub-10
D
25.24
sub-11
M
21.8
sub-12
D
26
sub-13
M
25.72
sub-14
M
49.79
sub-15
D
34.06
sub-16
M
49.03
sub-17
D
35.77
sub-18
D
24.03
sub-19
D
24.67
sub-20
M
34.19
sub-21
M
26.22
sub-22
D
27
sub-23
M
22.79
sub-24
M
27.24
sub-25
M
34.56
sub-26
M
32.16
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
End of preview.

ptsd-fear-conditioning-fmri-data

Small task-specific mirror of public input files used by Terminal Bench Science task ptsd-fear-conditioning-fmri.

The files are redistributed here to make benchmark Docker builds faster and more reproducible. See task instructions and original upstream sources for dataset-specific citation and licensing details.

Contents

  • data/: input files downloaded by the task Dockerfiles.
  • SHA256SUMS.txt: SHA-256 checksums for all files under data/.
Downloads last month
25