Fos
fos
Factor of safety against slope failure FoS (dimensionless)
Scores if within ±3% of the reference value.
Computes the factor of safety against shallow translational failure on an embankment dam slope under steady-state seepage using the infinite slope method. The pore pressure ratio (ru) represents the phreatic surface location, and the balance of driving shear stress against Mohr-Coulomb resisting strength along the failure plane determines stability. Applicable to preliminary dam safety assessments per USACE EM 1110-2-1902 and ANCOLD guidelines.
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.
6 inputs
Included directly in every task prompt.
Slope angle deg
slope_angle_deg
Embankment slope angle beta measured from horizontal
Failure depth
failure_depth_m
Depth from slope surface to the failure plane z
Pore pressure ratio
pore_pressure_ratio
Pore pressure ratio ru = u / (gamma_sat * z) representing steady-state phreatic surface
Sampled from the scenario and inferable from its description.
Cohesion
cohesion_kpa
Effective cohesion of embankment fill c'
Derived from the archetype scenario. Hidden at hard difficulty.
Friction angle deg
friction_angle_deg
Effective friction angle of embankment fill phi'
Derived from the archetype scenario. Hidden at hard difficulty.
Saturated unit weight
saturated_unit_weight_kn_m3
Saturated unit weight of embankment fill gamma_sat
Derived from the archetype scenario. Hidden at hard difficulty.
3 outputs
fos
Factor of safety against slope failure FoS (dimensionless)
Scores if within ±3% of the reference value.
driving_stress_kpa
Driving shear stress along the failure plane tau_d (kPa)
Scores if within ±3% of the reference value.
resisting_stress_kpa
Resisting shear stress along the failure plane tau_r (kPa)
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
Dry slope (ru=0), granular fill with no cohesion — simplest formula variant
Pore pressure ratio restricted to: 0
Cohesion restricted to: 0
All inputs given
Seepage present (ru > 0) with cohesive fill — full formula with all parameters given
Some inputs hidden
Seepage present, soil properties hidden — agent must infer from site context and fill description
Hidden inputs
Prompt replacement text
The embankment fill is {{ 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 dams engineer specializing in embankment dam slope stability and seepage analysis.2 3## Problem4 5Calculate the factor of safety against shallow translational slope failure on an embankment dam slope under steady-state seepage conditions using the infinite slope method.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Embankment slope angle (β) | {{ slope_angle_deg }} | degrees |12| Depth to failure plane (z) | {{ failure_depth_m }} | m |13{% if cohesion_kpa is defined %}14| Effective cohesion (c') | {{ cohesion_kpa }} | kPa |15{% endif %}16{% if friction_angle_deg is defined %}17| Effective friction angle (φ') | {{ friction_angle_deg }} | degrees |18{% endif %}19{% if saturated_unit_weight_kn_m3 is defined %}20| Saturated unit weight (γ_sat) | {{ saturated_unit_weight_kn_m3 }} | kN/m³ |21{% endif %}22| Pore pressure ratio (ru) | {{ pore_pressure_ratio }} | - |23{% if archetype_description is defined %}24 25### Site Conditions26 27{{ archetype_description }}28{% endif %}29 30{% if tool_available %}31## Available Tool32 33A slope stability calculation tool is available at `/workspace/fos-steady-state_calc.py`. Run it with:34 35```bash36python3 /workspace/fos-steady-state_calc.py --help37```38 39You may use this tool to verify your calculations or compute values directly.40{% endif %}41 42## Required43 44Calculate the following:45 461. Factor of safety against slope failure FoS (dimensionless)472. Driving shear stress along the failure plane τ_d (kPa)483. Resisting shear stress along the failure plane τ_r (kPa)49 50## Applicable Standards51 52- USACE EM 1110-2-1902 — Slope Stability53- ANCOLD Guidelines on Design Criteria for Concrete Gravity Dams and Embankment Dams54 55## Constraints56 57- No internet access is available. Work from engineering knowledge and the provided tool.58- Use the infinite slope equation with pore pressure ratio for steady-state seepage:59 - **Pore pressure:** u = ru × γ_sat × z60 - **Driving shear stress:** τ_d = γ_sat × z × sin(β) × cos(β)61 - **Normal effective stress:** σ'_n = γ_sat × z × cos²(β) - u62 - **Resisting shear stress:** τ_r = c' + σ'_n × tan(φ')63 - **Factor of safety:** FoS = τ_r / τ_d64- Use γ_w = 9.81 kN/m³ (for reference; the ru formulation does not require γ_w directly)65- USACE EM 1110-2-1902 requires minimum FoS of 1.5 for steady-state seepage conditions66- Typical embankment fill properties:67 - Compacted clay: c' = 10–30 kPa, φ' = 18–26°, γ_sat = 19–21 kN/m³68 - Sandy gravel shell: c' ≈ 0 kPa, φ' = 34–40°, γ_sat = 20–22 kN/m³69 - Homogeneous earth fill: c' = 5–20 kPa, φ' = 22–30°, γ_sat = 18–20 kN/m³70 71## Output Format72 73Show 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:74 75```json76{77 "fos": <numeric_value>,78 "driving_stress_kpa": <numeric_value>,79 "resisting_stress_kpa": <numeric_value>80}81```82 83Write your complete solution to `/workspace/output.md`.84 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.
compacted_clay_core
Compacted clay core zone of a zoned earth dam
compacted_sandy_gravel_shell
Compacted sandy gravel shell zone of a zoned earth dam
homogeneous_earth_fill
Homogeneous earth fill embankment of a small to medium farm dam
laterite_residual
Laterite residual soil fill used in tropical dam embankments
weathered_rock_fill
Weathered rock fill placed in the outer shell of a dam embankment
silty_sand_fill
Silty sand fill used in homogeneous tailings dam embankments
warragamba-dam-nsw-compacted-clay-core-preview — hard difficulty, some inputs hidden.
Compacted clay core zone of a zoned earth dam. warragamba-dam-nsw. Required outputs: fos, driving_stress_kpa, resisting_stress_kpa
Scenario context and visible inputs.
Executable tool: fos-steady-state_calc.py
Inputs withheld at this difficulty.
Saturated unit weight kn m3
saturated_unit_weight_kn_m3
Cohesion
cohesion_kpa
Friction angle deg
friction_angle_deg
Stand-in text in the prompt
The embankment fill is {{ archetype.description }} ({{ archetype.site_context }})
The scored JSON answer schema.
{
"fos": <number>,
"driving_stress_kpa": <number>,
"resisting_stress_kpa": <number>
}