OSCR

Block oscr:b:Q12A6RBKBB8K9-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:Q12A6RBKBB8K9-H
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1010792 · its page here
Code
github.com/lzrvch/spikebench, examples/sklearn_example.py, lines 39 to 78 (main)
Commit read
a6827fd7f65d46905241314dbbb66efdfef4f8f6
SWHID
swh:1:cnt:70d49d657a793a62ccb9eef068304d7df697004d;origin=https://github.com/lzrvch/spikebench;anchor=swh:1:rev:a6827fd7f65d46905241314dbbb66efdfef4f8f6;path=/examples/sklearn_example.py;lines=39-78 (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 30 (Materials and methods › Validation scheme and data preprocessing)
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:Q12A6RBKBB8K9-H (https://openscicode.org/b/oscr:b:Q12A6RBKBB8K9-H)
examples/sklearn_example.py, lines 39 to 78, in github.com/lzrvch/spikebench (https://github.com/lzrvch/spikebench), commit a6827fd7f65d46905241314dbbb66efdfef4f8f6.
Paper: https://doi.org/10.1371/journal.pcbi.1010792
SWHID: swh:1:cnt:70d49d657a793a62ccb9eef068304d7df697004d;origin=https://github.com/lzrvch/spikebench;anchor=swh:1:rev:a6827fd7f65d46905241314dbbb66efdfef4f8f6;path=/examples/sklearn_example.py;lines=39-78