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
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
case_id: string
orpha: string
sex: string
uf: string
split: string
prefix_procs: list<item: string>
  child 0, item: string
target_months: int64
censored: bool
target: string
transition_type: string
to
{'case_id': Value('string'), 'orpha': Value('string'), 'sex': Value('string'), 'uf': Value('string'), 'split': Value('string'), 'prefix_procs': List(Value('string')), 'target': Value('string'), 'transition_type': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1779, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 299, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              case_id: string
              orpha: string
              sex: string
              uf: string
              split: string
              prefix_procs: list<item: string>
                child 0, item: string
              target_months: int64
              censored: bool
              target: string
              transition_type: string
              to
              {'case_id': Value('string'), 'orpha': Value('string'), 'sex': Value('string'), 'uf': Value('string'), 'split': Value('string'), 'prefix_procs': List(Value('string')), 'target': Value('string'), 'transition_type': Value('string')}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1832, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

case_id
string
orpha
string
sex
string
uf
string
split
string
prefix_procs
list
target
string
transition_type
string
T1-‚{{€{„-4
716
M
01
train
[ "0604060017", "0604060017", "0604060017", "0604060017" ]
0604060025
switched
T1-ƒ{|~-6
716
F
01
train
[ "0604060025", "0604060025", "0604060025", "0604060025", "0604060025", "0604060025" ]
0604060025
gap_resumption
T1-ƒ{|~-24
586
M
01
train
[ "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-30
586
M
01
train
[ "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ„ƒ{{|-31
586
F
01
train
[ "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ„ƒ{{|-32
586
F
01
train
[ "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ„ƒ{{|-34
586
F
01
train
[ "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ„ƒ{{|-35
586
F
01
train
[ "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ„ƒ{{|-36
586
F
01
train
[ "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ„ƒ{{|-37
586
F
01
train
[ "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014", "0604440014"...
0604440014
switched
T1-‚{{{{{-3
232
M
01
train
[ "0604480016", "0604480016", "0604480016" ]
0604480016
gap_resumption
T1-ƒ{|{-11
232
F
01
train
[ "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016" ]
0604480016
gap_resumption
T1-ƒ„ƒ{{{-13
232
F
01
train
[ "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016" ]
0604480016
gap_resumption
T1-ƒ„ƒ{€{-3
232
M
01
train
[ "0604480016", "0604480016", "0604480016" ]
0604480016
gap_resumption
T1-ƒ„ƒ{{|-16
232
F
01
train
[ "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016", "0604480016" ]
0604480016
gap_resumption
T1-ƒ{|{-4
586
F
01
train
[ "0604580029", "0604580029", "0604580029", "0604580029" ]
0604580010
gap_resumption
T1-ƒ{|{-7
586
F
01
train
[ "0604580029", "0604580029", "0604580029", "0604580029", "0604580010", "0604580010", "0604580010" ]
0604580029
switched
T1-ƒ{|~-3
586
M
01
train
[ "0604580029", "0604440014", "0604440014" ]
0604580029
switched
T1-ƒ{|~-5
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029" ]
0604440014
switched
T1-ƒ{|~-7
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014" ]
0604580029
switched
T1-ƒ{|~-8
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029" ]
0604440014
switched
T1-ƒ{|~-9
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014" ]
0604580029
switched
T1-ƒ{|~-10
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029" ]
0604440014
switched
T1-ƒ{|~-11
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014" ]
0604580029
switched
T1-ƒ{|~-12
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029" ]
0604440014
switched
T1-ƒ{|~-13
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014" ]
0604580029
switched
T1-ƒ{|~-14
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029" ]
0604440014
switched
T1-ƒ{|~-16
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014" ]
0604580029
switched
T1-ƒ{|~-18
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029" ]
0604440014
switched
T1-ƒ{|~-19
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014" ]
0604580029
switched
T1-ƒ{|~-20
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-21
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-22
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-24
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-25
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-26
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-27
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-28
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-29
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-30
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-31
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-32
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-34
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-35
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-36
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-37
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-38
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-40
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-42
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-43
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-44
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-46
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-47
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-48
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-50
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-51
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-52
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-54
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-56
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-57
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-58
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-60
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-62
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-63
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-64
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-66
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-67
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-68
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604580029
switched
T1-ƒ{|~-70
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014", "0604580029", "0604580029", "0604440014", "0604580029"...
0604440014
switched
T1-ƒ{|~-3
586
M
01
train
[ "0604580029", "0604440014", "0604440014" ]
0604580029
switched
T1-ƒ{|~-4
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029" ]
0604580010
switched
T1-ƒ{|~-5
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010" ]
0604440014
switched
T1-ƒ{|~-7
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014" ]
0604580010
switched
T1-ƒ{|~-9
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010" ]
0604440014
switched
T1-ƒ{|~-11
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014" ]
0604580029
switched
T1-ƒ{|~-12
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029" ]
0604440014
switched
T1-ƒ{|~-13
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014" ]
0604580029
switched
T1-ƒ{|~-16
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029" ]
0604440014
switched
T1-ƒ{|~-17
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014" ]
0604580029
switched
T1-ƒ{|~-18
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029" ]
0604440014
switched
T1-ƒ{|~-20
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-21
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-22
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-23
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-24
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-26
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-27
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-28
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-29
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-30
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-32
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-34
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-36
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-37
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-38
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-39
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-40
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-42
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
T1-ƒ{|~-44
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604580029
switched
T1-ƒ{|~-46
586
M
01
train
[ "0604580029", "0604440014", "0604440014", "0604580029", "0604580010", "0604440014", "0604440014", "0604580010", "0604580010", "0604440014", "0604440014", "0604580029", "0604440014", "0604580029", "0604580029", "0604580029", "0604440014", "0604580029", "0604440014", "0604440014"...
0604440014
switched
End of preview.

RareBench-BR Trajectory v2 (RBT-v2)

The first rare-disease patient-trajectory benchmark designed to be autocorrelation-immune. Built from 44,051 real CNS-linked Brazilian SUS (DATASUS) rare-disease treatment trajectories. Five tasks, balanced/stratified splits, geographic-external test, strong count-based baselines, full datasheet.

Authors: Raras AI · License: CC-BY-NC 4.0 · Contact: dimas@raras.ai Companion architecture: Raras-AI/gemeo-arch

Why this benchmark exists

Patient-trajectory prediction on EHR data is dominated by event autocorrelation: in a rare-disease orphan-drug trajectory, ~82% of events are repeats of the same monthly dispensing code. A model that just copies the patient's last code scores near-perfectly on naive next-event tasks — the documented "repeated event tokens inflate metrics" pitfall (RAVEN, arXiv 2603.24562). There was no public rare-disease trajectory benchmark, and our own first attempt (an L6 next-event track) was 99.5% one class — trivially won by "always repeat".

RBT-v2 is built so that a repeat-last baseline cannot win: the core task scores only transition points (where the trajectory actually changes), binary tasks are balanced 50/50, and we ship the autocorrelation oracle as an explicit baseline so you can see it fail.

The five tasks

Task Definition Metric Why it's hard
T1 — Next-proc @ transition Given a prefix, predict the next procedure code at a point where the trajectory changes (switch / gap-resumption) Recall@1/5, MRR Repeats excluded — the autocorrelation oracle scores only 12.4%
T2 — Will-change Will the next event be a change vs a continuation? (balanced 50/50) Balanced acc, AUROC Majority baseline = 50.0% by construction
T3 — New-onset Predict the first occurrence of a procedure the patient has never had Recall@1/5 First-occurrences only (RAVEN-style)
T4 — Discontinuation Will the patient discontinue therapy (>6-mo gap) within follow-up? (balanced) Balanced acc, AUROC Treatment dropout — clinically critical; majority = 50.0%
T5 — Time-to-transition Months until the next treatment change (right-censored) C-index, Brier Genuine time-to-event / world-model capability

Baselines (the bar to beat)

Computed on train, evaluated on test (95% bootstrap CI). Count-based baselines are strong (per arXiv 2511.00782) — beating the bigram is the real bar.

Task Baseline test
T1 frequency Top-1 26.9% [25.8, 28.0]
T1 bigram Top-1 64.4% [63.2, 65.6] ← the bar
T1 bigram Top-5 96.0% [95.5, 96.5]
T1 repeat-last (autocorrelation oracle) 12.4% [11.6, 13.2] ← fails by design
T2 majority / always-continue 50.0%
T3 frequency Top-1 / Top-5 17.5% / 57.9%
T4 majority 50.0%

The repeat-last oracle scoring 12.4% (not ~99%) is the proof of autocorrelation-immunity. A real model must beat the bigram, not just copy.

GEMEO leads every novelty & long-context task

The flagship gemeo-sus world model (recurrence-aware) sets the current bar — see LEADERBOARD.md:

Task GEMEO Strong baseline Margin
New-onset prediction (Top-1) 53.7% 38.2% (frequency) +15.5 pp
T2 — will-change (AUROC) 0.906 0.889 (count-based) +0.017
T5 — transition-within-12mo (AUROC) 0.827 0.790 (count-based) +0.037
T4 — treatment discontinuation (AUROC) 0.838 0.696 (count-based) +0.142

The world model's learned representation pulls clearly ahead on the context-rich tasks that matter most in rare disease. For single-step Markov transitions (T1), the count-based bigram remains near-optimal — the expected task-dependent split (arXiv 2511.00782).

Data provenance & ethics

  • Source: DATASUS APAC-SIA (high-complexity outpatient, orphan-drug authorizations), CNS-hash linked. 7 Brazilian states, 2017–2021.
  • Cohort: 44,051 patients with ≥5 treatment events; 11 rare diseases (Gaucher, MPS I/II, SMA, DMD, CF, Wilson, Friedreich, Marfan, NF1, Rett, …); 33 distinct SIGTAP procedure codes.
  • De-identification: ages bucketed, UF only (no município), CNS hashed, k-anonymity ≥ 5.
  • Ethics: Brazilian Res. CNS 466/2012 + 510/2016; LGPD-compliant.
  • Splits: patient-level 70/15/15 (train/val/test) on the 5 largest UFs + a geographic-external test on the remaining states (external validity / equity probe; note ext_test is small, n≈22 patients — interpret as a probe, not a powered test).

Files

tasks/
├── T1_next_proc_transition.{train,val,test,ext_test}.jsonl
├── T2_will_change.{...}.jsonl                 (balanced 50/50)
├── T3_new_onset.{...}.jsonl
├── T4_discontinuation.{...}.jsonl             (balanced 50/50)
└── T5_time_to_transition.{...}.jsonl
baselines.json     # all baseline numbers + bootstrap CI
stats.json         # cohort + vocab statistics
DATASHEET.md       # full datasheet-for-datasets

Each case: {case_id, split, orpha, sex, uf, prefix_procs:[...], target:..., ...}.

How to evaluate your model

  1. Train on *.train.jsonl (+ *.val.jsonl).
  2. Predict on *.test.jsonl (and *.ext_test.jsonl for external validity).
  3. Report the metric in the table above with bootstrap 95% CI.
  4. You must report the repeat-last and bigram baselines alongside your model — a result that doesn't beat the bigram on T1 is not a positive result.

Citation

@misc{rarebench_br_trajectory_v2_2026,
  title  = {RareBench-BR Trajectory v2: An Autocorrelation-Immune
            Rare-Disease Patient-Trajectory Benchmark from Brazilian SUS},
  author = {Timmers, Dimas and the Raras AI team},
  year   = {2026},
  url    = {https://huggingface.co/datasets/Raras-AI/rarebench-br-trajectory},
  note   = {First public rare-disease trajectory benchmark. CC-BY-NC 4.0.}
}

⚠️ Research only. Not a medical device. Derived from de-identified aggregate SUS data.

Downloads last month
40

Collection including Raras-AI/rarebench-br-trajectory