OSCR

Block oscr:b:RHJVPYWFJYP6M-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:RHJVPYWFJYP6M-L
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1073/pnas.2306275120 · its page here
Code
github.com/dionhaefner/rogue-wave-discovery, experiments/training_functions.py, lines 102 to 132 (cross_entropy_regularized)
Commit read
68b0dce2332d36c4e50f32d0c4acf49a7d51962c
SWHID
swh:1:cnt:afba28d6c79ff88eecfec5f2b167e353a227d0bc;origin=https://github.com/dionhaefner/rogue-wave-discovery;anchor=swh:1:rev:68b0dce2332d36c4e50f32d0c4acf49a7d51962c;path=/experiments/training_functions.py;lines=102-132 (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 36 (2. An Approximately Causal Neural Network › B. Neural Network Architecture.)
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:RHJVPYWFJYP6M-L (https://openscicode.org/b/oscr:b:RHJVPYWFJYP6M-L)
experiments/training_functions.py, lines 102 to 132, in github.com/dionhaefner/rogue-wave-discovery (https://github.com/dionhaefner/rogue-wave-discovery), commit 68b0dce2332d36c4e50f32d0c4acf49a7d51962c.
Paper: https://doi.org/10.1073/pnas.2306275120
SWHID: swh:1:cnt:afba28d6c79ff88eecfec5f2b167e353a227d0bc;origin=https://github.com/dionhaefner/rogue-wave-discovery;anchor=swh:1:rev:68b0dce2332d36c4e50f32d0c4acf49a7d51962c;path=/experiments/training_functions.py;lines=102-132