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

Fire Water Sprinkler Storage Package

Calculates source-bound fire-water metrics from a deterministic SSC-19 task-owned source pack. The template combines sprinkler density-area demand, hose allowance, sprinkler head discharge, hydrant water-supply curve, riser Hazen-Williams loss, elevation pressure loss, pump boost, tank storage duration, and an overall synthetic pass score.

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

19 inputs

Always given

Included directly in every task prompt.

19
Show 19 inputs
  • Sprinkler design area

    sprinkler_design_area_ft2

    SPR-19-AREA-01 remote sprinkler design area

    1500 ft2
  • Sprinkler density

    sprinkler_density_gpm_ft2

    HAZ-19-STORAGE-01 selected sprinkler density

    0.2 gpm/ft2
  • Hose allowance

    hose_allowance_gpm

    CRIT-19-AHJ-01 hose allowance added to sprinkler demand

    250 gpm
  • Sprinkler head k factor

    sprinkler_head_k_factor_gpm_sqrt_psi

    SPR-19-HEAD-01 sprinkler K factor

    5.6 gpm/sqrt(psi)
  • Minimum head pressure

    minimum_head_pressure_psi

    SPR-19-HEAD-01 minimum remote-head pressure

    15 psi
  • Installed remote head count

    installed_remote_head_count

    SPR-19-AREA-01 installed remote-area head count

    16
  • Hydrant static pressure

    hydrant_static_pressure_psi

    HYD-19-TEST-01 hydrant static pressure

    70 psi
  • Hydrant residual pressure

    hydrant_residual_pressure_psi

    HYD-19-TEST-01 hydrant residual pressure at test flow

    48 psi
  • Hydrant test flow

    hydrant_test_flow_gpm

    HYD-19-TEST-01 measured hydrant test flow

    900 gpm
  • Target residual pressure

    target_residual_pressure_psi

    CURVE-19-SUPPLY-01 target residual pressure for available flow

    20 psi
  • Riser pipe length

    riser_pipe_length_ft

    PIPE-19-RISER-01 riser pipe length

    240 ft
  • Riser fitting equivalent length

    riser_fitting_equivalent_length_ft

    PIPE-19-RISER-01 aggregate fitting equivalent length

    60 ft
  • Riser pipe internal diameter

    riser_pipe_internal_diameter_in

    PIPE-19-RISER-01 pipe internal diameter

    4 in
  • Hazen williams c

    hazen_williams_c

    PIPE-19-RISER-01 Hazen-Williams C factor

    120
  • Elevation gain

    elevation_gain_ft

    ELEV-19-ZONE-01 elevation gain from supply boundary to remote area

    38 ft
  • Pump boost pressure

    pump_boost_pressure_psi

    PUMP-19-BOOST-01 selected fire-water pump boost pressure

    25 psi
  • Remote area allowance

    remote_area_allowance_psi

    CRIT-19-AHJ-01 allowance above minimum head pressure for remote-area checks

    20 psi
  • Required duration

    required_duration_min

    TANK-19-STORAGE-01 fire-water storage duration

    60 min
  • Available storage

    available_storage_gal

    TANK-19-STORAGE-01 available fire-water storage

    36000 gal

Scored outputs

21 outputs

Sprinkler demand gpm

sprinkler_demand_gpm

SPR-19-AREA-01 density-area sprinkler demand

Scores if within ±3% of the reference value.

Total fire demand gpm

total_fire_demand_gpm

Sprinkler demand plus CRIT-19-AHJ-01 hose allowance

Scores if within ±3% of the reference value.

Sprinkler head discharge gpm

sprinkler_head_discharge_gpm

SPR-19-HEAD-01 discharge per sprinkler head at minimum pressure

Scores if within ±3% of the reference value.

Required remote head count

required_remote_head_count

Required remote-area head count from sprinkler demand and per-head discharge

Scores if within ±3% of the reference value.

Remote head count margin

remote_head_count_margin

Installed remote-area heads minus required remote-area heads

Scores if within ±3% of the reference value.

Pressure drop test psi

pressure_drop_test_psi

HYD-19-TEST-01 static minus residual pressure at test flow

Scores if within ±3% of the reference value.

Supply curve coefficient

supply_curve_coefficient

CURVE-19-SUPPLY-01 hydrant flow coefficient using exponent 0.54

Scores if within ±3% of the reference value.

Available flow 20psi gpm

available_flow_20psi_gpm

CURVE-19-SUPPLY-01 available flow at the target residual pressure

Scores if within ±3% of the reference value.

Water supply flow margin gpm

water_supply_flow_margin_gpm

