LIVEdataset aec-bench@releasetasks 552models 18last submission · built
mechanicalwith-tool

Hrt Calculation

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

How this task is generated

One template produces many comparable benchmark tasks while keeping the scoring contract fixed.

  1. 01

    Template

    The reusable contract shown on this page.

  2. 02

    Scenario

    An archetype and site context are sampled.

  3. 03

    Difficulty tier

    Inputs may be hidden at harder tiers.

  4. 04

    Task prompt

    The model responds with the declared outputs.

Parameters

Inputs the model receives, and the outputs it is scored on.

Inputs

2 inputs

Always given

Included directly in every task prompt.

2
  • Reactor volume

    reactor_volume_m3

    Treatment reactor or tank volume

    1 – 200000 m3
  • Flow rate

    flow_rate_m3_d

    Average flow rate through the treatment unit

    1 – 1000000 m3/d

Scored outputs

3 outputs

Hrt days

hrt_days

Hydraulic retention time in days

Scores if within ±3% of the reference value.

Hrt hours

hrt_hours

Hydraulic retention time in hours

Scores if within ±3% of the reference value.

Flow rate

flow_rate_m3_h

Flow rate in cubic metres per hour

Scores if within ±3% of the reference value.

Difficulty

Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.

All inputs remain visible at every tier

For this template, difficulty scales through parameter and scenario ranges rather than hidden information.

easy:
All parameters given for a small treatment unit
medium:
All parameters given across package and municipal units
hard:
All parameters given for larger treatment basins

Task bundle

The exact instruction and parameter contract used to generate this task, pinned to the published library source.

/workspace

  • instruction.md
  • hrt-calculation_calc.py

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

Scenario archetypes

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

package_treatment_unit

Small package treatment unit

remote-community-wwtpindustrial-package-plant
Parameter ranges
reactor_volume_m3
10 – 500
flow_rate_m3_d
20 – 1500

Municipal basin

municipal_basin

Municipal treatment basin

regional-wwtpwater-treatment-clarifier
Parameter ranges
reactor_volume_m3
1000 – 80000
flow_rate_m3_d
2000 – 250000

Example task

regional-wwtp-municipal-basin-previewhard difficulty, all inputs given.

Municipal treatment basin. regional-wwtp. Required outputs: hrt_days, hrt_hours, flow_rate_m3_h

The model sees

Scenario context and visible inputs.

reactor_volume_m3
1000 to 80000 m3
flow_rate_m3_d
2000 to 250000 m3/d

Executable tool: hrt-calculation_calc.py

The model must infer

Inputs withheld at this difficulty.

Nothing. All inputs are supplied.

The model must produce

The scored JSON answer schema.

{
  "hrt_days": <number>,
  "hrt_hours": <number>,
  "flow_rate_m3_h": <number>
}
  • hrt_days · scored within ±3%
  • hrt_hours · scored within ±3%
  • flow_rate_m3_h · scored within ±3%