Skip to content

Commit eaccbf3

Browse files
RFingAdamclaude
andcommitted
feat: analyze_iperf_angle_sweep MCP tool
New MCP tool that ingests two bench iperf sessions (installed antenna + reference antenna) at matched azimuth angles and computes per-cell delta statistics — mean, median, worst-angle, best-angle, spread, p10/p90 — plus a polar PNG per (channel, mode) and a markdown report with a configurable verdict threshold. The tool reads only the documented session.json shape (wifi_only runs with angle_deg + aggregate.overall_mbps populated). No bench-code dependency; failures surface in `warnings`, never raise. 8 unit tests cover happy path, CSV/JSON shape, cell-set intersection, angle-set intersection, verdict thresholds, missing manifest, malformed runs, and non-wifi_only ignored. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 807da31 commit eaccbf3

3 files changed

Lines changed: 754 additions & 0 deletions

File tree

rflect-mcp/server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from tools.uwb_tools import register_uwb_tools
3333
from tools.cal_drift_tools import register_cal_drift_tools
3434
from tools.orchestration import register_orchestration_tools
35+
from tools.iperf_angle_tools import register_iperf_angle_tools
3536

3637
# Create MCP server
3738
mcp = FastMCP("rflect")
@@ -44,6 +45,7 @@
4445
register_uwb_tools(mcp)
4546
register_cal_drift_tools(mcp)
4647
register_orchestration_tools(mcp)
48+
register_iperf_angle_tools(mcp)
4749

4850

4951
@mcp.resource("rflect://status")

0 commit comments

Comments
 (0)