Pipe area m2
pipe_area_m2
Pipe internal area
Scores if within ±3% of the reference value.
Calculates pipe velocity from flow rate and internal diameter, then compares it with explicit minimum and maximum velocity criteria. The template reports pipe area, velocity, margins, and a numeric range flag.
with-tool: The model is given an executable Python calculator script.
Standards
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.
4 inputs
Included directly in every task prompt.
Flow rate
flow_rate_l_s
Pipe flow rate
Pipe internal diameter
pipe_internal_diameter_mm
Pipe internal diameter
Minimum velocity
minimum_velocity_m_s
Minimum acceptable velocity
Maximum velocity
maximum_velocity_m_s
Maximum acceptable velocity
5 outputs
pipe_area_m2
Pipe internal area
Scores if within ±3% of the reference value.
velocity_m_s
Calculated pipe velocity
Scores if within ±3% of the reference value.
min_margin_m_s
Velocity margin above minimum criterion
Scores if within ±3% of the reference value.
max_margin_m_s
Velocity margin below maximum criterion
Scores if within ±3% of the reference value.
velocity_within_range
Numeric flag where 1 means velocity is within the explicit range
Scores if within ±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 senior mechanical engineer specializing in pipe hydraulic checks.2 3## Problem4 5Calculate pipe velocity from flow and diameter, then compare it with explicit minimum and maximum velocity criteria.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Flow rate | {{ flow_rate_l_s }} | L/s |12| Pipe internal diameter | {{ pipe_internal_diameter_mm }} | mm |13| Minimum velocity | {{ minimum_velocity_m_s }} | m/s |14| Maximum velocity | {{ maximum_velocity_m_s }} | m/s |15 16{% if archetype_description is defined %}17### Pipe Context18 19{{ archetype_description }}20{% endif %}21 22{% if tool_available %}23## Available Tool24 25A velocity check tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:26 27```bash28python3 /workspace/{{ meta.name }}_calc.py --help29```30 31You may use this tool to verify your calculations or compute values directly.32{% endif %}33 34## Required35 36Calculate the following:37 381. Pipe internal area392. Flow velocity403. Margin above minimum velocity414. Margin below maximum velocity425. Numeric pass flag, where 1 means velocity is within the explicit range43 44## Constraints45 46- No internet access is available. Work from engineering knowledge and the provided tool.47- Use pipe area = pi x diameter squared / 4.48- Convert flow from L/s to m3/s before calculating velocity.49- Use only the explicit velocity criteria provided.50 51## Output Format52 53Show 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:54 55```json56{57 "pipe_area_m2": <numeric_value>,58 "velocity_m_s": <numeric_value>,59 "min_margin_m_s": <numeric_value>,60 "max_margin_m_s": <numeric_value>,61 "velocity_within_range": <numeric_value>62}63```64 65Write your complete solution to `/workspace/output.md`.66 67 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.
water_distribution
Water distribution pipe velocity check
process_pipe
Industrial process pipe velocity check
process-pipe-process-pipe-preview — hard difficulty, all inputs given.
Industrial process pipe velocity check. process-pipe. Required outputs: pipe_area_m2, velocity_m_s, min_margin_m_s, max_margin_m_s, velocity_within_range
Scenario context and visible inputs.
Executable tool: velocity-check_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"pipe_area_m2": <number>,
"velocity_m_s": <number>,
"min_margin_m_s": <number>,
"max_margin_m_s": <number>,
"velocity_within_range": <number>
}