Dataset Factory★ EST. 2026 · BEST AT 800×600 ★
★ WELCOME TO THE DATASET FACTORY ★ PUBLIC DATA → CHECKED BUILDS → HONEST BASELINES ★ NO POP-UPS ★ NO COOKIES ★ NO TRACKERS ★ HAND-MADE HTML ★ UNDER CONSTRUCTION SINCE THE NINETIES ★

Fra FORM54 Hazmat Release

At the moment a U.S. train accident involving hazardous-material cars is first reported, will at least one of those cars release hazardous material?

Versioned research data. Read the suitability requirements before interpreting scores.

Suitability and evaluation

Evaluation setting: retrospective research. Read the prediction setting and limitations below. Public validation is development data; downloadable holdout labels must stay outside the evaluated agent workspace.

At a glance

QuestionAt the moment a U.S. train accident involving hazardous-material cars is first reported, will at least one of those cars release hazardous material?
FieldU.S. Department of Transportation, Federal Railroad Administration (FRA), Office of Railroad Safety; published on data.transportation.gov / binary-classification
Rows25,427
Documented splits3
This versionv-c59d614ee9c4ce97
Released2026-11-15
Validation ROC AUC0.6852224885803905
Validation Brier0.044073485641066425
Artifactaedd811fdb6a80fdeb6828c1ba8bc2eeb80c8446d597ba57a536adb8e384da7e

Get this dataset

How to load it

from datasets import load_dataset
ds = load_dataset('earino/factory-fra-form54-hazmat-release', revision='v-c59d614ee9c4ce97')

The version links and checksums identify this artifact. Exclude the labelled holdout from the agent's workspace when running an evaluation.

What is inside

SplitRowsPositive labels
eval7,697—
holdout5,189—
train12,541—

Files and checksums

DownloadBytesSHA-256
LICENSE-EVIDENCE.json706753946a7542c57df822a76334cc3df9e87b443f780467e6a35c05255cc7d5bf8
LICENSE.md1,1038443ff1f30427c89366446fddbbed84511f5fe7abc708e1184ae0b57ae0286af
README.md7,1445df3274d3468c882bff3833c9974a75d8f486a4e0d4b8eed48b9dd56bf32e327
SOURCES.json1,69825a46f6e3b1088836c93cab8bb1742fdbe4869fa268e1da333e0960f655e9d32
evaluation.json6,69963ea65859671155576c5c79324acabba3b8f325af0b543690bbe54612fea68ae
extract__meta.json1,824bfbff6c657c98172cbffd2db58d6bc792b4cd1fa733b8696a5b20e5c031a229c
extract__private__holdout.csv643,644731d81bbea46929a907c31e86bee910344b2aaa49b0004a52727706c8c383673
extract__public__eval.csv946,8684ed8d5fa7c0c3f9dfc3359723e4201ca85b9ee4a664ea93a2a55bd3312fc8c24
extract__public__train.csv1,542,7890e4929ad8326d992e3942bb50244e857c4ad11bbd2c8e3647bbce7714b6f65eb
extract__quality.json23,953cfeec6b9b8d47668908085133529b0a7dd05bb181cbdc0f3f225990e04988f0d
get_dataset.py3,680fad89222d50f9d9709225c34909be74c591df409c08b8b5951eba9d3cadfdd48
qualification.json17,6658d45be55dd6fac13fb4fb3d69393e507e3a03c4e89763e885679d0ce08d49847
reproduction__LICENSE-CC0-1.0.txt7,048a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499
reproduction__LICENSE-MIT.txt1,12456b932ff064e5da113ae10175c8546325f64f26e1ece71683ffcbf8b2304fe1c
reproduction__artifact_scrub.py11,3698c663253e691a7b8751f9c853b40a3752a833360caafb1ea8e8f534e64af4b68
reproduction__build.py29,460669dcbe8bf0474383f3c1bdee308594678995e64f26f88c28bf0b222d21025f2
reproduction__construction.json27,1200b6a6a29a1874c463b264eca3cb17d440d4bc18e0756dbb2bdc8e6c83ee654c9
reproduction__dataset_package.py7,927c2364defe58dcc99322be59a1bb04894ce00e823ce37afeb37bc31012f744327
reproduction__dataset_run.py12,3818085fae14d6e93b852e692e18c1ef72113a3601f48f78901b6d1ae6db278de57
reproduction__get_dataset.py3,680fad89222d50f9d9709225c34909be74c591df409c08b8b5951eba9d3cadfdd48
reproduction__leakage_battery.py17,379adbf7ee0aca0012b78cc1f1e4aeb968a23717cae30f66a02e080215e75f830e3
reproduction__provenance.json57311a9c4f355a6345b1a64b1bb34afd669daa68a62b53b6635c45f9861295a81a7
reproduction__qualify_dataset.py66,067bff6d43d0904182e2612c32bab702e41addbf389904a236c209e78be39e37a6b
reproduction__recovery_recipes.py17,609f64c542fcda232169c95ace17421b45275194b934938c0ea4c9b68e6f844ad0e
reproduction__requirements.txt1605c72f3268174d20364624f76680e189c408a05dba2e7b8cfe12d077b3865e7f0
reproduction__source.json18,783132f69cdea067271cffb8999c99096fdb556e2db6088987650c7aa910b44c284
reproduction__source_io.py5,6070c60eed4968cd342148efbaac7e4fa98f00708d8e6c14c0929928687b9af1ea3
reproduction__train.py2,500a3c6bcf13735bc85c52129ded68f839090dffdc266ebc3810dc61b2e6ea5e7e8
reproduction__validate.py1,277b597e7f84fed614e64b4a86fbecbd6ec0145916a24d0d221a796586976418e7b
reproduction__validate.sh4823f06ca48f11c2e05d331b4d8394284925de660c1d4b086d2f8243959e83b7e6d
source-checks.json10,747f46babd6245ad28b7fcfab7c3c900a991332a3fc9734af3f9e1274c33fe916e2
source-snapshot.tar.gz1,240,87554be028a3a72605e8e2240ad382d7fbb848ece1e53495418682d0fd0587b3628
verify_dataset.py1,276f4a4bb7f565cdbd075c520621f881876b491eaed91a5e6e70afb31e4753f9834

