OSCR

Block oscr:b:NNY8P542A28JY-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:NNY8P542A28JY-P
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1011395 · its page here
Code
github.com/mh105/somata, somata/switching/vb.py, lines 324 to 348 (_compute_logl_bound)
Commit read
7482e2d479e610411fe3b054e8e6023e3b635b3c
SWHID
swh:1:cnt:0713d488c0d1b72724f797e32384fc28a4273cf6;origin=https://github.com/mh105/somata;anchor=swh:1:rev:7482e2d479e610411fe3b054e8e6023e3b635b3c;path=/somata/switching/vb.py;lines=324-348 (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 97 (Materials and methods › Switching state-space models › Variational approximation)
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:NNY8P542A28JY-P (https://openscicode.org/b/oscr:b:NNY8P542A28JY-P)
somata/switching/vb.py, lines 324 to 348, in github.com/mh105/somata (https://github.com/mh105/somata), commit 7482e2d479e610411fe3b054e8e6023e3b635b3c.
Paper: https://doi.org/10.1371/journal.pcbi.1011395
SWHID: swh:1:cnt:0713d488c0d1b72724f797e32384fc28a4273cf6;origin=https://github.com/mh105/somata;anchor=swh:1:rev:7482e2d479e610411fe3b054e8e6023e3b635b3c;path=/somata/switching/vb.py;lines=324-348