Upstream pressure
upstream_pressure_kpa
Uplift pressure at the upstream face P_upstream (kPa)
Scores if within ±3% of the reference value.
Calculates the bilinear uplift pressure distribution beneath a concrete gravity dam using the simplified method from USACE EM 1110-2-2200. Computes pressures at the upstream face, drainage gallery, and downstream face, then integrates the trapezoidal distribution to obtain total uplift force per unit length for sliding and overturning stability checks.
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.
Headwater depth
headwater_depth_m
Headwater depth (hydraulic head) upstream of the dam
Tailwater depth
tailwater_depth_m
Tailwater depth (hydraulic head) downstream of the dam
Base width
base_width_m
Total base width of the dam from upstream to downstream face
Drain distance
drain_distance_m
Distance from the upstream face to the drainage gallery line
Sampled from the scenario and inferable from its description.
Drain efficiency pct
drain_efficiency_pct
Drainage gallery efficiency as a percentage (0 = no drain, 100 = full relief)
Derived from the archetype scenario. Hidden at hard difficulty.
4 outputs
upstream_pressure_kpa
Uplift pressure at the upstream face P_upstream (kPa)
Scores if within ±3% of the reference value.
drain_pressure_kpa
Uplift pressure at the drain line P_drain (kPa)
Scores if within ±3% of the reference value.
downstream_pressure_kpa
Uplift pressure at the downstream face P_downstream (kPa)
Scores if within ±3% of the reference value.
total_uplift_force_kn_m
Total uplift force per unit length of dam U (kN/m)
Scores if within ±3% 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 weir scenario, all parameters given including drain efficiency
All inputs given
All parameters given, wider range of dam types and operating conditions
Some inputs hidden
Drain efficiency hidden; agent must estimate from structure type and site context
Hidden inputs
Prompt replacement text
The structure is a {{ archetype.description }} ({{ 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/dams engineer specializing in dam stability and seepage analysis.2 3## Problem4 5Calculate the uplift pressure distribution on a concrete gravity dam foundation and determine the total uplift force per unit length of dam.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Headwater depth (H_u) | {{ headwater_depth_m }} | m |12| Tailwater depth (H_d) | {{ tailwater_depth_m }} | m |13| Base width (B) | {{ base_width_m }} | m |14| Drain distance from upstream face (d_drain) | {{ drain_distance_m }} | m |15{% if drain_efficiency_pct is defined %}16| Drain efficiency (eta) | {{ drain_efficiency_pct }} | % |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 28An uplift pressure calculation tool is available at `/workspace/uplift-pressure_calc.py`. Run it with:29 30```bash31python3 /workspace/uplift-pressure_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. Uplift pressure at the upstream face P_upstream (kPa)422. Uplift pressure at the drain line P_drain (kPa)433. Uplift pressure at the downstream face P_downstream (kPa)444. Total uplift force per unit length of dam U (kN/m)45 46## Applicable Standards47 48- USACE EM 1110-2-2200 — Gravity Dam Design49- USBR Design Standard No. 13 — Embankment Dams50 51## Constraints52 53- No internet access is available. Work from engineering knowledge and the provided tool.54- Use the simplified bilinear uplift pressure distribution per USACE EM 1110-2-2200:55 - **P_upstream = gamma_w * H_u** (full headwater pressure at the upstream face)56 - **P_drain = gamma_w * (H_d + (1 - eta) * (H_u - H_d))** (reduced pressure at the drain line)57 - **P_downstream = gamma_w * H_d** (full tailwater pressure at the downstream face)58 - Where eta = drain efficiency (0 to 1), H_u = headwater depth, H_d = tailwater depth59- Total uplift force per unit length (trapezoidal integration):60 - **U = 0.5 * (P_upstream + P_drain) * d_drain + 0.5 * (P_drain + P_downstream) * (B - d_drain)**61 - Where d_drain = distance from upstream face to drain line, B = total base width62- Use gamma_w = 9.81 kN/m363- USACE recommends drain efficiency of 0.25 to 0.50 for preliminary design; up to 0.67 for well-maintained galleries64- If drain efficiency is not given, estimate based on structure type: small weirs 25-50%, gravity dams with galleries 40-67%65 66## Output Format67 68Show 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:69 70```json71{72 "upstream_pressure_kpa": <numeric_value>,73 "drain_pressure_kpa": <numeric_value>,74 "downstream_pressure_kpa": <numeric_value>,75 "total_uplift_force_kn_m": <numeric_value>76}77```78 79Write your complete solution to `/workspace/output.md`.80 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.
small_weir
Small weir or low-head diversion structure on alluvial foundation
medium_gravity_dam
Medium-height concrete gravity dam with foundation drainage gallery
large_flood_dam
Large concrete gravity dam designed for flood control and water storage
run_of_river_barrage
Run-of-river barrage with low head differential and gated spillway
regional-water-supply-dam-medium-gravity-dam-preview — hard difficulty, some inputs hidden.
Medium-height concrete gravity dam with foundation drainage gallery. regional-water-supply-dam. Required outputs: upstream_pressure_kpa, drain_pressure_kpa, downstream_pressure_kpa, total_uplift_force_kn_m
Scenario context and visible inputs.
Executable tool: uplift-pressure_calc.py
Inputs withheld at this difficulty.
Drain efficiency pct
drain_efficiency_pct
Stand-in text in the prompt
The structure is a {{ archetype.description }} ({{ archetype.site_context }})
The scored JSON answer schema.
{
"upstream_pressure_kpa": <number>,
"drain_pressure_kpa": <number>,
"downstream_pressure_kpa": <number>,
"total_uplift_force_kn_m": <number>
}