OSCR

Block oscr:b:YPTZ9EEHFX45F-8

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:YPTZ9EEHFX45F-8
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s42256-025-01127-2 · its page here
Code
github.com/engellab/trainrnnbrain, trainRNNbrain/rnns/RNN_torch_AdvsDO.py, lines 102 to 178 (get_connectivity_Dale)
Commit read
1ed6bba2b3e6a6ce13f1170eaa934f4bb4210a04
SWHID
swh:1:cnt:46f8a95e3fb6eac10aae6f5a9563b42861673b47;origin=https://github.com/engellab/trainrnnbrain;anchor=swh:1:rev:1ed6bba2b3e6a6ce13f1170eaa934f4bb4210a04;path=/trainRNNbrain/rnns/RNN_torch_AdvsDO.py;lines=102-178 (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 42 (Methods › RNN architectures and training procedure)
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:YPTZ9EEHFX45F-8 (https://openscicode.org/b/oscr:b:YPTZ9EEHFX45F-8)
trainRNNbrain/rnns/RNN_torch_AdvsDO.py, lines 102 to 178, in github.com/engellab/trainrnnbrain (https://github.com/engellab/trainrnnbrain), commit 1ed6bba2b3e6a6ce13f1170eaa934f4bb4210a04.
Paper: https://doi.org/10.1038/s42256-025-01127-2
SWHID: swh:1:cnt:46f8a95e3fb6eac10aae6f5a9563b42861673b47;origin=https://github.com/engellab/trainrnnbrain;anchor=swh:1:rev:1ed6bba2b3e6a6ce13f1170eaa934f4bb4210a04;path=/trainRNNbrain/rnns/RNN_torch_AdvsDO.py;lines=102-178