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

Rf Link Budget

Calculates wireless link budget using transmit power, antenna gains, distance, frequency, obstacle losses, and receive sensitivity. The template computes free-space path loss, total path loss, received signal level, and link 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
  • Transmit power

    transmit_power_dbm

    Transmit power

    -20 – 40 dBm
  • Transmit antenna gain

    transmit_antenna_gain_dbi

    Transmit antenna gain

    -5 – 30 dBi
  • Distance

    distance_m

    Link distance

    1 – 50000 m
  • Frequency

    frequency_ghz

    Carrier frequency

    0.4 – 80 GHz
  • Receive antenna gain

    receive_antenna_gain_dbi

    Receive antenna gain

    -5 – 30 dBi
  • Required receive sensitivity

    required_receive_sensitivity_dbm

    Required receive sensitivity

    -120 – -40 dBm

Hidden at higher difficulty

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

1
  • Obstacle losses

    obstacle_losses_db

    Additional obstacle and miscellaneous losses

    Hidden at hard difficulty.

    0 – 60 dB

Scored outputs

4 outputs

Free space path loss db

free_space_path_loss_db

Free-space path loss

Scores if within ±3% of the reference value.

Total path loss db

total_path_loss_db

Total path loss including obstacles

Scores if within ±3% of the reference value.

Received signal level dbm

received_signal_level_dbm

Received signal level

Scores if within ±3% of the reference value.

Link margin db

link_margin_db

Margin above required receive sensitivity

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 wireless link with all losses visible

medium

All inputs given

Short or long wireless link

hard

Some inputs hidden

Obstacle loss hidden in path context

Hidden inputs

  • Obstacle losses dbobstacle_losses_db

Prompt replacement text

Use the additional path loss implied by {{ archetype.description }}.

Obstacle losses db restricted to: 10

Task bundle

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

/workspace

  • instruction.md
  • rf-link-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 wireless systems engineer checking an RF link budget.2 3## Given4 5| Parameter | Value | Unit |6|-----------|-------|------|7| Transmit power | {{ transmit_power_dbm }} | dBm |8| Transmit antenna gain | {{ transmit_antenna_gain_dbi }} | dBi |9| Link distance | {{ distance_m }} | m |10| Frequency | {{ frequency_ghz }} | GHz |11| Receive antenna gain | {{ receive_antenna_gain_dbi }} | dBi |12{% if obstacle_losses_db is defined %}13| Obstacle losses | {{ obstacle_losses_db }} | dB |14{% endif %}15| Required receive sensitivity | {{ required_receive_sensitivity_dbm }} | dBm |16 17## Constraints18 19- Use `FSPL = 32.44 + 20 log10(distance_km) + 20 log10(frequency_MHz)`.20- Total path loss equals free-space path loss plus obstacle losses.21- Received signal equals transmit power plus antenna gains minus total path loss.22- Link margin equals received signal minus required receive sensitivity.23 24## Output Format25 26Include a JSON block with exactly these keys:27 28```json29{30 "free_space_path_loss_db": <numeric_value>,31 "total_path_loss_db": <numeric_value>,32 "received_signal_level_dbm": <numeric_value>,33 "link_margin_db": <numeric_value>34}35```36 37Write your complete solution to `/workspace/output.md`.38

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.

Short wifi link

short_wifi_link

Short Wi-Fi or telemetry link

station-platformcampus-wireless
Parameter ranges
transmit_power_dbm
10 – 25
transmit_antenna_gain_dbi
0 – 8
distance_m
10 – 500
frequency_ghz
2.4 – 6
receive_antenna_gain_dbi
0 – 8
obstacle_losses_db
0 – 15
required_receive_sensitivity_dbm
-90 – -65

Long field link

long_field_link

Longer directional field wireless link

roadside-radioremote-pump-station
Parameter ranges
transmit_power_dbm
15 – 35
transmit_antenna_gain_dbi
8 – 25
distance_m
500 – 50000
frequency_ghz
0.9 – 24
receive_antenna_gain_dbi
8 – 25
obstacle_losses_db
0 – 30
required_receive_sensitivity_dbm
-105 – -70

Example task

roadside-radio-long-field-link-previewhard difficulty, some inputs hidden.

Longer directional field wireless link. roadside-radio. Required outputs: free_space_path_loss_db, total_path_loss_db, received_signal_level_dbm, link_margin_db

The model sees

Scenario context and visible inputs.

transmit_power_dbm
15 to 35 dBm
transmit_antenna_gain_dbi
8 to 25 dBi
distance_m
500 to 50000 m
frequency_ghz
0.9 to 24 GHz
receive_antenna_gain_dbi
8 to 25 dBi
required_receive_sensitivity_dbm
-105 to -70 dBm

Executable tool: rf-link-budget_calc.py

The model must infer

Inputs withheld at this difficulty.

  • Obstacle losses db

    obstacle_losses_db

Stand-in text in the prompt

Use the additional path loss implied by {{ archetype.description }}.

The model must produce

The scored JSON answer schema.

{
  "free_space_path_loss_db": <number>,
  "total_path_loss_db": <number>,
  "received_signal_level_dbm": <number>,
  "link_margin_db": <number>
}
  • free_space_path_loss_db · scored within ±3%
  • total_path_loss_db · scored within ±3%
  • received_signal_level_dbm · scored within ±3%
  • link_margin_db · scored within ±3%