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.
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.
One template produces many comparable benchmark tasks while keeping the scoring contract fixed.
01
The reusable contract shown on this page.
02
An archetype and site context are sampled.
03
Inputs may be hidden at harder tiers.
04
The model responds with the declared outputs.
Inputs the model receives, and the outputs it is scored on.
38 inputs
Included directly in every task prompt.
Maximum train speed kmh
maximum_train_speed_kmh
WT-02-WARN-01 controlling approach train speed
Minimum warning time
minimum_warning_time_s
WT-02-WARN-01 minimum warning time criterion
Road user clearance time
road_user_clearance_time_s
WT-02-WARN-01 road-user clearance allowance
Gate lowering time
gate_lowering_time_s
CTRL-02-XING-01 gate lowering time
System delay
system_delay_s
WT-02-WARN-01 controller and detection delay
Gate start delay
gate_start_delay_s
CTRL-02-XING-01 delay from warning start to gate descent
Required gate horizontal before arrival
required_gate_horizontal_before_arrival_s
OPS-02-DEGRADED-01 required time with gates horizontal before train arrival
Controller load
controller_load_w
LOAD-02-SIG-01 crossing controller load
Flashing light load
flashing_light_load_w
LOAD-02-SIG-01 load per flashing-light assembly
Flashing light count
flashing_light_count
LX-02-LAYOUT-01 flashing-light assembly count
Gate mechanism load
gate_mechanism_load_w
LOAD-02-SIG-01 load per gate mechanism
Gate mechanism count
gate_mechanism_count
LX-02-LAYOUT-01 gate mechanism count
Comms switch load
comms_switch_load_w
LOAD-02-SIG-01 communications switch load
Track circuit load
track_circuit_load_w
LOAD-02-SIG-01 track circuit and detector load
Event recorder load
event_recorder_load_w
LOAD-02-SIG-01 event recorder load
Load future allowance pct
load_future_allowance_pct
LOAD-02-SIG-01 spare and future allowance
Required autonomy
required_autonomy_h
BATT-02-UPS-01 degraded-mode autonomy requirement
Dc system voltage
dc_system_voltage_v
BATT-02-UPS-01 DC system voltage
Depth of discharge pct
depth_of_discharge_pct
BATT-02-UPS-01 usable battery depth of discharge
Temperature derating factor
temperature_derating_factor
BATT-02-UPS-01 temperature derating factor
Inverter efficiency pct
inverter_efficiency_pct
BATT-02-UPS-01 inverter efficiency
Installed battery capacity
installed_battery_capacity_ah
BATT-02-UPS-01 installed battery capacity
Battery block voltage
battery_block_voltage_v
BATT-02-UPS-01 battery block voltage
Load power factor
load_power_factor
BATT-02-UPS-01 UPS load power factor
Selected ups rating
selected_ups_rating_va
BATT-02-UPS-01 selected UPS rating
Feeder length
feeder_length_m
FEEDER-02-DC-01 two-wire DC feeder one-way length
Feeder resistance milliohm per m
feeder_resistance_milliohm_per_m
FEEDER-02-DC-01 conductor resistance
Max voltage drop percent
max_voltage_drop_percent
FEEDER-02-DC-01 maximum DC feeder voltage drop
Fiber length
fiber_length_km
FIBER-02-COMMS-01 fiber link length
Fiber attenuation db per km
fiber_attenuation_db_per_km
FIBER-02-COMMS-01 fiber attenuation
Fiber connector count
fiber_connector_count
FIBER-02-COMMS-01 connector count
Connector loss
connector_loss_db
FIBER-02-COMMS-01 connector loss
Fiber splice count
fiber_splice_count
FIBER-02-COMMS-01 splice count
Splice loss
splice_loss_db
FIBER-02-COMMS-01 splice loss
Patch panel allowance
patch_panel_allowance_db
FIBER-02-COMMS-01 patch-panel allowance
Optical tx power
optical_tx_power_dbm
FIBER-02-COMMS-01 optical transmitter power
Receiver sensitivity
receiver_sensitivity_dbm
FIBER-02-COMMS-01 receiver sensitivity
Required fiber margin
required_fiber_margin_db
FIBER-02-COMMS-01 required optical margin
22 outputs
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 including minimum warning, clearance, gate lowering, and system delay
Scores if within ±3% of the reference value.
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
Total warning time minus the minimum warning criterion
Scores if within ±3% of the reference value.
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 crossing control, warning-device, communications, and recorder load
Scores if within ±3% of the reference value.
design_signal_load_w
Connected signal load plus future allowance
Scores if within ±3% of the reference value.
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 after DOD, temperature, and inverter derating
Scores if within ±3% of the reference value.
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 apparent power rating at the source-owned power factor
Scores if within ±3% of the reference value.
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 needed to reach the DC system voltage
Scores if within ±0.1% of the reference value.
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_v
Two-wire DC feeder voltage drop
Scores if within ±3% of the reference value.
dc_feeder_voltage_drop_percent
Two-wire DC feeder voltage drop percentage
Scores if within ±3% of the reference value.
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
Total fiber attenuation, connector, splice, and patch-panel loss
Scores if within ±3% of the reference value.
fiber_receive_power_dbm
Estimated optical receive power
Scores if within ±3% of the reference value.
fiber_link_margin_db
Receive power minus receiver sensitivity
Scores if within ±3% of the reference value.
fiber_excess_margin_db
Fiber link margin minus required margin
Scores if within ±3% of the reference value.
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.
Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.
For this template, difficulty scales through parameter and scenario ranges rather than hidden information.
The exact instruction and parameter contract used to generate this task, pinned to the published library source.
/workspace
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 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
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-ssc02-level-crossing-backup-case-preview — hard 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
Scenario context and visible inputs.
Executable tool: level-crossing-warning-backup-power-package_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
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>
}