[BUG] Preserve FedMA MIT notice in the new data-partitioning module
Describe the issue
The new nvflare/algos/data/partition.py in #5503 adapts the FedMA-derived Dirichlet splitter but does not carry over the IBM copyright and MIT permission notice present in the existing CIFAR-10 implementation. The new file contains the NVIDIA Apache-2.0 header and a FedMA URL in the function docstring.
This concerns the unmerged implementation in PR #5503 at commit 0a126c144177aa2466fe4ef416804b478eff4d4c. Related work: #5265.
Evidence
- New module header: NVIDIA Apache-2.0 notice only.
- New function attribution and implementation: explicitly identifies FedMA as the source of the sampling strategy and retains the per-class shuffle, Dirichlet draw, capacity masking, normalization, cumulative split, and retry structure.
- Existing CIFAR-10 splitter notice at the PR base: includes the IBM 2020 copyright and full MIT notice.
- FedMA upstream license: requires the copyright and permission notice to accompany copies or substantial portions of the software.
Expected behavior / requested change
Carry the existing IBM copyright and MIT license block into the new module alongside the NVIDIA header, preserving the attribution when the adapted code is distributed in the NVFlare package. A source URL alone does not preserve that notice.
Validation
Compare the new module's attribution block with the existing splitter and upstream license. This change should not alter partitioning behavior.
Taking this together with #5686 — same PR will carry the IBM FedMA MIT notice into nvflare/algos/data/partition.py alongside the NVIDIA Apache-2.0 header.
cc @holgerroth @akshat-lakhera