Pipe area m2
pipe_area_m2
Circular outfall pipe area
Scores if within ±3% of the reference value.
Calculates source-bound coastal outfall drainage metrics from a deterministic SSC-04 task-owned source pack. The template combines tailwater, outlet velocity, flap gate headloss, upstream HGL, low-point margin, tide-locked storage, pump assist power, control battery margin, and an overall synthetic pass score.
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.
18 inputs
Included directly in every task prompt.
Pipe diameter
pipe_diameter_m
OUTFALL-04-SECTION-04 pipe diameter
Design flow
design_flow_m3_s
DRAIN-04-UPSTREAM-04 design flow
Tide level
tide_level_m
TIDE-04-TAILWATER-04 tide level
Surge allowance
surge_allowance_m
TIDE-04-TAILWATER-04 surge allowance
Outfall invert
outfall_invert_m
OUTFALL-04-SECTION-04 outfall invert
Flap gate loss coefficient
flap_gate_loss_coefficient
FLAP-04-DATA-04 flap gate loss coefficient
Pipe friction loss
pipe_friction_loss_m
DRAIN-04-UPSTREAM-04 pipe friction loss
Road low point level
road_low_point_level_m
DRAIN-04-UPSTREAM-04 road low point level
Incoming flow
incoming_flow_m3_s
DRAIN-04-UPSTREAM-04 incoming flow during tide lock
Gravity relief capacity
gravity_relief_capacity_m3_s
FLAP-04-DATA-04 gravity relief capacity during tailwater event
Tide locked duration
tide_locked_duration_h
TIDE-04-TAILWATER-04 tide locked duration
Backup storage
backup_storage_m3
DRAIN-04-UPSTREAM-04 backup storage
Pump assist flow
pump_assist_flow_m3_s
PUMP-04-CONTROL-04 pump assist flow
Pump assist head
pump_assist_head_m
PUMP-04-CONTROL-04 pump assist head
Pump efficiency
pump_efficiency
PUMP-04-CONTROL-04 pump efficiency
Control battery capacity
control_battery_capacity_kwh
PUMP-04-CONTROL-04 control battery capacity
Control load
control_load_kw
PUMP-04-CONTROL-04 control load
Required control runtime
required_control_runtime_h
PUMP-04-CONTROL-04 required control runtime
11 outputs
pipe_area_m2
Circular outfall pipe area
Scores if within ±3% of the reference value.
outlet_velocity_m_s
Design flow divided by pipe area
Scores if within ±3% of the reference value.
tailwater_level_m
Tide level plus surge allowance
Scores if within ±3% of the reference value.
outfall_submergence_depth_m
Tailwater level minus outfall invert, clipped at zero
Scores if within ±3% of the reference value.
flap_gate_headloss_m
Flap gate local headloss
Scores if within ±3% of the reference value.
upstream_hgl_m
Tailwater, flap gate, and pipe loss HGL
Scores if within ±3% of the reference value.
road_low_point_hgl_margin_m
Road low point level minus upstream HGL
Scores if within ±3% of the reference value.
storage_margin_m3
Backup storage minus blocked volume
Scores if within ±3% of the reference value.
pump_input_power_kw
Pump assist input power
Scores if within ±3% of the reference value.
control_battery_margin_kwh
Battery capacity minus required control energy
Scores if within ±3% of the reference value.
overall_pass_score
1.0 when drainage resilience checks pass
Scores if within ±0.1% 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/coastal drainage engineer checking a task-owned synthetic SSC-04 flap gate, tide, and drainage resilience package.2 3Use only the task-owned synthetic source pack values shown below for numeric grading. External outfall, flap-gate, HGL, pump-assist, and controls-resilience workflows shape the practice context only; they are not extra data sources for this instance.4 5## Scene6 7- Product family: `SSC-04-LH-04`8- Outfall section: `OUTFALL-04-SECTION-04`9- Flap gate data: `FLAP-04-DATA-04`10- Tailwater and tide table: `TIDE-04-TAILWATER-04`11- Upstream drainage schedule: `DRAIN-04-UPSTREAM-04`12- Pump/control load note: `PUMP-04-CONTROL-04`13- Drainage resilience memo: `MEMO-04-DRAINAGE-04`14 15## Source Values16 17| Item | Value |18|------|-------|19| Pipe diameter | {{ pipe_diameter_m }} m |20| Design flow | {{ design_flow_m3_s }} m3/s |21| Tide level | {{ tide_level_m }} m |22| Surge allowance | {{ surge_allowance_m }} m |23| Outfall invert | {{ outfall_invert_m }} m |24| Flap gate loss coefficient | {{ flap_gate_loss_coefficient }} |25| Pipe friction loss | {{ pipe_friction_loss_m }} m |26| Road low point level | {{ road_low_point_level_m }} m |27| Incoming flow | {{ incoming_flow_m3_s }} m3/s |28| Gravity relief capacity | {{ gravity_relief_capacity_m3_s }} m3/s |29| Tide-locked duration | {{ tide_locked_duration_h }} h |30| Backup storage | {{ backup_storage_m3 }} m3 |31| Pump assist flow | {{ pump_assist_flow_m3_s }} m3/s |32| Pump assist head | {{ pump_assist_head_m }} m |33| Pump efficiency | {{ pump_efficiency }} |34| Control battery capacity | {{ control_battery_capacity_kwh }} kWh |35| Control load | {{ control_load_kw }} kW |36| Required control runtime | {{ required_control_runtime_h }} h |37 38## Checks39 40- Pipe area equals `pi x pipe_diameter_m^2 / 4`.41- Outlet velocity equals design flow divided by pipe area.42- Tailwater level equals tide level plus surge allowance.43- Flap gate headloss equals `loss coefficient x velocity^2 / (2 x 9.81)`.44- Upstream HGL equals tailwater level plus flap gate headloss plus pipe friction loss.45- Storage margin equals backup storage minus blocked volume during the tide-locked duration.46- Pump input power equals `1000 x 9.81 x pump flow x head / efficiency / 1000`.47- Control battery margin equals battery capacity minus control load times required runtime.48- Overall pass score is `1.0` only when road HGL, storage, and control battery margins are non-negative; otherwise it is `0.0`.49 50## Output Format51 52Write a compact drainage resilience 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.53 54Do not claim authority approval, accepted project evidence, software export validity, full standards compliance, executable real source-pack parsing, generated benchmark readiness, or benchmark readiness.55 56Include a fenced JSON block with exactly these numeric keys:57 58```json59{60 "pipe_area_m2": <numeric_value>,61 "outlet_velocity_m_s": <numeric_value>,62 "tailwater_level_m": <numeric_value>,63 "outfall_submergence_depth_m": <numeric_value>,64 "flap_gate_headloss_m": <numeric_value>,65 "upstream_hgl_m": <numeric_value>,66 "road_low_point_hgl_margin_m": <numeric_value>,67 "storage_margin_m3": <numeric_value>,68 "pump_input_power_kw": <numeric_value>,69 "control_battery_margin_kwh": <numeric_value>,70 "overall_pass_score": <numeric_value>71}72```73 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.
ssc04_flap_gate_resilience_case
Flap gate tide drainage resilience case
ssc04-flap-gate-resilience-case-preview — hard difficulty, all inputs given.
Flap gate tide drainage resilience case. Required outputs: pipe_area_m2, outlet_velocity_m_s, tailwater_level_m, outfall_submergence_depth_m, flap_gate_headloss_m, upstream_hgl_m
Scenario context and visible inputs.
Executable tool: flap-gate-tide-drainage-resilience-package_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"pipe_area_m2": <number>,
"outlet_velocity_m_s": <number>,
"tailwater_level_m": <number>,
"outfall_submergence_depth_m": <number>,
"flap_gate_headloss_m": <number>,
"upstream_hgl_m": <number>,
"road_low_point_hgl_margin_m": <number>,
"storage_margin_m3": <number>,
"pump_input_power_kw": <number>,
"control_battery_margin_kwh": <number>,
"overall_pass_score": <number>
}