Fiber loss db
fiber_loss_db
Loss due to fibre attenuation
Scores if within ±3% of the reference value.
Calculates total optical link loss by summing fibre attenuation, connector losses, and splice losses, then compares the result with the system loss budget. This deterministic structured-cabling check reports component losses, total link loss, and remaining power margin.
with-tool: The model is given an executable Python calculator script.
Standards
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.
7 inputs
Included directly in every task prompt.
Fiber length
fiber_length_km
Fibre route length
Fiber attenuation db per km
fiber_attenuation_db_per_km
Fibre attenuation
Connector count
connector_count
Number of connector interfaces
Connector loss
connector_loss_db
Loss per connector
Splice count
splice_count
Number of splices
Splice loss
splice_loss_db
Loss per splice
Visible in easier tasks and withheld in one or more harder tiers.
System loss budget
system_loss_budget_db
Available system optical loss budget
Hidden at hard difficulty.
5 outputs
fiber_loss_db
Loss due to fibre attenuation
Scores if within ±3% of the reference value.
connector_loss_total_db
Total connector loss
Scores if within ±3% of the reference value.
splice_loss_total_db
Total splice loss
Scores if within ±3% of the reference value.
total_link_loss_db
Total optical link loss
Scores if within ±3% of the reference value.
power_margin_db
Remaining optical power margin
Scores if within ±3% 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.
All inputs given
Short link with all component losses given
All inputs given
Short or long fibre link
Some inputs hidden
System budget hidden in the link context
Hidden inputs
Prompt replacement text
Use the system loss budget implied by {{ archetype.description }}.
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 a senior communications engineer checking an optical fibre link budget.2 3## Given4 5| Parameter | Value | Unit |6|-----------|-------|------|7| Fibre length | {{ fiber_length_km }} | km |8| Fibre attenuation | {{ fiber_attenuation_db_per_km }} | dB/km |9| Connector count | {{ connector_count }} | - |10| Connector loss | {{ connector_loss_db }} | dB |11| Splice count | {{ splice_count }} | - |12| Splice loss | {{ splice_loss_db }} | dB |13{% if system_loss_budget_db is defined %}14| System loss budget | {{ system_loss_budget_db }} | dB |15{% endif %}16 17## Constraints18 19- Fibre loss equals length times attenuation.20- Connector and splice losses equal count times per-item loss.21- Total link loss is the sum of fibre, connector, and splice losses.22- Power margin equals system budget minus total link loss.23 24## Output Format25 26Include a JSON block with exactly these keys:27 28```json29{30 "fiber_loss_db": <numeric_value>,31 "connector_loss_total_db": <numeric_value>,32 "splice_loss_total_db": <numeric_value>,33 "total_link_loss_db": <numeric_value>,34 "power_margin_db": <numeric_value>35}36```37 38Write your complete solution to `/workspace/output.md`.39 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.
campus_backbone
Multimode or short single-mode campus backbone
long_haul_link
Longer single-mode field fibre link
roadside-fibre-long-haul-link-preview — hard difficulty, some inputs hidden.
Longer single-mode field fibre link. roadside-fibre. Required outputs: fiber_loss_db, connector_loss_total_db, splice_loss_total_db, total_link_loss_db, power_margin_db
Scenario context and visible inputs.
Executable tool: fiber-link-loss-budget_calc.py
Inputs withheld at this difficulty.
System loss budget db
system_loss_budget_db
Stand-in text in the prompt
Use the system loss budget implied by {{ archetype.description }}.
The scored JSON answer schema.
{
"fiber_loss_db": <number>,
"connector_loss_total_db": <number>,
"splice_loss_total_db": <number>,
"total_link_loss_db": <number>,
"power_margin_db": <number>
}