LIVEdataset releasetasks 552models 18last submission · built
task library
built templatesignal-timingwith-tool

All Red Interval Calculation

Calculates the all-red clearance interval for a vehicle to clear an intersection after yellow. The reduced method divides intersection width plus vehicle length by vehicle speed, rounds the operational interval to one decimal place, and caps it at six seconds.

inputs

3 fields

context

2 archetypes

engine

with-tool

outputs

3 scored fields

contract fields

Parameter Map

3 inputs to 3 scored outputs

  • intersection_width_m

    float

    Distance across the conflict area

    3 to 80m
  • vehicle_length_m

    float

    Design vehicle length

    3 to 30m
  • vehicle_speed_m_s

    floathidden in hard

    Vehicle clearance speed

    1 to 35m/s
clearance_distance_mtol 0.03

Total clearance distance

raw_all_red_interval_stol 0.03

Uncapped clearance interval

all_red_interval_stol 0.01

Rounded all-red interval capped at six seconds

visibility contract

Difficulty Ladder

all_giveneasy

Urban intersection with all values visible

all fields visible
all_givenmedium

Urban or wide intersection

all fields visible
partialhard

Vehicle speed hidden in clearance context

vehicle_speed_m_s

scenario bands

Archetype Atlas

urban_intersection

2 contexts

Urban signalised intersection

intersection_width_m8 to 25
vehicle_length_m4 to 12
vehicle_speed_m_s6 to 16

urban-intersection / arterial-road

wide_intersection

2 contexts

Wide intersection with longer design vehicles

intersection_width_m20 to 60
vehicle_length_m8 to 25
vehicle_speed_m_s5 to 18

freight-route / multi-lane-arterial

rendered task

Generation Preview

freight-route-wide-intersection-preview

difficulty
hard
visibility
partial
archetype
wide_intersection
site context
freight-route
instruction excerptall-red-interval-calculation_calc.py

visible fields

  • intersection_width_m20 to 60 m
  • vehicle_length_m8 to 25 m

withheld schema

vehicle_speed_m_sclearance_distance_mraw_all_red_interval_sall_red_interval_s
Wide intersection with longer design vehicles. freight-route. Required outputs: clearance_distance_m, raw_all_red_interval_s, all_red_interval_s