Data catalog / Guides / Edge-case driving data

Edge-case driving data: cut-ins, double parking and people in the path

The moments that break driving stacks are rare, so they are hard to collect. This guide covers real road video of those moments with the vehicle's own motion on the same clock: what is in each clip, how to read it, and what it is good for.

Which edge cases

  • People in the path: pedestrians and cyclists crossing in front of the car, mostly at crosswalks.
  • Work zones: cones, barrels, lane shifts and machinery in the lane.
  • Hard braking: sharp stops confirmed on the vehicle's own accelerometer, with the reason visible on camera.
  • Night, wet road and glare: the same events in hard light and weather.
  • Cut-ins and double-parked vehicles: a car cutting in close, a van stopped in the lane. We build these to order, with junction conflicts and curbside loading.

What each clip holds

PartWhat it holds
Video16 s from the road-facing camera, 1280×720 at 30 fps. Faces and licence plates blurred. No view inside the vehicle, no audio.
Event timeThe labelled moment sits 8 s into the clip, with the key road user's time where it applies.
MotionGlobal Positioning System (GPS) track in local metres with speed and course, and inertial measurement unit (IMU) accelerometer and gyro readings, both at 10 Hz on the video's clock.
LabelsEvent category, time of day, road surface, weather tag and the key road user's class.
IdentityOpaque clip ids. No device ids, coordinates or street addresses in any file.

Read one clip

Download the free sample from long-tail driving events, unzip it, and print the event with the car's speed either side of it:

event_speed.py

Tested 2026-11-30 · Python 3.15.2 · standard library only
# Print a long-tail clip's event and the vehicle's speed two seconds either side of it.
# usage: python event_speed.py roaddata-long-tail-events-sample/clips/lt_hb_0007.json
import json, sys
d = json.load(open(sys.argv[1]))
m = d["meta"]; t0 = m["event_time_s"]
who = (m.get("key_road_user") or {}).get("cls", "-")
print(m["clip_id"], m["category"], f"event at {t0} s, key road user: {who}")
win = [p for p in d["gps_track"] if t0 - 2 <= p["t"] <= t0 + 2]
print(f"speed {win[0]['speed_mps']:.1f} m/s at {win[0]['t']:.1f} s -> {win[-1]['speed_mps']:.1f} m/s at {win[-1]['t']:.1f} s")
python event_speed.py roaddata-long-tail-events-sample/clips/lt_hb_0007.json
What it printed when we ran it
lt_hb_0007 hard_brake event at 8.0 s, key road user: car
speed 7.1 m/s at 6.0 s -> 0.0 m/s at 10.0 s

What it is good for

  • World-model evaluation: the real outcome of each moment, to compare a generated future against.
  • Planning and prediction tests: rare interactions, with the car's own motion as it actually happened.
  • Scenario seeding: each clip's motion track and event time can seed a replay or a scenario. See the OpenSCENARIO guide.

Limits to know

  • Positions of other road users are estimated from one forward camera with nominal lens calibration: about 1–3 m at typical city ranges.
  • Telemetry and video share the device clock to within about half a second; the offset is not corrected per clip.
  • Most clips are from New York City.
  • Traffic-signal state is not labelled.
  • Every clip is checked by eye before it ships: the event is visible and the view is clear.