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

Stormwater Outlet Flap Gate Hgl Package

Calculates source-bound stormwater outlet metrics from a deterministic SSC-11 task-owned source pack. The template combines full-pipe Manning friction, flap-gate headloss, minor loss, upstream HGL clearance, pipe crown clearance, outfall support reaction, 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

13 inputs

Always given

Included directly in every task prompt.

13
Show 13 inputs
  • Pipe diameter

    pipe_diameter_m

    PIPE-SSC11-004 outlet pipe diameter

    0.75 m
  • Design flow

    design_flow_m3_s

    DRAIN-SSC11-004 design stormwater flow

    0.5694627558483623 m3/s
  • Pipe length

    pipe_length_m

    PIPE-SSC11-004 full-pipe outlet length

    48.53773926377916 m
  • Manning n

    manning_n

    PIPE-SSC11-004 Manning roughness

    0.013
  • Tailwater level

    tailwater_level_m

    TAIL-SSC11-004 tailwater level

    4.851 m
  • Flap gate loss coefficient

    flap_gate_loss_coefficient

    FLAP-SSC11-004 flap-gate loss coefficient

    1.794885529584038
  • Minor loss coefficient

    minor_loss_coefficient

    DRAIN-SSC11-004 outlet minor-loss coefficient

    0.6966989884569621
  • Upstream invert

    upstream_invert_m

    DRAIN-SSC11-004 upstream invert level

    4.35 m
  • Road surface level

    road_surface_level_m

    DRAIN-SSC11-004 road surface level over the outlet

    6.2 m
  • Pipe support line load

    pipe_support_line_load_kn_m

    PIPE-SSC11-004 outfall pipe support line load

    4 kN/m
  • Support span

    support_span_m

    PIPE-SSC11-004 support span

    4 m
  • Flap gate weight

    flap_gate_weight_kn

    FLAP-SSC11-004 flap-gate weight

    5.7 kN
  • Support allowable

    support_allowable_kn

    PIPE-SSC11-004 outfall support allowable reaction

    32 kN

Scored outputs

10 outputs

Pipe velocity m s

pipe_velocity_m_s

Outlet pipe velocity

Scores if within ±3% of the reference value.

Friction loss

friction_loss_m

Full-pipe Manning 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

Outlet minor loss

Scores if within ±3% of the reference value.

Upstream hgl

upstream_hgl_m

Upstream hydraulic grade line

Scores if within ±3% of the reference value.

Hgl clearance to surface

hgl_clearance_to_surface_m

Road-surface clearance above upstream HGL

Scores if within ±3% of the reference value.

Pipe crown margin to surface

pipe_crown_margin_to_surface_m

Road-surface clearance above pipe crown

Scores if within ±3% of the reference value.

Outfall support reaction kn

outfall_support_reaction_kn

Outfall support reaction including flap-gate weight

Scores if within ±3% of the reference value.

Support utilization

support_utilization

Outfall support reaction divided by allowable reaction

Scores if within ±3% of the reference value.

Overall pass score

overall_pass_score

Pass score for the task-owned HGL and support 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 SSC-11 stormwater outlet package
medium:
All source-pack values given for the SSC-11 stormwater outlet package
hard:
All source-pack values given for the SSC-11 stormwater outlet package

Task bundle

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

