OSCR

Block oscr:b:8QD0PTZBS8DS7-G

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:8QD0PTZBS8DS7-G
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41586-023-06492-9 · its page here
Code
github.com/hms-ric/twoarmedbandit, TriplePortCode_v6/runTriplePortExperiment_laser_state.m, lines 291 to 361 (processEventQueue)
Commit read
d2912642d75d0412edfd93cf71a9f6f478f5ca36
SWHID
swh:1:cnt:d53e0c6f0c9d991757ec67ee65e2e6831538874b;origin=https://github.com/hms-ric/twoarmedbandit;anchor=swh:1:rev:d2912642d75d0412edfd93cf71a9f6f478f5ca36;path=/TriplePortCode_v6/runTriplePortExperiment_laser_state.m;lines=291-361 (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 48 (Methods › Behaviour apparatus, training and task)
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:8QD0PTZBS8DS7-G (https://openscicode.org/b/oscr:b:8QD0PTZBS8DS7-G)
TriplePortCode_v6/runTriplePortExperiment_laser_state.m, lines 291 to 361, in github.com/hms-ric/twoarmedbandit (https://github.com/hms-ric/twoarmedbandit), commit d2912642d75d0412edfd93cf71a9f6f478f5ca36.
Paper: https://doi.org/10.1038/s41586-023-06492-9
SWHID: swh:1:cnt:d53e0c6f0c9d991757ec67ee65e2e6831538874b;origin=https://github.com/hms-ric/twoarmedbandit;anchor=swh:1:rev:d2912642d75d0412edfd93cf71a9f6f478f5ca36;path=/TriplePortCode_v6/runTriplePortExperiment_laser_state.m;lines=291-361