SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1806.02473 · 2018

Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation

arXiv · PDF · Open in the Atlas

Code that ran

6 of 13 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; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 2 failures of our instrument; 7 no recorded run), measured 2026-11-21; 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/1806.02473.json · badge: /api/ran/1806.02473.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
bowenliu16/rl_graph_generation canonical (classifier label)
classifier basis: census
6 ran · 7 no recorded run
FunctionStatusWhere it lives
load_dataset Ran
ran on a synthesized input
bowenliu16/rl_graph_generation/gym-molecule/gym_molecule/dataset/dataset_utils.py
code served (permissive licence) · get_code("0df79be4c30a901d")
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 DataFrame. 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 pandas as pd
import tempfile
import os

# Create a temporary CSV file with sample SMILES data
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, "gdb13_sample.csv")

# Write sample SMILES strings to CSV (without header, as the function expects)
sample_smiles = [
    "CCO",
    "CC(C)O",
    "c1ccccc1",
    "CC(=O)O",
]

with open(csv_path, 'w') as f:
    for smiles in sample_smiles:
        f.write(f"{smiles}\n")

ARGS = {
    'path': csv_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
make_output_format Ran
ran; our contract draft was wrong, not the code
bowenliu16/rl_graph_generation/rl-baselines/baselines/logger.py
code served (permissive licence) · get_code("5eee517402b390d5")
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 HumanOutputFormat. 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
import sys
import tempfile
import shutil

# Create a temporary directory for output
temp_dir = tempfile.mkdtemp()

# Define arguments for make_output_format function
ARGS = {
    'format': 'stdout',
    'ev_dir': temp_dir,
    'log_suffix': '_test'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type HumanOutputFormat — a HumanOutputFormat output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a HumanOutputFormat 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
profile Ran
ran; our contract draft was wrong, not the code
bowenliu16/rl_graph_generation/rl-baselines/baselines/logger.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from facebookresearch/gen_dgrl, is pointer only (licence: NOASSERTION) · get_code("98948fae5be7e92e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from facebookresearch/gen_dgrl, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

rolling_window Ran
ran on a synthesized input
bowenliu16/rl_graph_generation/rl-baselines/baselines/results_plotter.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from knowledgetechnologyuhh/goal_conditioned_RL_baselines, is pointer only (licence: MIT) · get_code("895ca4b776fb6d6d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from knowledgetechnologyuhh/goal_conditioned_RL_baselines, and MIT, as GitHub detects it on that repository, is in the permissive set, but a licence decision keeps the body a pointer: its licence file names an outside party, so it may cover vendored code rather than the repository owner's files (recorded as pointer:licence_names_third_party_corporation). 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.

ts2xy Ran
ran on a synthesized input
bowenliu16/rl_graph_generation/rl-baselines/baselines/results_plotter.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from ml-jku/baselines-rudder, is pointer only (licence: MIT) · get_code("8c5b970d902942f8")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from ml-jku/baselines-rudder, and MIT, as GitHub detects it on that repository, is in the permissive set, but a licence decision keeps the body a pointer: its licence file names an outside party, so it may cover vendored code rather than the repository owner's files (recorded as pointer:licence_names_third_party_corporation). 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.

window_func Ran
ran on a synthesized input
bowenliu16/rl_graph_generation/rl-baselines/baselines/results_plotter.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from knowledgetechnologyuhh/goal_conditioned_RL_baselines, is pointer only (licence: MIT) · get_code("43741b9339bd80da")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from knowledgetechnologyuhh/goal_conditioned_RL_baselines, and MIT, as GitHub detects it on that repository, is in the permissive set, but a licence decision keeps the body a pointer: its licence file names an outside party, so it may cover vendored code rather than the repository owner's files (recorded as pointer:licence_names_third_party_corporation). 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.

absolute_scope_name Not yet run
unverified (harvested, no recorded run)
bowenliu16/rl_graph_generation/rl-baselines/baselines/deepq/build_graph.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from baoqianwang/iros22_darl1n, is pointer only (licence: NONE) · get_code("0f6bbf3f67ac6f9c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from baoqianwang/iros22_darl1n, 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. No invocation recorded.

caveman_special Not yet run
unverified (harvested, no recorded run)
bowenliu16/rl_graph_generation/gym-molecule/gym_molecule/envs/molecule.py
code served (permissive licence) · get_code("f61361cc85373aec")
How it ran

no invocation recorded.

default_param_noise_filter Not yet run
unverified (harvested, no recorded run)
bowenliu16/rl_graph_generation/rl-baselines/baselines/deepq/build_graph.py
code served (permissive licence) · get_code("041445ccac645fab")
How it ran

no invocation recorded.

load_conditional Not yet run
unverified (harvested, no recorded run)
bowenliu16/rl_graph_generation/gym-molecule/gym_molecule/envs/molecule.py
code served (permissive licence) · get_code("4292cd3970e0a394")
How it ran

no invocation recorded.

mol_to_nx Not yet run
unverified (harvested, no recorded run)
bowenliu16/rl_graph_generation/gym-molecule/gym_molecule/dataset/dataset_utils.py
code served (permissive licence) · get_code("ee21db72b70a21df")
How it ran

no invocation recorded.

read_json Not yet run
unverified (harvested, no recorded run)
bowenliu16/rl_graph_generation/rl-baselines/baselines/logger.py
code served (permissive licence) · get_code("88ef5a17fc986d9a")
How it ran

no invocation recorded.

scope_vars Not yet run
unverified (harvested, no recorded run)
bowenliu16/rl_graph_generation/rl-baselines/baselines/deepq/build_graph.py
code served (permissive licence) · get_code("476db850211b5da9")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 6 the same month, 6 later) and 3 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
make_output_format 73 other papers
2 dated earlier, 1 the same month, 70 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.07857 (2018-06)
RUDDER: Return Decomposition for Delayed Rewards
and 70 more not named here
read_json 22 other papers
3 dated earlier, 1 the same month, 18 later
1611.05763 (2016-11)
Learning to reinforcement learn
1711.00123 (2017-11)
Backpropagation through the Void: Optimizing control variates for black-box gradient estimation
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
and 19 more not named here
profile 13 other papers
1 dated earlier, 1 the same month, 11 later
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.07857 (2018-06)
RUDDER: Return Decomposition for Delayed Rewards
1905.02363 (2019-05)
Dimension-Wise Importance Sampling Weight Clipping for Sample-Efficient Reinforcement Learning
and 10 more not named here
rolling_window 12 other papers
2 dated earlier, 1 the same month, 9 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.07857 (2018-06)
RUDDER: Return Decomposition for Delayed Rewards
and 9 more not named here
window_func 10 other papers
2 dated earlier, 1 the same month, 7 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.07857 (2018-06)
RUDDER: Return Decomposition for Delayed Rewards
and 7 more not named here
ts2xy 3 other papers
1 dated earlier, 1 the same month, 1 later
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.07857 (2018-06)
RUDDER: Return Decomposition for Delayed Rewards
2006.04061 (2020-06)
Dual Policy Distillation
absolute_scope_name 2 other papers
2 dated earlier
1509.06461 (2015-09)
Deep Reinforcement Learning with Double Q-learning
1706.02275 (2017-06)
Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments
scope_vars 2 other papers
2 dated earlier
1509.06461 (2015-09)
Deep Reinforcement Learning with Double Q-learning
1706.02275 (2017-06)
Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments
caveman_special 1 other paper
1 dated earlier
1802.08773 (2018-02)
GraphRNN: Generating Realistic Graphs with Deep Auto-regressive Models
default_param_noise_filter 1 other paper
1 dated earlier
1509.06461 (2015-09)
Deep Reinforcement Learning with Double Q-learning

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-21.

Repositories linked to this paper

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

Abstract

Generating novel graph structures that optimize given objectives while obeying some given underlying rules is fundamental for chemistry, biology and social science research. This is especially important in the task of molecular graph generation, whose goal is to discover novel molecules with desired properties such as drug-likeness and synthetic accessibility, while obeying physical laws such as chemical valency. However, designing models to find molecules that optimize desired properties while incorporating highly complex and non-differentiable rules remains to be a challenging task. Here we propose Graph Convolutional Policy Network (GCPN), a general graph convolutional network based model for goal-directed graph generation through reinforcement learning. The model is trained to optimize domain-specific rewards and adversarial loss through policy gradient, and acts in an environment that incorporates domain-specific rules. Experimental results show that GCPN can achieve 61% improvement on chemical property optimization over state-of-the-art baselines while resembling known molecules, and achieve 184% improvement on the constrained property optimization task.

For agents

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

get_harvested_code_for_paper("1806.02473")
get_code_for_paper("1806.02473")
have("1806.02473")

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

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

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

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

Connect an agent — have() is free.