Pipe velocity m s
pipe_velocity_m_s
Outfall pipe velocity
Scores if within ±3% of the reference value.
Calculates source-bound outfall tailwater metrics from a deterministic stormwater task-owned source pack. The template combines pipe velocity, Manning friction, flap-gate headloss, upstream HGL, outfall submergence, HGL clearance, coastal freeboard margin, 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.
12 inputs
Included directly in every task prompt.
Pipe diameter
pipe_diameter_m
OUTFALL-SSC03-005 outfall pipe diameter
Design flow
design_flow_m3_s
HGL-SSC03-005 design flow
Pipe length
pipe_length_m
OUTFALL-SSC03-005 outfall pipe length
Manning n
manning_n
OUTFALL-SSC03-005 Manning roughness
Tailwater level
tailwater_level_m
TIDE-SSC03-005 tailwater level
Outfall invert
outfall_invert_m
OUTFALL-SSC03-005 outfall invert
Flap gate loss coefficient
flap_gate_loss_coefficient
FLAP-SSC03-005 flap-gate loss coefficient
Minor loss coefficient
minor_loss_coefficient
HGL-SSC03-005 minor-loss coefficient
Upstream rim level
upstream_rim_level_m
HGL-SSC03-005 upstream rim level
Minimum hgl clearance
minimum_hgl_clearance_m
MEMO-SSC03-005 minimum HGL clearance
Coastal crest level
coastal_crest_level_m
TIDE-SSC03-005 coastal crest level
Required coastal freeboard
required_coastal_freeboard_m
MEMO-SSC03-005 required coastal freeboard
10 outputs
pipe_velocity_m_s
Outfall pipe velocity
Scores if within ±3% of the reference value.
friction_loss_m
Outfall pipe friction loss
Scores if within ±3% of the reference value.
flap_gate_headloss_m
Flap-gate headloss
Scores if within ±3% of the reference value.
minor_loss_m
Minor loss
Scores if within ±3% of the reference value.
upstream_hgl_m
Upstream HGL under tailwater boundary
Scores if within ±3% of the reference value.
outfall_submergence_m
Tailwater above outfall pipe crown
Scores if within ±3% of the reference value.
hgl_clearance_m
Upstream rim level minus upstream HGL
Scores if within ±3% of the reference value.
hgl_clearance_margin_m
HGL clearance minus minimum clearance
Scores if within ±3% of the reference value.
coastal_freeboard_margin_m
Coastal crest margin above tailwater and required freeboard
Scores if within ±3% of the reference value.
overall_pass_score
Pass score for HGL and coastal 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 outfall tailwater, flap-gate, and coastal boundary package.2 3Use only the task-owned synthetic source pack values shown below for numeric grading. Manning pipe hydraulics, flap-gate headloss checks, outfall tailwater workflows, and coastal boundary coordination shape the workflow context only; they are not extra data sources for this instance.4 5## Scene6 7- Product family: `SSC-03-LH-05`8- Outfall long section: `OUTFALL-SSC03-005`9- Tide/tailwater table: `TIDE-SSC03-005`10- Flap-gate datasheet: `FLAP-SSC03-005`11- Upstream HGL table: `HGL-SSC03-005`12- Outfall design memo: `MEMO-SSC03-005`13 14## Source Values15 16| Item | Value |17|------|-------|18| Pipe diameter | {{ pipe_diameter_m }} m |19| Design flow | {{ design_flow_m3_s }} m3/s |20| Pipe length | {{ pipe_length_m }} m |21| Manning n | {{ manning_n }} |22| Tailwater level | {{ tailwater_level_m }} m |23| Outfall invert | {{ outfall_invert_m }} m |24| Flap-gate loss coefficient | {{ flap_gate_loss_coefficient }} |25| Minor-loss coefficient | {{ minor_loss_coefficient }} |26| Upstream rim level | {{ upstream_rim_level_m }} m |27| Minimum HGL clearance | {{ minimum_hgl_clearance_m }} m |28| Coastal crest level | {{ coastal_crest_level_m }} m |29| Required coastal freeboard | {{ required_coastal_freeboard_m }} m |30 31## Checks32 33- Pipe velocity equals design flow divided by full-pipe area.34- Manning friction uses full-pipe hydraulic radius.35- Upstream HGL equals tailwater plus friction, flap-gate, and minor losses.36- Overall pass score is `1.0` only when HGL clearance and coastal freeboard checks pass; otherwise it is `0.0`.37 38## Output Format39 40Write 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.41 42Do 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.43 44Include a fenced JSON block with exactly these numeric keys:45 46```json47{48 "pipe_velocity_m_s": <numeric_value>,49 "friction_loss_m": <numeric_value>,50 "flap_gate_headloss_m": <numeric_value>,51 "minor_loss_m": <numeric_value>,52 "upstream_hgl_m": <numeric_value>,53 "outfall_submergence_m": <numeric_value>,54 "hgl_clearance_m": <numeric_value>,55 "hgl_clearance_margin_m": <numeric_value>,56 "coastal_freeboard_margin_m": <numeric_value>,57 "overall_pass_score": <numeric_value>58}59```60 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_outfall_tailwater_case
Outfall tailwater and flap-gate case
outfall-tailwater-stormwater-outfall-tailwater-case-preview — hard difficulty, all inputs given.
Outfall tailwater and flap-gate case. outfall-tailwater. Required outputs: pipe_velocity_m_s, friction_loss_m, flap_gate_headloss_m, minor_loss_m, upstream_hgl_m, outfall_submergence_m
Scenario context and visible inputs.
Executable tool: outfall-tailwater-flap-gate-coastal-boundary-package_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"pipe_velocity_m_s": <number>,
"friction_loss_m": <number>,
"flap_gate_headloss_m": <number>,
"minor_loss_m": <number>,
"upstream_hgl_m": <number>,
"outfall_submergence_m": <number>,
"hgl_clearance_m": <number>,
"hgl_clearance_margin_m": <number>,
"coastal_freeboard_margin_m": <number>,
"overall_pass_score": <number>
}