Gap time s
gap_time_s
Total gap acceptance time including all corrections (s)
Scores if within ±3% of the reference value.
Calculates the required intersection sight distance (ISD) along the major road at unsignalised intersections using ISD = V × t_gap / 3.6 per AGRD Part 4A. Adjusts the base gap acceptance time for control type, vehicle class, approach grade, and number of crossing lanes, then derives sight-triangle dimensions for clearance verification.
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.
6 inputs
Included directly in every task prompt.
Design speed kmh
design_speed_kmh
Design speed of the major road V
Control type
control_type
Traffic control on the minor approach
Approach grade pct
approach_grade_pct
Grade of the minor-road approach (positive = upgrade from intersection)
Num lanes to cross
num_lanes_to_cross
Number of lanes on the major road the minor-road vehicle must cross
Visible in easier tasks and withheld in one or more harder tiers.
Vehicle type
vehicle_type
Design vehicle entering from the minor road
Hidden at hard difficulty.
Setback distance
setback_distance_m
Distance from major-road edge to driver eye on the minor approach
Hidden at hard difficulty.
4 outputs
gap_time_s
Total gap acceptance time including all corrections (s)
Scores if within ±3% of the reference value.
required_isd_m
Required intersection sight distance along the major road (m)
Scores if within ±3% of the reference value.
sight_triangle_major_m
Sight triangle leg along the major road (m)
Scores if within ±3% of the reference value.
sight_triangle_minor_m
Sight triangle leg along the minor road (m)
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
All parameters given, flat grade, passenger vehicle on a two-lane road
All inputs given
All parameters given, any intersection type including steep grades and extra lanes
Some inputs hidden
Vehicle type and setback distance hidden — agent must infer from intersection context
Hidden inputs
Prompt replacement text
The intersection serves {{ archetype.description }} ({{ archetype.site_context }}). Select an appropriate design vehicle and setback distance for this context.
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 civil engineer specializing in road geometry and intersection design.2 3## Problem4 5Calculate the required intersection sight distance (ISD) for a minor-road approach at an unsignalised intersection.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Major road design speed (V) | {{ design_speed_kmh }} | km/h |12| Control type | {{ control_type }} | - |13| Approach grade | {{ approach_grade_pct }} | % |14| Lanes to cross | {{ num_lanes_to_cross }} | lanes |15{% if vehicle_type is defined %}16| Design vehicle | {{ vehicle_type }} | - |17{% endif %}18{% if setback_distance_m is defined %}19| Setback distance | {{ setback_distance_m }} | m |20{% endif %}21{% if archetype_description is defined %}22 23### Site Conditions24 25{{ archetype_description }}26{% endif %}27 28{% if tool_available %}29## Available Tool30 31An intersection sight distance calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:32 33```bash34python3 /workspace/{{ meta.name }}_calc.py --help35```36 37You may use this tool to verify your calculations or compute values directly.38{% endif %}39 40## Required41 42Calculate the following:43 441. Total gap acceptance time t_gap (s)452. Required intersection sight distance ISD (m)463. Sight triangle leg along the major road (m)474. Sight triangle leg along the minor road (m)48 49## Applicable Standards50 51- Austroads Guide to Road Design Part 4A (AGRD Part 4A §3)52 53## Constraints54 55- No internet access is available. Work from engineering knowledge and the provided tool.56- The intersection sight distance is calculated as:57 - ISD = V × t_gap / 3.658 - where V is the major road design speed in km/h and t_gap is the total gap acceptance time in seconds59- Base gap acceptance times (for a 2-lane major road, grade ≤ 3%):60 - **Give way** — passenger: 6.5 s, single-unit truck: 8.5 s, semi-trailer: 10.5 s61 - **Stop** — passenger: 7.5 s, single-unit truck: 9.5 s, semi-trailer: 11.5 s62- **Grade correction**: for minor-road upgrade grades exceeding 3%, add 0.2 s per percent grade above 3%63 - e.g. a 5% upgrade adds 0.2 × (5 − 3) = 0.4 s64 - Downgrades receive no additional time65- **Lane correction**: for major roads with more than 2 lanes, add time per extra lane:66 - Passenger vehicles: +0.5 s per extra lane67 - Trucks: +0.7 s per extra lane68- Total gap time: t_gap = t_base + t_grade + t_lane69- The sight triangle has two legs:70 - Major-road leg = ISD71 - Minor-road leg = setback distance (distance from major-road edge to driver eye position)72{% if vehicle_type is not defined %}73- Design vehicle type is not provided; select an appropriate vehicle based on the intersection context. Use "passenger" for typical urban/suburban roads, "single_unit_truck" where goods vehicles are common, and "semi_trailer" for industrial or freight routes.74{% endif %}75{% if setback_distance_m is not defined %}76- Setback distance is not provided; use a value appropriate for the intersection geometry. Typical values: 5–8 m for urban streets, 8–15 m for industrial accesses with larger turning radii.77{% endif %}78 79## Output Format80 81Show your step-by-step working in Markdown. At the end of your solution, include a JSON block with your final answers in exactly this format:82 83```json84{85 "gap_time_s": <numeric_value>,86 "required_isd_m": <numeric_value>,87 "sight_triangle_major_m": <numeric_value>,88 "sight_triangle_minor_m": <numeric_value>89}90```91 92Write your complete solution to `/workspace/output.md`.93 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.
suburban_t_intersection
T-intersection on a suburban arterial with give-way control and flat approach
rural_crossroad
Rural crossroads intersection with stop control on the minor road serving passenger vehicles
urban_multilane
Urban multilane road with stop-controlled side street serving passenger and single-unit truck traffic
industrial_access
Industrial estate access onto a collector road designed for semi-trailer turning movements
bruce-highway-side-road-qld-rural-crossroad-preview — hard difficulty, some inputs hidden.
Rural crossroads intersection with stop control on the minor road serving passenger vehicles. bruce-highway-side-road-qld. Required outputs: gap_time_s, required_isd_m, sight_triangle_major_m, sight_triangle_minor_m
Scenario context and visible inputs.
Executable tool: intersection-sight-distance_calc.py
Inputs withheld at this difficulty.
Setback distance
setback_distance_m
Vehicle type
vehicle_type
Stand-in text in the prompt
The intersection serves {{ archetype.description }} ({{ archetype.site_context }}). Select an appropriate design vehicle and setback distance for this context.
The scored JSON answer schema.
{
"gap_time_s": <number>,
"required_isd_m": <number>,
"sight_triangle_major_m": <number>,
"sight_triangle_minor_m": <number>
}