Hrt days
hrt_days
Hydraulic retention time in days
Scores if within ±3% of the reference value.
Calculates hydraulic retention time from treatment volume and flow rate using HRT = V/Q. The template reports retention time in days and hours plus the hourly flow rate, providing a deterministic first-pass wastewater and water treatment sizing calculation.
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.
2 inputs
Included directly in every task prompt.
Reactor volume
reactor_volume_m3
Treatment reactor or tank volume
Flow rate
flow_rate_m3_d
Average flow rate through the treatment unit
3 outputs
hrt_days
Hydraulic retention time in days
Scores if within ±3% of the reference value.
hrt_hours
Hydraulic retention time in hours
Scores if within ±3% of the reference value.
flow_rate_m3_h
Flow rate in cubic metres per hour
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.
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 water and wastewater treatment.2 3## Problem4 5Calculate hydraulic retention time for a treatment unit from reactor volume and flow rate.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Reactor volume | {{ reactor_volume_m3 }} | m3 |12| Flow rate | {{ flow_rate_m3_d }} | m3/d |13 14{% if archetype_description is defined %}15### Treatment Context16 17{{ archetype_description }}18{% endif %}19 20{% if tool_available %}21## Available Tool22 23An HRT calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:24 25```bash26python3 /workspace/{{ meta.name }}_calc.py --help27```28 29You may use this tool to verify your calculations or compute values directly.30{% endif %}31 32## Required33 34Calculate the following:35 361. Hydraulic retention time in days372. Hydraulic retention time in hours383. Flow rate in m3/h39 40## Constraints41 42- No internet access is available. Work from engineering knowledge and the provided tool.43- Use HRT days = reactor volume / flow rate.44- Use HRT hours = HRT days x 24.45- Use flow rate in m3/h = flow rate in m3/d / 24.46 47## Output Format48 49Show 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:50 51```json52{53 "hrt_days": <numeric_value>,54 "hrt_hours": <numeric_value>,55 "flow_rate_m3_h": <numeric_value>56}57```58 59Write your complete solution to `/workspace/output.md`.60 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.
package_treatment_unit
Small package treatment unit
municipal_basin
Municipal treatment basin
regional-wwtp-municipal-basin-preview — hard difficulty, all inputs given.
Municipal treatment basin. regional-wwtp. Required outputs: hrt_days, hrt_hours, flow_rate_m3_h
Scenario context and visible inputs.
Executable tool: hrt-calculation_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"hrt_days": <number>,
"hrt_hours": <number>,
"flow_rate_m3_h": <number>
}