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

Slr Calculation

Calculates secondary clarifier solids loading rate from total clarifier flow, MLSS concentration, and surface area, then compares the result with an explicit maximum criterion. The template reports solids mass flow, area-normalised loading, utilisation, margin, and a numeric criterion flag.

with-tool: The model is given an executable Python calculator script.

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

4 inputs

Always given

Included directly in every task prompt.

4
  • Total flow

    total_flow_m3_d

    Total flow to the clarifier including return activated sludge

    1 – 1500000 m3/d
  • Mlss concentration

    mlss_concentration_mg_l

    Mixed liquor suspended solids concentration

    500 – 8000 mg/L
  • Clarifier surface area

    clarifier_surface_area_m2

    Clarifier plan surface area

    1 – 100000 m2
  • Maximum slr

    maximum_slr_kg_m2_h

    Maximum allowable solids loading rate criterion

    1 – 20 kg/m2.h

Scored outputs

5 outputs

Solids mass flow kg d

solids_mass_flow_kg_d

Clarifier solids mass flow

Scores if within ±3% of the reference value.

Solids loading rate kg m2 h

solids_loading_rate_kg_m2_h

Calculated solids loading rate

Scores if within ±3% of the reference value.

Utilisation ratio

utilisation_ratio

Ratio of calculated SLR to maximum criterion

Scores if within ±3% of the reference value.

Compliance margin kg m2 h

compliance_margin_kg_m2_h

Positive margin below the maximum criterion

Scores if within ±3% of the reference value.

Criterion satisfied

criterion_satisfied

Numeric flag where 1 means the criterion is satisfied

Scores if within ±1% 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 secondary clarifier
medium:
All parameters given across secondary clarifier archetypes
hard:
All parameters given for a high-rate clarifier

Task bundle

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

/workspace

  • instruction.md
  • slr-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 wastewater treatment.2 3## Problem4 5Calculate secondary clarifier solids loading rate and compare it with an explicit maximum criterion.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Total clarifier flow including return activated sludge | {{ total_flow_m3_d }} | m3/d |12| MLSS concentration | {{ mlss_concentration_mg_l }} | mg/L |13| Clarifier surface area | {{ clarifier_surface_area_m2 }} | m2 |14| Maximum solids loading rate | {{ maximum_slr_kg_m2_h }} | kg/m2.h |15 16{% if archetype_description is defined %}17### Clarifier Context18 19{{ archetype_description }}20{% endif %}21 22{% if tool_available %}23## Available Tool24 25A solids loading rate calculation 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. Solids mass flow in kg/d392. Solids loading rate in kg/m2.h403. Utilisation ratio against the maximum criterion414. Compliance margin in kg/m2.h425. Numeric criterion flag, where 1 means satisfied and 0 means not satisfied43 44## Constraints45 46- No internet access is available. Work from engineering knowledge and the provided tool.47- Use solids mass flow = total flow x MLSS / 1000.48- Use solids loading rate = solids mass flow / clarifier surface area / 24.49- Use utilisation ratio = solids loading rate / maximum solids loading rate.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 "solids_mass_flow_kg_d": <numeric_value>,58 "solids_loading_rate_kg_m2_h": <numeric_value>,59 "utilisation_ratio": <numeric_value>,60 "compliance_margin_kg_m2_h": <numeric_value>,61 "criterion_satisfied": <numeric_value>62}63```64 65Write your complete solution to `/workspace/output.md`.66 67

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.

Secondary clarifier

secondary_clarifier

Secondary clarifier solids loading check

municipal-wwtpsecondary-clarifier
Parameter ranges
total_flow_m3_d
2000 – 120000
mlss_concentration_mg_l
1800 – 4500
clarifier_surface_area_m2
100 – 5000
maximum_slr_kg_m2_h
4 – 10

High rate clarifier

high_rate_clarifier

High-rate secondary clarifier solids loading check

large-wwtppeak-wet-weather
Parameter ranges
total_flow_m3_d
50000 – 500000
mlss_concentration_mg_l
2500 – 6000
clarifier_surface_area_m2
2000 – 20000
maximum_slr_kg_m2_h
6 – 14

Example task

large-wwtp-high-rate-clarifier-previewhard difficulty, all inputs given.

High-rate secondary clarifier solids loading check. large-wwtp. Required outputs: solids_mass_flow_kg_d, solids_loading_rate_kg_m2_h, utilisation_ratio, compliance_margin_kg_m2_h, criterion_satisfied

The model sees

Scenario context and visible inputs.

total_flow_m3_d
50000 to 500000 m3/d
mlss_concentration_mg_l
2500 to 6000 mg/L
clarifier_surface_area_m2
2000 to 20000 m2
maximum_slr_kg_m2_h
6 to 14 kg/m2.h

Executable tool: slr-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.

{
  "solids_mass_flow_kg_d": <number>,
  "solids_loading_rate_kg_m2_h": <number>,
  "utilisation_ratio": <number>,
  "compliance_margin_kg_m2_h": <number>,
  "criterion_satisfied": <number>
}
  • solids_mass_flow_kg_d · scored within ±3%
  • solids_loading_rate_kg_m2_h · scored within ±3%
  • utilisation_ratio · scored within ±3%
  • compliance_margin_kg_m2_h · scored within ±3%
  • criterion_satisfied · scored within ±1%