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

Yellow Interval Calculation

Calculates the yellow change interval for a traffic signal approach using the metric ITE kinematic equation. The template converts approach speed to m/s, applies perception-reaction time, deceleration rate, and road grade, then reports both raw and one-decimal rounded yellow interval.

inputs

4 fields

context

3 archetypes

engine

with-tool

outputs

4 scored fields

contract fields

Parameter Map

4 inputs to 4 scored outputs

  • approach_speed_kmh

    float

    Approach speed

    10 to 120km/h
  • perception_reaction_time_s

    float

    Driver perception-reaction time

    0.5 to 2.5s
  • deceleration_rate_m_s2

    float

    Comfortable deceleration rate

    1.5 to 5m/s2
  • road_grade_pct

    floathidden in hard

    Approach grade, positive for upgrade and negative for downgrade

    -10 to 10%
approach_speed_m_stol 0.01

Approach speed converted to metres per second

grade_adjusted_denominatortol 0.03

Denominator in the metric ITE stopping term

yellow_interval_stol 0.03

Calculated yellow interval

yellow_interval_rounded_stol 0.01

Yellow interval rounded to one decimal place

visibility contract

Difficulty Ladder

all_giveneasy

Urban approach with all kinematic inputs given

all fields visible
all_givenmedium

Mixed speed approaches and grade effects

all fields visible
partialhard

Grade value hidden in the site context

road_grade_pct

scenario bands

Archetype Atlas

urban_arterial

2 contexts

Urban arterial signal approach

approach_speed_kmh40 to 70
perception_reaction_time_s0.8 to 1.2
deceleration_rate_m_s22.5 to 3.5
road_grade_pct-4 to 4

urban-intersection / arterial-road

high_speed_approach

2 contexts

High-speed signalised approach

approach_speed_kmh70 to 110
perception_reaction_time_s1 to 1.5
deceleration_rate_m_s22 to 3.2
road_grade_pct-6 to 6

rural-highway / outer-urban-arterial

steep_grade_approach

2 contexts

Signal approach with material grade effect

approach_speed_kmh40 to 90
perception_reaction_time_s1 to 1.5
deceleration_rate_m_s22 to 3
road_grade_pct-10 to 10

hilly-arterial / bridge-approach

rendered task

Generation Preview

hilly-arterial-steep-grade-approach-preview

difficulty
hard
visibility
partial
archetype
steep_grade_approach
site context
hilly-arterial
instruction excerptyellow-interval-calculation_calc.py

visible fields

  • approach_speed_kmh40 to 90 km/h
  • perception_reaction_time_s1 to 1.5 s
  • deceleration_rate_m_s22 to 3 m/s2

withheld schema

road_grade_pctapproach_speed_m_sgrade_adjusted_denominatoryellow_interval_syellow_interval_rounded_s
Signal approach with material grade effect. hilly-arterial. Required outputs: approach_speed_m_s, grade_adjusted_denominator, yellow_interval_s, yellow_interval_rounded_s