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

Level Crossing Warning Backup Power Package

Calculates source-bound rail level-crossing metrics from a deterministic SSC-02 task-owned source pack. The template combines warning time and strike-in distance, active-control and communications load, UPS and battery autonomy, DC feeder voltage drop, fiber link margin, 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

38 inputs

Always given

Included directly in every task prompt.

38
Show 38 inputs
  • Maximum train speed kmh

    maximum_train_speed_kmh

    WT-02-WARN-01 controlling approach train speed

    80 km/h
  • Minimum warning time

    minimum_warning_time_s

    WT-02-WARN-01 minimum warning time criterion

    20 s
  • Road user clearance time

    road_user_clearance_time_s

    WT-02-WARN-01 road-user clearance allowance

    7 s
  • Gate lowering time

    gate_lowering_time_s

    CTRL-02-XING-01 gate lowering time

    11 s
  • System delay

    system_delay_s

    WT-02-WARN-01 controller and detection delay

    2 s
  • Gate start delay

    gate_start_delay_s

    CTRL-02-XING-01 delay from warning start to gate descent

    3 s
  • Required gate horizontal before arrival

    required_gate_horizontal_before_arrival_s

    OPS-02-DEGRADED-01 required time with gates horizontal before train arrival

    5 s
  • Controller load

    controller_load_w

    LOAD-02-SIG-01 crossing controller load

    180 W
  • Flashing light load

    flashing_light_load_w

    LOAD-02-SIG-01 load per flashing-light assembly

    40 W
  • Flashing light count

    flashing_light_count

    LX-02-LAYOUT-01 flashing-light assembly count

    4
  • Gate mechanism load

    gate_mechanism_load_w

    LOAD-02-SIG-01 load per gate mechanism

    90 W
  • Gate mechanism count

    gate_mechanism_count

    LX-02-LAYOUT-01 gate mechanism count

    2
  • Comms switch load

    comms_switch_load_w

    LOAD-02-SIG-01 communications switch load

    45 W
  • Track circuit load

    track_circuit_load_w

    LOAD-02-SIG-01 track circuit and detector load

    65 W
  • Event recorder load

    event_recorder_load_w

    LOAD-02-SIG-01 event recorder load

    25 W
  • Load future allowance pct

    load_future_allowance_pct

    LOAD-02-SIG-01 spare and future allowance

    10 %
  • Required autonomy

    required_autonomy_h

    BATT-02-UPS-01 degraded-mode autonomy requirement

    8 h
  • Dc system voltage

    dc_system_voltage_v

    BATT-02-UPS-01 DC system voltage

    48 V
  • Depth of discharge pct

    depth_of_discharge_pct

    BATT-02-UPS-01 usable battery depth of discharge

    80 %
  • Temperature derating factor

    temperature_derating_factor

    BATT-02-UPS-01 temperature derating factor

    0.85
  • Inverter efficiency pct

    inverter_efficiency_pct

    BATT-02-UPS-01 inverter efficiency

    92 %
  • Installed battery capacity

    installed_battery_capacity_ah

    BATT-02-UPS-01 installed battery capacity

    200 Ah
  • Battery block voltage

    battery_block_voltage_v

    BATT-02-UPS-01 battery block voltage

    12 V
  • Load power factor

    load_power_factor

    BATT-02-UPS-01 UPS load power factor

    0.9
  • Selected ups rating

    selected_ups_rating_va

    BATT-02-UPS-01 selected UPS rating

    900 VA
  • Feeder length

    feeder_length_m

    FEEDER-02-DC-01 two-wire DC feeder one-way length

    30 m
  • Feeder resistance milliohm per m

    feeder_resistance_milliohm_per_m

    FEEDER-02-DC-01 conductor resistance

    1.83 milliohm/m
  • Max voltage drop percent

    max_voltage_drop_percent

    FEEDER-02-DC-01 maximum DC feeder voltage drop

    5 %
  • Fiber length

    fiber_length_km

    FIBER-02-COMMS-01 fiber link length

    1.8 km
  • Fiber attenuation db per km

    fiber_attenuation_db_per_km

    FIBER-02-COMMS-01 fiber attenuation

    0.35 dB/km
  • Fiber connector count

    fiber_connector_count

    FIBER-02-COMMS-01 connector count

    4
  • Connector loss

    connector_loss_db

    FIBER-02-COMMS-01 connector loss

    0.3 dB
  • Fiber splice count

    fiber_splice_count

    FIBER-02-COMMS-01 splice count

    6
  • Splice loss

    splice_loss_db

    FIBER-02-COMMS-01 splice loss

    0.05 dB
  • Patch panel allowance

    patch_panel_allowance_db

    FIBER-02-COMMS-01 patch-panel allowance

    1 dB
  • Optical tx power

    optical_tx_power_dbm

    FIBER-02-COMMS-01 optical transmitter power

    -3 dBm
  • Receiver sensitivity

    receiver_sensitivity_dbm

    FIBER-02-COMMS-01 receiver sensitivity

    -24 dBm
  • Required fiber margin

    required_fiber_margin_db

    FIBER-02-COMMS-01 required optical margin

    3 dB

