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

Sewer Pipe Sizing

Selects the smallest standard gravity sewer pipe diameter (per WSAA WSA 02 / AS 4130) that conveys a given design flow using Manning's equation for full-pipe capacity. Computes pipe slope from invert levels, iterates standard diameters from 150 mm to 1200 mm, and reports the full-pipe velocity and flow depth ratio for the selected pipe.

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

5 inputs

Always given

Included directly in every task prompt.

4
  • Design flow

    design_flow_l_s

    Peak design flow entering the pipe

    0.5 – 500 L/s
  • Upstream invert m

    upstream_invert_m

    Upstream pipe invert elevation

    0.5 – 200 m AHD
  • Downstream invert m

    downstream_invert_m

    Downstream pipe invert elevation

    0.1 – 199.5 m AHD
  • Pipe length

    pipe_length_m

    Pipe length between manholes

    10 – 200 m

Derived from scenario

Sampled from the scenario and inferable from its description.

1
  • Mannings n

    mannings_n

    Manning's roughness coefficient n

    Derived from the archetype scenario. Hidden at hard difficulty.

    0.009 – 0.025

Scored outputs

4 outputs

Selected diameter

selected_diameter_mm

Selected standard pipe internal diameter (mm)

Scores if within ±1% of the reference value.

Pipe slope pct

pipe_slope_pct

Pipe longitudinal slope (%)

Scores if within ±3% of the reference value.

Full pipe velocity m s

full_pipe_velocity_m_s

Full-pipe flow velocity V (m/s)

Scores if within ±3% of the reference value.

Flow depth ratio

flow_depth_ratio

Approximate flow depth ratio d/D (design flow / full capacity)

Scores if within ±5% 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.

easy

All inputs given

Small residential pipe, all parameters given, gentle slopes

medium

All inputs given

All pipe sizes and archetypes, all parameters given

hard

Some inputs hidden

Manning's n hidden, agent must infer from pipe material and site description

Hidden inputs

  • Mannings nmannings_n

Prompt replacement text

The pipe is {{ archetype.description }} installed at {{ archetype.site_context }}

Task bundle

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

/workspace

  • instruction.md
  • sewer-pipe-sizing_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 senior civil engineer specializing in water and sewer infrastructure design.2 3## Problem4 5Size a gravity sewer pipe to convey the design flow. Select the smallest standard pipe diameter whose full-pipe capacity equals or exceeds the design flow, then determine the resulting velocity and flow depth ratio.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Design flow | {{ design_flow_l_s }} | L/s |12| Upstream invert elevation | {{ upstream_invert_m }} | m AHD |13| Downstream invert elevation | {{ downstream_invert_m }} | m AHD |14| Pipe length | {{ pipe_length_m }} | m |15{%- if mannings_n is defined %}16| Manning's roughness (n) | {{ mannings_n }} | - |17{%- endif %}18{%- if archetype_description is defined %}19 20### Site Conditions21 22{{ archetype_description }}23{% endif %}24 25{% if tool_available %}26## Available Tool27 28A sewer pipe sizing tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:29 30```bash31python3 /workspace/{{ meta.name }}_calc.py --help32```33 34You may use this tool to verify your calculations or compute values directly.35{% endif %}36 37## Required38 39Calculate the following:40 411. Selected standard pipe diameter (mm) from: 150, 225, 300, 375, 450, 525, 600, 675, 750, 900, 1050, 1200422. Pipe longitudinal slope (%)433. Full-pipe flow velocity (m/s)444. Approximate flow depth ratio d/D45 46## Applicable Standards47 48- WSAA WSA 02: Gravity Sewerage Code of Australia49- PUB Code of Practice on Sewerage and Sanitary Works50- AS 4130: Polyethylene (PE) Pipes for Pressure Applications51 52## Constraints53 54- No internet access is available. Work from engineering knowledge and the provided tool.55- Compute pipe slope from invert elevations:56 - **Slope:** S = |upstream_invert - downstream_invert| / pipe_length (m/m)57- For each standard diameter, compute full-pipe capacity using Manning's equation:58 - **Full-pipe area:** A = pi * D^2 / 459 - **Hydraulic radius:** R = D / 460 - **Full-pipe capacity:** Q_full = (1/n) * A * R^(2/3) * S^(1/2)61- Select the **smallest** standard diameter where Q_full >= design flow.62- Full-pipe velocity: V = Q_full / A63- Flow depth ratio (approximate): d/D = Q_design / Q_full64 65## Output Format66 67Show your step-by-step working in Markdown, including formulas and intermediate calculations. At the end of your solution, include a JSON block with your final answers in exactly this format:68 69```json70{71 "selected_diameter_mm": <numeric_value>,72 "pipe_slope_pct": <numeric_value>,73 "full_pipe_velocity_m_s": <numeric_value>,74 "flow_depth_ratio": <numeric_value>75}76```77 78Write your complete solution to `/workspace/output.md`.79

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.

