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 9 new columns ({'ratio_ci95_high', 'age_adjusted_mot_initial_failure_ratio', 'prs_pct', 'initial_fail_pct', 'strict_failures_n', 'prs_n', 'strict_fail_pct', 'ratio_ci95_low', 'initial_failures_n'}) and 6 missing columns ({'over_representation_ratio', 'national_failure_items_per_100_tests', 'failure_items_per_100_tests', 'excess_pp', 'initial_tests_2024', 'defect_group'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ivitskiy/uk-mot-risk-index/motriskindex-families-2024-v2.csv (at revision 7d3dfffbbdb5f66c571f2428d1c1608473eb55a7), ['hf://datasets/ivitskiy/uk-mot-risk-index@7d3dfffbbdb5f66c571f2428d1c1608473eb55a7/motriskindex-defect-groups-2024-v2.csv', 'hf://datasets/ivitskiy/uk-mot-risk-index@7d3dfffbbdb5f66c571f2428d1c1608473eb55a7/motriskindex-families-2024-v2.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 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
claim_id: string
family: string
n: int64
initial_failures_n: int64
initial_fail_pct: double
strict_failures_n: int64
strict_fail_pct: double
prs_n: int64
prs_pct: double
age_adjusted_mot_initial_failure_ratio: double
ratio_ci95_low: double
ratio_ci95_high: double
confidence: string
source_data_release_id: string
dataset_release_id: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2192
to
{'claim_id': Value('string'), 'family': Value('string'), 'defect_group': Value('string'), 'n': Value('int64'), 'initial_tests_2024': Value('int64'), 'failure_items_per_100_tests': Value('float64'), 'national_failure_items_per_100_tests': Value('float64'), 'excess_pp': Value('float64'), 'over_representation_ratio': Value('float64'), 'confidence': Value('string'), 'source_data_release_id': Value('string'), 'dataset_release_id': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, 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 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'ratio_ci95_high', 'age_adjusted_mot_initial_failure_ratio', 'prs_pct', 'initial_fail_pct', 'strict_failures_n', 'prs_n', 'strict_fail_pct', 'ratio_ci95_low', 'initial_failures_n'}) and 6 missing columns ({'over_representation_ratio', 'national_failure_items_per_100_tests', 'failure_items_per_100_tests', 'excess_pp', 'initial_tests_2024', 'defect_group'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ivitskiy/uk-mot-risk-index/motriskindex-families-2024-v2.csv (at revision 7d3dfffbbdb5f66c571f2428d1c1608473eb55a7), ['hf://datasets/ivitskiy/uk-mot-risk-index@7d3dfffbbdb5f66c571f2428d1c1608473eb55a7/motriskindex-defect-groups-2024-v2.csv', 'hf://datasets/ivitskiy/uk-mot-risk-index@7d3dfffbbdb5f66c571f2428d1c1608473eb55a7/motriskindex-families-2024-v2.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.
claim_id string | family string | defect_group string | n int64 | initial_tests_2024 int64 | failure_items_per_100_tests float64 | national_failure_items_per_100_tests float64 | excess_pp float64 | over_representation_ratio float64 | confidence string | source_data_release_id string | dataset_release_id string |
|---|---|---|---|---|---|---|---|---|---|---|---|
fail-group:audi-a1:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | audi-a1 | Lamps, reflectors and electrical equipment | 35,669 | 386,496 | 9.2288 | 23.5162 | -14.2874 | 0.3924 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:suspension | audi-a1 | Suspension | 60,163 | 386,496 | 15.5663 | 19.9047 | -4.3384 | 0.782 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:brakes | audi-a1 | Brakes | 35,707 | 386,496 | 9.2386 | 14.3394 | -5.1008 | 0.6443 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:visibility | audi-a1 | Visibility | 37,545 | 386,496 | 9.7142 | 11.9934 | -2.2792 | 0.81 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:tyres | audi-a1 | Tyres | 46,944 | 386,496 | 12.1461 | 10.2666 | 1.8795 | 1.1831 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:body-chassis-structure | audi-a1 | Body, chassis, structure | 19,988 | 386,496 | 5.1716 | 8.3605 | -3.1889 | 0.6186 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:noise-emissions-and-leaks | audi-a1 | Noise, emissions and leaks | 10,957 | 386,496 | 2.835 | 4.9009 | -2.066 | 0.5785 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:steering | audi-a1 | Steering | 12,238 | 386,496 | 3.1664 | 4.5923 | -1.4259 | 0.6895 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:seat-belts-and-supplementary-restraint-systems | audi-a1 | Seat belts and supplementary restraint systems | 3,247 | 386,496 | 0.8401 | 1.4183 | -0.5782 | 0.5923 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:identification-of-the-vehicle | audi-a1 | Identification of the vehicle | 2,428 | 386,496 | 0.6282 | 0.6183 | 0.0099 | 1.016 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a1:dvsa-2024-v1:road-wheels | audi-a1 | Road Wheels | 1,255 | 386,496 | 0.3247 | 0.5972 | -0.2725 | 0.5437 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | audi-a3 | Lamps, reflectors and electrical equipment | 125,332 | 654,933 | 19.1366 | 23.5162 | -4.3796 | 0.8138 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:suspension | audi-a3 | Suspension | 142,008 | 654,933 | 21.6828 | 19.9047 | 1.7781 | 1.0893 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:brakes | audi-a3 | Brakes | 78,248 | 654,933 | 11.9475 | 14.3394 | -2.392 | 0.8332 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:visibility | audi-a3 | Visibility | 78,015 | 654,933 | 11.9119 | 11.9934 | -0.0815 | 0.9932 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:tyres | audi-a3 | Tyres | 78,942 | 654,933 | 12.0534 | 10.2666 | 1.7869 | 1.174 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:body-chassis-structure | audi-a3 | Body, chassis, structure | 64,444 | 654,933 | 9.8398 | 8.3605 | 1.4793 | 1.1769 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:noise-emissions-and-leaks | audi-a3 | Noise, emissions and leaks | 31,776 | 654,933 | 4.8518 | 4.9009 | -0.0491 | 0.99 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:steering | audi-a3 | Steering | 9,913 | 654,933 | 1.5136 | 4.5923 | -3.0787 | 0.3296 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:seat-belts-and-supplementary-restraint-systems | audi-a3 | Seat belts and supplementary restraint systems | 8,082 | 654,933 | 1.234 | 1.4183 | -0.1843 | 0.8701 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:identification-of-the-vehicle | audi-a3 | Identification of the vehicle | 4,412 | 654,933 | 0.6737 | 0.6183 | 0.0554 | 1.0895 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a3:dvsa-2024-v1:road-wheels | audi-a3 | Road Wheels | 3,517 | 654,933 | 0.537 | 0.5972 | -0.0602 | 0.8992 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | audi-a4 | Lamps, reflectors and electrical equipment | 82,274 | 406,182 | 20.2555 | 23.5162 | -3.2608 | 0.8613 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:suspension | audi-a4 | Suspension | 96,395 | 406,182 | 23.732 | 19.9047 | 3.8273 | 1.1923 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:brakes | audi-a4 | Brakes | 49,045 | 406,182 | 12.0746 | 14.3394 | -2.2648 | 0.8421 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:visibility | audi-a4 | Visibility | 48,621 | 406,182 | 11.9702 | 11.9934 | -0.0231 | 0.9981 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:tyres | audi-a4 | Tyres | 54,044 | 406,182 | 13.3054 | 10.2666 | 3.0388 | 1.296 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:body-chassis-structure | audi-a4 | Body, chassis, structure | 56,439 | 406,182 | 13.895 | 8.3605 | 5.5345 | 1.662 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:noise-emissions-and-leaks | audi-a4 | Noise, emissions and leaks | 18,343 | 406,182 | 4.516 | 4.9009 | -0.385 | 0.9214 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:steering | audi-a4 | Steering | 19,357 | 406,182 | 4.7656 | 4.5923 | 0.1733 | 1.0377 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:seat-belts-and-supplementary-restraint-systems | audi-a4 | Seat belts and supplementary restraint systems | 5,475 | 406,182 | 1.3479 | 1.4183 | -0.0704 | 0.9504 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:identification-of-the-vehicle | audi-a4 | Identification of the vehicle | 2,926 | 406,182 | 0.7204 | 0.6183 | 0.1021 | 1.1651 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:audi-a4:dvsa-2024-v1:road-wheels | audi-a4 | Road Wheels | 3,168 | 406,182 | 0.7799 | 0.5972 | 0.1827 | 1.3059 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | bmw-3-series | Lamps, reflectors and electrical equipment | 151,262 | 675,043 | 22.4078 | 23.5162 | -1.1085 | 0.9529 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:suspension | bmw-3-series | Suspension | 129,267 | 675,043 | 19.1494 | 19.9047 | -0.7553 | 0.9621 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:brakes | bmw-3-series | Brakes | 115,062 | 675,043 | 17.0451 | 14.3394 | 2.7057 | 1.1887 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:visibility | bmw-3-series | Visibility | 103,831 | 675,043 | 15.3814 | 11.9934 | 3.388 | 1.2825 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:tyres | bmw-3-series | Tyres | 87,422 | 675,043 | 12.9506 | 10.2666 | 2.684 | 1.2614 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:body-chassis-structure | bmw-3-series | Body, chassis, structure | 25,673 | 675,043 | 3.8032 | 8.3605 | -4.5573 | 0.4549 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:noise-emissions-and-leaks | bmw-3-series | Noise, emissions and leaks | 35,820 | 675,043 | 5.3063 | 4.9009 | 0.4054 | 1.0827 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:steering | bmw-3-series | Steering | 15,430 | 675,043 | 2.2858 | 4.5923 | -2.3065 | 0.4977 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:seat-belts-and-supplementary-restraint-systems | bmw-3-series | Seat belts and supplementary restraint systems | 11,017 | 675,043 | 1.632 | 1.4183 | 0.2138 | 1.1507 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:identification-of-the-vehicle | bmw-3-series | Identification of the vehicle | 5,932 | 675,043 | 0.8788 | 0.6183 | 0.2605 | 1.4213 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:bmw-3-series:dvsa-2024-v1:road-wheels | bmw-3-series | Road Wheels | 13,809 | 675,043 | 2.0456 | 0.5972 | 1.4484 | 3.4253 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | ds3 | Lamps, reflectors and electrical equipment | 55,492 | 158,830 | 34.938 | 23.5162 | 11.4218 | 1.4857 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:suspension | ds3 | Suspension | 34,785 | 158,830 | 21.9008 | 19.9047 | 1.9961 | 1.1003 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:brakes | ds3 | Brakes | 24,424 | 158,830 | 15.3774 | 14.3394 | 1.038 | 1.0724 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:visibility | ds3 | Visibility | 19,366 | 158,830 | 12.1929 | 11.9934 | 0.1995 | 1.0166 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:tyres | ds3 | Tyres | 21,393 | 158,830 | 13.4691 | 10.2666 | 3.2026 | 1.3119 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:body-chassis-structure | ds3 | Body, chassis, structure | 38,727 | 158,830 | 24.3827 | 8.3605 | 16.0222 | 2.9164 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:noise-emissions-and-leaks | ds3 | Noise, emissions and leaks | 11,217 | 158,830 | 7.0623 | 4.9009 | 2.1613 | 1.441 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:steering | ds3 | Steering | 12,030 | 158,830 | 7.5741 | 4.5923 | 2.9818 | 1.6493 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ds3:dvsa-2024-v1:road-wheels | ds3 | Road Wheels | 1,544 | 158,830 | 0.9721 | 0.5972 | 0.3749 | 1.6277 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | fiat-500 | Lamps, reflectors and electrical equipment | 83,099 | 477,588 | 17.3997 | 23.5162 | -6.1165 | 0.7399 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:suspension | fiat-500 | Suspension | 145,634 | 477,588 | 30.4936 | 19.9047 | 10.5889 | 1.532 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:brakes | fiat-500 | Brakes | 69,530 | 477,588 | 14.5586 | 14.3394 | 0.2191 | 1.0153 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:visibility | fiat-500 | Visibility | 46,063 | 477,588 | 9.6449 | 11.9934 | -2.3484 | 0.8042 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:tyres | fiat-500 | Tyres | 51,397 | 477,588 | 10.7618 | 10.2666 | 0.4952 | 1.0482 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:body-chassis-structure | fiat-500 | Body, chassis, structure | 28,202 | 477,588 | 5.9051 | 8.3605 | -2.4554 | 0.7063 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:noise-emissions-and-leaks | fiat-500 | Noise, emissions and leaks | 22,052 | 477,588 | 4.6174 | 4.9009 | -0.2836 | 0.9421 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:steering | fiat-500 | Steering | 6,210 | 477,588 | 1.3003 | 4.5923 | -3.292 | 0.2831 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:fiat-500:dvsa-2024-v1:seat-belts-and-supplementary-restraint-systems | fiat-500 | Seat belts and supplementary restraint systems | 3,002 | 477,588 | 0.6286 | 1.4183 | -0.7897 | 0.4432 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | ford-fiesta | Lamps, reflectors and electrical equipment | 585,642 | 1,959,383 | 29.8891 | 23.5162 | 6.3729 | 1.271 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:suspension | ford-fiesta | Suspension | 560,801 | 1,959,383 | 28.6213 | 19.9047 | 8.7166 | 1.4379 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:brakes | ford-fiesta | Brakes | 252,082 | 1,959,383 | 12.8654 | 14.3394 | -1.4741 | 0.8972 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:visibility | ford-fiesta | Visibility | 213,348 | 1,959,383 | 10.8885 | 11.9934 | -1.1048 | 0.9079 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:tyres | ford-fiesta | Tyres | 256,807 | 1,959,383 | 13.1065 | 10.2666 | 2.84 | 1.2766 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:body-chassis-structure | ford-fiesta | Body, chassis, structure | 142,862 | 1,959,383 | 7.2912 | 8.3605 | -1.0693 | 0.8721 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:noise-emissions-and-leaks | ford-fiesta | Noise, emissions and leaks | 141,307 | 1,959,383 | 7.2118 | 4.9009 | 2.3109 | 1.4715 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:steering | ford-fiesta | Steering | 119,969 | 1,959,383 | 6.1228 | 4.5923 | 1.5305 | 1.3333 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:seat-belts-and-supplementary-restraint-systems | ford-fiesta | Seat belts and supplementary restraint systems | 23,114 | 1,959,383 | 1.1797 | 1.4183 | -0.2386 | 0.8317 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:identification-of-the-vehicle | ford-fiesta | Identification of the vehicle | 11,313 | 1,959,383 | 0.5774 | 0.6183 | -0.0409 | 0.9338 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-fiesta:dvsa-2024-v1:road-wheels | ford-fiesta | Road Wheels | 12,826 | 1,959,383 | 0.6546 | 0.5972 | 0.0574 | 1.0961 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | ford-focus | Lamps, reflectors and electrical equipment | 364,036 | 1,348,944 | 26.9867 | 23.5162 | 3.4705 | 1.1476 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:suspension | ford-focus | Suspension | 299,972 | 1,348,944 | 22.2375 | 19.9047 | 2.3328 | 1.1172 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:brakes | ford-focus | Brakes | 153,736 | 1,348,944 | 11.3968 | 14.3394 | -2.9427 | 0.7948 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:visibility | ford-focus | Visibility | 138,215 | 1,348,944 | 10.2462 | 11.9934 | -1.7472 | 0.8543 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:tyres | ford-focus | Tyres | 178,328 | 1,348,944 | 13.2198 | 10.2666 | 2.9533 | 1.2877 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:body-chassis-structure | ford-focus | Body, chassis, structure | 117,645 | 1,348,944 | 8.7213 | 8.3605 | 0.3608 | 1.0432 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:noise-emissions-and-leaks | ford-focus | Noise, emissions and leaks | 81,047 | 1,348,944 | 6.0082 | 4.9009 | 1.1072 | 1.2259 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:steering | ford-focus | Steering | 37,064 | 1,348,944 | 2.7476 | 4.5923 | -1.8447 | 0.5983 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:seat-belts-and-supplementary-restraint-systems | ford-focus | Seat belts and supplementary restraint systems | 15,106 | 1,348,944 | 1.1198 | 1.4183 | -0.2984 | 0.7896 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:identification-of-the-vehicle | ford-focus | Identification of the vehicle | 7,665 | 1,348,944 | 0.5682 | 0.6183 | -0.0501 | 0.919 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-focus:dvsa-2024-v1:road-wheels | ford-focus | Road Wheels | 9,708 | 1,348,944 | 0.7197 | 0.5972 | 0.1224 | 1.205 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | ford-kuga | Lamps, reflectors and electrical equipment | 51,571 | 396,566 | 13.0044 | 23.5162 | -10.5118 | 0.553 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:suspension | ford-kuga | Suspension | 23,225 | 396,566 | 5.8565 | 19.9047 | -14.0482 | 0.2942 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:brakes | ford-kuga | Brakes | 35,414 | 396,566 | 8.9302 | 14.3394 | -5.4093 | 0.6228 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:visibility | ford-kuga | Visibility | 38,917 | 396,566 | 9.8135 | 11.9934 | -2.1799 | 0.8182 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:tyres | ford-kuga | Tyres | 36,648 | 396,566 | 9.2413 | 10.2666 | -1.0252 | 0.9001 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:body-chassis-structure | ford-kuga | Body, chassis, structure | 14,475 | 396,566 | 3.6501 | 8.3605 | -4.7104 | 0.4366 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:noise-emissions-and-leaks | ford-kuga | Noise, emissions and leaks | 9,440 | 396,566 | 2.3804 | 4.9009 | -2.5205 | 0.4857 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:steering | ford-kuga | Steering | 6,653 | 396,566 | 1.6777 | 4.5923 | -2.9147 | 0.3653 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:seat-belts-and-supplementary-restraint-systems | ford-kuga | Seat belts and supplementary restraint systems | 1,636 | 396,566 | 0.4125 | 1.4183 | -1.0057 | 0.2909 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:identification-of-the-vehicle | ford-kuga | Identification of the vehicle | 1,669 | 396,566 | 0.4209 | 0.6183 | -0.1974 | 0.6807 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:ford-kuga:dvsa-2024-v1:road-wheels | ford-kuga | Road Wheels | 1,515 | 396,566 | 0.382 | 0.5972 | -0.2152 | 0.6397 | low_sample | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:honda-civic:dvsa-2024-v1:lamps-reflectors-and-electrical-equipment | honda-civic | Lamps, reflectors and electrical equipment | 193,196 | 411,763 | 46.9192 | 23.5162 | 23.403 | 1.9952 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:honda-civic:dvsa-2024-v1:suspension | honda-civic | Suspension | 135,038 | 411,763 | 32.7951 | 19.9047 | 12.8904 | 1.6476 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:honda-civic:dvsa-2024-v1:brakes | honda-civic | Brakes | 76,460 | 411,763 | 18.5689 | 14.3394 | 4.2295 | 1.295 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:honda-civic:dvsa-2024-v1:visibility | honda-civic | Visibility | 53,521 | 411,763 | 12.998 | 11.9934 | 1.0046 | 1.0838 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
fail-group:honda-civic:dvsa-2024-v1:tyres | honda-civic | Tyres | 43,690 | 411,763 | 10.6105 | 10.2666 | 0.3439 | 1.0335 | ok | dvsa-2024-v1 | motriskindex-families-2024-v2 |
Note on checksums. The
README.mdin this repository carries a YAML dataset-card header required by the Hugging Face hub, so its SHA-256 differs from the entry inchecksums.txt. That entry refers to the canonical README published at motriskindex.co.uk/data/README.md and on Zenodo. All data files are byte-identical across mirrors.
MOT Risk Index Evidence Capsule — 2024 v2
This package is a machine-readable release of aggregated MOT inspection outcomes for 34 vehicle families in Great Britain. It contains family-level initial-test outcomes and a separate family-by-defect-group table that shows where failure items are over-represented against the national class-4 benchmark. The canonical dataset page is UK MOT failure rates 2024.
Files
motriskindex-families-2024-v2.csv— one row per published vehicle family.motriskindex-defect-groups-2024-v2.csv— one row per published family and prespecified top-level defect group.manifest.json— release metadata and a source, licence, unit, denominator and one-sentence definition for every CSV column.CITATION.cff— citation metadata for repositories and research catalogues.checksums.txt— SHA-256 digests for every payload and metadata file in the package.
Every CSV row has a stable claim_id. No vehicle-level records, registration marks or geographic slices are included.
How it was assembled
The source is the DVSA Anonymised MOT tests and results bulk dataset for calendar 2024. The family denominator includes first-time class-4 examinations (test_type=NT) with outcomes P, F or PRS; retest records are excluded from these rates. PRS means a failing defect was found during the initial examination and rectified at the test station, so the initial-failure numerator is F + PRS; the strict-fail column counts F only.
The headline metric is the age-adjusted MOT initial-failure ratio. For each family, observed F + PRS initial failures are divided by the expected count obtained by applying frozen national initial-failure rates to that family's tests in the following age strata: under 3 years, each single year from 3 through 19, 20 years and over, and unknown. The result is multiplied by 100, so 100 is the outcome expected for that age profile. The interval columns are 95% Wilson-score intervals on the observed initial-failure proportion, scaled by the same frozen expected count.
Defect-group rates count F or M coded failure-item occurrences, not distinct vehicles and not the percentage of tests with any item in that group. A test can contain more than one failure item. failure_items_per_100_tests uses the family's eligible initial tests as its denominator; excess_pp subtracts the national rate for the same group, and over_representation_ratio divides by that national rate.
Families or defect-group cells with n < 1,000 are omitted completely. Published rows with n from 1,000 through 5,000 inclusive have confidence=low_sample. When exactly one cell in a complete family defect-group slice is suppressed, the next-smallest cell is also omitted so the first cannot be reconstructed by subtraction.
Scope and limitations
These are observational inspection outcomes, not causal estimates. Mileage is not adjusted or aligned between families, and differences may also reflect fleet use, fuel mix, maintenance, test presentation and other residual confounding. MOT inspections do not observe all mechanical or electronic systems, so the data do not measure breakdowns, owner complaints or the condition of an individual vehicle.
The release covers Great Britain, not Northern Ireland, and calendar 2024 only. Make and model values in the source are free text; the family mapping is explicit and conservative. See manifest.json for the exact grain and denominator of each column.
Licence and attribution
Source data is Crown copyright and was supplied by the Driver and Vehicle Standards Agency. It is used under the Open Government Licence v3.0. Contains public sector information licensed under the Open Government Licence v3.0.
Original MOT Risk Index derivations and metadata in this package are licensed under CC BY 4.0. Suggested attribution: “MOT Risk Index Research Desk, MOT Risk Index Evidence Capsule — 2024 v2, https://motriskindex.co.uk/statistics/mot-failure-rates/”. The underlying DVSA material remains under the Open Government Licence v3.0.
Questions and corrections: data@motriskindex.co.uk.
Citation
Ivitskiy, I. (2026). MOT Risk Index Evidence Capsule: Great Britain vehicle-family and defect-group aggregates, 2024 (Version 2024-v2) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.22071425
Mirrors: Hugging Face · GitHub
- Downloads last month
- 45