OSCR

Block oscr:b:HXYP0GAMM30ZG-N

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:HXYP0GAMM30ZG-N
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41746-026-03406-7 · its page here
Code
github.com/dslaborg/anysleep, base/training/clas_trainer.py, lines 20 to 48 (ClasTrainer)
Commit read
bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9
SWHID
swh:1:cnt:2cd091a04e459bc222ea46f0586804fe25cb97e6;origin=https://github.com/dslaborg/anysleep;anchor=swh:1:rev:bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9;path=/base/training/clas_trainer.py;lines=20-48 (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 49 (Methods › Training)
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:HXYP0GAMM30ZG-N (https://openscicode.org/b/oscr:b:HXYP0GAMM30ZG-N)
base/training/clas_trainer.py, lines 20 to 48, in github.com/dslaborg/anysleep (https://github.com/dslaborg/anysleep), commit bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9.
Paper: https://doi.org/10.1038/s41746-026-03406-7
SWHID: swh:1:cnt:2cd091a04e459bc222ea46f0586804fe25cb97e6;origin=https://github.com/dslaborg/anysleep;anchor=swh:1:rev:bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9;path=/base/training/clas_trainer.py;lines=20-48