OSCR

Block oscr:b:51V89WAXG1VJ1-E

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:51V89WAXG1VJ1-E
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/diffusion_model/diffusion/noise_model.py, lines 369 to 448 (NoiseModel.sample_zs_from_zt_and_pred)
Commit read
3b034fa1b929facb13453dccab46a388feccbdcc
SWHID
swh:1:cnt:06d0e90f0b9cb11a718ec51434c6f7f64d758053;origin=https://github.com/wenhuiding/spad-cfr;anchor=swh:1:rev:3b034fa1b929facb13453dccab46a388feccbdcc;path=/utils/diffusion_model/diffusion/noise_model.py;lines=369-448 (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 20 (2. Methods › 2.5. Deterministic DDIM Inversion and Sampling); paragraph 36 (3. Results › 3.1. A Structural Causal Diffusion Framework for Spatial Counterfac)
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:51V89WAXG1VJ1-E (https://openscicode.org/b/oscr:b:51V89WAXG1VJ1-E)
utils/diffusion_model/diffusion/noise_model.py, lines 369 to 448, 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:06d0e90f0b9cb11a718ec51434c6f7f64d758053;origin=https://github.com/wenhuiding/spad-cfr;anchor=swh:1:rev:3b034fa1b929facb13453dccab46a388feccbdcc;path=/utils/diffusion_model/diffusion/noise_model.py;lines=369-448