Residential reticulation

residential_reticulation

PVC residential sewer reticulation main with small domestic flows

brisbane-suburban-subdivisionperth-residential-infilladelaide-greenfield-estate
Parameter ranges
design_flow_l_s
0.5 – 8
upstream_invert_m
1 – 10
downstream_invert_m
0.5 – 9.5
pipe_length_m
30 – 80
mannings_n
0.011 – 0.013

Subdivision collector

subdivision_collector

Reinforced concrete collector sewer in a subdivision trunk network

sydney-new-subdivisionmelbourne-growth-corridorgold-coast-mixed-density
Parameter ranges
design_flow_l_s
8 – 50
upstream_invert_m
2 – 20
downstream_invert_m
1.5 – 19
pipe_length_m
40 – 120
mannings_n
0.011 – 0.015

Trunk sewer

trunk_sewer

Large-diameter reinforced concrete trunk sewer conveying combined catchment flows

melbourne-trunk-sewersydney-catchment-interceptorbrisbane-major-trunk
Parameter ranges
design_flow_l_s
50 – 500
upstream_invert_m
5 – 50
downstream_invert_m
4 – 49
pipe_length_m
50 – 200
mannings_n
0.012 – 0.015

Industrial sewer

industrial_sewer

Industrial gravity sewer with trade waste discharges on steep terrain

darwin-industrial-estatecairns-food-processing-zonetownsville-port-precinct
Parameter ranges
design_flow_l_s
10 – 80
upstream_invert_m
5 – 30
downstream_invert_m
3 – 28
pipe_length_m
20 – 100
mannings_n
0.013 – 0.025

Example task

brisbane-suburban-subdivision-residential-reticulation-previewhard difficulty, some inputs hidden.

PVC residential sewer reticulation main with small domestic flows. brisbane-suburban-subdivision. Required outputs: selected_diameter_mm, pipe_slope_pct, full_pipe_velocity_m_s, flow_depth_ratio

The model sees

Scenario context and visible inputs.

design_flow_l_s
0.5 to 8 L/s
upstream_invert_m
1 to 10 m AHD
downstream_invert_m
0.5 to 9.5 m AHD
pipe_length_m
30 to 80 m

Executable tool: sewer-pipe-sizing_calc.py

The model must infer

Inputs withheld at this difficulty.

  • Mannings n

    mannings_n

Stand-in text in the prompt

The pipe is {{ archetype.description }} installed at {{ archetype.site_context }}

The model must produce

The scored JSON answer schema.

{
  "selected_diameter_mm": <number>,
  "pipe_slope_pct": <number>,
  "full_pipe_velocity_m_s": <number>,
  "flow_depth_ratio": <number>
}
  • selected_diameter_mm · scored within ±1%
  • pipe_slope_pct · scored within ±3%
  • full_pipe_velocity_m_s · scored within ±3%
  • flow_depth_ratio · scored within ±5%