Selected diameter
selected_diameter_mm
Selected standard pipe internal diameter (mm)
Scores if within ±1% of the reference value.
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.
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.
5 inputs
Included directly in every task prompt.
Design flow
design_flow_l_s
Peak design flow entering the pipe
Upstream invert m
upstream_invert_m
Upstream pipe invert elevation
Downstream invert m
downstream_invert_m
Downstream pipe invert elevation
Pipe length
pipe_length_m
Pipe length between manholes
Sampled from the scenario and inferable from its description.
Mannings n
mannings_n
Manning's roughness coefficient n
Derived from the archetype scenario. Hidden at hard difficulty.
4 outputs
selected_diameter_mm
Selected standard pipe internal diameter (mm)
Scores if within ±1% of the reference value.
pipe_slope_pct
Pipe longitudinal slope (%)
Scores if within ±3% of the reference value.
full_pipe_velocity_m_s
Full-pipe flow velocity V (m/s)
Scores if within ±3% of the reference value.
flow_depth_ratio
Approximate flow depth ratio d/D (design flow / full capacity)
Scores if within ±5% 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.
All inputs given
Small residential pipe, all parameters given, gentle slopes
All inputs given
All pipe sizes and archetypes, all parameters given
Some inputs hidden
Manning's n hidden, agent must infer from pipe material and site description
Hidden inputs
Prompt replacement text
The pipe is {{ archetype.description }} installed at {{ archetype.site_context }}
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 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 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
PVC residential sewer reticulation main with small domestic flows
subdivision_collector
Reinforced concrete collector sewer in a subdivision trunk network
trunk_sewer
Large-diameter reinforced concrete trunk sewer conveying combined catchment flows
industrial_sewer
Industrial gravity sewer with trade waste discharges on steep terrain
brisbane-suburban-subdivision-residential-reticulation-preview — hard 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
Scenario context and visible inputs.
Executable tool: sewer-pipe-sizing_calc.py
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 scored JSON answer schema.
{
"selected_diameter_mm": <number>,
"pipe_slope_pct": <number>,
"full_pipe_velocity_m_s": <number>,
"flow_depth_ratio": <number>
}