Skip to content

feat(sim): add radio policy compare workflow#74

Draft
Komzpa wants to merge 22 commits into
meshtastic:masterfrom
Komzpa:codex/split-radio-compare
Draft

feat(sim): add radio policy compare workflow#74
Komzpa wants to merge 22 commits into
meshtastic:masterfrom
Komzpa:codex/split-radio-compare

Conversation

@Komzpa
Copy link
Copy Markdown
Contributor

@Komzpa Komzpa commented May 2, 2026

Summary

  • add a one-command radio policy comparison wrapper for static, DCR, and DCR+DTP runs on the same preset and traffic load
  • write JSON and Markdown reports that can be used as CI artifacts
  • add optional regression thresholds for reach, useful traffic, and TX-air changes
  • document the quick workflow in README and a dedicated radio physics quickstart

Stack

Validation

  • .venv/bin/python -m unittest tests.test_radio_policy_compare tests.test_lora_mesh_cli
  • /home/kom/.local/bin/ruff check tools/radio_policy_compare.py tests/test_radio_policy_compare.py
  • .venv/bin/python -m compileall -q .
  • .venv/bin/python tools/radio_policy_compare.py --simtime-seconds 5 --period-seconds 2 --policies static,dcr -- --no-clutter
  • .venv/bin/python tools/radio_policy_compare.py --simtime-seconds 5 --period-seconds 2 --policies static,dcr --json-output out/radio_policy_compare_smoke.json --markdown-output out/radio_policy_compare_smoke.md --max-reach-drop-pp 100 --max-tx-air-increase-pp 100 -- --no-clutter
  • .venv/bin/python tools/radio_policy_compare.py --simtime-seconds 5 --period-seconds 2 --policies static,dcr,dcr_dtp -- --no-clutter
  • .venv/bin/python -m unittest (132 tests)
  • git diff --check
  • private-marker scan for deployment/source terms

@Komzpa Komzpa force-pushed the codex/split-radio-compare branch from 2e4e9b8 to 487843a Compare May 15, 2026 20:50
@Komzpa Komzpa force-pushed the codex/split-radio-compare branch from 487843a to 9b9a9e8 Compare May 15, 2026 21:01
@Komzpa Komzpa marked this pull request as ready for review May 17, 2026 17:24
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9b9a9e86c1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/radio_policy_compare.py Outdated
Comment thread tools/radio_policy_compare.py Outdated
Comment thread loraMesh.py Outdated
@Komzpa Komzpa marked this pull request as draft May 17, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant