OSCR

Block oscr:b:1ESVT7WMNBF8V-3

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:1ESVT7WMNBF8V-3
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/data/anysleep_train_dataset.py, lines 234 to 290 (AnySleepTrainDataset.sample_segment)
Commit read
bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9
SWHID
swh:1:cnt:373419c86de86b957d29066f4b3e03b332d3a055;origin=https://github.com/dslaborg/anysleep;anchor=swh:1:rev:bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9;path=/base/data/anysleep_train_dataset.py;lines=234-290 (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 51 (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:1ESVT7WMNBF8V-3 (https://openscicode.org/b/oscr:b:1ESVT7WMNBF8V-3)
base/data/anysleep_train_dataset.py, lines 234 to 290, 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:373419c86de86b957d29066f4b3e03b332d3a055;origin=https://github.com/dslaborg/anysleep;anchor=swh:1:rev:bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9;path=/base/data/anysleep_train_dataset.py;lines=234-290