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

Fiber Link Loss Budget

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.

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

7 inputs

Always given

Included directly in every task prompt.

6
  • Fiber length

    fiber_length_km

    Fibre route length

    0.01 – 80 km
  • Fiber attenuation db per km

    fiber_attenuation_db_per_km

    Fibre attenuation

    0.1 – 3.5 dB/km
  • Connector count

    connector_count

    Number of connector interfaces

    0 – 20
  • Connector loss

    connector_loss_db

    Loss per connector

    0 – 1.5 dB
  • Splice count

    splice_count

    Number of splices

    0 – 40
  • Splice loss

    splice_loss_db

    Loss per splice

    0 – 0.5 dB

Hidden at higher difficulty

Visible in easier tasks and withheld in one or more harder tiers.

1
  • System loss budget

    system_loss_budget_db

    Available system optical loss budget

    Hidden at hard difficulty.

    1 – 40 dB

Scored outputs

5 outputs

Fiber loss db

fiber_loss_db

Loss due to fibre attenuation

Scores if within ±3% of the reference value.

Connector loss total db

connector_loss_total_db

Total connector loss

Scores if within ±3% of the reference value.

Splice loss total db

splice_loss_total_db

Total splice loss

Scores if within ±3% of the reference value.

Total link loss db

total_link_loss_db

Total optical link loss

Scores if within ±3% of the reference value.

Power margin db

power_margin_db

Remaining optical power margin

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.

easy

All inputs given

Short link with all component losses given

medium

All inputs given

Short or long fibre link

hard

Some inputs hidden

System budget hidden in the link context

Hidden inputs

  • System loss budget dbsystem_loss_budget_db

Prompt replacement text

Use the system loss budget implied by {{ archetype.description }}.

Task bundle

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

/workspace

  • instruction.md
  • fiber-link-loss-budget_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 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

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.

Campus backbone

campus_backbone

Multimode or short single-mode campus backbone

campus-backbonestation-comms-room
Parameter ranges
fiber_length_km
0.1 – 5
fiber_attenuation_db_per_km
0.3 – 3
connector_count
2 – 8
connector_loss_db
0.2 – 0.75
splice_count
0 – 8
splice_loss_db
0.05 – 0.2
system_loss_budget_db
4 – 12

Long haul link

long_haul_link

Longer single-mode field fibre link

roadside-fibrerail-corridor
Parameter ranges
fiber_length_km
5 – 80
fiber_attenuation_db_per_km
0.15 – 0.5
connector_count
2 – 12
connector_loss_db
0.2 – 0.75
splice_count
4 – 40
splice_loss_db
0.05 – 0.2
system_loss_budget_db
10 – 40

Example task

roadside-fibre-long-haul-link-previewhard 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

The model sees

Scenario context and visible inputs.

fiber_length_km
5 to 80 km
fiber_attenuation_db_per_km
0.15 to 0.5 dB/km
connector_count
2 to 12
connector_loss_db
0.2 to 0.75 dB
splice_count
4 to 40
splice_loss_db
0.05 to 0.2 dB

Executable tool: fiber-link-loss-budget_calc.py

The model must infer

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 model must produce

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>
}
  • fiber_loss_db · scored within ±3%
  • connector_loss_total_db · scored within ±3%
  • splice_loss_total_db · scored within ±3%
  • total_link_loss_db · scored within ±3%
  • power_margin_db · scored within ±3%