/workspace

  • instruction.md
  • stormwater-outlet-flap-gate-hgl-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 SSC-11 stormwater outlet, flap-gate, and HGL package.2 3Use only the task-owned synthetic source pack values shown below for numeric grading. Manning hydraulic calculations, stormwater HGL review workflows, flap-gate product coordination, and outfall support routes shape the workflow context only; they are not extra data sources for this instance.4 5## Scene6 7- Product family: `SSC-11-LH-04`8- Drainage calculation: `DRAIN-SSC11-004`9- Flap-gate datasheet: `FLAP-SSC11-004`10- Tailwater table: `TAIL-SSC11-004`11- Outlet pipe/support detail: `PIPE-SSC11-004`12- Coordination memo: `MEMO-SSC11-004`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| Flap-gate loss coefficient | {{ flap_gate_loss_coefficient }} |24| Minor-loss coefficient | {{ minor_loss_coefficient }} |25| Upstream invert | {{ upstream_invert_m }} m |26| Road surface level | {{ road_surface_level_m }} m |27| Pipe support line load | {{ pipe_support_line_load_kn_m }} kN/m |28| Support span | {{ support_span_m }} m |29| Flap-gate weight | {{ flap_gate_weight_kn }} kN |30| Support allowable | {{ support_allowable_kn }} kN |31 32## Checks33 34- Pipe velocity equals design flow divided by pipe area.35- Manning friction slope uses full-pipe area and hydraulic radius.36- Flap-gate and minor losses equal their loss coefficients times velocity head.37- Upstream HGL equals tailwater plus friction, flap-gate, and minor losses.38- HGL clearance equals road surface level minus upstream HGL.39- Pipe crown clearance equals road surface level minus upstream invert minus pipe diameter.40- Outfall support reaction equals pipe line load times support span plus flap-gate weight.41- Overall pass score is `1.0` only when HGL, pipe crown, and support checks pass; otherwise it is `0.0`.42 43## Output Format44 45Write 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.46 47Do not claim authority approval, accepted project evidence, software export validity, full standards compliance, executable real source-pack parsing, generated benchmark readiness, or benchmark readiness.48 49Include a fenced JSON block with exactly these numeric keys:50 51```json52{53 "pipe_velocity_m_s": <numeric_value>,54 "friction_loss_m": <numeric_value>,55 "flap_gate_headloss_m": <numeric_value>,56 "minor_loss_m": <numeric_value>,57 "upstream_hgl_m": <numeric_value>,58 "hgl_clearance_to_surface_m": <numeric_value>,59 "pipe_crown_margin_to_surface_m": <numeric_value>,60 "outfall_support_reaction_kn": <numeric_value>,61 "support_utilization": <numeric_value>,62 "overall_pass_score": <numeric_value>63}64```65

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.

Ssc11 stormwater outlet case

ssc11_stormwater_outlet_case

Stormwater outfall flap-gate and HGL case

stormwater-outletflap-gate-hgl-check
Parameter ranges
pipe_diameter_m
0.75
design_flow_m3_s
0.5694627558483623
pipe_length_m
48.53773926377916
manning_n
0.013
tailwater_level_m
4.851
flap_gate_loss_coefficient
1.794885529584038
minor_loss_coefficient
0.6966989884569621
upstream_invert_m
4.35
road_surface_level_m
6.2
pipe_support_line_load_kn_m
4
support_span_m
4
flap_gate_weight_kn
5.7
support_allowable_kn
32

Example task

stormwater-outlet-ssc11-stormwater-outlet-case-previewhard difficulty, all inputs given.

Stormwater outfall flap-gate and HGL case. stormwater-outlet. Required outputs: pipe_velocity_m_s, friction_loss_m, flap_gate_headloss_m, minor_loss_m, upstream_hgl_m, hgl_clearance_to_surface_m

The model sees

Scenario context and visible inputs.

pipe_diameter_m
0.75 to 0.75 m
design_flow_m3_s
0.569463 to 0.569463 m3/s
pipe_length_m
48.5377 to 48.5377 m
manning_n
0.013 to 0.013
tailwater_level_m
4.851 to 4.851 m
flap_gate_loss_coefficient
1.79489 to 1.79489
minor_loss_coefficient
0.696699 to 0.696699
upstream_invert_m
4.35 to 4.35 m
road_surface_level_m
6.2 to 6.2 m
pipe_support_line_load_kn_m
4 to 4 kN/m
support_span_m
4 to 4 m
flap_gate_weight_kn
5.7 to 5.7 kN
support_allowable_kn
32 to 32 kN

Executable tool: stormwater-outlet-flap-gate-hgl-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>,
  "hgl_clearance_to_surface_m": <number>,
  "pipe_crown_margin_to_surface_m": <number>,
  "outfall_support_reaction_kn": <number>,
  "support_utilization": <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%
  • hgl_clearance_to_surface_m · scored within ±3%
  • pipe_crown_margin_to_surface_m · scored within ±3%
  • outfall_support_reaction_kn · scored within ±3%
  • support_utilization · scored within ±3%
  • overall_pass_score · scored within ±3%