The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
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 8 new columns ({'estimated_release_bbl', 'escalation_level', 'environmental_impact_score', 'scenario_id', 'blowout_type', 'ignition_flag', 'casualty_risk_score', 'release_duration_hr'}) and 7 missing columns ({'alarm_time_index', 'alarm_id', 'severity_level', 'alarm_type', 'acknowledgment_delay_sec', 'false_positive_flag', 'operator_acknowledged_flag'}).
This happened while the csv dataset builder was generating data using
hf://datasets/xpertsystems/oil011-sample/blowout_scenarios.csv (at revision c6db30ca351233707b0d294fa3b65fa96f073d24), [/tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/alarms_and_warnings.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/alarms_and_warnings.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/blowout_scenarios.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/blowout_scenarios.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/bop_operations.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/bop_operations.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/choke_manifold_logs.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/choke_manifold_logs.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/drilling_timeseries.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/drilling_timeseries.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/equipment_failures.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/equipment_failures.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/gas_influx_profiles.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/gas_influx_profiles.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/incident_root_cause.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/incident_root_cause.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/kick_events.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/kick_events.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/kill_operations.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/kill_operations.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/safety_response_logs.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/safety_response_logs.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/scenario_labels.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/scenario_labels.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/wells_master.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/wells_master.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
scenario_id: string
well_id: string
kick_id: string
blowout_type: string
ignition_flag: bool
escalation_level: int64
release_duration_hr: double
estimated_release_bbl: double
environmental_impact_score: double
casualty_risk_score: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1558
to
{'alarm_id': Value('string'), 'well_id': Value('string'), 'kick_id': Value('string'), 'alarm_type': Value('string'), 'severity_level': Value('int64'), 'alarm_time_index': Value('int64'), 'acknowledgment_delay_sec': Value('int64'), 'operator_acknowledged_flag': Value('bool'), 'false_positive_flag': 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 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 8 new columns ({'estimated_release_bbl', 'escalation_level', 'environmental_impact_score', 'scenario_id', 'blowout_type', 'ignition_flag', 'casualty_risk_score', 'release_duration_hr'}) and 7 missing columns ({'alarm_time_index', 'alarm_id', 'severity_level', 'alarm_type', 'acknowledgment_delay_sec', 'false_positive_flag', 'operator_acknowledged_flag'}).
This happened while the csv dataset builder was generating data using
hf://datasets/xpertsystems/oil011-sample/blowout_scenarios.csv (at revision c6db30ca351233707b0d294fa3b65fa96f073d24), [/tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/alarms_and_warnings.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/alarms_and_warnings.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/blowout_scenarios.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/blowout_scenarios.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/bop_operations.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/bop_operations.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/choke_manifold_logs.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/choke_manifold_logs.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/drilling_timeseries.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/drilling_timeseries.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/equipment_failures.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/equipment_failures.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/gas_influx_profiles.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/gas_influx_profiles.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/incident_root_cause.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/incident_root_cause.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/kick_events.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/kick_events.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/kill_operations.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/kill_operations.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/safety_response_logs.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/safety_response_logs.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/scenario_labels.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/scenario_labels.csv), /tmp/hf-datasets-cache/medium/datasets/31460167529287-config-parquet-and-info-xpertsystems-oil011-sampl-233ce018/hub/datasets--xpertsystems--oil011-sample/snapshots/c6db30ca351233707b0d294fa3b65fa96f073d24/wells_master.csv (origin=hf://datasets/xpertsystems/oil011-sample@c6db30ca351233707b0d294fa3b65fa96f073d24/wells_master.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.
alarm_id string | well_id string | kick_id string | alarm_type string | severity_level int64 | alarm_time_index int64 | acknowledgment_delay_sec int64 | operator_acknowledged_flag bool | false_positive_flag bool |
|---|---|---|---|---|---|---|---|---|
ALARM-00000001 | OIL011-WELL-000002 | KICK-00000001 | standpipe_pressure_drop | 2 | 52 | 99 | true | false |
ALARM-00000002 | OIL011-WELL-000002 | KICK-00000001 | pit_gain | 3 | 54 | 105 | true | false |
ALARM-00000003 | OIL011-WELL-000002 | KICK-00000001 | choke_pressure_high | 1 | 55 | 88 | true | false |
ALARM-00000004 | OIL011-WELL-000008 | KICK-00000002 | gas_units_high | 4 | 47 | 106 | true | false |
ALARM-00000005 | OIL011-WELL-000008 | KICK-00000002 | pit_gain | 2 | 49 | 68 | true | false |
ALARM-00000006 | OIL011-WELL-000009 | KICK-00000003 | BOP_pressure_low | 2 | 46 | 72 | true | false |
ALARM-00000007 | OIL011-WELL-000009 | KICK-00000003 | choke_pressure_high | 1 | 47 | 67 | true | false |
ALARM-00000008 | OIL011-WELL-000009 | KICK-00000003 | gas_units_high | 1 | 44 | 72 | true | false |
ALARM-00000009 | OIL011-WELL-000018 | KICK-00000004 | H2S_detected | 5 | 31 | 129 | true | false |
ALARM-00000010 | OIL011-WELL-000018 | KICK-00000004 | gas_units_high | 4 | 31 | 137 | true | false |
ALARM-00000011 | OIL011-WELL-000018 | KICK-00000004 | flow_out_high | 5 | 30 | 154 | true | false |
ALARM-00000012 | OIL011-WELL-000018 | KICK-00000004 | standpipe_pressure_drop | 5 | 29 | 163 | true | false |
ALARM-00000013 | OIL011-WELL-000019 | KICK-00000005 | standpipe_pressure_drop | 5 | 37 | 160 | true | false |
ALARM-00000014 | OIL011-WELL-000019 | KICK-00000005 | gas_units_high | 4 | 39 | 105 | true | false |
ALARM-00000015 | OIL011-WELL-000019 | KICK-00000005 | flow_out_high | 5 | 38 | 141 | true | false |
ALARM-00000016 | OIL011-WELL-000019 | KICK-00000005 | H2S_detected | 5 | 40 | 133 | true | true |
ALARM-00000017 | OIL011-WELL-000024 | KICK-00000006 | gas_units_high | 5 | 41 | 155 | true | false |
ALARM-00000018 | OIL011-WELL-000024 | KICK-00000006 | pit_gain | 3 | 40 | 147 | true | false |
ALARM-00000019 | OIL011-WELL-000024 | KICK-00000006 | casing_pressure_rise | 3 | 38 | 61 | true | false |
ALARM-00000020 | OIL011-WELL-000024 | KICK-00000006 | H2S_detected | 4 | 38 | 94 | true | false |
ALARM-00000021 | OIL011-WELL-000024 | KICK-00000006 | flow_out_high | 3 | 40 | 81 | true | false |
ALARM-00000022 | OIL011-WELL-000031 | KICK-00000007 | casing_pressure_rise | 4 | 20 | 118 | true | false |
ALARM-00000023 | OIL011-WELL-000031 | KICK-00000007 | BOP_pressure_low | 4 | 19 | 133 | false | false |
ALARM-00000024 | OIL011-WELL-000037 | KICK-00000008 | BOP_pressure_low | 5 | 62 | 149 | true | false |
ALARM-00000025 | OIL011-WELL-000037 | KICK-00000008 | gas_units_high | 5 | 61 | 109 | true | false |
ALARM-00000026 | OIL011-WELL-000039 | KICK-00000009 | pit_gain | 5 | 60 | 143 | true | false |
ALARM-00000027 | OIL011-WELL-000039 | KICK-00000009 | BOP_pressure_low | 5 | 63 | 121 | true | false |
ALARM-00000028 | OIL011-WELL-000052 | KICK-00000010 | choke_pressure_high | 1 | 15 | 88 | true | false |
ALARM-00000029 | OIL011-WELL-000052 | KICK-00000010 | flow_out_high | 2 | 17 | 75 | true | true |
ALARM-00000030 | OIL011-WELL-000052 | KICK-00000010 | H2S_detected | 1 | 18 | 34 | true | false |
ALARM-00000031 | OIL011-WELL-000052 | KICK-00000010 | casing_pressure_rise | 2 | 15 | 125 | true | false |
ALARM-00000032 | OIL011-WELL-000052 | KICK-00000010 | standpipe_pressure_drop | 1 | 18 | 55 | true | false |
ALARM-00000033 | OIL011-WELL-000058 | KICK-00000011 | gas_units_high | 4 | 50 | 82 | true | false |
ALARM-00000034 | OIL011-WELL-000058 | KICK-00000011 | H2S_detected | 5 | 54 | 173 | true | false |
ALARM-00000035 | OIL011-WELL-000058 | KICK-00000011 | casing_pressure_rise | 5 | 51 | 135 | true | false |
ALARM-00000036 | OIL011-WELL-000058 | KICK-00000011 | pit_gain | 4 | 52 | 117 | true | false |
ALARM-00000037 | OIL011-WELL-000061 | KICK-00000012 | H2S_detected | 3 | 48 | 106 | true | false |
ALARM-00000038 | OIL011-WELL-000061 | KICK-00000012 | flow_out_high | 3 | 50 | 111 | true | false |
ALARM-00000039 | OIL011-WELL-000061 | KICK-00000012 | BOP_pressure_low | 3 | 52 | 167 | true | false |
ALARM-00000040 | OIL011-WELL-000061 | KICK-00000012 | casing_pressure_rise | 2 | 50 | 43 | true | false |
ALARM-00000041 | OIL011-WELL-000065 | KICK-00000013 | flow_out_high | 1 | 36 | 45 | true | false |
ALARM-00000042 | OIL011-WELL-000065 | KICK-00000013 | standpipe_pressure_drop | 1 | 36 | 69 | true | false |
ALARM-00000043 | OIL011-WELL-000065 | KICK-00000013 | BOP_pressure_low | 1 | 39 | 74 | true | false |
ALARM-00000044 | OIL011-WELL-000065 | KICK-00000013 | casing_pressure_rise | 1 | 40 | 50 | true | false |
ALARM-00000045 | OIL011-WELL-000067 | KICK-00000014 | gas_units_high | 4 | 48 | 151 | true | false |
ALARM-00000046 | OIL011-WELL-000067 | KICK-00000014 | casing_pressure_rise | 3 | 47 | 119 | true | false |
ALARM-00000047 | OIL011-WELL-000067 | KICK-00000014 | choke_pressure_high | 3 | 48 | 87 | true | false |
ALARM-00000048 | OIL011-WELL-000067 | KICK-00000014 | pit_gain | 4 | 49 | 123 | true | false |
ALARM-00000049 | OIL011-WELL-000067 | KICK-00000014 | flow_out_high | 5 | 46 | 137 | true | false |
ALARM-00000050 | OIL011-WELL-000073 | KICK-00000015 | casing_pressure_rise | 4 | 47 | 97 | true | false |
ALARM-00000051 | OIL011-WELL-000073 | KICK-00000015 | pit_gain | 4 | 47 | 143 | true | false |
ALARM-00000052 | OIL011-WELL-000074 | KICK-00000016 | gas_units_high | 1 | 40 | 63 | true | false |
ALARM-00000053 | OIL011-WELL-000074 | KICK-00000016 | BOP_pressure_low | 2 | 40 | 80 | true | false |
ALARM-00000054 | OIL011-WELL-000074 | KICK-00000016 | H2S_detected | 1 | 42 | 42 | true | true |
ALARM-00000055 | OIL011-WELL-000074 | KICK-00000016 | standpipe_pressure_drop | 2 | 44 | 23 | true | false |
ALARM-00000056 | OIL011-WELL-000083 | KICK-00000017 | pit_gain | 4 | 20 | 92 | true | true |
ALARM-00000057 | OIL011-WELL-000083 | KICK-00000017 | BOP_pressure_low | 3 | 18 | 98 | true | false |
ALARM-00000058 | OIL011-WELL-000083 | KICK-00000017 | choke_pressure_high | 3 | 19 | 81 | true | false |
ALARM-00000059 | OIL011-WELL-000083 | KICK-00000017 | H2S_detected | 3 | 19 | 145 | true | false |
ALARM-00000060 | OIL011-WELL-000095 | KICK-00000018 | casing_pressure_rise | 3 | 23 | 113 | true | true |
ALARM-00000061 | OIL011-WELL-000095 | KICK-00000018 | pit_gain | 4 | 24 | 142 | true | false |
ALARM-00000062 | OIL011-WELL-000095 | KICK-00000018 | H2S_detected | 3 | 24 | 110 | true | false |
ALARM-00000063 | OIL011-WELL-000097 | KICK-00000019 | gas_units_high | 5 | 22 | 90 | true | false |
ALARM-00000064 | OIL011-WELL-000097 | KICK-00000019 | pit_gain | 4 | 18 | 67 | true | false |
ALARM-00000065 | OIL011-WELL-000103 | KICK-00000020 | BOP_pressure_low | 1 | 22 | 63 | true | false |
ALARM-00000066 | OIL011-WELL-000103 | KICK-00000020 | choke_pressure_high | 1 | 19 | 64 | true | false |
ALARM-00000067 | OIL011-WELL-000112 | KICK-00000021 | choke_pressure_high | 4 | 33 | 153 | true | false |
ALARM-00000068 | OIL011-WELL-000112 | KICK-00000021 | flow_out_high | 3 | 29 | 66 | true | false |
ALARM-00000069 | OIL011-WELL-000112 | KICK-00000021 | casing_pressure_rise | 3 | 29 | 89 | true | false |
ALARM-00000070 | OIL011-WELL-000119 | KICK-00000022 | H2S_detected | 2 | 50 | 146 | true | false |
ALARM-00000071 | OIL011-WELL-000119 | KICK-00000022 | choke_pressure_high | 3 | 49 | 109 | true | false |
ALARM-00000072 | OIL011-WELL-000119 | KICK-00000022 | casing_pressure_rise | 1 | 50 | 87 | true | false |
ALARM-00000073 | OIL011-WELL-000119 | KICK-00000022 | standpipe_pressure_drop | 2 | 51 | 64 | true | false |
ALARM-00000074 | OIL011-WELL-000130 | KICK-00000023 | BOP_pressure_low | 2 | 38 | 92 | true | false |
ALARM-00000075 | OIL011-WELL-000130 | KICK-00000023 | casing_pressure_rise | 3 | 39 | 131 | true | false |
ALARM-00000076 | OIL011-WELL-000130 | KICK-00000023 | gas_units_high | 2 | 35 | 126 | true | false |
ALARM-00000077 | OIL011-WELL-000130 | KICK-00000023 | flow_out_high | 2 | 39 | 135 | true | false |
ALARM-00000078 | OIL011-WELL-000131 | KICK-00000024 | BOP_pressure_low | 5 | 40 | 152 | true | false |
ALARM-00000079 | OIL011-WELL-000131 | KICK-00000024 | flow_out_high | 5 | 37 | 121 | true | false |
ALARM-00000080 | OIL011-WELL-000131 | KICK-00000024 | H2S_detected | 5 | 41 | 136 | true | false |
ALARM-00000081 | OIL011-WELL-000132 | KICK-00000025 | standpipe_pressure_drop | 4 | 20 | 167 | true | false |
ALARM-00000082 | OIL011-WELL-000132 | KICK-00000025 | BOP_pressure_low | 4 | 19 | 82 | true | false |
ALARM-00000083 | OIL011-WELL-000132 | KICK-00000025 | H2S_detected | 4 | 16 | 137 | true | false |
ALARM-00000084 | OIL011-WELL-000132 | KICK-00000025 | pit_gain | 4 | 16 | 119 | true | false |
ALARM-00000085 | OIL011-WELL-000138 | KICK-00000026 | choke_pressure_high | 1 | 59 | 68 | false | false |
ALARM-00000086 | OIL011-WELL-000138 | KICK-00000026 | BOP_pressure_low | 1 | 60 | 57 | true | false |
ALARM-00000087 | OIL011-WELL-000138 | KICK-00000026 | pit_gain | 1 | 60 | 56 | true | false |
ALARM-00000088 | OIL011-WELL-000138 | KICK-00000026 | flow_out_high | 1 | 60 | 118 | true | true |
ALARM-00000089 | OIL011-WELL-000138 | KICK-00000026 | gas_units_high | 2 | 57 | 132 | true | false |
ALARM-00000090 | OIL011-WELL-000151 | KICK-00000027 | casing_pressure_rise | 1 | 32 | 152 | true | false |
ALARM-00000091 | OIL011-WELL-000151 | KICK-00000027 | gas_units_high | 1 | 32 | 25 | true | false |
ALARM-00000092 | OIL011-WELL-000151 | KICK-00000027 | BOP_pressure_low | 1 | 32 | 63 | true | false |
ALARM-00000093 | OIL011-WELL-000154 | KICK-00000028 | flow_out_high | 2 | 46 | 86 | true | false |
ALARM-00000094 | OIL011-WELL-000154 | KICK-00000028 | choke_pressure_high | 2 | 46 | 101 | true | false |
ALARM-00000095 | OIL011-WELL-000154 | KICK-00000028 | BOP_pressure_low | 2 | 43 | 112 | true | false |
ALARM-00000096 | OIL011-WELL-000163 | KICK-00000029 | BOP_pressure_low | 1 | 61 | 93 | true | false |
ALARM-00000097 | OIL011-WELL-000163 | KICK-00000029 | choke_pressure_high | 1 | 60 | 117 | true | false |
ALARM-00000098 | OIL011-WELL-000163 | KICK-00000029 | H2S_detected | 1 | 64 | 73 | false | false |
ALARM-00000099 | OIL011-WELL-000163 | KICK-00000029 | gas_units_high | 2 | 61 | 84 | true | false |
ALARM-00000100 | OIL011-WELL-000169 | KICK-00000030 | H2S_detected | 2 | 60 | 142 | true | false |
OIL-011 — Synthetic Kick & Blowout Scenario Dataset (Sample)
SKU: OIL011-SAMPLE · Vertical: Oil & Gas / Upstream Well Control & Safety
License: CC-BY-NC-4.0 (sample) · Schema version: oil011.v1
Sample version: 1.0.0 · Default seed: 42
A free, schema-identical preview of XpertSystems.ai's enterprise kick & blowout scenario dataset for well-control ML, BOP analytics, kick-detection modeling, and safety-training data generation. The sample covers 1,500 wells across 12 global basins and 10 formation classes, with 115,251 rows including 108,000 timepoints of drilling telemetry linked across 13 tables.
What's in the box
| File | Rows | Cols | Description |
|---|---|---|---|
wells_master.csv |
1,500 | 16 | Well spine: basin, formation, rig type, geology, pore/frac gradients, HPHT/H2S/MPD flags |
drilling_timeseries.csv |
108,000 | 19 | Per-timepoint pit / flow / SPP / gas units / BHP / ECD / kick margin / fracture margin |
kick_events.csv |
214 | 12 | 7-class kick taxonomy (gas/oil/water/swab/loss-kick/shallow gas/HPHT gas) + severity + escalation |
blowout_scenarios.csv |
93 | 9 | 5-class blowout type (surface/underground/riser gas/wellhead/ignited) + release volume |
bop_operations.csv |
1,070 | 10 | 5-preventer activation log (annular, upper/lower pipe rams, blind/casing shear rams) |
choke_manifold_logs.csv |
1,213 | 9 | Choke-pressure circulation control steps |
gas_influx_profiles.csv |
214 | 8 | Gas type (methane/wet/CO2/H2S) + migration velocity + expansion ratio |
kill_operations.csv |
214 | 8 | 6-class kill method (driller / wait-and-weight / bullhead / volumetric / lubricate / dynamic) |
alarms_and_warnings.csv |
779 | 8 | 8-class alarm taxonomy + acknowledgment delay + operator response |
equipment_failures.csv |
26 | 7 | 10-class failure component (BOP / pod / valve / sensor / pump / EDS) |
safety_response_logs.csv |
214 | 8 | Operator action + procedural compliance + crew training level |
incident_root_cause.csv |
214 | 6 | 10-class RCA category + contributing factor + corrective action |
scenario_labels.csv |
1,500 | 7 | ML labels: risk level (low/medium/high/critical) + catastrophic flag + training class |
Total: 115,251 rows across 13 CSVs, ~14.3 MB on disk.
Calibration: industry-anchored, honestly reported
Validation uses a 10-metric scorecard with targets sourced exclusively to named industry standards: API 16D (BOP Control Systems), API RP-53 (BOP Equipment for Drilling Wells), API RP-59 (Well-Control Operations), IADC WellSharp competency framework, IADC Well Control taxonomy, IOGP Report 432 (Loss of Well Control), NORSOK D-010 (well integrity), SINTEF OREDA (Offshore Reliability Data), Bourgoyne et al. (1986) Applied Drilling Engineering Ch.4, Schlumberger drilling-safety analytics.
Sample run (seed 42, n_wells=1,500, timepoints=72):
| # | Metric | Observed | Target | Tolerance | Status | Source |
|---|---|---|---|---|---|---|
| 1 | kick event rate | 0.1427 | 0.13 | ±0.05 | ✓ PASS | IOGP Report 432 (Loss of Well Control) + IADC Well Control incident database — per-well kick incidence rate, global exploration & development drilling portfolio (typical 0.08-0.18 across HPHT/conventional/deepwater mix) |
| 2 | avg kick detection delay sec | 38.6589 | 40.0 | ±15.0 | ✓ PASS | IADC WellSharp + Schlumberger drilling-safety analytics — mean kick-to-detection delay for early-warning systems with pit/flow sensors (target <60s per modern MPD spec) |
| 3 | avg influx volume bbl | 13.4578 | 14.0 | ±6.0 | ✓ PASS | Bourgoyne et al. (1986) Applied Drilling Engineering Ch.4 + NORSOK D-010 — mean detected kick influx volume, industry-typical 5-50 bbl envelope |
| 4 | avg bop closure time sec | 18.2000 | 18.0 | ±8.0 | ✓ PASS | API 16D BOP Control Systems + API RP-53 — mean BOP closure time, annular <30s and ram <45s per spec |
| 5 | bop activation success rate | 0.9486 | 0.95 | ±0.04 | ✓ PASS | API RP-53 reliability statistics + SINTEF OREDA (Offshore Reliability Data) — BOP activation success rate across modern equipment portfolio |
| 6 | avg bop hydraulic pressure psi | 2908.6168 | 2900.0 | ±500.0 | ✓ PASS | API 16D BOP Control Systems — accumulator hydraulic pressure operating range (1500-5000 psi) |
| 7 | avg gas expansion ratio | 6.1411 | 6.5 | ±2.5 | ✓ PASS | Bourgoyne et al. (1986) Applied Drilling Engineering Ch.4 + ideal gas law — bottomhole-to-surface gas expansion ratio at typical kick depths (8-20 kft TVD) |
| 8 | hydraulics consistency score | 1.0000 | 0.98 | ±0.03 | ✓ PASS | NORSOK D-010 well integrity envelope — fraction of timepoints where hydraulics stay within fracture window (ECD doesn't catastrophically exceed fracture gradient) |
| 9 | basin diversity entropy | 0.9990 | 0.96 | ±0.04 | ✓ PASS | IOGP global well-control activity tracker — 12-class basin diversity benchmark (Permian, Gulf of Mexico, North Sea, Brazil Pre-Salt, Middle East, Eagle Ford, Bakken, West Africa, North Sea HPHT, Arctic, North African, Haynesville), normalized Shannon entropy |
| 10 | kick type diversity entropy | 0.9567 | 0.9 | ±0.08 | ✓ PASS | IADC Well Control taxonomy + Bourgoyne Ch.4 — 7-class kick-type diversity benchmark (gas kick, oil kick, water flow, swab kick, loss-kick, shallow gas, HPHT gas kick), normalized Shannon entropy (gas-kick dominant per industry default p=[0.33, 0.08, 0.10, 0.15, 0.12, 0.10, 0.12]) |
Overall: 100.0/100 — Grade A+ (10 PASS · 0 MARGINAL · 0 FAIL of 10 metrics)
Schema highlights
drilling_timeseries.csv — the well-control telemetry spine.
Each well has 72 timepoints with physics-coupled post-kick perturbations:
pit_volume += influx_bbl × min(1.0, progress × 1.55) flow_out += 8 + influx_bbl × min(1.0, progress × 2.2) spp -= 40 + influx_bbl × progress × 1.5 gas_units += 30 + influx_bbl × progress × 6 mud_weight -= min(1.6, influx_bbl/120) × progress
This produces classic kick signatures detectable from the timeseries: flow_out > flow_in, rising pit volume, falling standpipe pressure, rising gas units. Critical for training kick-detection ML on realistic sensor patterns rather than just labeled-event metadata.
bop_operations.csv — every kick triggers all 5 preventers per the
API RP-53 + IADC BOP stack convention:
| Preventer | Closure Time (s) | Function |
|---|---|---|
| Annular | 18 ± 4 | Soft-seal against varied pipe sizes |
| Upper pipe ram | 18 ± 4 | Pipe-specific hard seal (upper) |
| Lower pipe ram | 18 ± 4 | Pipe-specific hard seal (lower) |
| Blind shear ram | 23 ± 4 | Last-resort cut & seal (+5s for shear time) |
| Casing shear ram | 18 ± 4 | Cut casing for emergency disconnect |
Activation success ~98.5% baseline, dropping to ~95% under escalation ≥4 and ~94% under blowout — matching SINTEF OREDA reliability statistics.
kick_events.csv — 7-class kick taxonomy weighted per Bourgoyne et al.:
gas kick 33% / swab kick 15% / loss-kick 12% / HPHT gas 12% / oil 8% /
water 10% / shallow gas 10%. Influx volume drawn from lognormal(μ=2.35,
σ=0.65) → median ~10 bbl, p90 ~25 bbl, matching industry envelope.
gas_influx_profiles.csv — gas expansion ratio computed from TVD via
1 + tvd/2600 — physics-consistent ideal-gas law approximation
(BHP_factor / atm_factor ≈ TVD-dependent scaling). At ~13 kft TVD,
expected expansion is ~6× — exactly what the sample produces.
scenario_labels.csv — 4-class risk taxonomy mapped to training
class:
| Label | Population | Trigger |
|---|---|---|
normal_drilling |
~86% | No kick |
kick (medium risk) |
~8% | Kick detected, escalation < 4 |
kick (high risk) |
~1% | Kick detected, escalation ≥ 4, no blowout |
blowout (critical) |
~6% | Catastrophic escalation |
The 6% catastrophic rate is intentionally elevated for safety-training ML (real-world per-well rates are ~0.1-0.3%); see "Honest disclosure" section for the rationale.
Suggested use cases
- Kick detection from timeseries — train binary or sequence
classifiers on the 108,000-row drilling_timeseries to predict
kick_detected_flagfrom pit / flow / SPP / gas patterns. The post-kick perturbations are physics-coupled, so models will learn real well-control signatures. - BOP reliability ML — predict
activation_statusandseal_integrity_scoreper preventer from kick severity, blowout risk, and equipment-failure features. - Blowout escalation prediction — binary classifier on
blowout_escalated_flagfrom kick characteristics (influx volume, detection delay, kick type, escalation level). - Kick type classification — multi-class classifier (7 classes: gas/oil/water/swab/loss-kick/shallow gas/HPHT gas) from pre-detection telemetry features.
- Alarm acknowledgment-delay regression — predict
acknowledgment_delay_secfrom alarm severity, crew training level, and operational context. - Root cause analysis classification — 10-class classifier on
root_cause_categoryfrom incident features for incident-review automation. - Kill method selection — predict optimal
kill_method(6 classes) from well geometry, kick characteristics, and BOP status. - Risk level scoring — 4-class ordinal classifier on
risk_level(low/medium/high/critical) from upstream features for real-time well-control dashboards. - Multi-table relational ML — entity-resolution and graph-based
learning across the 13 joinable tables via
well_idandkick_id.
Loading
from datasets import load_dataset
ds = load_dataset("xpertsystems/oil011-sample", data_files="drilling_timeseries.csv")
print(ds["train"][0])
Or with pandas:
import pandas as pd
wells = pd.read_csv("hf://datasets/xpertsystems/oil011-sample/wells_master.csv")
ts = pd.read_csv("hf://datasets/xpertsystems/oil011-sample/drilling_timeseries.csv")
kicks = pd.read_csv("hf://datasets/xpertsystems/oil011-sample/kick_events.csv")
bop = pd.read_csv("hf://datasets/xpertsystems/oil011-sample/bop_operations.csv")
labels = pd.read_csv("hf://datasets/xpertsystems/oil011-sample/scenario_labels.csv")
# Join timeseries to kick events
ts_with_kicks = ts.merge(kicks, on="kick_id", how="left")
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 for ML prototyping and safety-training research. A few important notes:
Elevated kick and blowout rates are intentional for safety-training data. The sample's per-well kick rate (
14%) and blowout-given-kick rate (43%, vs IOGP global ~3-7%) are deliberately amplified via theblowout_escalation_rate=0.38parameter. This produces a balanced training set with sufficient positive examples of all escalation levels — useful for ML, but not representative of true field-rate well-control incident frequencies. For epidemiological modeling of well-control incidents, scale down events to match IOGP Report 432 baseline rates.Successful-kill rate is
53%, lower than industry success rates (85-95%). This is a consequence of (1) above: with ~43% of kicks escalating to blowout in the generator,kill_successis constructed asnot blowout AND U(0,1) < 0.93. For ML training on kill-method selection this is fine; for kill-success forecasting, re-weight the training set.BOP activation timing is fast end of the API envelope. Mean closure time is ~18s, matching modern subsea BOPs but at the aggressive end of the API 16D spec (annular <30s, ram <45s). Older land-rig BOP stacks may run 25-40s. Adjust calibration if your target audience is legacy onshore equipment.
Each kick triggers all 5 preventers — generates 5 BOP rows per kick deterministically. Real BOP procedures activate based on escalation state (annular first, then rams, shear rams last). The sample provides activation timing for every preventer regardless of whether it would be procedurally invoked, useful for individual- preventer reliability ML but not for activation-sequence modeling.
Time-series anomaly flag is uniform 3.1% Bernoulli across all timepoints (per
anomaly_injection_rate) — does not concentrate around kick events. For anomaly-detection ML, thekick_idnon-NONE timepoints are the true positive signal channel; theanomaly_flagis sensor noise / data-quality drill.kick_severitydistribution is bimodal (peaks at 1-2 and 4-5) because blowout-escalated kicks override severity to {4, 5}. This reflects the generator's coupling between blowout-flag and severity, not a modeling error. For severity regression, condition onblowout_escalated_flagto avoid label leakage.Equipment failures are sparse (~12% of kicks have a failure recorded), reflecting the conditional injection rate
equipment_failure_rate=0.019 + 0.25*blowout + 0.05*high_escalation. For failure-mode ML, expect class-imbalanced learning conditions.
Full product
The full OIL-011 dataset ships at 50,000 wells × 15 timepoints (prod mode) with field-rate-calibrated incident frequencies (IOGP-matched 0.3-0.5% blowout rate), legacy-equipment BOP timing distributions, and procedurally-correct BOP activation sequencing — licensed commercially. Contact XpertSystems.ai for licensing terms.
📧 pradeep@xpertsystems.ai 🌐 https://xpertsystems.ai
Citation
@dataset{xpertsystems_oil011_sample_2026,
title = {OIL-011: Synthetic Kick & Blowout Scenario Dataset (Sample)},
author = {XpertSystems.ai},
year = {2026},
url = {https://huggingface.co/datasets/xpertsystems/oil011-sample}
}
Generation details
- Sample version : 1.0.0
- Random seed : 42
- Generated : 2026-05-21 23:49:57 UTC
- Wells : 1,500
- Timepoints/well : 72
- Basins : 12 (Permian, Gulf of Mexico, North Sea, Brazil Pre-Salt, Middle East, Eagle Ford, Bakken, West Africa, North Sea HPHT, Arctic, North African, Haynesville)
- Formations : 10 (overpressured shale, fractured carbonate, deepwater turbidite, HPHT gas sand, sour gas carbonate, etc.)
- Kick types : 7 (gas, oil, water, swab, loss-kick, shallow gas, HPHT gas)
- Blowout types : 5 (surface, underground, riser gas, wellhead, ignited)
- BOP preventers : 5 (annular, upper pipe ram, lower pipe ram, blind shear ram, casing shear ram)
- Kill methods : 6 (driller, wait-and-weight, bullheading, volumetric, lubricate-and-bleed, dynamic kill)
- Calibration basis : API 16D, API RP-53, API RP-59, IADC WellSharp, IADC Well Control taxonomy, IOGP Report 432, NORSOK D-010, SINTEF OREDA, Bourgoyne et al. (1986)
- Overall validation: 100.0/100 — Grade A+
- Downloads last month
- 29