OSCR

Block oscr:b:05ZG1CV55WQBG-7

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:05ZG1CV55WQBG-7
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-026-55855-5 · its page here
Code
github.com/mohammadkarami79/optigradtrust, federated_learning/training/aggregation.py, lines 209 to 254 (aggregate_gradients)
Commit read
92e325ee5db6f8228f8e7daccd2abcf74472b94c
SWHID
swh:1:cnt:99d20c269ddbf559f6f5dd07adee69196e936008;origin=https://github.com/mohammadkarami79/optigradtrust;anchor=swh:1:rev:92e325ee5db6f8228f8e7daccd2abcf74472b94c;path=/federated_learning/training/aggregation.py;lines=209-254 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 149 (Methods › FedBN-P optimizer: masked proximal hybrid)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:05ZG1CV55WQBG-7 (https://openscicode.org/b/oscr:b:05ZG1CV55WQBG-7)
federated_learning/training/aggregation.py, lines 209 to 254, in github.com/mohammadkarami79/optigradtrust (https://github.com/mohammadkarami79/optigradtrust), commit 92e325ee5db6f8228f8e7daccd2abcf74472b94c.
Paper: https://doi.org/10.1038/s41598-026-55855-5
SWHID: swh:1:cnt:99d20c269ddbf559f6f5dd07adee69196e936008;origin=https://github.com/mohammadkarami79/optigradtrust;anchor=swh:1:rev:92e325ee5db6f8228f8e7daccd2abcf74472b94c;path=/federated_learning/training/aggregation.py;lines=209-254