OSCR

Block oscr:b:J2QKJDQVG2FMT-B

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:J2QKJDQVG2FMT-B
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/client.py, lines 103 to 160 (Attack.apply_gradient_attack)
Commit read
92e325ee5db6f8228f8e7daccd2abcf74472b94c
SWHID
swh:1:cnt:75f7c43eccd159a6b6af26cd3a825549a00d98ea;origin=https://github.com/mohammadkarami79/optigradtrust;anchor=swh:1:rev:92e325ee5db6f8228f8e7daccd2abcf74472b94c;path=/federated_learning/training/client.py;lines=103-160 (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 101 (Results › Multi-seed validation, failure-mode analysis, and overhead comparison )
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:J2QKJDQVG2FMT-B (https://openscicode.org/b/oscr:b:J2QKJDQVG2FMT-B)
federated_learning/training/client.py, lines 103 to 160, 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:75f7c43eccd159a6b6af26cd3a825549a00d98ea;origin=https://github.com/mohammadkarami79/optigradtrust;anchor=swh:1:rev:92e325ee5db6f8228f8e7daccd2abcf74472b94c;path=/federated_learning/training/client.py;lines=103-160