Available flow at target residual pressure minus total fire demand

Scores if within ±3% of the reference value.

Residual pressure at demand psi

residual_pressure_at_demand_psi

Residual supply pressure on the hydrant curve at total fire demand

Scores if within ±3% of the reference value.

Friction loss per ft psi

friction_loss_per_ft_psi

PIPE-19-RISER-01 Hazen-Williams friction loss per foot at total fire demand

Scores if within ±0.1% of the reference value.

Equivalent length ft

equivalent_length_ft

Riser pipe length plus equivalent fitting length

Scores if within ±3% of the reference value.

Total friction loss psi

total_friction_loss_psi

PIPE-19-RISER-01 total friction pressure loss

Scores if within ±3% of the reference value.

Elevation pressure loss psi

elevation_pressure_loss_psi

ELEV-19-ZONE-01 elevation pressure loss

Scores if within ±3% of the reference value.

Available riser pressure psi

available_riser_pressure_psi

Residual demand pressure minus riser friction and elevation losses

Scores if within ±3% of the reference value.

Boosted riser pressure psi

boosted_riser_pressure_psi

Available riser pressure after PUMP-19-BOOST-01 boost

Scores if within ±3% of the reference value.

Required riser pressure psi

required_riser_pressure_psi

Minimum remote-head pressure plus CRIT-19-AHJ-01 allowance

Scores if within ±3% of the reference value.

Pressure margin psi

pressure_margin_psi

Boosted riser pressure minus required riser pressure

Scores if within ±3% of the reference value.

Required storage gal

required_storage_gal

Total fire demand times required storage duration

Scores if within ±3% of the reference value.

Storage margin gal

storage_margin_gal

Available storage minus required storage

Scores if within ±3% of the reference value.

Overall pass score

overall_pass_score

1.0 when head count, flow, pressure, and storage margins are non-negative

Scores if within ±0.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 source-pack values are visible for the baseline SSC-19 fire-water check.

Task bundle

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

