LIVEdataset aec-bench@releasetasks 552models 18last submission · built
civilwith-tool

Outfall Tailwater Flap Gate Coastal Boundary Package

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.

How this task is generated

One template produces many comparable benchmark tasks while keeping the scoring contract fixed.

  1. 01

    Template

    The reusable contract shown on this page.

  2. 02

    Scenario

    An archetype and site context are sampled.

  3. 03

    Difficulty tier

    Inputs may be hidden at harder tiers.

  4. 04

    Task prompt

    The model responds with the declared outputs.

Parameters

Inputs the model receives, and the outputs it is scored on.

Inputs

12 inputs

Always given

Included directly in every task prompt.

12
Show 12 inputs
  • Pipe diameter

    pipe_diameter_m

    OUTFALL-SSC03-005 outfall pipe diameter

    0.9 m
  • Design flow

    design_flow_m3_s

    HGL-SSC03-005 design flow

    0.72 m3/s
  • Pipe length

    pipe_length_m

    OUTFALL-SSC03-005 outfall pipe length

    95 m
  • Manning n

    manning_n

    OUTFALL-SSC03-005 Manning roughness

    0.013
  • Tailwater level

    tailwater_level_m

    TIDE-SSC03-005 tailwater level

    2.85 m
  • Outfall invert

    outfall_invert_m

    OUTFALL-SSC03-005 outfall invert

    1.72 m
  • Flap gate loss coefficient

    flap_gate_loss_coefficient

    FLAP-SSC03-005 flap-gate loss coefficient

    1.25
  • Minor loss coefficient

    minor_loss_coefficient

    HGL-SSC03-005 minor-loss coefficient

    0.4
  • Upstream rim level

    upstream_rim_level_m

    HGL-SSC03-005 upstream rim level

    3.75 m
  • Minimum hgl clearance

    minimum_hgl_clearance_m

    MEMO-SSC03-005 minimum HGL clearance

    0.35 m
  • Coastal crest level

    coastal_crest_level_m

    TIDE-SSC03-005 coastal crest level

    3.55 m
  • Required coastal freeboard

    required_coastal_freeboard_m

    MEMO-SSC03-005 required coastal freeboard

    0.45 m

Scored outputs

10 outputs

Pipe velocity m s

pipe_velocity_m_s

Outfall pipe velocity

Scores if within ±3% of the reference value.

Friction loss

friction_loss_m

Outfall pipe friction loss

Scores if within ±3% of the reference value.

Flap gate headloss

flap_gate_headloss_m

Flap-gate headloss

Scores if within ±3% of the reference value.

Minor loss

minor_loss_m

Minor loss

Scores if within ±3% of the reference value.

Upstream hgl

upstream_hgl_m

Upstream HGL under tailwater boundary

Scores if within ±3% of the reference value.

Outfall submergence

outfall_submergence_m

Tailwater above outfall pipe crown

Scores if within ±3% of the reference value.

Hgl clearance

hgl_clearance_m

Upstream rim level minus upstream HGL

Scores if within ±3% of the reference value.

Hgl clearance margin

hgl_clearance_margin_m

HGL clearance minus minimum clearance

Scores if within ±3% of the reference value.

Coastal freeboard margin

coastal_freeboard_margin_m

Coastal crest margin above tailwater and required freeboard

Scores if within ±3% of the reference value.

Overall pass score

overall_pass_score

Pass score for HGL and coastal freeboard checks

Scores if within ±3% of the reference value.

Difficulty

Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.

All inputs remain visible at every tier

For this template, difficulty scales through parameter and scenario ranges rather than hidden information.

easy:
All source-pack values given for the stormwater outfall tailwater package
medium:
All source-pack values given for the stormwater outfall tailwater package
hard:
All source-pack values given for the stormwater outfall tailwater package

Task bundle

The exact instruction and parameter contract used to generate this task, pinned to the published library source.

/workspace

  • instruction.md
  • outfall-tailwater-flap-gate-coastal-boundary-package_calc.py

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

Scenario archetypes

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

stormwater_outfall_tailwater_case

Outfall tailwater and flap-gate case

outfall-tailwaterflap-gate-hgl-check
Parameter ranges
pipe_diameter_m
0.9
design_flow_m3_s
0.72
pipe_length_m
95
manning_n
0.013
tailwater_level_m
2.85
outfall_invert_m
1.72
flap_gate_loss_coefficient
1.25
minor_loss_coefficient
0.4
upstream_rim_level_m
3.75
minimum_hgl_clearance_m
0.35
coastal_crest_level_m
3.55
required_coastal_freeboard_m
0.45

Example task

outfall-tailwater-stormwater-outfall-tailwater-case-previewhard 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

The model sees

Scenario context and visible inputs.

pipe_diameter_m
0.9 to 0.9 m
design_flow_m3_s
0.72 to 0.72 m3/s
pipe_length_m
95 to 95 m
manning_n
0.013 to 0.013
tailwater_level_m
2.85 to 2.85 m
outfall_invert_m
1.72 to 1.72 m
flap_gate_loss_coefficient
1.25 to 1.25
minor_loss_coefficient
0.4 to 0.4
upstream_rim_level_m
3.75 to 3.75 m
minimum_hgl_clearance_m
0.35 to 0.35 m
coastal_crest_level_m
3.55 to 3.55 m
required_coastal_freeboard_m
0.45 to 0.45 m

Executable tool: outfall-tailwater-flap-gate-coastal-boundary-package_calc.py

The model must infer

Inputs withheld at this difficulty.

Nothing. All inputs are supplied.

The model must produce

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>
}
  • pipe_velocity_m_s · scored within ±3%
  • friction_loss_m · scored within ±3%
  • flap_gate_headloss_m · scored within ±3%
  • minor_loss_m · scored within ±3%
  • upstream_hgl_m · scored within ±3%
  • outfall_submergence_m · scored within ±3%
  • hgl_clearance_m · scored within ±3%
  • hgl_clearance_margin_m · scored within ±3%
  • coastal_freeboard_margin_m · scored within ±3%
  • overall_pass_score · scored within ±3%