OSCR

Block oscr:b:N0YPYC0HZ44D2-3

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:N0YPYC0HZ44D2-3
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3390/biology15141097 · its page here
Code
github.com/wenhuiding/spad-cfr, utils/counterfactual_prediction.py, lines 84 to 161 (run_ddim_inversion)
Commit read
3b034fa1b929facb13453dccab46a388feccbdcc
SWHID
swh:1:cnt:add0e6c424d2f36565d9748ba4c3fa4a868584d5;origin=https://github.com/wenhuiding/spad-cfr;anchor=swh:1:rev:3b034fa1b929facb13453dccab46a388feccbdcc;path=/utils/counterfactual_prediction.py;lines=84-161 (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 21 (2. Methods › 2.5. Deterministic DDIM Inversion and Sampling)
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:N0YPYC0HZ44D2-3 (https://openscicode.org/b/oscr:b:N0YPYC0HZ44D2-3)
utils/counterfactual_prediction.py, lines 84 to 161, in github.com/wenhuiding/spad-cfr (https://github.com/wenhuiding/spad-cfr), commit 3b034fa1b929facb13453dccab46a388feccbdcc.
Paper: https://doi.org/10.3390/biology15141097
SWHID: swh:1:cnt:add0e6c424d2f36565d9748ba4c3fa4a868584d5;origin=https://github.com/wenhuiding/spad-cfr;anchor=swh:1:rev:3b034fa1b929facb13453dccab46a388feccbdcc;path=/utils/counterfactual_prediction.py;lines=84-161