/workspace

  • instruction.md
  • fire-water-sprinkler-storage-package_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 fire protection engineer checking a task-owned synthetic SSC-19 fire-water, sprinkler demand, riser pressure, pump boost, and storage package.2 3Use only the task-owned synthetic source pack values shown below for numeric grading. NFPA 13, NFPA 291, EPA EPANET, FM property loss prevention data sheets, and AHJ fire-protection workflows shape the context only; this instance does not run hydraulic network software, parse real hydrant-test forms, verify a code clause, prove AHJ approval, or prove full fire-protection compliance.4 5## Scene6 7- Fire-water design case: `CASE-SSC19-FIRE-001`8- Hazard and storage basis: `HAZ-19-STORAGE-01`9- Hydrant test form: `HYD-19-TEST-01`10- Water-supply curve: `CURVE-19-SUPPLY-01`11- Sprinkler layout and remote area: `SPR-19-AREA-01`12- Sprinkler head schedule: `SPR-19-HEAD-01`13- Riser schematic: `PIPE-19-RISER-01`14- Elevation zone record: `ELEV-19-ZONE-01`15- Fire-water pump boost schedule: `PUMP-19-BOOST-01`16- Fire-water storage tank: `TANK-19-STORAGE-01`17- AHJ design criterion: `CRIT-19-AHJ-01`18- Fire-water memo: `MEMO-19-FIRE-WATER-01`19 20## Sprinkler Demand Basis21 22| Item | Value |23|------|-------|24| Remote sprinkler design area | {{ sprinkler_design_area_ft2 }} ft2 |25| Sprinkler density | {{ sprinkler_density_gpm_ft2 }} gpm/ft2 |26| Hose allowance | {{ hose_allowance_gpm }} gpm |27| Sprinkler K factor | {{ sprinkler_head_k_factor_gpm_sqrt_psi }} gpm/sqrt(psi) |28| Minimum remote-head pressure | {{ minimum_head_pressure_psi }} psi |29| Installed remote-area head count | {{ installed_remote_head_count }} |30 31Sprinkler checks:32 33- Sprinkler demand equals design area times sprinkler density.34- Total fire demand equals sprinkler demand plus hose allowance.35- Sprinkler head discharge equals `sprinkler_head_k_factor_gpm_sqrt_psi x sqrt(minimum_head_pressure_psi)`.36- Required remote-head count equals `ceil(sprinkler_demand_gpm / sprinkler_head_discharge_gpm)`.37- Remote-head count margin equals installed remote head count minus required remote-head count.38 39## Water Supply And Riser Basis40 41| Item | Value |42|------|-------|43| Hydrant static pressure | {{ hydrant_static_pressure_psi }} psi |44| Hydrant residual pressure | {{ hydrant_residual_pressure_psi }} psi |45| Hydrant test flow | {{ hydrant_test_flow_gpm }} gpm |46| Target residual pressure | {{ target_residual_pressure_psi }} psi |47| Riser pipe length | {{ riser_pipe_length_ft }} ft |48| Riser fitting equivalent length | {{ riser_fitting_equivalent_length_ft }} ft |49| Riser pipe internal diameter | {{ riser_pipe_internal_diameter_in }} in |50| Hazen-Williams C | {{ hazen_williams_c }} |51| Elevation gain | {{ elevation_gain_ft }} ft |52 53Water-supply and riser checks:54 55- Pressure drop at test flow equals static pressure minus residual pressure.56- Supply curve coefficient equals `hydrant_test_flow_gpm / pressure_drop_test_psi^0.54`.57- Available flow at the target residual pressure equals `supply_curve_coefficient x (hydrant_static_pressure_psi - target_residual_pressure_psi)^0.54`.58- Water-supply flow margin equals available flow at target residual pressure minus total fire demand.59- Residual pressure at total fire demand equals `hydrant_static_pressure_psi - (total_fire_demand_gpm / supply_curve_coefficient)^(1 / 0.54)`.60- Friction loss per foot equals `4.52 x total_fire_demand_gpm^1.85 / (hazen_williams_c^1.85 x riser_pipe_internal_diameter_in^4.87)`.61- Equivalent length equals riser pipe length plus fitting equivalent length.62- Total friction loss equals friction loss per foot times equivalent length.63- Elevation pressure loss equals `0.433 x elevation_gain_ft`.64- Available riser pressure equals residual pressure at demand minus total friction loss and elevation pressure loss.65 66## Pump Boost And Storage Basis67 68| Item | Value |69|------|-------|70| Selected fire-water pump boost | {{ pump_boost_pressure_psi }} psi |71| Remote-area pressure allowance | {{ remote_area_allowance_psi }} psi |72| Required storage duration | {{ required_duration_min }} min |73| Available fire-water storage | {{ available_storage_gal }} gal |74 75Pump and storage checks:76 77- Boosted riser pressure equals available riser pressure plus selected fire-water pump boost.78- Required riser pressure equals minimum remote-head pressure plus remote-area pressure allowance.79- Pressure margin equals boosted riser pressure minus required riser pressure.80- Required storage equals total fire demand times required storage duration.81- Storage margin equals available storage minus required storage.82- Overall pass score is `1.0` only when remote-head count margin, water-supply flow margin, pressure margin, and storage margin are all non-negative; otherwise it is `0.0`.83 84## Output Format85 86Write a compact memo to `/workspace/output.md`. Include a source-boundary statement that this is a task-owned synthetic source pack. Explain the calculations briefly, preserve the object IDs above, and state whether the baseline source pack passes the current docs-only checks.87 88Do not claim authority approval, accepted project evidence, hydraulic software export validity, full standards compliance, executable real source-pack parsing, generated EPANET/fire-model evidence, generated benchmark readiness, or benchmark readiness.89 90Include a fenced JSON block with exactly these numeric keys:91 92```json93{94 "sprinkler_demand_gpm": <numeric_value>,95 "total_fire_demand_gpm": <numeric_value>,96 "sprinkler_head_discharge_gpm": <numeric_value>,97 "required_remote_head_count": <numeric_value>,98 "remote_head_count_margin": <numeric_value>,99 "pressure_drop_test_psi": <numeric_value>,100 "supply_curve_coefficient": <numeric_value>,101 "available_flow_20psi_gpm": <numeric_value>,102 "water_supply_flow_margin_gpm": <numeric_value>,103 "residual_pressure_at_demand_psi": <numeric_value>,104 "friction_loss_per_ft_psi": <numeric_value>,105 "equivalent_length_ft": <numeric_value>,106 "total_friction_loss_psi": <numeric_value>,107 "elevation_pressure_loss_psi": <numeric_value>,108 "available_riser_pressure_psi": <numeric_value>,109 "boosted_riser_pressure_psi": <numeric_value>,110 "required_riser_pressure_psi": <numeric_value>,111 "pressure_margin_psi": <numeric_value>,112 "required_storage_gal": <numeric_value>,113 "storage_margin_gal": <numeric_value>,114 "overall_pass_score": <numeric_value>115}116```117

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.

Ssc19 fire water case

ssc19_fire_water_case

Fire-water sprinkler storage case with hydrant test, hazard basis, riser, pump boost, and storage tank

