OSCR

Block oscr:b:ZW2VP0RSF5YHK-P

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:ZW2VP0RSF5YHK-P
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.64898/2026.03.20.713227 · its page here
Code
github.com/diedrichsenlab/optimalbattery, simulate.py, lines 632 to 700 (sim_connectivity)
Commit read
bb9f8f7bbeab40094444c68fd714316940c77bbb
SWHID
swh:1:cnt:cd08881b24e42b634352871672c3fc97fc02fba1;origin=https://github.com/diedrichsenlab/optimalbattery;anchor=swh:1:rev:bb9f8f7bbeab40094444c68fd714316940c77bbb;path=/simulate.py;lines=632-700 (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 44 (Methods › Battery selection: Simulations)
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:ZW2VP0RSF5YHK-P (https://openscicode.org/b/oscr:b:ZW2VP0RSF5YHK-P)
simulate.py, lines 632 to 700, in github.com/diedrichsenlab/optimalbattery (https://github.com/diedrichsenlab/optimalbattery), commit bb9f8f7bbeab40094444c68fd714316940c77bbb.
Paper: https://doi.org/10.64898/2026.03.20.713227
SWHID: swh:1:cnt:cd08881b24e42b634352871672c3fc97fc02fba1;origin=https://github.com/diedrichsenlab/optimalbattery;anchor=swh:1:rev:bb9f8f7bbeab40094444c68fd714316940c77bbb;path=/simulate.py;lines=632-700