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

Sprinkler Discharge

Calculates sprinkler discharge from an explicit K factor and operating pressure using Q = K sqrt(P). The template reports flow in L/min and L/s plus operating pressure in kPa.

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

2 inputs

Always given

Included directly in every task prompt.

2
  • K factor

    k_factor_l_min_sqrt_bar

    Sprinkler K factor

    10 – 400 L/min/sqrt(bar)
  • Pressure

    pressure_bar

    Operating pressure at the sprinkler

    0.1 – 20 bar

Scored outputs

3 outputs

Discharge l min

discharge_l_min

Sprinkler discharge

Scores if within ±3% of the reference value.

Discharge

discharge_l_s

Sprinkler discharge in litres per second

Scores if within ±3% of the reference value.

Pressure

pressure_kpa

Operating pressure in kilopascals

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 standard spray sprinklers
medium:
All parameters given across sprinkler types
hard:
All parameters given for high-flow sprinklers

Task bundle

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

/workspace

  • instruction.md
  • sprinkler-discharge_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 fire services engineer specializing in sprinkler hydraulics.2 3## Problem4 5Calculate sprinkler discharge from sprinkler K factor and operating pressure.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Sprinkler K factor | {{ k_factor_l_min_sqrt_bar }} | L/min/sqrt(bar) |12| Operating pressure | {{ pressure_bar }} | bar |13 14{% if archetype_description is defined %}15### Sprinkler Context16 17{{ archetype_description }}18{% endif %}19 20{% if tool_available %}21## Available Tool22 23A sprinkler discharge 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. Sprinkler discharge in L/min372. Sprinkler discharge in L/s383. Operating pressure in kPa39 40## Constraints41 42- No internet access is available. Work from engineering knowledge and the provided tool.43- Use discharge = K x square root of pressure in bar.44- Use pressure in kPa = pressure in bar x 100.45 46## Output Format47 48Show 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:49 50```json51{52 "discharge_l_min": <numeric_value>,53 "discharge_l_s": <numeric_value>,54 "pressure_kpa": <numeric_value>55}56```57 58Write your complete solution to `/workspace/output.md`.59 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.

Standard spray

standard_spray

Standard spray sprinkler discharge check

commercial-sprinkler-zonestandard-spray-head
Parameter ranges
k_factor_l_min_sqrt_bar
50 – 120
pressure_bar
0.5 – 5

Large drop

large_drop

Large drop or high-flow sprinkler discharge check

warehouse-sprinkler-zonelarge-drop-head
Parameter ranges
k_factor_l_min_sqrt_bar
120 – 300
pressure_bar
1 – 10

Example task

warehouse-sprinkler-zone-large-drop-previewhard difficulty, all inputs given.

Large drop or high-flow sprinkler discharge check. warehouse-sprinkler-zone. Required outputs: discharge_l_min, discharge_l_s, pressure_kpa

The model sees

Scenario context and visible inputs.

k_factor_l_min_sqrt_bar
120 to 300 L/min/sqrt(bar)
pressure_bar
1 to 10 bar

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

{
  "discharge_l_min": <number>,
  "discharge_l_s": <number>,
  "pressure_kpa": <number>
}
  • discharge_l_min · scored within ±3%
  • discharge_l_s · scored within ±3%
  • pressure_kpa · scored within ±3%