Skip to content

feat: configure aggregator strategy and params in task creation UI - #1291

Open
ale18V wants to merge 1 commit into
refactor/aggregator-paramsfrom
feat/webapp-task-creation-aggregator-params
Open

ale18V wants to merge 1 commit into
refactor/aggregator-paramsfrom
feat/webapp-task-creation-aggregator-params

Conversation

@ale18V

@ale18V ale18V commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

What & why

This PR updates the task creation form to use the aggregator configuration introduced in #1290. Byzantine and secure parameters are stored in trainingInformation.aggregationParams and validated with the shared aggregationConfigSchema. Obsolete Byzantine fields under privacy are removed.

This PR is based directly on #1290 and can merge before FedProx (#1289).

Technical plan

Bind the existing aggregator controls to the shared configuration schema and clear incompatible parameters when switching strategies. Cypress tests verify submission and deserialization for mean, custom Byzantine, and custom secure configurations, including switches between network schemes.

Validation passed: all three task-creation Cypress tests in Chrome, TypeScript, changed-file ESLint and Prettier, and the production webapp build.

Deviations from plan

FedProx controls and their training description are deferred until #1289 merges, so this PR no longer depends on it.

Todo

Add FedProx task creation controls and its training description alongside #1289.

@ale18V
ale18V added this pull request to stack #1292 November 12, 2026 15:58
@ale18V
ale18V force-pushed the feat/webapp-task-creation-aggregator-params branch 2 times, most recently from dfb1d44 to 542bb01 Compare November 12, 2026 16:22
@ale18V
ale18V force-pushed the feat/webapp-task-creation-aggregator-params branch from 542bb01 to 9e85bd0 Compare November 12, 2026 17:14
@ale18V
ale18V force-pushed the feat/webapp-task-creation-aggregator-params branch from 9e85bd0 to 0e459fd Compare November 17, 2026 16:35
@ale18V
ale18V force-pushed the feat/webapp-task-creation-aggregator-params branch from 0e459fd to 1dd737e Compare November 18, 2026 11:08
@ale18V
ale18V force-pushed the feat/webapp-task-creation-aggregator-params branch 2 times, most recently from 0155029 to b525301 Compare November 20, 2026 12:02
@ale18V
ale18V removed this pull request from stack #1292 November 20, 2026 12:03
@ale18V
ale18V changed the base branch from feat/fedprox to refactor/aggregator-params November 20, 2026 12:03
@ale18V
ale18V added this pull request to stack #1299 November 20, 2026 12:03
@ale18V
ale18V marked this pull request as ready for review November 20, 2026 13:48
@ale18V
ale18V requested a review from JulienVig November 20, 2026 13:49
} satisfies Task<"tabular", "federated">);
});

for (const aggregation of [

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you test that picking byzantine, then switching back to mean doesn't submit any aggregationParams?
Also another one that tests that leave aggregationParams empty falls back to the correct default values?

@ale18V
ale18V force-pushed the feat/webapp-task-creation-aggregator-params branch from b525301 to 1382df2 Compare November 24, 2026 16:33

This branch has not been deployed

No deployments
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.

2 participants