Scored outputs

22 outputs

Maximum train speed m s

maximum_train_speed_m_s

WT-02-WARN-01 controlling approach speed converted to m/s

Scores if within ±3% of the reference value.

Total warning time s

total_warning_time_s

Total warning time including minimum warning, clearance, gate lowering, and system delay

Scores if within ±3% of the reference value.

Strike in distance

strike_in_distance_m

WT-02-WARN-01 strike-in distance for the controlling approach

Scores if within ±3% of the reference value.

Minimum warning margin s

minimum_warning_margin_s

Total warning time minus the minimum warning criterion

Scores if within ±3% of the reference value.

Gate horizontal margin s

gate_horizontal_margin_s

Time margin after gate start delay, lowering, and required horizontal-before-arrival time

Scores if within ±3% of the reference value.

Connected signal load w

connected_signal_load_w

Connected crossing control, warning-device, communications, and recorder load

Scores if within ±3% of the reference value.

Design signal load w

design_signal_load_w

Connected signal load plus future allowance

Scores if within ±3% of the reference value.

Required energy kwh

required_energy_kwh

Backup energy required for degraded-mode autonomy

Scores if within ±3% of the reference value.

Required battery capacity ah

required_battery_capacity_ah

Required battery capacity after DOD, temperature, and inverter derating

Scores if within ±3% of the reference value.

Battery capacity margin ah

battery_capacity_margin_ah

Installed battery capacity minus required battery capacity

Scores if within ±3% of the reference value.

Required ups rating va

required_ups_rating_va

Required UPS apparent power rating at the source-owned power factor

Scores if within ±3% of the reference value.

Ups rating margin va

ups_rating_margin_va

Selected UPS rating minus required UPS rating

Scores if within ±3% of the reference value.

Battery block count

battery_block_count

Battery block count needed to reach the DC system voltage

Scores if within ±0.1% of the reference value.

Dc feeder current

dc_feeder_current_a

FEEDER-02-DC-01 DC current at design signal load

Scores if within ±3% of the reference value.

Dc feeder voltage drop

dc_feeder_voltage_drop_v

Two-wire DC feeder voltage drop

Scores if within ±3% of the reference value.

Dc feeder voltage drop

dc_feeder_voltage_drop_percent

Two-wire DC feeder voltage drop percentage

Scores if within ±3% of the reference value.

Dc voltage drop margin

dc_voltage_drop_margin_percent

Maximum voltage drop percent minus calculated voltage drop percent

Scores if within ±3% of the reference value.

Fiber total loss db

fiber_total_loss_db

Total fiber attenuation, connector, splice, and patch-panel loss

Scores if within ±3% of the reference value.

Fiber receive power dbm

fiber_receive_power_dbm

Estimated optical receive power

Scores if within ±3% of the reference value.

Fiber link margin db

fiber_link_margin_db

Receive power minus receiver sensitivity

Scores if within ±3% of the reference value.

Fiber excess margin db

fiber_excess_margin_db

Fiber link margin minus required margin

Scores if within ±3% of the reference value.

Overall pass score

overall_pass_score

1.0 when warning, gate, battery, UPS, voltage-drop, and fiber 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 given for the SSC-02 level-crossing warning and backup-power package
medium:
All source-pack values given for the SSC-02 level-crossing warning and backup-power package
hard:
All source-pack values given for the SSC-02 level-crossing warning and backup-power package

Task bundle

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

