OSCR

Block oscr:b:7MR4EPQFT864S-Z

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:7MR4EPQFT864S-Z
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-024-48577-7 · its page here
Code
github.com/oist-cnru/the-bayesian-behavior-framework, model.py, lines 174 to 322 (BayesianBehaviorAgent.infer_zq_es)
Commit read
301da9072623959f51ca630204396863eb8afb97
SWHID
swh:1:cnt:c4c08d6fa573b601ac1538fd7c56214376de7a59;origin=https://github.com/oist-cnru/the-bayesian-behavior-framework;anchor=swh:1:rev:301da9072623959f51ca630204396863eb8afb97;path=/model.py;lines=174-322 (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 73 (Methods › Goal-directed planning by active inference)
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:7MR4EPQFT864S-Z (https://openscicode.org/b/oscr:b:7MR4EPQFT864S-Z)
model.py, lines 174 to 322, in github.com/oist-cnru/the-bayesian-behavior-framework (https://github.com/oist-cnru/the-bayesian-behavior-framework), commit 301da9072623959f51ca630204396863eb8afb97.
Paper: https://doi.org/10.1038/s41467-024-48577-7
SWHID: swh:1:cnt:c4c08d6fa573b601ac1538fd7c56214376de7a59;origin=https://github.com/oist-cnru/the-bayesian-behavior-framework;anchor=swh:1:rev:301da9072623959f51ca630204396863eb8afb97;path=/model.py;lines=174-322