Wavelength
wavelength_m
Wavelength L (m)
Scores if within ±5% of the reference value.
Solves the linear wave dispersion relation using Newton-Raphson iteration to compute wavelength, phase celerity, and group velocity for monochromatic waves. Also derives wave steepness and relative depth (d/L) for water depth classification. Follows the USACE Coastal Engineering Manual Part II Chapter 1 formulation applicable across deep, intermediate, and shallow water regimes.
both: The model must reason numerically unaided.
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.
3 inputs
Included directly in every task prompt.
Water depth
water_depth_m
Water depth d
Sampled from the scenario and inferable from its description.
Wave height
wave_height_m
Wave height H
Derived from the archetype scenario.
Visible in easier tasks and withheld in one or more harder tiers.
Wave period
wave_period_s
Wave period T
Hidden at hard difficulty.
5 outputs
wavelength_m
Wavelength L (m)
Scores if within ±5% of the reference value.
wave_celerity_m_per_s
Wave phase celerity C = L / T (m/s)
Scores if within ±5% of the reference value.
group_velocity_m_per_s
Group velocity C_g = n * C (m/s)
Scores if within ±5% of the reference value.
wave_steepness
Wave steepness S = H / L (dimensionless)
Scores if within ±2% of the reference value.
relative_depth
Relative depth d/L (dimensionless); >0.5 deep, <0.05 shallow, else intermediate
Scores if within ±2% 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
Moderate period and depth — all parameters given, straightforward dispersion solve
All inputs given
Extreme depth ratio conditions — all parameters given, deep or very shallow regime
Some inputs hidden
Wave period hidden — agent must estimate from wave height via empirical wind-wave relationships (T approx 3.5-5.5 * sqrt(H))
Hidden inputs
Prompt replacement text
The site is {{ archetype.description }} ({{ archetype.site_context }}). Estimate the wave period from the given wave height using standard empirical relationships for the wave regime.
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 coastal engineer specializing in wave mechanics and nearshore hydrodynamics.2 3## Problem4 5Calculate wave properties using linear (Airy) wave theory by solving the dispersion relation for the given wave period and water depth.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Wave period (T) | {{ wave_period_s }} | s |12| Water depth (d) | {{ water_depth_m }} | m |13{% if wave_height_m is defined %}14| Wave height (H) | {{ wave_height_m }} | m |15{% endif %}16{% if archetype_description is defined %}17 18### Site Conditions19 20{{ archetype_description }}21{% endif %}22 23{% if tool_available %}24## Available Tool25 26A linear wave theory calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:27 28```bash29python3 /workspace/{{ meta.name }}_calc.py --help30```31 32You may use this tool to verify your calculations or compute values directly.33{% endif %}34 35## Required36 37Calculate the following:38 391. Wavelength L (m)402. Wave phase celerity C (m/s)413. Group velocity C_g (m/s)424. Wave steepness S = H / L (dimensionless)435. Relative depth d/L (dimensionless)44 45## Applicable Standards46 47- USACE Coastal Engineering Manual (CEM) Part II Chapter 148 49## Constraints50 51- No internet access is available. Work from engineering knowledge and the provided tool.52- Use the following procedure:53 1. **Deep-water wavelength** (initial estimate):54 - L₀ = g × T² / (2π)55 - where g = 9.81 m/s²56 2. **Solve the dispersion relation** iteratively (Newton-Raphson):57 - L = L₀ × tanh(2πd / L)58 - Define f(L) = L − L₀ × tanh(2πd / L)59 - Derivative: f'(L) = 1 + L₀ × (2πd / L²) / cosh²(2πd / L)60 - Update: L_{n+1} = L_n − f(L_n) / f'(L_n)61 - Start from L₀ and iterate until convergence (|L_{n+1} − L_n| < 10⁻⁶)62 3. **Wave celerity**:63 - C = L / T64 4. **Group velocity**:65 - k = 2π / L66 - n = 0.5 × (1 + 2kd / sinh(2kd))67 - C_g = n × C68 5. **Wave steepness**:69 - S = H / L70 6. **Relative depth**:71 - d/L (classify: > 0.5 deep, < 0.05 shallow, else intermediate)72 73## Output Format74 75Show your step-by-step working in Markdown. At the end of your solution, include a JSON block with your final answers in exactly this format:76 77```json78{79 "wavelength_m": <numeric_value>,80 "wave_celerity_m_per_s": <numeric_value>,81 "group_velocity_m_per_s": <numeric_value>,82 "wave_steepness": <numeric_value>,83 "relative_depth": <numeric_value>84}85```86 87Write your complete solution to `/workspace/output.md`.88 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.
deep_ocean_swell
Deep ocean swell with long period waves in open water
continental_shelf
Continental shelf with moderate depth and intermediate-period waves
nearshore_approach
Nearshore zone with waves approaching the coastline
shallow_estuary
Shallow estuary or harbour entrance with short-period waves
reef_platform
Shallow reef platform with long-period ocean swell
tasman-sea-offshore-deep-ocean-swell-preview — hard difficulty, some inputs hidden.
Deep ocean swell with long period waves in open water. tasman-sea-offshore. Required outputs: wavelength_m, wave_celerity_m_per_s, group_velocity_m_per_s, wave_steepness, relative_depth
Scenario context and visible inputs.
Executable tool: linear-wave-theory_calc.py
Inputs withheld at this difficulty.
Wave period s
wave_period_s
Stand-in text in the prompt
The site is {{ archetype.description }} ({{ archetype.site_context }}). Estimate the wave period from the given wave height using standard empirical relationships for the wave regime.
The scored JSON answer schema.
{
"wavelength_m": <number>,
"wave_celerity_m_per_s": <number>,
"group_velocity_m_per_s": <number>,
"wave_steepness": <number>,
"relative_depth": <number>
}