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

Flap Gate Tide Drainage Resilience Package

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.

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

18 inputs

Always given

Included directly in every task prompt.

18
Show 18 inputs
  • Pipe diameter

    pipe_diameter_m

    OUTFALL-04-SECTION-04 pipe diameter

    0.75 m
  • Design flow

    design_flow_m3_s

    DRAIN-04-UPSTREAM-04 design flow

    0.42 m3/s
  • Tide level

    tide_level_m

    TIDE-04-TAILWATER-04 tide level

    2.1 m
  • Surge allowance

    surge_allowance_m

    TIDE-04-TAILWATER-04 surge allowance

    0.7 m
  • Outfall invert

    outfall_invert_m

    OUTFALL-04-SECTION-04 outfall invert

    1.2 m
  • Flap gate loss coefficient

    flap_gate_loss_coefficient

    FLAP-04-DATA-04 flap gate loss coefficient

    2.5
  • Pipe friction loss

    pipe_friction_loss_m

    DRAIN-04-UPSTREAM-04 pipe friction loss

    0.25 m
  • Road low point level

    road_low_point_level_m

    DRAIN-04-UPSTREAM-04 road low point level

    3.45 m
  • Incoming flow

    incoming_flow_m3_s

    DRAIN-04-UPSTREAM-04 incoming flow during tide lock

    0.42 m3/s
  • Gravity relief capacity

    gravity_relief_capacity_m3_s

    FLAP-04-DATA-04 gravity relief capacity during tailwater event

    0.35 m3/s
  • Tide locked duration

    tide_locked_duration_h

    TIDE-04-TAILWATER-04 tide locked duration

    2.5 h
  • Backup storage

    backup_storage_m3

    DRAIN-04-UPSTREAM-04 backup storage

    800 m3
  • Pump assist flow

    pump_assist_flow_m3_s

    PUMP-04-CONTROL-04 pump assist flow

    0.12 m3/s
  • Pump assist head

    pump_assist_head_m

    PUMP-04-CONTROL-04 pump assist head

    3 m
  • Pump efficiency

    pump_efficiency

    PUMP-04-CONTROL-04 pump efficiency

    0.7
  • Control battery capacity

    control_battery_capacity_kwh

    PUMP-04-CONTROL-04 control battery capacity

    18 kWh
  • Control load

    control_load_kw

    PUMP-04-CONTROL-04 control load

    4 kW
  • Required control runtime

    required_control_runtime_h

    PUMP-04-CONTROL-04 required control runtime

    3 h

Scored outputs

11 outputs

Pipe area m2

pipe_area_m2

Circular outfall pipe area

Scores if within ±3% of the reference value.

Outlet velocity m s

outlet_velocity_m_s

Design flow divided by pipe area

Scores if within ±3% of the reference value.

Tailwater level

tailwater_level_m

Tide level plus surge allowance

Scores if within ±3% of the reference value.

Outfall submergence depth

outfall_submergence_depth_m

Tailwater level minus outfall invert, clipped at zero

Scores if within ±3% of the reference value.

Flap gate headloss

flap_gate_headloss_m

Flap gate local headloss

Scores if within ±3% of the reference value.

Upstream hgl

upstream_hgl_m

Tailwater, flap gate, and pipe loss HGL

Scores if within ±3% of the reference value.

Road low point hgl margin

road_low_point_hgl_margin_m

Road low point level minus upstream HGL

Scores if within ±3% of the reference value.

Storage margin m3

storage_margin_m3

Backup storage minus blocked volume

Scores if within ±3% of the reference value.

Pump input power

pump_input_power_kw

Pump assist input power

Scores if within ±3% of the reference value.

Control battery margin kwh

control_battery_margin_kwh

Battery capacity minus required control energy

Scores if within ±3% of the reference value.

Overall pass score

overall_pass_score

1.0 when drainage resilience checks pass

Scores if within ±0.1% 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-04 flap gate resilience package
medium:
All source-pack values given for the SSC-04 flap gate resilience package
hard:
All source-pack values given for the SSC-04 flap gate resilience package

Task bundle

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

/workspace

  • instruction.md
  • flap-gate-tide-drainage-resilience-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/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

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.

Ssc04 flap gate resilience case

ssc04_flap_gate_resilience_case

Flap gate tide drainage resilience case

Parameter ranges
pipe_diameter_m
0.75
design_flow_m3_s
0.42
tide_level_m
2.1
surge_allowance_m
0.7
outfall_invert_m
1.2
flap_gate_loss_coefficient
2.5
pipe_friction_loss_m
0.25
road_low_point_level_m
3.45
incoming_flow_m3_s
0.42
gravity_relief_capacity_m3_s
0.35
tide_locked_duration_h
2.5
backup_storage_m3
800
pump_assist_flow_m3_s
0.12
pump_assist_head_m
3
pump_efficiency
0.7
control_battery_capacity_kwh
18
control_load_kw
4
required_control_runtime_h
3

Example task

ssc04-flap-gate-resilience-case-previewhard 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

The model sees

Scenario context and visible inputs.

pipe_diameter_m
0.75 to 0.75 m
design_flow_m3_s
0.42 to 0.42 m3/s
tide_level_m
2.1 to 2.1 m
surge_allowance_m
0.7 to 0.7 m
outfall_invert_m
1.2 to 1.2 m
flap_gate_loss_coefficient
2.5 to 2.5
pipe_friction_loss_m
0.25 to 0.25 m
road_low_point_level_m
3.45 to 3.45 m
incoming_flow_m3_s
0.42 to 0.42 m3/s
gravity_relief_capacity_m3_s
0.35 to 0.35 m3/s
tide_locked_duration_h
2.5 to 2.5 h
backup_storage_m3
800 to 800 m3
pump_assist_flow_m3_s
0.12 to 0.12 m3/s
pump_assist_head_m
3 to 3 m
pump_efficiency
0.7 to 0.7
control_battery_capacity_kwh
18 to 18 kWh
control_load_kw
4 to 4 kW
required_control_runtime_h
3 to 3 h

Executable tool: flap-gate-tide-drainage-resilience-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_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>
}
  • pipe_area_m2 · scored within ±3%
  • outlet_velocity_m_s · scored within ±3%
  • tailwater_level_m · scored within ±3%
  • outfall_submergence_depth_m · scored within ±3%
  • flap_gate_headloss_m · scored within ±3%
  • upstream_hgl_m · scored within ±3%
  • road_low_point_hgl_margin_m · scored within ±3%
  • storage_margin_m3 · scored within ±3%
  • pump_input_power_kw · scored within ±3%
  • control_battery_margin_kwh · scored within ±3%
  • overall_pass_score · scored within ±0.1%