sprinkler-storage-hazard-check
Parameter ranges
sprinkler_design_area_ft2
1500
sprinkler_density_gpm_ft2
0.2
hose_allowance_gpm
250
sprinkler_head_k_factor_gpm_sqrt_psi
5.6
minimum_head_pressure_psi
15
installed_remote_head_count
16
hydrant_static_pressure_psi
70
hydrant_residual_pressure_psi
48
hydrant_test_flow_gpm
900
target_residual_pressure_psi
20
riser_pipe_length_ft
240
riser_fitting_equivalent_length_ft
60
riser_pipe_internal_diameter_in
4
hazen_williams_c
120
elevation_gain_ft
38
pump_boost_pressure_psi
25
remote_area_allowance_psi
20
required_duration_min
60
available_storage_gal
36000

Example task

sprinkler-storage-hazard-check-ssc19-fire-water-case-previeweasy difficulty, all inputs given.

Fire-water sprinkler storage case with hydrant test, hazard basis, riser, pump boost, and storage tank. sprinkler-storage-hazard-check. Required outputs: sprinkler_demand_gpm, total_fire_demand_gpm, sprinkler_head_discharge_gpm, required_remote_head_count, remote_head_count_margin, pressure_drop_test_psi

The model sees

Scenario context and visible inputs.

sprinkler_design_area_ft2
1500 to 1500 ft2
sprinkler_density_gpm_ft2
0.2 to 0.2 gpm/ft2
hose_allowance_gpm
250 to 250 gpm
sprinkler_head_k_factor_gpm_sqrt_psi
5.6 to 5.6 gpm/sqrt(psi)
minimum_head_pressure_psi
15 to 15 psi
installed_remote_head_count
16 to 16
hydrant_static_pressure_psi
70 to 70 psi
hydrant_residual_pressure_psi
48 to 48 psi
hydrant_test_flow_gpm
900 to 900 gpm
target_residual_pressure_psi
20 to 20 psi
riser_pipe_length_ft
240 to 240 ft
riser_fitting_equivalent_length_ft
60 to 60 ft
riser_pipe_internal_diameter_in
4 to 4 in
hazen_williams_c
120 to 120
elevation_gain_ft
38 to 38 ft
pump_boost_pressure_psi
25 to 25 psi
remote_area_allowance_psi
20 to 20 psi
required_duration_min
60 to 60 min
available_storage_gal
36000 to 36000 gal

Executable tool: fire-water-sprinkler-storage-package_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.

{
  "sprinkler_demand_gpm": <number>,
  "total_fire_demand_gpm": <number>,
  "sprinkler_head_discharge_gpm": <number>,
  "required_remote_head_count": <number>,
  "remote_head_count_margin": <number>,
  "pressure_drop_test_psi": <number>,
  "supply_curve_coefficient": <number>,
  "available_flow_20psi_gpm": <number>,
  "water_supply_flow_margin_gpm": <number>,
  "residual_pressure_at_demand_psi": <number>,
  "friction_loss_per_ft_psi": <number>,
  "equivalent_length_ft": <number>,
  "total_friction_loss_psi": <number>,
  "elevation_pressure_loss_psi": <number>,
  "available_riser_pressure_psi": <number>,
  "boosted_riser_pressure_psi": <number>,
  "required_riser_pressure_psi": <number>,
  "pressure_margin_psi": <number>,
  "required_storage_gal": <number>,
  "storage_margin_gal": <number>,
  "overall_pass_score": <number>
}
  • sprinkler_demand_gpm · scored within ±3%
  • total_fire_demand_gpm · scored within ±3%
  • sprinkler_head_discharge_gpm · scored within ±3%
  • required_remote_head_count · scored within ±3%
  • remote_head_count_margin · scored within ±3%
  • pressure_drop_test_psi · scored within ±3%
  • supply_curve_coefficient · scored within ±3%
  • available_flow_20psi_gpm · scored within ±3%
  • water_supply_flow_margin_gpm · scored within ±3%
  • residual_pressure_at_demand_psi · scored within ±3%
  • friction_loss_per_ft_psi · scored within ±0.1%
  • equivalent_length_ft · scored within ±3%
  • total_friction_loss_psi · scored within ±3%
  • elevation_pressure_loss_psi · scored within ±3%
  • available_riser_pressure_psi · scored within ±3%
  • boosted_riser_pressure_psi · scored within ±3%
  • required_riser_pressure_psi · scored within ±3%
  • pressure_margin_psi · scored within ±3%
  • required_storage_gal · scored within ±3%
  • storage_margin_gal · scored within ±3%
  • overall_pass_score · scored within ±0.1%