Pipe slope
pipe_slope_percent
Pipe slope from invert schedule
Scores if within ±3% of the reference value.
Calculates source-bound road low-point drainage metrics from a deterministic stormwater task-owned source pack. The template combines pipe slope, Manning capacity, HGL, low-point freeboard, roadway spread, equipment freeboard, and an overall synthetic pass score.
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.
14 inputs
Included directly in every task prompt.
Upstream invert
upstream_invert_m
PITPIPE-SSC03-002 upstream pipe invert
Downstream invert
downstream_invert_m
PITPIPE-SSC03-002 downstream pipe invert
Pipe length
pipe_length_m
DRAIN-SSC03-002 pipe reach length
Pipe diameter
pipe_diameter_m
PITPIPE-SSC03-002 pipe diameter
Design flow
design_flow_m3_s
HGL-SSC03-002 design pipe flow
Manning n
manning_n
DRAIN-SSC03-002 Manning roughness
Downstream tailwater
downstream_tailwater_m
HGL-SSC03-002 downstream tailwater
Minor loss coefficient
minor_loss_coefficient
HGL-SSC03-002 pit/minor loss coefficient
Road low point level
road_low_point_level_m
ROAD-SSC03-002 road low-point level
Minimum freeboard
minimum_freeboard_m
MEMO-SSC03-002 minimum low-point freeboard
Gutter approach flow
gutter_approach_flow_m3_s
ROAD-SSC03-002 gutter approach flow
Roadway spread factor
roadway_spread_factor
ROAD-SSC03-002 source-owned roadway spread factor
Allowable spread
allowable_spread_m
MEMO-SSC03-002 allowable roadway spread
Equipment threshold level
equipment_threshold_level_m
MEMO-SSC03-002 roadside equipment threshold level
13 outputs
pipe_slope_percent
Pipe slope from invert schedule
Scores if within ±3% of the reference value.
pipe_velocity_m_s
Pipe velocity at design flow
Scores if within ±3% of the reference value.
manning_capacity_m3_s
Full-pipe Manning capacity
Scores if within ±3% of the reference value.
capacity_margin_m3_s
Manning capacity minus design flow
Scores if within ±3% of the reference value.
friction_loss_m
Pipe friction loss at design flow
Scores if within ±3% of the reference value.
minor_loss_m
Pit/minor loss at design flow
Scores if within ±3% of the reference value.
upstream_hgl_m
Upstream hydraulic grade line
Scores if within ±3% of the reference value.
low_point_freeboard_m
Road low-point level minus upstream HGL
Scores if within ±3% of the reference value.
freeboard_margin_m
Low-point freeboard minus minimum freeboard
Scores if within ±3% of the reference value.
roadway_spread_m
Source-owned roadway spread estimate
Scores if within ±3% of the reference value.
spread_margin_m
Allowable spread minus roadway spread
Scores if within ±3% of the reference value.
equipment_freeboard_m
Equipment threshold level minus upstream HGL
Scores if within ±3% of the reference value.
overall_pass_score
Pass score for capacity, HGL, spread, and equipment freeboard checks
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.
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 civil drainage engineer checking a task-owned synthetic stormwater drainage long-section, HGL, and road low-point package.2 3Use only the task-owned synthetic source pack values shown below for numeric grading. FHWA HEC-22, Manning drainage calculations, road low-point drainage review, and stormwater HGL workflows shape the workflow context only; they are not extra data sources for this instance.4 5## Scene6 7- Product family: `SSC-03-LH-02`8- Road long section: `ROAD-SSC03-002`9- Drainage long section: `DRAIN-SSC03-002`10- Pit and pipe schedule: `PITPIPE-SSC03-002`11- HGL table: `HGL-SSC03-002`12- Low-point memo: `MEMO-SSC03-002`13 14## Source Values15 16| Item | Value |17|------|-------|18| Upstream invert | {{ upstream_invert_m }} m |19| Downstream invert | {{ downstream_invert_m }} m |20| Pipe length | {{ pipe_length_m }} m |21| Pipe diameter | {{ pipe_diameter_m }} m |22| Design flow | {{ design_flow_m3_s }} m3/s |23| Manning n | {{ manning_n }} |24| Downstream tailwater | {{ downstream_tailwater_m }} m |25| Minor loss coefficient | {{ minor_loss_coefficient }} |26| Road low-point level | {{ road_low_point_level_m }} m |27| Minimum freeboard | {{ minimum_freeboard_m }} m |28| Gutter approach flow | {{ gutter_approach_flow_m3_s }} m3/s |29| Roadway spread factor | {{ roadway_spread_factor }} |30| Allowable spread | {{ allowable_spread_m }} m |31| Equipment threshold level | {{ equipment_threshold_level_m }} m |32 33## Checks34 35- Pipe slope equals upstream invert minus downstream invert divided by pipe length.36- Manning capacity uses full-pipe area and hydraulic radius.37- Upstream HGL equals downstream tailwater plus friction and minor losses.38- Road low-point freeboard, roadway spread, and equipment freeboard must all remain positive.39- Overall pass score is `1.0` only when capacity, freeboard, spread, and equipment freeboard checks pass; otherwise it is `0.0`.40 41## Output Format42 43Write a compact memo to `/workspace/output.md`. Include a source-boundary statement that this is a task-owned synthetic source pack. Preserve the object IDs above and state whether the baseline source pack passes the current docs-only checks.44 45Do not claim authority approval, accepted project evidence, software export validity, full standards compliance, executable real source-pack parsing, generated SWMM report-output evidence, generated benchmark readiness, or benchmark readiness.46 47Include a fenced JSON block with exactly these numeric keys:48 49```json50{51 "pipe_slope_percent": <numeric_value>,52 "pipe_velocity_m_s": <numeric_value>,53 "manning_capacity_m3_s": <numeric_value>,54 "capacity_margin_m3_s": <numeric_value>,55 "friction_loss_m": <numeric_value>,56 "minor_loss_m": <numeric_value>,57 "upstream_hgl_m": <numeric_value>,58 "low_point_freeboard_m": <numeric_value>,59 "freeboard_margin_m": <numeric_value>,60 "roadway_spread_m": <numeric_value>,61 "spread_margin_m": <numeric_value>,62 "equipment_freeboard_m": <numeric_value>,63 "overall_pass_score": <numeric_value>64}65```66 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.
stormwater_low_point_hgl_case
Road low-point HGL and spread case
road-low-point-stormwater-low-point-hgl-case-preview — hard difficulty, all inputs given.
Road low-point HGL and spread case. road-low-point. Required outputs: pipe_slope_percent, pipe_velocity_m_s, manning_capacity_m3_s, capacity_margin_m3_s, friction_loss_m, minor_loss_m
Scenario context and visible inputs.
Executable tool: drainage-long-section-hgl-road-low-point-package_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"pipe_slope_percent": <number>,
"pipe_velocity_m_s": <number>,
"manning_capacity_m3_s": <number>,
"capacity_margin_m3_s": <number>,
"friction_loss_m": <number>,
"minor_loss_m": <number>,
"upstream_hgl_m": <number>,
"low_point_freeboard_m": <number>,
"freeboard_margin_m": <number>,
"roadway_spread_m": <number>,
"spread_margin_m": <number>,
"equipment_freeboard_m": <number>,
"overall_pass_score": <number>
}