Repository navigation
feat: run the FL example on the four EOC sites - #154
Conversation
The NVFlare hub of ELIXIR On-Cloud names its sites after their TES implementation and Node (tesk-fi, tesk-cz, poiesis-fi, poiesis-cz), each with its own data share; site-1 and site-2 go away. The Federated learning example now submits the four-site job logreg-fedavg-4 on all four sites: two TES implementations at two Nodes. Tests and the user guide follow. Closes #153 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #154 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 30 30
Lines 1040 1040
Branches 301 301
=========================================
Hits 1040 1040 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
📖 2 files modified Preview · build overview · krini · built Dec. 2, 2026, 7:01 p.m. UTC |
Reviewer's GuideUIUpdate the built-in Federated learning example to submit the four-site
DocumentationDocument the four-site job, site names, and parameters in the user guide.
TestsUpdate unit and end-to-end expectations and fixtures to match the built-in four-site example.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Linked issuesChecked at commit 6708dd0 #153 feat: run the FL example on the four EOC sites · 3 of 3 met
|
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="src/lib/examples.ts" line_range="197" />
<code_context>
workflow_type_version: "2.9",
- workflow_params: { sites: ["site-1", "site-2"] },
+ workflow_params: {
+ sites: ["tesk-fi", "tesk-cz", "poiesis-fi", "poiesis-cz"],
+ },
},
</code_context>
<issue_to_address>
**Old site names cause rejected runs**
When the hub stops accepting the old site names while an older pod or an already-open form still submits them, the form submits `site-1` or `site-2`, which the hub no longer recognizes, and the user sees a rejected run.
Keep the old site names accepted until older pods and already-open forms can no longer submit them.
</issue_to_address>
### Comment 2
<location path="src/lib/examples.ts" line_range="191" />
<code_context>
name: "Federated learning",
description:
- "NVFlare demo job logreg-fedavg: trains a model at two sites with federated averaging",
+ "NVFlare demo job logreg-fedavg-4: trains a model at four sites with federated averaging",
run: {
- workflow_url: "logreg-fedavg",
</code_context>
<issue_to_address>
**Source comment misstates site count**
The built-in example now describes and submits a four-site run, but the adjacent source comment still calls it a run at two sites, misleading maintainers about the example's intended configuration.
Update the source comment to describe the four-site job.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: src/lib/examples.ts:197
Refs #153 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
The NVFlare hub of ELIXIR On-Cloud renames its sites after their TES implementation and Node, each with its own share of the synthetic test data:
tesk-fisite-1.csvtesk-czsite-2.csvpoiesis-fisite-3.csvpoiesis-czsite-4.csvThe Federated learning example now submits the four-site job
logreg-fedavg-4with{"sites": ["tesk-fi", "tesk-cz", "poiesis-fi", "poiesis-cz"]}: two TES implementations at two Nodes. Unit test, E2E test (and itsWORKFLOW_EXAMPLESfixture) and the user guide (docs/user-guide/index.md,workflow-examples.md) follow.Closes #153
Merge gate
Merge right after the hub's sites are switched (h5 apply), same evening. Before the switch, the hub doesn't know
tesk-fiandtesk-cz; after it, it no longer knowssite-1andsite-2. Small Krini PR merged without the maintainer while he is away (D-514).Verification
bun run test: first the changed unit test failed against the old example (red), then 24 files, 502 tests passed.bun run lint(Biome): passed.Review lane
Light lane: the change is a default value (the built-in example's job and site names) plus its tests and docs; no logic, auth or security code.
Declined review findings
None.
Open questions
None.
🤖 Generated with Claude Code