SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2409.10584 · 2024

Manifold-Constrained Nucleus-Level Denoising Diffusion Model for Structure-Based Drug Design

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2409.10584.json · badge: /api/ran/2409.10584.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yanliang3612/nucleusdiff canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
FunctionStatusWhere it lives
compose_context Ran
ran; our contract draft was wrong, not the code
yanliang3612/nucleusdiff/models/common.py
pointer only (licence: MIT); the stored copy get_code serves, from CMACH508/PAFlow, is pointer only (licence: NONE) · get_code("413b017b3368ab8d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from CMACH508/PAFlow, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cosine_beta_schedule Ran
ran, honoured the contract we drafted
yanliang3612/nucleusdiff/models/molopt_score_model.py
code served (permissive licence) · get_code("c92a02b48d8fb1c4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (1000,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function cosine_beta_schedule takes timesteps (an integer) and s (a float)
# It uses timesteps as an integer to create a schedule
# s is a hyperparameter with default value 0.008

ARGS = {
    "timesteps": 1000,
    "s": 0.008,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (1000,) — shape (1000,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_beta_schedule Ran
ran, honoured the contract we drafted
yanliang3612/nucleusdiff/models/molopt_score_model.py
pointer only (licence: MIT); the stored copy get_code serves, from weizhigao/modiff, is pointer only (licence: NONE) · get_code("ca0cea1ca1eeec89")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from weizhigao/modiff, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_chain_name Ran
ran; our contract draft was wrong, not the code
yanliang3612/nucleusdiff/crossdock_data_preparation/step3_split_pl_dataset.py
code served (permissive licence) · get_code("db0bb8e0f8592e87")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os

def get_chain_name(fn):
    return os.path.basename(fn)[:6]

# The function takes a single parameter 'fn' which should be a file path string.
# It uses os.path.basename() to get the filename and slices the first 6 characters.
# We just need to provide a valid file path string.

ARGS = {
    "fn": "/path/to/example_file.txt"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_h_dist Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yanliang3612/nucleusdiff/models/common.py
pointer only (licence: MIT); the stored copy get_code serves, from CMACH508/PAFlow, is pointer only (licence: NONE) · get_code("3c6858db01947fd5")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from CMACH508/PAFlow, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_pdb_name Ran
ran; our contract draft was wrong, not the code
yanliang3612/nucleusdiff/crossdock_data_preparation/step3_split_pl_dataset.py
code served (permissive licence) · get_code("268ff98cf7c8ced1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os

def get_pdb_name(fn):
    return os.path.basename(fn)[:4]

# The function takes a filename string and returns the first 4 characters
# of the basename. We need to provide a valid file path string.

ARGS = {
    "fn": "/path/to/1abc.pdb"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_r_feat Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yanliang3612/nucleusdiff/models/common.py
pointer only (licence: MIT); the stored copy get_code serves, from CMACH508/PAFlow, is pointer only (licence: NONE) · get_code("27af771ab4cfc179")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from CMACH508/PAFlow, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_item Ran
ran; our contract draft was wrong, not the code
yanliang3612/nucleusdiff/covid_19_data_preparation/extract_pockets_for_real_world.py
code served (permissive licence) · get_code("07c92d5dea063963")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile

# Create a temporary directory and files for testing
temp_dir = tempfile.mkdtemp()

# Create sample PDB file
pdb_file = os.path.join(temp_dir, "sample.pdb")
with open(pdb_file, 'w') as f:
    f.write("HEADER    TEST PDB FILE\nATOM      1  N   ALA A   1       0.000   0.000   0.000  1.00  0.00           N\n")

# Create sample SDF file
sdf_file = os.path.join(temp_dir, "sample.sdf")
with open(sdf_file, 'w') as f:
    f.write("sample molecule\n  Mrv2311 01012100003D\n\n  1  0  0  0  0  0  0  0  0  0999 V2000\nM  END\n")

# Define ARGS with valid arguments for load_item function
ARGS = {
    "item": ("sample.pdb", "sample.sdf"),
    "path": temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
unbatch_v_traj Ran
ran; our contract draft was wrong, not the code
yanliang3612/nucleusdiff/sample_for_crossdock.py
pointer only (licence: MIT); the stored copy get_code serves, from guanjq/targetdiff, is pointer only (licence: NONE) · get_code("47ce9e33fa6b180f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from guanjq/targetdiff, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_unique_pockets Not yet run
unverified (harvested, no recorded run)
yanliang3612/nucleusdiff/crossdock_data_preparation/step3_split_pl_dataset.py
code served (permissive licence) · get_code("8d23e6700459799f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 5 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_beta_schedule 25 other papers
19 dated earlier, 6 later · 1 only as an assembly brick
2201.11760 (2022-01)
Unsupervised Denoising of Retinal OCT with Diffusion Probabilistic Model
2203.02923 (2022-03)
GeoDiff: a Geometric Diffusion Model for Molecular Conformation Generation
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
and 22 more not named here
cosine_beta_schedule 11 other papers
8 dated earlier, 3 later · 1 only as an assembly brick
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2310.17800 (2023-10)
Interacting Diffusion Processes for Event Sequence Forecasting
and 8 more not named here
get_h_dist 10 other papers
6 dated earlier, 4 later
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
2403.07902 (2024-03)
DECOMPDIFF: Diffusion Models with Decomposed Priors for Structure-Based Drug Design
and 7 more not named here
get_r_feat 10 other papers
6 dated earlier, 4 later
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
2403.07902 (2024-03)
DECOMPDIFF: Diffusion Models with Decomposed Priors for Structure-Based Drug Design
and 7 more not named here
compose_context 8 other papers
4 dated earlier, 4 later
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
2406.01650 (2024-06)
TAGMol: Target-Aware Gradient-guided Molecule Generation
and 5 more not named here
unbatch_v_traj 4 other papers
4 dated earlier
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
2403.07902 (2024-03)
DECOMPDIFF: Diffusion Models with Decomposed Priors for Structure-Based Drug Design
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Artificial intelligence models have shown great potential in structure-based drug design, generating ligands with high binding affinities. However, existing models have often overlooked a crucial physical constraint: atoms must maintain a minimum pairwise distance to avoid separation violation, a phenomenon governed by the balance of attractive and repulsive forces. To mitigate such separation violations, we propose NucleusDiff. It models the interactions between atomic nuclei and their surrounding electron clouds by enforcing the distance constraint between the nuclei and manifolds. We quantitatively evaluate NucleusDiff using the CrossDocked2020 dataset and a COVID-19 therapeutic target, demonstrating that NucleusDiff reduces violation rate by up to 100.00% and enhances binding affinity by up to 22.16%, surpassing state-of-the-art models for structure-based drug design. We also provide qualitative analysis through manifold sampling, visually confirming the effectiveness of NucleusDiff in reducing separation violations and improving binding affinities.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2409.10584")
get_code_for_paper("2409.10584")
have("2409.10584")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2409.10584.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2409.10584.svg)](https://syntology.ai/paper/2409.10584)

Connect an agent — have() is free.