/workspace

  • instruction.md
  • level-crossing-warning-backup-power-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 an electrical and rail systems engineer checking a task-owned synthetic SSC-02 level-crossing warning-time, backup-power, DC feeder, and fiber communications package.2 3Use only the task-owned synthetic source pack values shown below for numeric grading. 49 CFR Part 234, FHWA MUTCD Part 8, AREMA C&S Manual routes, and operator level-crossing workflows shape the context only; this instance does not run signalling design software, parse real signal plans, verify an authority standard, or prove full rail safety compliance.4 5## Scene6 7- Design case: `CASE-SSC02-LX-001`8- Route profile: `ROUTE-02-PROFILE-01`9- Level crossing layout: `LX-02-LAYOUT-01`10- Warning-time worksheet: `WT-02-WARN-01`11- Crossing controller: `CTRL-02-XING-01`12- Signal and communications load schedule: `LOAD-02-SIG-01`13- Battery and UPS datasheet: `BATT-02-UPS-01`14- DC feeder schedule: `FEEDER-02-DC-01`15- Fiber communications link: `FIBER-02-COMMS-01`16- Degraded-mode operating note: `OPS-02-DEGRADED-01`17- Engineering memo: `MEMO-02-LX-OPS-01`18 19## Warning-Time And Gate Basis20 21| Item | Value |22|------|-------|23| Controlling approach speed | {{ maximum_train_speed_kmh }} km/h |24| Minimum warning time | {{ minimum_warning_time_s }} s |25| Road-user clearance time | {{ road_user_clearance_time_s }} s |26| Gate lowering time | {{ gate_lowering_time_s }} s |27| System delay | {{ system_delay_s }} s |28| Delay from warning start to gate descent | {{ gate_start_delay_s }} s |29| Required gate-horizontal time before arrival | {{ required_gate_horizontal_before_arrival_s }} s |30 31Warning checks:32 33- Maximum train speed in m/s equals `maximum_train_speed_kmh / 3.6`.34- Total warning time equals `minimum_warning_time_s + road_user_clearance_time_s + gate_lowering_time_s + system_delay_s`.35- Strike-in distance equals maximum train speed in m/s times total warning time.36- Minimum warning margin equals total warning time minus minimum warning time.37- Gate-horizontal margin equals total warning time minus gate start delay, gate lowering time, and required gate-horizontal time before arrival.38 39## Signal Load And Backup-Power Basis40 41| Item | Value |42|------|-------|43| Crossing controller load | {{ controller_load_w }} W |44| Flashing-light load per assembly | {{ flashing_light_load_w }} W |45| Flashing-light assembly count | {{ flashing_light_count }} |46| Gate mechanism load per mechanism | {{ gate_mechanism_load_w }} W |47| Gate mechanism count | {{ gate_mechanism_count }} |48| Communications switch load | {{ comms_switch_load_w }} W |49| Track circuit and detector load | {{ track_circuit_load_w }} W |50| Event recorder load | {{ event_recorder_load_w }} W |51| Load future allowance | {{ load_future_allowance_pct }} % |52| Required autonomy | {{ required_autonomy_h }} h |53| DC system voltage | {{ dc_system_voltage_v }} V |54| Depth of discharge | {{ depth_of_discharge_pct }} % |55| Temperature derating factor | {{ temperature_derating_factor }} |56| Inverter efficiency | {{ inverter_efficiency_pct }} % |57| Installed battery capacity | {{ installed_battery_capacity_ah }} Ah |58| Battery block voltage | {{ battery_block_voltage_v }} V |59| UPS load power factor | {{ load_power_factor }} |60| Selected UPS rating | {{ selected_ups_rating_va }} VA |61 62Load and backup-power checks:63 64- Connected signal load equals controller load, flashing-light load times count, gate-mechanism load times count, communications switch load, track-circuit load, and event-recorder load.65- Design signal load equals connected signal load times `(1 + load_future_allowance_pct / 100)`.66- Required energy equals `design_signal_load_w x required_autonomy_h / 1000`.67- Usable battery fraction equals `depth_of_discharge_pct / 100 x temperature_derating_factor x inverter_efficiency_pct / 100`.68- Required battery capacity equals `design_signal_load_w x required_autonomy_h / (dc_system_voltage_v x usable battery fraction)`.69- Battery capacity margin equals installed battery capacity minus required battery capacity.70- Required UPS rating equals `design_signal_load_w / load_power_factor`.71- UPS rating margin equals selected UPS rating minus required UPS rating.72- Battery block count equals `ceil(dc_system_voltage_v / battery_block_voltage_v)`.73 74## DC Feeder And Fiber Basis75 76| Item | Value |77|------|-------|78| DC feeder one-way length | {{ feeder_length_m }} m |79| Feeder resistance | {{ feeder_resistance_milliohm_per_m }} milliohm/m |80| Maximum DC feeder voltage drop | {{ max_voltage_drop_percent }} % |81| Fiber length | {{ fiber_length_km }} km |82| Fiber attenuation | {{ fiber_attenuation_db_per_km }} dB/km |83| Fiber connector count | {{ fiber_connector_count }} |84| Connector loss | {{ connector_loss_db }} dB |85| Fiber splice count | {{ fiber_splice_count }} |86| Splice loss | {{ splice_loss_db }} dB |87| Patch-panel allowance | {{ patch_panel_allowance_db }} dB |88| Optical transmitter power | {{ optical_tx_power_dbm }} dBm |89| Receiver sensitivity | {{ receiver_sensitivity_dbm }} dBm |90| Required fiber margin | {{ required_fiber_margin_db }} dB |91 92Feeder and fiber checks:93 94- DC feeder current equals `design_signal_load_w / dc_system_voltage_v`.95- DC feeder voltage drop equals `2 x dc_feeder_current_a x feeder_length_m x feeder_resistance_milliohm_per_m / 1000`.96- DC feeder voltage drop percent equals `dc_feeder_voltage_drop_v / dc_system_voltage_v x 100`.97- DC voltage-drop margin equals maximum voltage drop percent minus DC feeder voltage drop percent.98- Fiber total loss equals fiber length attenuation plus connector, splice, and patch-panel losses.99- Fiber receive power equals optical transmitter power minus fiber total loss.100- Fiber link margin equals fiber receive power minus receiver sensitivity.101- Fiber excess margin equals fiber link margin minus required fiber margin.102- Overall pass score is `1.0` only when minimum warning margin, gate-horizontal margin, battery capacity margin, UPS rating margin, DC voltage-drop margin, and fiber excess margin are all non-negative; otherwise it is `0.0`.103 104## Output Format105 106Write 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.107 108Do not claim authority approval, accepted project evidence, software export validity, full standards compliance, executable real source-pack parsing, generated signalling-software evidence, generated benchmark readiness, or benchmark readiness.109 110Include a fenced JSON block with exactly these numeric keys:111 112```json113{114 "maximum_train_speed_m_s": <numeric_value>,115 "total_warning_time_s": <numeric_value>,116 "strike_in_distance_m": <numeric_value>,117 "minimum_warning_margin_s": <numeric_value>,118 "gate_horizontal_margin_s": <numeric_value>,119 "connected_signal_load_w": <numeric_value>,120 "design_signal_load_w": <numeric_value>,121 "required_energy_kwh": <numeric_value>,122 "required_battery_capacity_ah": <numeric_value>,123 "battery_capacity_margin_ah": <numeric_value>,124 "required_ups_rating_va": <numeric_value>,125 "ups_rating_margin_va": <numeric_value>,126 "battery_block_count": <numeric_value>,127 "dc_feeder_current_a": <numeric_value>,128 "dc_feeder_voltage_drop_v": <numeric_value>,129 "dc_feeder_voltage_drop_percent": <numeric_value>,130 "dc_voltage_drop_margin_percent": <numeric_value>,131 "fiber_total_loss_db": <numeric_value>,132 "fiber_receive_power_dbm": <numeric_value>,133 "fiber_link_margin_db": <numeric_value>,134 "fiber_excess_margin_db": <numeric_value>,135 "overall_pass_score": <numeric_value>136}137```138

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.

