OSCR

Block oscr:b:BXZP6MHM3JEJ8-R

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:BXZP6MHM3JEJ8-R
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-023-38851-5 · its page here
Code
github.com/jamson-zhong/graph2edits, utils/collate_fn.py, lines 56 to 110 (get_batch_graphs)
Commit read
b12e97391c378e46e79e617d80017e95b21bba65
SWHID
swh:1:cnt:2356449a96ea4b14013b775a4c918bf1ab3a6895;origin=https://github.com/jamson-zhong/graph2edits;anchor=swh:1:rev:b12e97391c378e46e79e617d80017e95b21bba65;path=/utils/collate_fn.py;lines=56-110 (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 70 (Methods › Graph edits sequence generation)
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:BXZP6MHM3JEJ8-R (https://openscicode.org/b/oscr:b:BXZP6MHM3JEJ8-R)
utils/collate_fn.py, lines 56 to 110, in github.com/jamson-zhong/graph2edits (https://github.com/jamson-zhong/graph2edits), commit b12e97391c378e46e79e617d80017e95b21bba65.
Paper: https://doi.org/10.1038/s41467-023-38851-5
SWHID: swh:1:cnt:2356449a96ea4b14013b775a4c918bf1ab3a6895;origin=https://github.com/jamson-zhong/graph2edits;anchor=swh:1:rev:b12e97391c378e46e79e617d80017e95b21bba65;path=/utils/collate_fn.py;lines=56-110