OSCR

Block oscr:b:MVHPPJRXBQPRJ-7

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:MVHPPJRXBQPRJ-7
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41592-025-02855-4 · its page here
Code
github.com/cantinilab/stories, stories/loss.py, lines 140 to 231 (loss_fn)
Commit read
7d8269b8cc940b3d85c34729dd1f715822e74a97
SWHID
swh:1:cnt:f2378c57754bdb095d262b2e7853f89b75bfd258;origin=https://github.com/cantinilab/stories;anchor=swh:1:rev:7d8269b8cc940b3d85c34729dd1f715822e74a97;path=/stories/loss.py;lines=140-231 (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 15 (Results › STORIES: a spatiotemporal cell trajectory inference method); paragraph 94 (Methods › Wasserstein gradient flow learning with a quadratic objective › Learni)
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:MVHPPJRXBQPRJ-7 (https://openscicode.org/b/oscr:b:MVHPPJRXBQPRJ-7)
stories/loss.py, lines 140 to 231, in github.com/cantinilab/stories (https://github.com/cantinilab/stories), commit 7d8269b8cc940b3d85c34729dd1f715822e74a97.
Paper: https://doi.org/10.1038/s41592-025-02855-4
SWHID: swh:1:cnt:f2378c57754bdb095d262b2e7853f89b75bfd258;origin=https://github.com/cantinilab/stories;anchor=swh:1:rev:7d8269b8cc940b3d85c34729dd1f715822e74a97;path=/stories/loss.py;lines=140-231