Skip to content

EQUAL_BALANCED keeps the topology next-hop set; remove EQUAL_BALANCED_FIXED (0.10.0) - #10

Merged
networmix merged 1 commit into
mainfrom
fix/equal-balanced-membership
Sep 13, 2026
Merged

networmix merged 1 commit into
mainfrom
fix/equal-balanced-membership

Conversation

@networmix

Copy link
Copy Markdown
Owner

Summary

  • EQUAL_BALANCED built its split set from the DAG edges that still had residual, so re-placing on a DAG that contained a member filled by an earlier placement silently re-hashed over the remaining members. A forwarding table does not react to load: the split set is now every DAG edge with capacity, and a full member drives the single admission scale to 0.
  • Progression past a full member comes from recomputing the DAG with a residual-aware SPF, which place_max_flow and FlowPolicy already do, so every documented path is unchanged. The one observable change is place_max_flow(EQUAL_BALANCED, require_capacity=False, shortest_path=False), which now places once instead of filling a cost-only DAG in several passes.
  • BREAKING: EQUAL_BALANCED_FIXED (0.9.0) carried exactly this behaviour as a separate mode and is removed; EQUAL_BALANCED_LOSSY is now value 3. Version 0.10.0.

Test plan

  • make cpp-test: 170/170
  • make lint
  • tests/py: all pass on a locally built wheel
  • CI green, then tag v0.10.0

🤖 Generated with Claude Code

…_FIXED (0.10.0)

EQUAL_BALANCED built its split set from the DAG edges that still had
residual, so re-placing on a DAG that contained a member filled by an
earlier placement silently re-hashed over the remaining members. A
forwarding table does not react to load: the split set is now every DAG
edge with capacity and a full member drives the single admission scale
to 0. Progression past a full member comes from a residual-aware SPF,
which place_max_flow and FlowPolicy already do.

EQUAL_BALANCED_FIXED (0.9.0) carried exactly this behaviour as a
separate mode and is removed; EQUAL_BALANCED_LOSSY is now value 3.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-13T00:03:00.467232Z d8dc938 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@networmix
networmix merged commit fbab119 into main Sep 13, 2026
24 checks passed
@networmix
networmix deleted the fix/equal-balanced-membership branch September 13, 2026 00:07
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