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

@Komzpa Komzpa commented May 2, 2026

Copy link
Copy Markdown
Contributor

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

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

Copy link
Copy Markdown

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
@Komzpa
Komzpa force-pushed the codex/split-radio-compare branch from 1d08bbd to 83e6279 Compare August 21, 2026 00:30
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9fd188be-9e60-4c18-9c5e-179c81bb95a7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Komzpa
Komzpa force-pushed the codex/split-radio-compare branch from 83e6279 to 1d08bbd Compare August 21, 2026 00:57
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