Ssc02 level crossing backup case

ssc02_level_crossing_backup_case

One route-profile level crossing tied to warning-time, signalling load, backup supply, DC feeder, fiber link, and degraded-mode memo

level-crossing-warning-backup
Parameter ranges
maximum_train_speed_kmh
80
minimum_warning_time_s
20
road_user_clearance_time_s
7
gate_lowering_time_s
11
system_delay_s
2
gate_start_delay_s
3
required_gate_horizontal_before_arrival_s
5
controller_load_w
180
flashing_light_load_w
40
flashing_light_count
4
gate_mechanism_load_w
90
gate_mechanism_count
2
comms_switch_load_w
45
track_circuit_load_w
65
event_recorder_load_w
25
load_future_allowance_pct
10
required_autonomy_h
8
dc_system_voltage_v
48
depth_of_discharge_pct
80
temperature_derating_factor
0.85
inverter_efficiency_pct
92
installed_battery_capacity_ah
200
battery_block_voltage_v
12
load_power_factor
0.9
selected_ups_rating_va
900
feeder_length_m
30
feeder_resistance_milliohm_per_m
1.83
max_voltage_drop_percent
5
fiber_length_km
1.8
fiber_attenuation_db_per_km
0.35
fiber_connector_count
4
connector_loss_db
0.3
fiber_splice_count
6
splice_loss_db
0.05
patch_panel_allowance_db
1
optical_tx_power_dbm
-3
receiver_sensitivity_dbm
-24
required_fiber_margin_db
3

Example task

level-crossing-warning-backup-ssc02-level-crossing-backup-case-previewhard difficulty, all inputs given.

