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 ({'corrosion_mechanism', 'monitor_id', 'data_quality_score', 'corrosion_rate_mpy', 'thickness_mm', 'measurement_method', 'nominal_thickness_mm', 'equipment_id', 'inspection_date'}) and 7 missing columns ({'replacement_cost', 'catalyst_event_id', 'reactor_id', 'turnaround_id', 'activity_pct', 'catalyst_age_days', 'catalyst_type'}).

This happened while the csv dataset builder was generating data using

hf://datasets/xpertsystems/oil022-sample/corrosion_monitoring.csv (at revision ae3d4002b16432a977a18657b200329530e894a7), [/tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/catalyst_replacement.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/catalyst_replacement.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/corrosion_monitoring.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/corrosion_monitoring.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/equipment_failures.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/equipment_failures.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/equipment_master.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/equipment_master.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/inspection_findings.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/inspection_findings.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/maintenance_work_orders.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/maintenance_work_orders.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/permit_to_work.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/permit_to_work.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/refineries_master.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/refineries_master.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/safety_events.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/safety_events.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/shutdown_campaigns.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/shutdown_campaigns.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/shutdown_labels.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/shutdown_labels.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/startup_readiness.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/startup_readiness.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/turnaround_costs.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/turnaround_costs.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/turnaround_schedule.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/turnaround_schedule.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/workforce_allocation.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/workforce_allocation.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.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/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.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._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
              monitor_id: string
              equipment_id: string
              inspection_date: string
              thickness_mm: double
              nominal_thickness_mm: double
              corrosion_rate_mpy: double
              corrosion_mechanism: string
              measurement_method: string
              data_quality_score: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1451
              to
              {'catalyst_event_id': Value('string'), 'reactor_id': Value('string'), 'turnaround_id': Value('string'), 'catalyst_type': Value('string'), 'catalyst_age_days': Value('int64'), 'activity_pct': Value('float64'), 'replacement_cost': 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 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 1802, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              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 ({'corrosion_mechanism', 'monitor_id', 'data_quality_score', 'corrosion_rate_mpy', 'thickness_mm', 'measurement_method', 'nominal_thickness_mm', 'equipment_id', 'inspection_date'}) and 7 missing columns ({'replacement_cost', 'catalyst_event_id', 'reactor_id', 'turnaround_id', 'activity_pct', 'catalyst_age_days', 'catalyst_type'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/xpertsystems/oil022-sample/corrosion_monitoring.csv (at revision ae3d4002b16432a977a18657b200329530e894a7), [/tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/catalyst_replacement.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/catalyst_replacement.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/corrosion_monitoring.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/corrosion_monitoring.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/equipment_failures.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/equipment_failures.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/equipment_master.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/equipment_master.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/inspection_findings.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/inspection_findings.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/maintenance_work_orders.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/maintenance_work_orders.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/permit_to_work.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/permit_to_work.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/refineries_master.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/refineries_master.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/safety_events.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/safety_events.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/shutdown_campaigns.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/shutdown_campaigns.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/shutdown_labels.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/shutdown_labels.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/startup_readiness.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/startup_readiness.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/turnaround_costs.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/turnaround_costs.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/turnaround_schedule.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/turnaround_schedule.csv), /tmp/hf-datasets-cache/medium/datasets/20112964464476-config-parquet-and-info-xpertsystems-oil022-sampl-4eda4360/hub/datasets--xpertsystems--oil022-sample/snapshots/ae3d4002b16432a977a18657b200329530e894a7/workforce_allocation.csv (origin=hf://datasets/xpertsystems/oil022-sample@ae3d4002b16432a977a18657b200329530e894a7/workforce_allocation.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.

catalyst_event_id
string
reactor_id
string
turnaround_id
string
catalyst_type
string
catalyst_age_days
int64
activity_pct
float64
replacement_cost
float64
CAT-0000000001
EQ-000001989
TA-00000002
Guard Bed
787
62.14
361,931.46
CAT-0000000002
EQ-000001962
TA-00000002
FCC
881
71.47
516,096.36
CAT-0000000003
EQ-000002006
TA-00000002
Claus
937
63.76
1,003,212.09
CAT-0000000004
EQ-000002019
TA-00000002
FCC
1,237
59.25
205,621.9
CAT-0000000005
EQ-000002022
TA-00000002
Hydrocracking
744
79.29
211,560.71
CAT-0000000006
EQ-000002121
TA-00000003
Reforming
586
78.6
221,150.8
CAT-0000000007
EQ-000002104
TA-00000003
Claus
1,167
57.83
429,368.25
CAT-0000000008
EQ-000002250
TA-00000003
Claus
556
63.93
321,948.79
CAT-0000000009
EQ-000001035
TA-00000006
Hydrotreating
505
73.62
169,069.24
CAT-0000000010
EQ-000000961
TA-00000006
Reforming
1,055
53.64
209,272.56
CAT-0000000011
EQ-000000819
TA-00000007
FCC
659
81.44
204,633.6
CAT-0000000012
EQ-000000864
TA-00000007
Hydrotreating
1,075
59.04
292,658.7
CAT-0000000013
EQ-000000779
TA-00000007
Hydrotreating
768
80.42
649,524.66
CAT-0000000014
EQ-000000882
TA-00000007
Hydrotreating
100
97.14
331,452.05
CAT-0000000015
EQ-000000971
TA-00000010
Hydrotreating
1,286
44.1
489,266.76
CAT-0000000016
EQ-000000805
TA-00000013
FCC
536
78.04
274,138.31
CAT-0000000017
EQ-000000774
TA-00000013
Reforming
100
93.28
314,162.45
CAT-0000000018
EQ-000000882
TA-00000013
Hydrotreating
966
76.39
264,524.07
CAT-0000000019
EQ-000000761
TA-00000013
Reforming
405
86.03
816,142.99
CAT-0000000020
EQ-000000857
TA-00000013
Claus
831
57.14
506,245.39
CAT-0000000021
EQ-000000885
TA-00000013
Hydrocracking
903
71.85
242,137.15
CAT-0000000022
EQ-000001081
TA-00000015
Hydrocracking
828
67.71
221,111.48
CAT-0000000023
EQ-000001108
TA-00000015
Hydrotreating
603
75.46
511,378.7
CAT-0000000024
EQ-000001079
TA-00000015
Guard Bed
449
77.03
373,544.15
CAT-0000000025
EQ-000001117
TA-00000017
Guard Bed
1,248
68.36
352,567.87
CAT-0000000026
EQ-000001185
TA-00000017
FCC
337
79.24
563,473.45
CAT-0000000027
EQ-000001103
TA-00000017
Hydrotreating
1,162
58.4
557,766.62
CAT-0000000028
EQ-000001105
TA-00000017
FCC
1,647
55.68
477,219.99
CAT-0000000029
EQ-000001084
TA-00000017
Hydrocracking
595
80.41
152,476.86
CAT-0000000030
EQ-000000939
TA-00000018
Hydrotreating
842
63.83
501,900.49
CAT-0000000031
EQ-000000928
TA-00000021
Claus
1,036
54.21
214,970.3
CAT-0000000032
EQ-000001233
TA-00000025
Reforming
947
66.64
121,899.96
CAT-0000000033
EQ-000002227
TA-00000030
Claus
882
70.7
189,660.11
CAT-0000000034
EQ-000002093
TA-00000031
Guard Bed
598
79.52
512,572.45
CAT-0000000035
EQ-000001553
TA-00000033
Claus
800
73.2
197,627.97
CAT-0000000036
EQ-000001001
TA-00000035
FCC
841
75.48
428,753.19
CAT-0000000037
EQ-000000108
TA-00000037
FCC
838
73.79
424,829.06
CAT-0000000038
EQ-000000050
TA-00000037
FCC
246
93.9
188,938.54
CAT-0000000039
EQ-000000032
TA-00000037
Guard Bed
905
71.3
110,047.04
CAT-0000000040
EQ-000000106
TA-00000037
FCC
1,058
61.59
173,781.57
CAT-0000000041
EQ-000000339
TA-00000040
FCC
1,307
61.77
297,312.57
CAT-0000000042
EQ-000000397
TA-00000040
Hydrocracking
1,331
58.95
329,314.56
CAT-0000000043
EQ-000000402
TA-00000040
Hydrocracking
1,004
58.42
473,697.96
CAT-0000000044
EQ-000000102
TA-00000043
Hydrotreating
948
69.2
136,250.1
CAT-0000000045
EQ-000000123
TA-00000043
FCC
1,261
53.22
117,860.37
CAT-0000000046
EQ-000002229
TA-00000044
Reforming
1,044
67.77
203,209.44
CAT-0000000047
EQ-000002143
TA-00000044
Guard Bed
790
73.73
537,576.39
CAT-0000000048
EQ-000001570
TA-00000046
FCC
1,114
60.8
553,951.16
CAT-0000000049
EQ-000001643
TA-00000046
Hydrotreating
561
74.73
535,754.1
CAT-0000000050
EQ-000001536
TA-00000046
Reforming
907
73.54
336,008.18
CAT-0000000051
EQ-000001650
TA-00000046
Guard Bed
922
71.65
274,332.73
CAT-0000000052
EQ-000001322
TA-00000047
Hydrotreating
220
90.07
320,212.35
CAT-0000000053
EQ-000001291
TA-00000047
FCC
885
67.17
320,850.81
CAT-0000000054
EQ-000000942
TA-00000049
FCC
280
94.77
486,688.12
CAT-0000000055
EQ-000002248
TA-00000051
Guard Bed
995
71.98
389,141.17
CAT-0000000056
EQ-000002151
TA-00000051
Hydrotreating
821
74.92
181,024.37
CAT-0000000057
EQ-000000675
TA-00000055
FCC
903
65.11
466,528.41
CAT-0000000058
EQ-000000748
TA-00000055
Claus
335
85.44
261,864.33
CAT-0000000059
EQ-000000719
TA-00000055
Claus
1,293
52.49
156,015.71
CAT-0000000060
EQ-000000697
TA-00000055
Reforming
956
62.5
667,689.78
CAT-0000000061
EQ-000000738
TA-00000055
Reforming
875
76.18
801,666.21
CAT-0000000062
EQ-000000408
TA-00000058
Hydrocracking
1,524
47.12
223,838.25
CAT-0000000063
EQ-000000345
TA-00000058
FCC
896
72.39
318,254.61
CAT-0000000064
EQ-000000397
TA-00000058
Reforming
1,544
46.28
304,587.29
CAT-0000000065
EQ-000000340
TA-00000058
Claus
1,002
55.77
494,686.38
CAT-0000000066
EQ-000000812
TA-00000064
Claus
525
100
488,204.42
CAT-0000000067
EQ-000000825
TA-00000064
Reforming
1,201
54.81
375,437.84
CAT-0000000068
EQ-000000819
TA-00000064
Reforming
845
74.3
356,455.54
CAT-0000000069
EQ-000000775
TA-00000064
Hydrotreating
655
76.8
1,058,272.33
CAT-0000000070
EQ-000000840
TA-00000064
Hydrocracking
986
62.19
423,946.61
CAT-0000000071
EQ-000001004
TA-00000065
FCC
981
58.65
245,970.68
CAT-0000000072
EQ-000001304
TA-00000067
Reforming
874
79.36
372,144.05
CAT-0000000073
EQ-000001281
TA-00000067
Reforming
1,645
45.16
333,299.79
CAT-0000000074
EQ-000002149
TA-00000068
FCC
439
82.44
281,938.22
CAT-0000000075
EQ-000002174
TA-00000068
Claus
696
67.44
252,466.77
CAT-0000000076
EQ-000000151
TA-00000069
FCC
665
82.2
435,711.79
CAT-0000000077
EQ-000000178
TA-00000069
FCC
813
62.93
460,680.35
CAT-0000000078
EQ-000000254
TA-00000069
Guard Bed
639
66.33
468,612.24
CAT-0000000079
EQ-000000192
TA-00000069
Claus
440
69.5
170,786.14
CAT-0000000080
EQ-000001780
TA-00000070
Guard Bed
1,159
57.9
476,628.11
CAT-0000000081
EQ-000001727
TA-00000070
Claus
1,404
56.32
379,269.65
CAT-0000000082
EQ-000001759
TA-00000070
Guard Bed
811
64.34
586,426.93
CAT-0000000083
EQ-000001092
TA-00000075
Reforming
760
69.06
769,301.87
CAT-0000000084
EQ-000001188
TA-00000075
Claus
100
100
658,160.24
CAT-0000000085
EQ-000001160
TA-00000075
Guard Bed
804
83.93
198,905.25
CAT-0000000086
EQ-000001139
TA-00000077
Claus
1,647
35
543,969.51
CAT-0000000087
EQ-000001380
TA-00000083
Hydrotreating
1,338
50.38
184,296.71
CAT-0000000088
EQ-000001401
TA-00000083
Hydrotreating
685
68.41
309,414.66
CAT-0000000089
EQ-000001397
TA-00000083
Claus
895
75.79
262,380.46
CAT-0000000090
EQ-000000127
TA-00000085
FCC
694
75.69
196,633.44
CAT-0000000091
EQ-000001233
TA-00000088
Reforming
1,199
54.82
346,902.24
CAT-0000000092
EQ-000000464
TA-00000089
Reforming
1,560
38.07
223,118.27
CAT-0000000093
EQ-000000502
TA-00000089
Claus
1,053
61.89
897,230.31
CAT-0000000094
EQ-000000522
TA-00000089
Guard Bed
1,270
60.81
179,205.51
CAT-0000000095
EQ-000000488
TA-00000089
Guard Bed
544
78.02
105,724.75
CAT-0000000096
EQ-000001976
TA-00000095
Hydrocracking
773
64.01
269,412.35
CAT-0000000097
EQ-000002044
TA-00000095
Guard Bed
100
98.53
312,917.29
CAT-0000000098
EQ-000002038
TA-00000095
Guard Bed
614
91.9
310,328.98
CAT-0000000099
EQ-000002061
TA-00000095
Reforming
889
68.58
176,010.7
CAT-0000000100
EQ-000001837
TA-00000097
Hydrotreating
855
62.01
378,447.67
End of preview.

OIL-022 — Synthetic Shutdown & Turnaround Dataset (Sample)

SKU: OIL022-SAMPLE · Vertical: Oil & Gas / Downstream Refining License: CC-BY-NC-4.0 (sample) · Schema version: oil022.v1 Sample version: 1.0.0 · Default seed: 42

A free, schema-identical preview of XpertSystems.ai's enterprise refinery shutdown & turnaround dataset for maintenance planning ML, inspection optimization, schedule slippage prediction, restart readiness assessment, turnaround cost forecasting, and RBI (risk-based inspection) analytics. The sample covers 1,200 turnaround campaigns across 15 refineries with 2,250 pieces of equipment in 10 global regions, with 165,114 rows linked across 15 tables.

OIL-022 is the third downstream (refining) SKU in the catalog, complementing OIL-019 (refinery process operations) and OIL-020 (product yields + economics) with maintenance, inspection, and turnaround operations specialization.


What's in the box

File Rows Cols Description
refineries_master.csv 15 6 Refinery catalog: 10 regions × 4 operator types × Nelson complexity × capacity × PSM maturity
equipment_master.csv 2,250 11 Equipment inventory: 14 classes × 14 units × 5 material families × 4 RBI categories per API 580
shutdown_campaigns.csv 1,200 12 Turnaround campaigns: 5 shutdown types × planned/actual duration × schedule slippage × scope complexity
corrosion_monitoring.csv 11,250 9 Per-equipment 5-point time-series: UT/RT/Guided Wave measurements + 10-class corrosion mechanisms per API 570 + NACE
maintenance_work_orders.csv 39,048 12 Per-campaign WOs: 12 maintenance types × 4 priorities × 4 statuses × QA/QC flags
inspection_findings.csv 21,479 11 API 510 RBI findings: wall thickness, corrosion rate, remaining life, anomaly score per API 580/581
turnaround_schedule.csv 36,000 9 Critical path tasks: predecessor logic, 10 craft types, planned hours, schedule risk score
workforce_allocation.csv 24,000 8 Contractor allocations: 350 contractors × 10 craft types × shift hours × fatigue risk
permit_to_work.csv 15,771 8 OSHA 1910.119 PSM permits: 7 permit types × 4 hazard levels × isolation/gas test/approval delay
equipment_failures.csv 1,031 7 10 failure modes × 7 root causes × downtime + startup-detection flag
catalyst_replacement.csv 1,045 7 Reactor catalyst events: 6 catalyst types × activity % × age days × replacement cost
startup_readiness.csv 9,600 6 8-step startup readiness per CCPS: Mechanical Completion → Stability Test + risk scores
turnaround_costs.csv 1,200 7 Per-campaign cost breakdown: labor + material + delay + contractor + total
safety_events.csv 25 7 7-class CCPS events: near miss, first aid, recordable, lost time + severity + corrective action days
shutdown_labels.csv 1,200 9 FEATURE-COUPLED ML labels: 4-class reliability grade (A/B/C/D) + restart success + cost overrun + completion %

Total: 165,114 rows across 15 CSVs, ~12.5 MB on disk.


Calibration: industry-anchored, honestly reported

Validation uses a 10-metric scorecard with targets sourced exclusively to named industry standards: API 510 (Pressure Vessel Inspection Code), API 570 (Piping Inspection Code), API 580/581 (Risk-Based Inspection), NACE TM0274 (corrosion measurement), OSHA 29 CFR 1910.119 (Process Safety Management — PSM), AFPM Reliability and Maintenance Benchmarking Survey, Solomon Associates Refinery Performance Survey, IPA (Independent Project Analysis) Turnaround Cost Performance Database, OGCI turnaround safety statistics, ANSI/AICHE CCPS (Center for Chemical Process Safety) guidelines, EIA-820 Refinery Capacity Report, Nelson Complexity Index (Oil & Gas Journal).

Sample run (seed 42, n_turnarounds=1,200, refineries=15):

# Metric Observed Target Tolerance Status Source
1 avg refinery capacity bpd 217625.3333 220000.0 ±80000.0 ✓ PASS EIA-820 Refinery Capacity Report — mean capacity for mixed global refinery portfolio (US median ~135K BPD, largest US refineries 600K+ BPD, Indian/Chinese mega-refineries 400-1200K BPD; portfolio mean ~220K BPD)
2 avg complexity index 9.6007 9.5 ±2.0 ✓ PASS Nelson Complexity Index (Oil & Gas Journal) + Solomon Associates Refinery Performance Survey — mean Nelson Complexity for global refinery portfolio (simple hydroskimmers 4-6, modern conversion refineries 9-12, deep-conversion / petrochemical 12-16)
3 avg planned duration days 23.9475 26.0 ±6.0 ✓ PASS AFPM Reliability and Maintenance Benchmarking Survey + Solomon Associates — mean planned turnaround duration for mixed scope portfolio (pitstop 10d, planned TA 26d, major TA 42d; portfolio mean ~26d weighted by frequency)
4 avg schedule slippage pct 12.6093 11.5 ±5.0 ✓ PASS IPA (Independent Project Analysis) Turnaround Cost Performance Database + AFPM — mean schedule slippage across refinery turnaround portfolio (8-15% typical for well-planned, 20%+ indicates poor planning per IPA benchmarks)
5 avg corrosion rate mpy 6.5791 5.0 ±3.0 ✓ PASS API 570 (Piping Inspection Code) + NACE TM0274 — mean corrosion rate for refinery piping portfolio (2-8 mpy normal for moderate service; >10 mpy triggers RBI high-risk classification per API 581)
6 avg work order completion pct 89.9395 90.0 ±5.0 ✓ PASS AFPM Reliability and Maintenance Benchmarking Survey — mean work order completion rate during refinery turnarounds (85-95% typical; >95% indicates either conservative scoping or schedule pressure)
7 anomaly flag rate 0.0321 0.032 ±0.015 ✓ PASS ANSI/AICHE CCPS process safety management + AFPM operational data — typical anomaly/deviation rate for refinery work order execution (2-5% of WOs exhibit execution anomalies per CCPS safety reporting)
8 slippage reliability pearson correlation -0.6386 -0.55 ±0.15 ✓ PASS IPA Turnaround Cost Performance + AFPM — expected strong inverse correlation between schedule slippage and reliability grade score (generator formula: reliability_score = 100 - slippage0.7 - findings0.8 - completion_penalty*1.2). Validates feature-coupled label generation.
9 corrosion remaining life pearson correlation -0.5538 -0.5 ±0.15 ✓ PASS API 510 + API 580/581 (Risk-Based Inspection) — expected inverse correlation between corrosion rate and remaining life (RBI formula: remaining_life = (wall_thickness - retirement_limit) / corrosion_rate). Validates generator's API 510 RBI physics.
10 equipment class diversity entropy 0.9986 0.97 ±0.03 ✓ PASS API 580 RBI equipment classification + Solomon Associates equipment census — 14-class equipment diversity benchmark covering pressure vessels, heat exchangers, fired heaters, compressors, pumps, piping, tanks, valves, reactors, columns, boilers, cooling towers, instrument loops, normalized Shannon entropy

Overall: 100.0/100 — Grade A+ (10 PASS · 0 MARGINAL · 0 FAIL of 10 metrics)


Schema highlights

refineries_master.csv — 10-region global refinery portfolio with Nelson Complexity Index:

Region Complexity Notes
US Gulf Coast High complexity (11-13) — deep conversion + petrochemical
US West Coast Moderate (8-10) — fluid catalytic cracking
North Sea Moderate-high (10-12) — sour crude processing
Middle East Mixed (6-14) — both simple export + deep conversion
India / China Mega-refineries (10-15) — petrochemical integrated
Brazil Moderate (8-11) — heavy/sour crude
North/West Africa Lower (5-9) — export-grade simple refineries
SE Asia Moderate (8-12)
Western Europe Higher (10-13) — declining capacity, high specs

shutdown_campaigns.csv — 5 shutdown types per AFPM nomenclature:

Type Weight Base Duration
Planned Turnaround 58% 26d
Major Turnaround 16% 42d
Pitstop 14% 10d
Emergency Shutdown 6% 7d
Regulatory Outage 6% 18d

Schedule slippage applied stochastically: actual_duration = planned × (1 + slippage/100) with ~3.5% anomaly rate adding 12-45 extra slippage percentage points.

inspection_findings.csvAPI 510 RBI physics implemented:

wall_thickness = nominal − (age × corrosion_rate × 0.0254/2.0) + noise [API 570 form] remaining_life = (wall_thickness − retirement_limit) / corrosion_rate [API 580/581] anomaly_score = f(metal_loss, criticality) clip(0, 1) repair_required_flag = (anomaly_score > 0.68) [API 510 trigger]

The sample's corrosion-rate↔remaining-life Pearson correlation is r ≈ −0.55 — strong inverse coupling validates API 510 RBI physics (higher corrosion rate → shorter remaining life).

maintenance_work_orders.csv — slippage-coupled WO execution:

est_hours = lognormal(2.65, 0.7) # typical 14-23 hours overrun_factor = N(1 + slippage/180, 0.22) # slippage drives overrun actual_hours = est_hours × overrun_factor

WO status distribution per AFPM benchmark: 90% Completed / 5% Deferred / 4% In Progress / 1% Cancelled.

permit_to_work.csvOSHA 29 CFR 1910.119 PSM permit types:

Type Notes
Hot Work Welding/cutting requires gas test
Confined Space Vessel entry requires gas test
Line Break Piping isolation requires gas test
Electrical Isolation LOTO
Working at Height Fall protection
Cold Work Routine maintenance
Excavation Underground services

shutdown_labels.csvFEATURE-COUPLED ML labels (unlike OIL-019/020 pure-random labels):

reliability_score = 100 − slippage × 0.7 − high_risk_findings × 0.8 − max(0, 95 − completion_pct) × 1.2 reliability_grade = 'A' if score ≥ 90 else 'B' if ≥ 80 else 'C' if ≥ 70 else 'D' restart_success = (ready_count ≥ 7) AND (reliability_score > 72) AND (rng > risk × 0.12)

The slippage↔reliability Pearson correlation is r ≈ −0.64 in the sample — strong inverse coupling validates feature-coupled labels per IPA/AFPM turnaround performance benchmarks.


Suggested use cases

  1. API 510 remaining life regression — predict remaining_life_years from corrosion rate + wall thickness + criticality features. Strong physics signal: corrosion-life inverse r ≈ −0.55.
  2. Reliability grade classification — 4-class ordinal classifier on reliability_grade (A/B/C/D) from slippage + findings + completion features. Strong feature coupling — models WILL learn meaningful patterns (unlike OIL-019/020 pure-random labels).
  3. Schedule slippage regression — predict schedule_slippage_pct from scope_complexity + shutdown_type + equipment criticality features per IPA turnaround benchmark.
  4. Anomaly score regression — predict anomaly_score from corrosion rate + wall loss + criticality per API 580/581 RBI.
  5. Restart success binary classification — predict restart_success_flag from readiness + reliability + risk features.
  6. Cost overrun prediction — predict cost_overrun_flag from slippage + scope complexity features per IPA cost performance.
  7. Permit-to-work hazard classification — 4-class hazard level classifier per OSHA 1910.119 PSM.
  8. Turnaround cost regression — predict total_cost from labor + material + delay components per AFPM cost benchmarks.
  9. Safety event classification — 7-class CCPS event type classifier (rare events; see Honest Disclosure §3).
  10. Multi-table relational ML — entity-resolution and graph neural- network learning across the 15 joinable tables via turnaround_id, equipment_id, refinery_id, work_order_id.

Loading

from datasets import load_dataset
ds = load_dataset("xpertsystems/oil022-sample", data_files="inspection_findings.csv")
print(ds["train"][0])

Or with pandas:

import pandas as pd
ref     = pd.read_csv("hf://datasets/xpertsystems/oil022-sample/refineries_master.csv")
camps   = pd.read_csv("hf://datasets/xpertsystems/oil022-sample/shutdown_campaigns.csv")
find    = pd.read_csv("hf://datasets/xpertsystems/oil022-sample/inspection_findings.csv")
labels  = pd.read_csv("hf://datasets/xpertsystems/oil022-sample/shutdown_labels.csv")

# Multi-table join for ML feature engineering:
joined = (labels
    .merge(camps, on="turnaround_id")
    .merge(ref, on="refinery_id"))
# Now you have reliability grade alongside slippage + complexity + region + capacity

Reproducibility

All generation is deterministic via the integer seed parameter (driving both random.seed and np.random.default_rng). A seed sweep across [42, 7, 123, 2024, 99, 1] confirms Grade A+ on every seed in this sample.


Honest disclosure of sample-scale limitations

This is a sample product calibrated for turnaround/maintenance ML research, not for live planning decisions. Several notes:

  1. Work order completion is ~90% vs declared 93% benchmark — generator samples status uniformly with [0.90, 0.05, 0.04, 0.01] weights, so per-WO completion is 90% by construction. Per-campaign aggregate completion (used in labels) averages 89.94% in the sample. For 90%+ scenarios, this is realistic; for top-decile world-class turnarounds (95%+ per Solomon Associates Q1 performers), the sample is biased low. Use the full product or post-process with quartile-conditional completion priors.

  2. Cost overrun rate is ~99.75% because the generator's delay_cost = max(0, actual - planned) × U(450K, 2.5M) is non-zero whenever actual exceeds planned (true for ~99% of sample rows given mean 12.6% slippage). Real cost overrun rates depend on budget granularity — 99% is realistic for "any delay = cost overrun" definition but unrealistic for "≥10% budget overrun" definition. Treat cost_overrun_flag as "any slippage" indicator rather than budget-threshold flag.

  3. Safety events are very sparse (~2 events per 100 campaigns) reflecting realistic OGCI/CCPS rates. At sample scale (1200 campaigns), this produces only ~25 events — insufficient for class-balanced 7-class safety event ML. For safety event ML, use the full product (45,000+ campaigns generating 500+ events) or merge with the alarm_trip_logs from OIL-019 / OIL-021.

  4. Equipment criticality coupling to failure rate is weak in the sample (failed equipment criticality 0.882 vs safe 0.873 — only 0.009 difference). The generator's fail_prob = failure_rate × (0.55 + criticality) × (1 + slippage/100) formula spreads failure probability across most equipment because failure_rate=0.016 is small. Strong physics signal requires larger samples — the full product (90K equipment) shows clearer criticality-failure coupling.

  5. Restart success rate is ~82% vs declared target 96% — the generator's restart_success formula penalizes for several conditions (low readiness count, low reliability score, high restart risk). The sample-scale rate is realistic for moderate- complexity turnaround portfolios but lower than world-class benchmarks. Filter to reliability_grade in ['A', 'B'] for high-performing subset analysis.

  6. Reliability grade distribution is B-dominant (52% B, 24% A, 19% C, 5% D) reflecting the slippage-coupled formula. This is a meaningful 4-class distribution unlike degenerate single-class outcomes in some other refinery SKUs — both ordinal classification and continuous reliability_score regression are well-supported.

  7. Material family is uniformly carbon-steel-dominant (~63%) per declared weights, reflecting refinery construction reality. But material choice is not coupled to service severity (sour service should drive more Cr-Mo / stainless; high-temp service should drive more refractory alloys). For service-conditioned material ML, the full product v1.1 will add unit-conditioned metallurgy.

  8. Catalyst events are sparse (~1 per campaign on average) and only fire for reactor equipment or specific unit types (FCCU, Hydrocracker, Reformer, Hydrotreating). For catalyst lifecycle ML, filter to those unit types and use the catalyst_replacement table directly.


Cross-references to other XpertSystems OIL SKUs

This SKU completes the 3-SKU downstream refining trilogy:

SKU Layer Focus
OIL-019 Downstream — process Refinery unit operations (CDU/VDU/FCC reactor + control + HX)
OIL-020 Downstream — yield Refinery crude-to-product yields + economics + emissions
OIL-021 Cross-stream Equipment performance + condition monitoring + RUL
OIL-022 Downstream — turnaround Shutdown/turnaround planning + RBI + inspection + workforce (this SKU)

OIL-022 vs OIL-019: OIL-019 simulates steady-state refinery operations (when units are running). OIL-022 simulates transient turnaround operations (when units are shut down for inspection/maintenance). Use OIL-019 for operational ML, OIL-022 for maintenance planning, scheduling, and turnaround cost ML.

OIL-022 vs OIL-021: OIL-021 simulates continuous equipment condition monitoring (vibration, lubrication, thermal). OIL-022 simulates point-in-time inspection findings (UT, RT, guided wave thickness measurements) during scheduled turnarounds. Use OIL-021 for predictive maintenance ML, OIL-022 for RBI / inspection planning ML.


Full product

The full OIL-022 dataset ships at 45,000 turnarounds × 150 refineries × 3,000 equipment per refinery (prod mode) producing several hundred million rows with service-conditioned metallurgy, quartile-realistic completion rates (Q1 95%+ / Q4 75-85%), richer safety event populations (500+ events for class-balanced ML), and stronger equipment-criticality failure coupling (large-sample statistical power) — licensed commercially. Contact XpertSystems.ai for licensing terms.

📧 pradeep@xpertsystems.ai 🌐 https://xpertsystems.ai


Citation

@dataset{xpertsystems_oil022_sample_2026,
  title  = {OIL-022: Synthetic Shutdown & Turnaround Dataset (Sample)},
  author = {XpertSystems.ai},
  year   = {2026},
  url    = {https://huggingface.co/datasets/xpertsystems/oil022-sample}
}

Generation details

  • Sample version : 1.0.0
  • Random seed : 42
  • Generated : 2026-05-22 20:40:58 UTC
  • Refineries : 15
  • Equipment per ref : 150 (2250 total)
  • Turnaround campaigns: 1200
  • Work orders per TA : 40
  • Regions : 10 (US Gulf Coast, US West Coast, North Sea, Middle East, India, Southeast Asia, China, Brazil, North Africa, Western Europe)
  • Equipment classes : 14 (Pressure Vessel, Heat Exchanger, Fired Heater, Compressor, Pump, Piping Circuit, Storage Tank, Control Valve, Relief Valve, Reactor, Column, Boiler, Cooling Tower, Instrument Loop)
  • Unit types : 14 (CDU, VDU, FCCU, Hydrocracker, Delayed Coker, Reformer, Alkylation, Hydrotreating, Sulfur Recovery, Hydrogen Plant, Tank Farm, Utilities, Cooling Water, Flare System)
  • Shutdown types : 5 (Planned TA, Major TA, Pitstop, Emergency Shutdown, Regulatory Outage)
  • Corrosion mechanisms: 10 (Uniform, Pitting, Sulfidation, Naphthenic Acid, Erosion-Corrosion, CUI, H2S Damage, Amine, Thermal Fatigue, Chloride SCC)
  • Calibration basis : API 510, API 570, API 580/581, NACE TM0274, OSHA 29 CFR 1910.119, AFPM RAM Survey, Solomon Associates, IPA Turnaround Cost Database, OGCI, CCPS, EIA-820, Nelson Complexity Index
  • Overall validation: 100.0/100 — Grade A+
Downloads last month
42