Peak flow
peak_flow_m3_s
Rational-method peak flow
Scores if within ±3% of the reference value.
Calculates deterministic SSC-02 rail drainage and flood-clearance metrics from a task-owned synthetic source pack. The template combines rational-method peak flow, culvert capacity margin, track freeboard, wayside equipment clearance, speed reduction, and an overall synthetic pass score.
with-tool: The model is given an executable Python calculator script.
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.
11 inputs
Included directly in every task prompt.
Catchment area
catchment_area_ha
TRACK-02-DRAIN-04 contributing catchment area
Rainfall intensity
rainfall_intensity_mm_h
FLOOD-02-LEVEL-04 design rainfall intensity
Runoff coefficient
runoff_coefficient
TRACK-02-DRAIN-04 runoff coefficient
Culvert capacity m3 s
culvert_capacity_m3_s
CULVERT-02-SCHED-04 culvert capacity
Track low rail level
track_low_rail_level_m
TRACK-02-DRAIN-04 low-rail level
Flood level
flood_level_m
FLOOD-02-LEVEL-04 flood level
Required freeboard
required_freeboard_m
OPS-02-FLOOD-04 required track freeboard
Equipment plinth level
equipment_plinth_level_m
WAYSIDE-02-LAYOUT-04 wayside equipment plinth level
Minimum equipment clearance
minimum_equipment_clearance_m
OPS-02-FLOOD-04 minimum equipment clearance above flood level
Normal speed kmh
normal_speed_kmh
OPS-02-FLOOD-04 normal line speed
Restricted speed kmh
restricted_speed_kmh
OPS-02-FLOOD-04 flood-restriction speed
9 outputs
peak_flow_m3_s
Rational-method peak flow
Scores if within ±3% of the reference value.
culvert_capacity_margin_m3_s
Culvert capacity minus peak flow
Scores if within ±3% of the reference value.
track_freeboard_m
Low-rail level minus flood level
Scores if within ±0.3% of the reference value.
freeboard_margin_m
Track freeboard minus required freeboard
Scores if within ±0.3% of the reference value.
equipment_freeboard_m
Equipment plinth level minus flood level
Scores if within ±0.3% of the reference value.
equipment_exposure_margin_m
Equipment freeboard minus minimum equipment clearance
Scores if within ±0.3% of the reference value.
speed_reduction_kmh
Normal speed minus restricted speed
Scores if within ±3% of the reference value.
restriction_pass_score
1.0 when culvert, freeboard, and exposure margins are non-negative
Scores if within ±0.1% of the reference value.
overall_pass_score
Overall synthetic pass score for the drainage and restriction check
Scores if within ±0.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.
For this template, difficulty scales through parameter and scenario ranges rather than hidden information.
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 rail civil designer checking `SSC-02-LH-04`, a task-owned synthetic SSC-02 rail drainage, flood-clearance, and speed-restriction package.2 3Use only the task-owned synthetic source pack values below for numeric grading. Rail drainage and operating restriction workflows shape the context only; this instance does not run a hydraulic model, parse a real drainage long section, or validate an operator restriction.4 5## Scene6 7- Design case: `CASE-SSC02-FLOOD-04`8- Track and drainage long section: `TRACK-02-DRAIN-04`9- Culvert schedule: `CULVERT-02-SCHED-04`10- Flood level table: `FLOOD-02-LEVEL-04`11- Wayside equipment layout: `WAYSIDE-02-LAYOUT-04`12- Flood operating rule: `OPS-02-FLOOD-04`13- Flood resilience memo: `MEMO-02-FLOOD-04`14 15## Source Values16 17| Item | Value |18|------|-------|19| Catchment area | {{ catchment_area_ha }} ha |20| Rainfall intensity | {{ rainfall_intensity_mm_h }} mm/h |21| Runoff coefficient | {{ runoff_coefficient }} |22| Culvert capacity | {{ culvert_capacity_m3_s }} m^3/s |23| Track low-rail level | {{ track_low_rail_level_m }} m |24| Flood level | {{ flood_level_m }} m |25| Required freeboard | {{ required_freeboard_m }} m |26| Equipment plinth level | {{ equipment_plinth_level_m }} m |27| Minimum equipment clearance | {{ minimum_equipment_clearance_m }} m |28| Normal speed | {{ normal_speed_kmh }} km/h |29| Restricted speed | {{ restricted_speed_kmh }} km/h |30 31Checks:32 33- Peak flow equals `0.00278 x runoff_coefficient x rainfall_intensity x catchment_area`.34- Culvert capacity margin equals culvert capacity minus peak flow.35- Track freeboard equals low-rail level minus flood level.36- Equipment freeboard equals equipment plinth level minus flood level.37- Speed reduction equals normal speed minus restricted speed.38- Overall pass score is `1.0` only when culvert, track-freeboard, and equipment-exposure margins are non-negative; otherwise it is `0.0`.39 40## Output Format41 42Write a compact memo to `/workspace/output.md`. Preserve the object IDs above, state the task-owned synthetic source-pack boundary, and explain whether the baseline source pack passes the docs-only checks.43 44Do not claim authority approval, accepted project evidence, hydraulic model validity, full standards compliance, executable real source-pack parsing, generated benchmark readiness, or benchmark readiness.45 46Include a fenced JSON block with exactly these numeric keys:47 48```json49{50 "peak_flow_m3_s": <numeric_value>,51 "culvert_capacity_margin_m3_s": <numeric_value>,52 "track_freeboard_m": <numeric_value>,53 "freeboard_margin_m": <numeric_value>,54 "equipment_freeboard_m": <numeric_value>,55 "equipment_exposure_margin_m": <numeric_value>,56 "speed_reduction_kmh": <numeric_value>,57 "restriction_pass_score": <numeric_value>,58 "overall_pass_score": <numeric_value>59}60```61 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.
ssc02_rail_drainage_flood_case
Rail drainage package tied to one track profile, culvert schedule, flood level table, wayside equipment layout, operating restriction, and memo
rail-drainage-flood-restriction-ssc02-rail-drainage-flood-case-preview — hard difficulty, all inputs given.
Rail drainage package tied to one track profile, culvert schedule, flood level table, wayside equipment layout, operating restriction, and memo. rail-drainage-flood-restriction. Required outputs: peak_flow_m3_s, culvert_capacity_margin_m3_s, track_freeboard_m, freeboard_margin_m, equipment_freeboard_m, equipment_exposure_margin_m
Scenario context and visible inputs.
Executable tool: rail-drainage-flood-clearance-speed-restriction-package_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"peak_flow_m3_s": <number>,
"culvert_capacity_margin_m3_s": <number>,
"track_freeboard_m": <number>,
"freeboard_margin_m": <number>,
"equipment_freeboard_m": <number>,
"equipment_exposure_margin_m": <number>,
"speed_reduction_kmh": <number>,
"restriction_pass_score": <number>,
"overall_pass_score": <number>
}