Maximum train speed m s
maximum_train_speed_m_s
Maximum train speed converted to m/s
Scores if within ±1% of the reference value.
Calculates total level crossing warning time by summing minimum road-user warning time, clearance time, barrier lowering time, and system delay. The template converts maximum train speed to m/s and computes the required strike-in detection distance.
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.
5 inputs
Included directly in every task prompt.
Maximum train speed kmh
maximum_train_speed_kmh
Maximum train speed
Minimum warning time
minimum_warning_time_s
Minimum road-user warning time
Road user clearance time
road_user_clearance_time_s
Road user clearance time
Barrier lowering time
barrier_lowering_time_s
Barrier lowering or equipment operating time
Visible in easier tasks and withheld in one or more harder tiers.
System delay
system_delay_s
Signal processing and system delay
Hidden at hard difficulty.
4 outputs
maximum_train_speed_m_s
Maximum train speed converted to m/s
Scores if within ±1% of the reference value.
total_warning_time_s
Total warning time used for strike-in
Scores if within ±3% of the reference value.
strike_in_distance_m
Strike-in detection distance
Scores if within ±3% of the reference value.
minimum_warning_margin_s
Additional time above the minimum warning time
Scores if within ±3% 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
Low-speed crossing with all timing values visible
All inputs given
Low-speed or mainline crossing
Some inputs hidden
System delay hidden in signalling context
Hidden inputs
Prompt replacement text
Use the signalling system delay implied by {{ archetype.description }}.
System delay s restricted to: 3
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 rail signalling engineer calculating level crossing strike-in distance.2 3## Given4 5| Parameter | Value | Unit |6|-----------|-------|------|7| Maximum train speed | {{ maximum_train_speed_kmh }} | km/h |8| Minimum warning time | {{ minimum_warning_time_s }} | s |9| Road user clearance time | {{ road_user_clearance_time_s }} | s |10| Barrier lowering time | {{ barrier_lowering_time_s }} | s |11{% if system_delay_s is defined %}12| System delay | {{ system_delay_s }} | s |13{% endif %}14 15## Constraints16 17- Convert train speed from km/h to m/s.18- Total warning time equals the sum of all timing components.19- Strike-in distance equals train speed in m/s times total warning time.20- Minimum warning margin equals total warning time minus minimum warning time.21 22## Output Format23 24Include a JSON block with exactly these keys:25 26```json27{28 "maximum_train_speed_m_s": <numeric_value>,29 "total_warning_time_s": <numeric_value>,30 "strike_in_distance_m": <numeric_value>,31 "minimum_warning_margin_s": <numeric_value>32}33```34 35Write your complete solution to `/workspace/output.md`.36 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.
low_speed_crossing
Low-speed urban or yard crossing
mainline_crossing
Mainline level crossing with active controls
regional-mainline-mainline-crossing-preview — hard difficulty, some inputs hidden.
Mainline level crossing with active controls. regional-mainline. Required outputs: maximum_train_speed_m_s, total_warning_time_s, strike_in_distance_m, minimum_warning_margin_s
Scenario context and visible inputs.
Executable tool: warning-time-calculation_calc.py
Inputs withheld at this difficulty.
System delay s
system_delay_s
Stand-in text in the prompt
Use the signalling system delay implied by {{ archetype.description }}.
The scored JSON answer schema.
{
"maximum_train_speed_m_s": <number>,
"total_warning_time_s": <number>,
"strike_in_distance_m": <number>,
"minimum_warning_margin_s": <number>
}