Release notes · 2026-11-15

At the moment a U.S. train accident involving hazardous-material cars is first reported, will at least one of those cars release hazardous material?

Population: Every unique train accident in the FRA Form 54 unique-train-accident extract, covering accident years 1975 through 2026, whose consist included at least one car carrying regulated hazardous materials (hazmat car count of at least 1). The publisher view title claims no grade crossings, but the current snapshot still contains a crossing block, so the builder explicitly excludes records with a non-empty gxid or accidenttype Hwy-rail crossing or RR grade crossing before labeling. Accidents with an unrecorded release count are dropped rather than labeled negative.

Target: hazmatreleasedcars >= 1, i.e. at least one railcar released hazardous material, among accidents whose train consist included at least one car carrying regulated hazardous materials (hazmatcars >= 1)

Prediction time: At first notification of the accident, when the crew and dispatcher report it and before Form FRA 6180.54 is prepared. Only circumstances a responder can observe or obtain on scene are shipped: consist counts and tonnage, speed, track type and class, weather, visibility, temperature, the apparent accident type, carrier class and state.

Splits: Fixed chronological boundaries on accident year, one row per accident, no random shuffling: train = accidents through 1999-12-31 (~13,100 hazmat-car accidents, ~1,400 releases); eval = 2000-01-01 to 2012-12-31 (~8,000 accidents, ~330 releases); holdout = 2013-01-01 onward (~5,900 accidents, ~185 releases; 2026 is partial). No embargo is applied because the label is realized inside the same accident record rather than in a forward window, so there is no label-overlap span to purge; the design also has no lag or rolling-history features, and each accident appears exactly once, so no later row can encode an earlier row's label.

Outcome horizon: Realized within the accident sequence itself and documented when the railroad files Form 6180.54 (reports are filed after the accident, and railroads may revise for up to five years); this is a same-event outcome, not a multi-year forward window.

Inputs: trainspeed: Recorded or estimated train speed at the time of the accident, in miles per hour.; equipmenttype: Equipment type involved (freight train, passenger, yard movement and similar).; hazmatcars: Number of cars in the consist carrying regulated hazardous materials; also the frozen population filter.; loadedfreightcars: Number of loaded freight cars in the consist.; emptyfreightcars: Number of empty freight cars in the consist.; grosstonnage: Gross tonnage of the train.; tracktype: Track type at the accident point (main, siding, yard, industry).; trackclass: FRA track class code from the railroad track charts, kept as a code because the code set includes non-numeric entries.; weathercondition: Weather condition at the time (clear, rain, snow, fog and similar).; visibility: Visibility code such as daylight versus darkness.; temperature: Ambient temperature at the accident scene in degrees Fahrenheit; missing values remain missing and are never filled with zero.; accidenttype: Nature of the event as it presents on scene (derailment, collision, other).; reporting_railroad_class: Reporting railroad class as published by FRA (Class I, Class II, Class III, Not Assigned, Unassigned), a carrier class identity attribute; not a fallback to the reporting railroad code.; stateabbr: State in which the accident occurred.

Recorded structural checks and baselines

PASSED Gate 1.6.1.

Existing unmodified runner baseline on public validation only; no holdout scoring

These historical checks do not establish availability at each prediction time or protection against every shortcut. Scores below describe the recorded protocol.

Limits

Source, licences, and citation

U.S. Department of Transportation, Federal Railroad Administration (FRA), Office of Railroad Safety; published on data.transportation.gov

No attribution is required for this U.S. Government work; recommended credit: U.S. Department of Transportation, Federal Railroad Administration, Rail Equipment Accident/Incident Data (Form FRA 6180.54), data.transportation.gov

Source: Public Domain U.S. Government (Socrata license identifier USGOV_WORKS). Compilation: CC0-1.0. Code and documentation: MIT.

Our additional compilation rights only; upstream terms remain in force.

Suggested citation

Versions

★ THANKS FOR VISITING · BOOKMARK THIS PAGE · TELL A FRIEND ABOUT THE DATASET FACTORY · SIGN THE GUESTBOOK BEFORE YOU LEAVE ★