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 34 new columns ({'roll_gap__mean5', 'cause_hud_throttle__mean5', 'alt_error__mean5', 'pitch_gap__std5', 'vel_lin_z__std5', 'roll_gap__delta10', 'roll_gap__std5', 'hud_altitude__mean5', 'yaw_gap__delta10', 'cause_rc_out_2__delta10', 'label', 'rc_out_1__mean5', 'rc_out_1__std5', 't', 'xtrack_error__std5', 'pitch_gap__mean5', 'yaw_gap__std5', 'xtrack_error__delta10', 'vel_lin_z__delta10', 'cause_hud_throttle__std5', 'vel_lin_z__mean5', 'xtrack_error__mean5', 'cause_rc_out_2__std5', 't_rel_fault', 'hud_altitude__delta10', 'yaw_gap__mean5', 'day', 'alt_error__delta10', 'cause_hud_throttle__delta10', 'alt_error__std5', 'rc_out_1__delta10', 'pitch_gap__delta10', 'cause_rc_out_2__mean5', 'hud_altitude__std5'}) and 4 missing columns ({'rows', 'role', 'fault_rows', 'fault_group'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Alanbros12/alfa-per-second-table/table.csv (at revision a0d6d598b30f3d4297c3564ef68472ec885cdca1), ['hf://datasets/Alanbros12/alfa-per-second-table@a0d6d598b30f3d4297c3564ef68472ec885cdca1/split.csv', 'hf://datasets/Alanbros12/alfa-per-second-table@a0d6d598b30f3d4297c3564ef68472ec885cdca1/table.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
flight: string
session: string
day: string
fault_type: string
t: int64
alt_error__mean5: double
alt_error__std5: double
alt_error__delta10: double
xtrack_error__mean5: double
xtrack_error__std5: double
xtrack_error__delta10: double
hud_altitude__mean5: double
hud_altitude__std5: double
hud_altitude__delta10: double
vel_lin_z__mean5: double
vel_lin_z__std5: double
vel_lin_z__delta10: double
rc_out_1__mean5: double
rc_out_1__std5: double
rc_out_1__delta10: double
roll_gap__mean5: double
roll_gap__std5: double
roll_gap__delta10: double
pitch_gap__mean5: double
pitch_gap__std5: double
pitch_gap__delta10: double
yaw_gap__mean5: double
yaw_gap__std5: double
yaw_gap__delta10: double
cause_rc_out_2__mean5: double
cause_rc_out_2__std5: double
cause_rc_out_2__delta10: double
cause_hud_throttle__mean5: double
cause_hud_throttle__std5: double
cause_hud_throttle__delta10: double
label: int64
t_rel_fault: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 5167
to
{'flight': Value('string'), 'session': Value('string'), 'fault_type': Value('string'), 'fault_group': Value('string'), 'role': Value('string'), 'rows': Value('int64'), 'fault_rows': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 34 new columns ({'roll_gap__mean5', 'cause_hud_throttle__mean5', 'alt_error__mean5', 'pitch_gap__std5', 'vel_lin_z__std5', 'roll_gap__delta10', 'roll_gap__std5', 'hud_altitude__mean5', 'yaw_gap__delta10', 'cause_rc_out_2__delta10', 'label', 'rc_out_1__mean5', 'rc_out_1__std5', 't', 'xtrack_error__std5', 'pitch_gap__mean5', 'yaw_gap__std5', 'xtrack_error__delta10', 'vel_lin_z__delta10', 'cause_hud_throttle__std5', 'vel_lin_z__mean5', 'xtrack_error__mean5', 'cause_rc_out_2__std5', 't_rel_fault', 'hud_altitude__delta10', 'yaw_gap__mean5', 'day', 'alt_error__delta10', 'cause_hud_throttle__delta10', 'alt_error__std5', 'rc_out_1__delta10', 'pitch_gap__delta10', 'cause_rc_out_2__mean5', 'hud_altitude__std5'}) and 4 missing columns ({'rows', 'role', 'fault_rows', 'fault_group'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Alanbros12/alfa-per-second-table/table.csv (at revision a0d6d598b30f3d4297c3564ef68472ec885cdca1), ['hf://datasets/Alanbros12/alfa-per-second-table@a0d6d598b30f3d4297c3564ef68472ec885cdca1/split.csv', 'hf://datasets/Alanbros12/alfa-per-second-table@a0d6d598b30f3d4297c3564ef68472ec885cdca1/table.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.
flight string | session string | fault_type string | fault_group string | role string | rows int64 | fault_rows int64 |
|---|---|---|---|---|---|---|
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | engine | cv1 | 123 | 17 |
2018-07-18-15-53-31_2_engine_failure | 2018-07-18-15-53-31 | engine | engine | cv1 | 79 | 16 |
2018-07-18-16-22-01_engine_failure_with_emr_traj | 2018-07-18-16-22-01 | engine | engine | cv4 | 123 | 17 |
2018-07-18-16-37-39_1_no_failure | 2018-07-18-16-37-39 | none | none | test | 21 | 0 |
2018-07-18-16-37-39_2_engine_failure_with_emr_traj | 2018-07-18-16-37-39 | engine | engine | test | 120 | 17 |
2018-07-30-16-29-45_engine_failure_with_emr_traj | 2018-07-30-16-29-45 | engine | engine | cv1 | 132 | 20 |
2018-07-30-16-39-00_1_engine_failure | 2018-07-30-16-39-00 | engine | engine | cv4 | 122 | 16 |
2018-07-30-16-39-00_2_engine_failure | 2018-07-30-16-39-00 | engine | engine | cv4 | 96 | 15 |
2018-07-30-16-39-00_3_no_failure | 2018-07-30-16-39-00 | none | none | cv4 | 69 | 0 |
2018-07-30-17-10-45_engine_failure_with_emr_traj | 2018-07-30-17-10-45 | engine | engine | cv1 | 123 | 17 |
2018-07-30-17-20-01_engine_failure_with_emr_traj | 2018-07-30-17-20-01 | engine | engine | cv2 | 97 | 20 |
2018-07-30-17-36-35_engine_failure_with_emr_traj | 2018-07-30-17-36-35 | engine | engine | cv1 | 147 | 24 |
2018-07-30-17-46-31_engine_failure_with_emr_traj | 2018-07-30-17-46-31 | engine | engine | cv2 | 103 | 23 |
2018-09-11-11-56-30_engine_failure | 2018-09-11-11-56-30 | engine | engine | test | 115 | 22 |
2018-09-11-14-16-55_no_failure | 2018-09-11-14-16-55 | none | none | cv2 | 24 | 0 |
2018-09-11-14-22-07_1_engine_failure | 2018-09-11-14-22-07 | engine | engine | test | 104 | 10 |
2018-09-11-14-22-07_2_engine_failure | 2018-09-11-14-22-07 | engine | engine | test | 53 | 14 |
2018-09-11-14-41-38_no_failure | 2018-09-11-14-41-38 | none | none | cv3 | 34 | 0 |
2018-09-11-14-41-51_elevator_failure | 2018-09-11-14-41-51 | elevator | other | test | 119 | 12 |
2018-09-11-14-52-54_left_aileron__right_aileron__failure | 2018-09-11-14-52-54 | aileron | other | cv3 | 224 | 129 |
2018-09-11-15-05-11_1_elevator_failure | 2018-09-11-15-05-11 | elevator | other | cv3 | 66 | 13 |
2018-09-11-15-05-11_2_no_failure | 2018-09-11-15-05-11 | none | none | cv3 | 57 | 0 |
2018-09-11-15-06-34_1_rudder_right_failure | 2018-09-11-15-06-34 | rudder | other | cv4 | 60 | 15 |
2018-09-11-15-06-34_2_rudder_right_failure | 2018-09-11-15-06-34 | rudder | other | cv4 | 60 | 19 |
2018-09-11-15-06-34_3_rudder_left_failure | 2018-09-11-15-06-34 | rudder | other | cv4 | 60 | 10 |
2018-09-11-17-27-13_1_rudder_zero__left_aileron_failure | 2018-09-11-17-27-13 | rudder | other | test | 134 | 28 |
2018-09-11-17-27-13_2_both_ailerons_failure | 2018-09-11-17-27-13 | aileron | other | test | 92 | 37 |
2018-09-11-17-55-30_1_right_aileron_failure | 2018-09-11-17-55-30 | aileron | other | cv2 | 123 | 22 |
2018-09-11-17-55-30_2_left_aileron_failure | 2018-09-11-17-55-30 | aileron | other | cv2 | 72 | 33 |
2018-10-05-14-34-20_1_no_failure | 2018-10-05-14-34-20 | none | none | cv1 | 57 | 0 |
2018-10-05-14-34-20_2_right_aileron_failure_with_emr_traj | 2018-10-05-14-34-20 | aileron | other | cv1 | 152 | 11 |
2018-10-05-14-37-22_1_no_failure | 2018-10-05-14-37-22 | none | none | cv0 | 63 | 0 |
2018-10-05-14-37-22_2_right_aileron_failure | 2018-10-05-14-37-22 | aileron | other | cv0 | 135 | 72 |
2018-10-05-14-37-22_3_left_aileron_failure | 2018-10-05-14-37-22 | aileron | other | cv0 | 86 | 24 |
2018-10-05-15-52-12_1_no_failure | 2018-10-05-15-52-12 | none | none | cv0 | 80 | 0 |
2018-10-05-15-52-12_2_no_failure | 2018-10-05-15-52-12 | none | none | cv0 | 38 | 0 |
2018-10-05-15-52-12_3_engine_failure_with_emr_traj | 2018-10-05-15-52-12 | engine | engine | cv0 | 57 | 18 |
2018-10-05-15-55-10_engine_failure_with_emr_traj | 2018-10-05-15-55-10 | engine | engine | cv4 | 103 | 14 |
2018-10-05-16-04-46_engine_failure_with_emr_traj | 2018-10-05-16-04-46 | engine | engine | test | 82 | 17 |
2018-10-18-11-03-57_engine_failure_with_emr_traj | 2018-10-18-11-03-57 | engine | engine | cv1 | 107 | 13 |
2018-10-18-11-04-00_engine_failure_with_emr_traj | 2018-10-18-11-04-00 | engine | engine | cv0 | 113 | 12 |
2018-10-18-11-04-08_1_engine_failure_with_emr_traj | 2018-10-18-11-04-08 | engine | engine | cv2 | 105 | 15 |
2018-10-18-11-04-08_2_engine_failure_with_emr_traj | 2018-10-18-11-04-08 | engine | engine | cv2 | 108 | 20 |
2018-10-18-11-04-35_engine_failure_with_emr_traj | 2018-10-18-11-04-35 | engine | engine | cv3 | 99 | 9 |
2018-10-18-11-06-06_engine_failure_with_emr_traj | 2018-10-18-11-06-06 | engine | engine | cv3 | 107 | 15 |
2018-10-18-11-08-24_no_failure | 2018-10-18-11-08-24 | none | none | cv3 | 16 | 0 |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
2018-07-18-15-53-31_1_engine_failure | 2018-07-18-15-53-31 | engine | null | null | null | null |
ALFA per-second fault detection table
One row per second per flight for 46 flights of the ALFA dataset (fixed-wing UAV with injected engine and control-surface faults), built by the project alfa-fault-detection.
Files
table.csv: 4260 rows. Columnsflight,session,day,fault_type,t(second since the first IMU reading),t_rel_fault(seconds relative to the fault start),label(1 when t + 1 > fault start) and 30 features: 5 s mean, 5 s standard deviation and 10 s change of 10 signals. Columns starting withcause_andrc_outcome from the recorded commands, which already contain the injected fault; leave them out for a fair sensor-only detector.split.csv: one row per flight with its role,cv0tocv4(development folds) ortest(9 locked flights). The split is by recording session.
Changes from the original data
Readings were averaged per second, short gaps of up to 5 s were filled forward, rolling features were added, and rows with t below 10 were dropped. One flight without ground truth was left out. Features only use the current and earlier seconds.
Credit
Derived from the ALFA dataset (CC BY 4.0): A. Keipour, M. Mousaei and S. Scherer, "ALFA: A dataset for UAV fault and anomaly detection", The International Journal of Robotics Research 40(2-3), 515-520, 2021, doi:10.1177/0278364920966642. Original data: https://doi.org/10.1184/R1/12707963
- Downloads last month
- 45