OSCR

Block oscr:b:GTAYE3XG6RTP6-L

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:GTAYE3XG6RTP6-L
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.2147/nss.s463495 · its page here
Code
github.com/dizhang-xdu/brain-age, tools/utils.py, lines 7 to 36 (criterions)
Commit read
dc8d23b9e679337ac2c26704d773f2a2fbf5d987
SWHID
swh:1:cnt:df6098b2785fd85d1fc05a4c8b36b41fa90474c6;origin=https://github.com/dizhang-xdu/brain-age;anchor=swh:1:rev:dc8d23b9e679337ac2c26704d773f2a2fbf5d987;path=/tools/utils.py;lines=7-36 (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 29 (Materials and Methods › Loss Function)
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:GTAYE3XG6RTP6-L (https://openscicode.org/b/oscr:b:GTAYE3XG6RTP6-L)
tools/utils.py, lines 7 to 36, in github.com/dizhang-xdu/brain-age (https://github.com/dizhang-xdu/brain-age), commit dc8d23b9e679337ac2c26704d773f2a2fbf5d987.
Paper: https://doi.org/10.2147/nss.s463495
SWHID: swh:1:cnt:df6098b2785fd85d1fc05a4c8b36b41fa90474c6;origin=https://github.com/dizhang-xdu/brain-age;anchor=swh:1:rev:dc8d23b9e679337ac2c26704d773f2a2fbf5d987;path=/tools/utils.py;lines=7-36