Pedestrian clearance time s
pedestrian_clearance_time_s
Calculated pedestrian clearance time
Scores if within ±3% of the reference value.
Calculates the pedestrian clearance interval for a signalised crossing from crosswalk length and assumed walking speed. The deterministic relation divides crossing distance by walking speed and reports both exact and whole-second rounded flashing clearance time.
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.
2 inputs
Included directly in every task prompt.
Crosswalk length
crosswalk_length_m
Crosswalk length
Visible in easier tasks and withheld in one or more harder tiers.
Walking speed
walking_speed_m_s
Design pedestrian walking speed
Hidden at hard difficulty.
2 outputs
pedestrian_clearance_time_s
Calculated pedestrian clearance time
Scores if within ±3% of the reference value.
pedestrian_clearance_rounded_s
Clearance time rounded up to a whole second
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
Short crossing with all inputs visible
All inputs given
Urban or arterial crossing
Some inputs hidden
Walking speed hidden in accessibility context
Hidden inputs
Prompt replacement text
Use the design walking speed implied by {{ archetype.description }}.
Walking speed m s restricted to: 0.8
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 pedestrian clearance timing.2 3## Given4 5| Parameter | Value | Unit |6|-----------|-------|------|7| Crosswalk length | {{ crosswalk_length_m }} | m |8{% if walking_speed_m_s is defined %}9| Walking speed | {{ walking_speed_m_s }} | m/s |10{% endif %}11 12## Constraints13 14- Use `clearance_time = crosswalk_length / walking_speed`.15- Round the operational flashing clearance value up to the next whole second.16 17## Output Format18 19Include a JSON block with exactly these keys:20 21```json22{23 "pedestrian_clearance_time_s": <numeric_value>,24 "pedestrian_clearance_rounded_s": <numeric_value>25}26```27 28Write your complete solution to `/workspace/output.md`.29 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.
short_crossing
Short urban pedestrian crossing
wide_crossing
Wide arterial or staged crossing
accessible_crossing
Accessible design crossing with slower walking speed
hospital-precinct-accessible-crossing-preview — hard difficulty, some inputs hidden.
Accessible design crossing with slower walking speed. hospital-precinct. Required outputs: pedestrian_clearance_time_s, pedestrian_clearance_rounded_s
Scenario context and visible inputs.
Executable tool: pedestrian-clearance-time_calc.py
Inputs withheld at this difficulty.
Walking speed m s
walking_speed_m_s
Stand-in text in the prompt
Use the design walking speed implied by {{ archetype.description }}.
The scored JSON answer schema.
{
"pedestrian_clearance_time_s": <number>,
"pedestrian_clearance_rounded_s": <number>
}