Files
meshcore-analyzer/cmd/server
kpa-clawbotandKpa-clawbot eea6b4dc5b test(#1768): red — LoRa ToA + preset-in-response acceptance tests
Adds internal/lora package skeleton (stubbed TimeOnAir returns 0,
PreambleForSF returns 0) plus failing tests that assert the closed-form
LoRa Time-on-Air values for the deployment's actual preset
(869.6 MHz / BW 62.5 kHz / SF 8 / CR 4/5, preamble 32 from firmware
preambleLengthForSF).

Rewrites cmd/server/relay_airtime_share_test.go acceptance suite to:
  - require a 'preset' block on the JSON response (caption needs it)
  - assert ADVERT airtime share follows true ToA (~83.48 %) on a
    single-relay ADVERT vs single-relay ACK, NOT the byte proxy's
    95.24 % — negative gate guarantees the implementation actually
    swaps the score formula, not just renames it.

Tests fail with assertion errors (not build errors). Green commit
in the next push wires the formula and the config preset.
2026-06-22 14:42:53 +00:00
..