Clearance distance
clearance_distance_m
Total clearance distance
Scores if within ±3% of the reference value.
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.
with-tool: The model is given an executable Python calculator script.
Standards
One template produces many comparable benchmark tasks while keeping the scoring contract fixed.
01
The reusable contract shown on this page.
02
An archetype and site context are sampled.
03
Inputs may be hidden at harder tiers.
04
The model responds with the declared outputs.
Inputs the model receives, and the outputs it is scored on.
3 inputs
Included directly in every task prompt.
Intersection width
intersection_width_m
Distance across the conflict area
Vehicle length
vehicle_length_m
Design vehicle length
Visible in easier tasks and withheld in one or more harder tiers.
Vehicle speed
vehicle_speed_m_s
Vehicle clearance speed
Hidden at hard difficulty.
3 outputs
clearance_distance_m
Total clearance distance
Scores if within ±3% of the reference value.
raw_all_red_interval_s
Uncapped clearance interval
Scores if within ±3% of the reference value.
all_red_interval_s
Rounded all-red interval capped at six seconds
Scores if within ±1% of the reference value.
Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.
All inputs given
Urban intersection with all values visible
All inputs given
Urban or wide intersection
Some inputs hidden
Vehicle speed hidden in clearance context
Hidden inputs
Prompt replacement text
Use the clearance speed implied by {{ archetype.description }}.
Vehicle speed m s restricted to: 12
The exact instruction and parameter contract used to generate this task, pinned to the published library source.
/workspace
Teal lines show Jinja input conditions, not task visibility policy. A line renders only when that input or tool is visible.
1You are a senior traffic signals engineer calculating an all-red clearance interval.2 3## Given4 5| Parameter | Value | Unit |6|-----------|-------|------|7| Intersection width | {{ intersection_width_m }} | m |8| Vehicle length | {{ vehicle_length_m }} | m |9{% if vehicle_speed_m_s is defined %}10| Vehicle speed | {{ vehicle_speed_m_s }} | m/s |11{% endif %}12 13## Constraints14 15- Clearance distance equals intersection width plus vehicle length.16- Raw all-red interval equals clearance distance divided by vehicle speed.17- Round the operational all-red interval to one decimal place and cap it at 6.0 s.18 19## Output Format20 21Include a JSON block with exactly these keys:22 23```json24{25 "clearance_distance_m": <numeric_value>,26 "raw_all_red_interval_s": <numeric_value>,27 "all_red_interval_s": <numeric_value>28}29```30 31Write your complete solution to `/workspace/output.md`.32 Each generated task is drawn from one of these realistic scenario bands.
Site contexts ground each scenario in a real locale the model can use to infer hidden values.
urban_intersection
Urban signalised intersection
wide_intersection
Wide intersection with longer design vehicles
freight-route-wide-intersection-preview — hard difficulty, some inputs hidden.
Wide intersection with longer design vehicles. freight-route. Required outputs: clearance_distance_m, raw_all_red_interval_s, all_red_interval_s
Scenario context and visible inputs.
Executable tool: all-red-interval-calculation_calc.py
Inputs withheld at this difficulty.
Vehicle speed m s
vehicle_speed_m_s
Stand-in text in the prompt
Use the clearance speed implied by {{ archetype.description }}.
The scored JSON answer schema.
{
"clearance_distance_m": <number>,
"raw_all_red_interval_s": <number>,
"all_red_interval_s": <number>
}