One route-profile level crossing tied to warning-time, signalling load, backup supply, DC feeder, fiber link, and degraded-mode memo. level-crossing-warning-backup. Required outputs: maximum_train_speed_m_s, total_warning_time_s, strike_in_distance_m, minimum_warning_margin_s, gate_horizontal_margin_s, connected_signal_load_w

The model sees

Scenario context and visible inputs.

maximum_train_speed_kmh
80 to 80 km/h
minimum_warning_time_s
20 to 20 s
road_user_clearance_time_s
7 to 7 s
gate_lowering_time_s
11 to 11 s
system_delay_s
2 to 2 s
gate_start_delay_s
3 to 3 s
required_gate_horizontal_before_arrival_s
5 to 5 s
controller_load_w
180 to 180 W
flashing_light_load_w
40 to 40 W
flashing_light_count
4 to 4
gate_mechanism_load_w
90 to 90 W
gate_mechanism_count
2 to 2
comms_switch_load_w
45 to 45 W
track_circuit_load_w
65 to 65 W
event_recorder_load_w
25 to 25 W
load_future_allowance_pct
10 to 10 %
required_autonomy_h
8 to 8 h
dc_system_voltage_v
48 to 48 V
depth_of_discharge_pct
80 to 80 %
temperature_derating_factor
0.85 to 0.85
inverter_efficiency_pct
92 to 92 %
installed_battery_capacity_ah
200 to 200 Ah
battery_block_voltage_v
12 to 12 V
load_power_factor
0.9 to 0.9
selected_ups_rating_va
900 to 900 VA
feeder_length_m
30 to 30 m
feeder_resistance_milliohm_per_m
1.83 to 1.83 milliohm/m
max_voltage_drop_percent
5 to 5 %
fiber_length_km
1.8 to 1.8 km
fiber_attenuation_db_per_km
0.35 to 0.35 dB/km
fiber_connector_count
4 to 4
connector_loss_db
0.3 to 0.3 dB
fiber_splice_count
6 to 6
splice_loss_db
0.05 to 0.05 dB
patch_panel_allowance_db
1 to 1 dB
optical_tx_power_dbm
-3 to -3 dBm
receiver_sensitivity_dbm
-24 to -24 dBm
required_fiber_margin_db
3 to 3 dB

Executable tool: level-crossing-warning-backup-power-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.

{
  "maximum_train_speed_m_s": <number>,
  "total_warning_time_s": <number>,
  "strike_in_distance_m": <number>,
  "minimum_warning_margin_s": <number>,
  "gate_horizontal_margin_s": <number>,
  "connected_signal_load_w": <number>,
  "design_signal_load_w": <number>,
  "required_energy_kwh": <number>,
  "required_battery_capacity_ah": <number>,
  "battery_capacity_margin_ah": <number>,
  "required_ups_rating_va": <number>,
  "ups_rating_margin_va": <number>,
  "battery_block_count": <number>,
  "dc_feeder_current_a": <number>,
  "dc_feeder_voltage_drop_v": <number>,
  "dc_feeder_voltage_drop_percent": <number>,
  "dc_voltage_drop_margin_percent": <number>,
  "fiber_total_loss_db": <number>,
  "fiber_receive_power_dbm": <number>,
  "fiber_link_margin_db": <number>,
  "fiber_excess_margin_db": <number>,
  "overall_pass_score": <number>
}
  • maximum_train_speed_m_s · scored within ±3%
  • total_warning_time_s · scored within ±3%
  • strike_in_distance_m · scored within ±3%
  • minimum_warning_margin_s · scored within ±3%
  • gate_horizontal_margin_s · scored within ±3%
  • connected_signal_load_w · scored within ±3%
  • design_signal_load_w · scored within ±3%
  • required_energy_kwh · scored within ±3%
  • required_battery_capacity_ah · scored within ±3%
  • battery_capacity_margin_ah · scored within ±3%
  • required_ups_rating_va · scored within ±3%
  • ups_rating_margin_va · scored within ±3%
  • battery_block_count · scored within ±0.1%
  • dc_feeder_current_a · scored within ±3%
  • dc_feeder_voltage_drop_v · scored within ±3%
  • dc_feeder_voltage_drop_percent · scored within ±3%
  • dc_voltage_drop_margin_percent · scored within ±3%
  • fiber_total_loss_db · scored within ±3%
  • fiber_receive_power_dbm · scored within ±3%
  • fiber_link_margin_db · scored within ±3%
  • fiber_excess_margin_db · scored within ±3%
  • overall_pass_score · scored within ±0.1%