OSCR

Block oscr:b:6K9KHFNJSRPWF-H

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:6K9KHFNJSRPWF-H
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/usleep_train_dataset.py, lines 161 to 217 (UsleepTrainDataset.sample_segment)
Commit read
bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9
SWHID
swh:1:cnt:404439e9c5ea9ec20cb5fc0ef5f8f8d3d04e4ea2;origin=https://github.com/dslaborg/anysleep;anchor=swh:1:rev:bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9;path=/base/data/usleep_train_dataset.py;lines=161-217 (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:6K9KHFNJSRPWF-H (https://openscicode.org/b/oscr:b:6K9KHFNJSRPWF-H)
base/data/usleep_train_dataset.py, lines 161 to 217, 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:404439e9c5ea9ec20cb5fc0ef5f8f8d3d04e4ea2;origin=https://github.com/dslaborg/anysleep;anchor=swh:1:rev:bf32fa7cd1b9a3aef9bcc54d5d82c109da5b2de9;path=/base/data/usleep_train_dataset.py;lines=161-217