Skip to content

break(framework): Change number of default SuperNodes in simulation to two#7476

Merged
panh99 merged 5 commits into
mainfrom
change-default-number-supernode-to-two
Jun 23, 2026
Merged

break(framework): Change number of default SuperNodes in simulation to two#7476
panh99 merged 5 commits into
mainfrom
change-default-number-supernode-to-two

Conversation

@jafermarq

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 23, 2026 15:48
@jafermarq jafermarq changed the title refactor(framework): Change number of default SuperNodes in simulation to two break(framework): Change number of default SuperNodes in simulation to two Jun 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR changes the framework’s default simulation configuration to start with 2 SuperNodes instead of 10, adjusting the baseline behavior used when a simulation config isn’t explicitly provided.

Changes:

  • Update DEFAULT_SIMULATION_CONFIG.num_supernodes from 10 to 2.

Critical issues

  • None found.

Simplicity/readability suggestions

  • None.

Consistency concerns

  • None found within the reviewed change.

Whether the PR should be split

  • No.

Brief overall verdict

  • Looks correct and low-risk for the intended behavior change.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@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: f7baf812bf

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread framework/py/flwr/supercore/constant.py

@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: 246dd7249a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread framework/py/flwr/supercore/constant.py
@github-actions github-actions Bot added the Maintainer Used to determine what PRs (mainly) come from Flower maintainers. label Jun 23, 2026
Comment thread framework/docs/source/how-to-run-simulations.rst Outdated
Co-authored-by: Heng Pan <pan@flower.ai>
Comment thread framework/docs/source/how-to-run-simulations.rst Outdated

@panh99 panh99 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@panh99 panh99 enabled auto-merge (squash) June 23, 2026 20:22
@panh99 panh99 merged commit 675e926 into main Jun 23, 2026
62 checks passed
@panh99 panh99 deleted the change-default-number-supernode-to-two branch June 23, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Default to 2 nodes Maintainer Used to determine what PRs (mainly) come from Flower maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants