SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1509.06461 · AAAI · 2015

Deep Reinforcement Learning with Double Q-learning

Arthur Guez, David Silver, Hado Van Hasselt

arXiv · PDF · Open in the Atlas

Code that ran

56 of 106 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (38 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 55 have no contract verdict; 1 failure of our instrument; 50 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/1509.06461.json · badge: /api/ran/1509.06461.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
yzheng51/rl-dino-run community
not in the paper's declared repositories
6 ran · 1 no recorded run
daviddcho/supermario community
not in the paper's declared repositories
4 ran · 1 no recorded run
OscarHuangWind/Preference-Guided-DQN-Atari community
not in the paper's declared repositories
4 ran · 1 no recorded run
kmdanielduan/DQN_Family_PyTorch community
not in the paper's declared repositories
3 ran · 2 no recorded run
1jsingh/rl_navigation community
Papers with Code archive
3 ran · 2 no recorded run
microsoft/med-deadend community
not in the paper's declared repositories
3 ran · 2 no recorded run
guillaumeboniface/bananaland community
not in the paper's declared repositories
3 ran · 1 no recorded run
MEOWMEOW114/nd893-p1-navigation-banana community
Papers with Code archive
3 ran · 1 no recorded run
hamishs/JAX-RL community
not in the paper's declared repositories
3 ran · 1 no recorded run
Adrelf/DRL-navigation community
Papers with Code archive
3 ran · 0 no recorded run
philtabor/Deep-Q-Learning-Paper-To-Code community
not in the paper's declared repositories
3 ran · 0 no recorded run
utarumo/RL_implementation community
not in the paper's declared repositories
2 ran · 1 no recorded run
ssainz/reinforcement_learning_algorithms community
not in the paper's declared repositories
2 ran · 1 no recorded run
seacevedo/ReinforcementLearningProjects community
not in the paper's declared repositories
2 ran · 0 no recorded run
jezzarax/drlnd_p1_navigation community
not in the paper's declared repositories
2 ran · 0 no recorded run
mohit8935/Deep-Q-Learning-Paper community
not in the paper's declared repositories
2 ran · 0 no recorded run
xgfelicia/Reinforcement-Learning community
not in the paper's declared repositories
2 ran · 0 no recorded run
fengsterooni/dql community
not in the paper's declared repositories
1 ran · 2 no recorded run
HussonnoisMaxence/RL_Algorithms community
Papers with Code archive
1 ran · 2 no recorded run
marload/DeepRL-TensorFlow2 community
not in the paper's declared repositories
1 ran · 2 no recorded run
botforge/simplementation community
not in the paper's declared repositories
1 ran · 1 no recorded run
matthewsparr/Deep-Zork community
not in the paper's declared repositories
1 ran · 0 no recorded run
deepmind/rlax community
not in the paper's declared repositories
1 ran · 0 no recorded run
hill-a/stable-baselines community
not in the paper's declared repositories
0 ran · 7 no recorded run
ifestus/rl community
not in the paper's declared repositories
0 ran · 3 no recorded run
FunctionStatusWhere it lives
Agent Ran
ran on a synthesized input · constructed an object; no result was computed
seacevedo/ReinforcementLearningProjects/ddqn.py
pointer only (licence: NONE) · get_code("5f8524dc2a2cab41")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seacevedo/ReinforcementLearningProjects 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.

Agent Ran
ran on a synthesized input · constructed an object; no result was computed
Adrelf/DRL-navigation/brain/dqn_agent.py
pointer only (licence: NONE) · get_code("3836a1d32ca55617")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Adrelf/DRL-navigation 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.

AgentConfig Ran
ran on a synthesized input
kmdanielduan/DQN_Family_PyTorch/agent.py
pointer only (licence: NONE) · get_code("ac9572223e61f5cf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kmdanielduan/DQN_Family_PyTorch 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.

AgentMemory Ran
ran on a synthesized input · constructed an object; no result was computed
guillaumeboniface/bananaland/agent.py
pointer only (licence: NONE) · get_code("570c12d7a6123152")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guillaumeboniface/bananaland 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.

Atari_DQN Ran
ran on a synthesized input
botforge/simplementation/2.DOUBLE-DQN_Deep-Reinforcement-Learning-with-Double-Q-Learning-van-Hasselt-etal-2015/double-dqn_atari.py
pointer only (licence: NONE) · get_code("6f4c156ef811e511")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, botforge/simplementation 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.

ConvNet Ran
ran on a synthesized input · constructed an object; no result was computed
seacevedo/ReinforcementLearningProjects/ddqn.py
pointer only (licence: NONE) · get_code("e8bea3ffc28d3e32")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seacevedo/ReinforcementLearningProjects 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.

ConvNet Ran
ran on a synthesized input
yzheng51/rl-dino-run/agent.py
code served (permissive licence) · get_code("d7c5b75c3f5b0451")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 3136) 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 torch
import torch.nn as nn
import torch.nn.functional as F

class ConvNet(nn.Module):
    """Convolutional layers in DQN"""

    def __init__(self, batch_norm=False):
        super().__init__()
        self.conv1 = nn.Conv2d(4, 32, kernel_size=8, stride=4)
        self.conv2 = nn.Conv2d(32, 64, kernel_size=4, stride=2)
        self.conv3 = nn.Conv2d(64, 64, kernel_size=3, stride=1)
        if batch_norm:
            self.bn1 = nn.BatchNorm2d(32)
            self.bn2 = nn.BatchNorm2d(64)
            self.bn3 = nn.BatchNorm2d(64)
        else:
            self.bn1 = nn.Identity()
            self.bn2 = nn.Identity()
            self.bn3 = nn.Identity()

    def forward(self, x):
        x = F.relu(self.bn1(self.conv1(x)))
        x = F.relu(self.bn2(self.conv2(x)))
        x = F.relu(self.bn3(self.conv3(x)))
        return x.view(x.size(0), -1)


INIT_ARGS = {
    'batch_norm': False
}

ARGS = {
    'x': torch.randn(2, 4, 84, 84)
}

if __name__ == '__main__':
    model = ConvNet(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3136) — shape (2, 3136) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
DDQNAgent Ran
ran on a synthesized input · constructed an object; no result was computed
philtabor/Deep-Q-Learning-Paper-To-Code/DDQN/ddqn_agent.py
code served (permissive licence) · get_code("247f8b58095cdb6d")
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 an instance of its own class, DDQNAgent: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch
import numpy as np
import torch.nn as nn
import os
import tempfile

torch.manual_seed(0)
np.random.seed(0)

# Create a temporary directory for checkpoints
chkpt_dir = tempfile.mkdtemp()

ARGS = {
    'gamma': 0.99,
    'epsilon': 1.0,
    'lr': 0.0001,
    'n_actions': 4,
    'input_dims': (3, 84, 84),
    'mem_size': 1000,
    'batch_size': 32,
    'eps_min': 0.01,
    'eps_dec': 5e-07,
    'replace': 1000,
    'algo': 'DDQNAgent',
    'env_name': 'test_env',
    'chkpt_dir': chkpt_dir,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DDQNAgent — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DDQNAgent 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
DDQNAgent Ran
ran on a synthesized input
MEOWMEOW114/nd893-p1-navigation-banana/dqn/double_dqn_agent.py
pointer only (licence: NONE) · get_code("00919eeae2ebc39b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MEOWMEOW114/nd893-p1-navigation-banana 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.

DDQNAgent Ran
ran on a synthesized input · constructed an object; no result was computed
jezzarax/drlnd_p1_navigation/agents.py
pointer only (licence: NONE) · get_code("dc6c2d1d1cffa8c3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jezzarax/drlnd_p1_navigation 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.

DDQNAgent Ran
ran on a synthesized input · constructed an object; no result was computed
mohit8935/Deep-Q-Learning-Paper/DDQN/ddqn_agent.py
pointer only (licence: NONE) · get_code("f145e7ca739738a0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohit8935/Deep-Q-Learning-Paper 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.

DQN Ran
ran on a synthesized input · constructed an object; no result was computed
xgfelicia/Reinforcement-Learning/Cartpole/double-dqn.py
pointer only (licence: NONE) · get_code("8002739ef399b9f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xgfelicia/Reinforcement-Learning 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.

DQN Ran
ran on a synthesized input · constructed an object; no result was computed
kmdanielduan/DQN_Family_PyTorch/agent.py
pointer only (licence: NONE) · get_code("249aaac189a4c179")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kmdanielduan/DQN_Family_PyTorch 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.

DQN Ran
ran on a synthesized input · constructed an object; no result was computed
hamishs/JAX-RL/src/jax_rl/algorithms/dqn.py
code served (permissive licence) · get_code("0493df484647c5af")
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 an instance of its own class, DQN: the run constructed the object and did not call it, so no result was computed. 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 jax
import jax.numpy as jnp
import haiku as hk
from functools import partial

# Define a simple Q-network model using Haiku
def q_network_fn(x):
    """Simple Q-network that takes state and outputs Q-values for each action."""
    x = hk.Linear(8)(x)
    x = jax.nn.relu(x)
    x = hk.Linear(5)(x)  # 5 actions
    return x

# Create the transformed Haiku model
model = hk.transform(q_network_fn)

# Define a simple epsilon-greedy policy
def epsilon_greedy_policy(key, q_values, exploration=True):
    """Epsilon-greedy action selection policy."""
    epsilon = 0.1
    if exploration and jax.random.uniform(key) < epsilon:
        return jax.random.randint(key, (), 0, q_values.shape[-1])
    else:
        return jnp.argmax(q_values, axis=-1).item()

# Set up arguments for DQN initialization
ARGS = {
    'key': jax.random.PRNGKey(0),
    'n_states': 4,  # State dimension
    'n_actions': 5,  # Number of discrete actions
    'gamma': 0.99,  # Discount factor
    'buffer_size': 1000,  # Experience replay buffer size
    'policy': epsilon_greedy_policy,  # Action selection policy
    'model': model,  # Haiku transformed Q-network model
    'lr': 0.001  # Learning rate
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
haiku, jax, numpy, optax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DQN — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DQN 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
DQN Ran
ran on a synthesized input
yzheng51/rl-dino-run/agent.py
code served (permissive licence) · get_code("4cd993bb1241d36c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family int; 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 torch
import torch.nn as nn
import random
import numpy as np
from collections import namedtuple

Transition = namedtuple('Transition', ('state', 'action', 'next_state', 'reward'))

# INIT_ARGS for DQN.__init__(n_actions, device, batch_norm=False)
INIT_ARGS = {
    'n_actions': 6,
    'device': torch.device('cpu'),
    'batch_norm': False
}

# The class doesn't have a single forward/call method that does computation.
# Looking at the class, the main computation methods are:
# - _choose_action(state)
# - _q(states, actions)
# - _expected_q(next_states, rewards)
# 
# Since _choose_action is the most self-contained action method, we'll use that.
# It expects a state tensor of shape (batch, channels=4, height, width)

METHOD = '_choose_action'

# For _choose_action, we need a state tensor
# The ConvNet expects input of shape (batch, 4, H, W)
# Conv1: kernel=8, stride=4 -> output size = (H-8)/4 + 1
# Conv2: kernel=4, stride=2
# Conv3: kernel=3, stride=1
# The fc layer expects 3136 features, so we need to work backwards
# 3136 = 64 * 7 * 7, so after conv3 we need 7x7 spatial dims
# Working backwards:
# After conv3 (k=3, s=1): 7 -> input = 7 + 3 - 1 = 9
# After conv2 (k=4, s=2): 9 -> input = (9-1)*2 + 4 = 20
# After conv1 (k=8, s=4): 20 -> input = (20-1)*4 + 8 = 84

ARGS = {
    'state': torch.randn(1, 4, 84, 84)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family int — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
DQNAgent Ran
ran on a synthesized input · constructed an object; no result was computed
matthewsparr/Deep-Zork/agent.py
pointer only (licence: NONE) · get_code("c758b36e7d16e2ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, matthewsparr/Deep-Zork 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.

DQNagent Ran
ran on a synthesized input · constructed an object; no result was computed
xgfelicia/Reinforcement-Learning/Cartpole/double-dqn.py
pointer only (licence: NONE) · get_code("bfb3e0ae3cba8f2e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xgfelicia/Reinforcement-Learning 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.

DeepQNetowrk Ran
ran on a synthesized input
fengsterooni/dql/DDQN/ddqn_agent.py
pointer only (licence: NONE) · get_code("85c944ddae8c9df8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fengsterooni/dql 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.

DeepQNetwork Ran
ran on a synthesized input · constructed an object; no result was computed
philtabor/Deep-Q-Learning-Paper-To-Code/DDQN/ddqn_agent.py
code served (permissive licence) · get_code("458d686bba2350d3")
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 an instance of its own class, DeepQNetwork: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch
import numpy as np
import torch.nn as nn
import os
import tempfile

torch.manual_seed(0)

# Create a temporary directory for checkpoints
chkpt_dir = tempfile.gettempdir()

ARGS = {
    'lr': 0.00025,
    'n_actions': 4,
    'name': 'dqn_network',
    'input_dims': (3, 84, 84),
    'chkpt_dir': chkpt_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DeepQNetwork — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DeepQNetwork 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
DoubleDQN Ran
ran on a synthesized input
yzheng51/rl-dino-run/agent.py
code served (permissive licence) · get_code("99ac309143b7cf78")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family int; 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 torch
import torch.nn as nn
import numpy as np
import random

# The class is named DQN, not DoubleDQN
# Looking at __init__, it needs: n_actions, device, batch_norm (optional)

INIT_ARGS = {
    'n_actions': 4,
    'device': torch.device('cpu'),
    'batch_norm': False
}

# Looking at the class, there's no single forward/__call__ method shown
# The class has methods like _choose_action, _q, _expected_q
# Since this is a DQN agent, the main computation methods are:
# - _choose_action(state) - takes a state tensor
# - _q(states, actions) - takes states and actions
# - _expected_q(next_states, rewards) - takes next_states and rewards

# Let's test _choose_action since it's a complete method
METHOD = '_choose_action'

# _choose_action expects a state tensor with shape (batch, channels, height, width)
# The ConvNet expects 4 channels (stacked frames), and based on the conv layers:
# - conv1: kernel=8, stride=4
# - conv2: kernel=4, stride=2  
# - conv3: kernel=3, stride=1
# The output is flattened to 3136, which means the spatial dimensions work out to 7x7x64=3136
# Working backwards: after conv3 output is 7x7, before conv3 is 9x9, before conv2 is 20x20, before conv1 is 84x84
# So input should be 84x84

ARGS = {
    'state': torch.randn(1, 4, 84, 84)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family int — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
DuelingDQN Ran
ran on a synthesized input · constructed an object; no result was computed
daviddcho/supermario/agent.py
pointer only (licence: NONE) · get_code("be74745caf4bf744")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, daviddcho/supermario 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.

DummyAgent Ran
ran on a synthesized input · constructed an object; no result was computed
jezzarax/drlnd_p1_navigation/agents.py
pointer only (licence: NONE) · get_code("216682c7c24d1664")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jezzarax/drlnd_p1_navigation 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.

ExperienceReplay Ran
ran on a synthesized input · constructed an object; no result was computed
daviddcho/supermario/agent.py
pointer only (licence: NONE) · get_code("77c8ec6c865240fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, daviddcho/supermario 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.

ExperienceReplay Ran
ran on a synthesized input · constructed an object; no result was computed
hamishs/JAX-RL/src/jax_rl/algorithms/dqn.py
code served (permissive licence) · get_code("986cc90d7e4eeaf2")
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 an instance of its own class, ExperienceReplay: the run constructed the object and did not call it, so no result was computed. 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 jax.numpy as jnp
import random

class Buffer:
    def __init__(self, buffer_size):
        self.buffer_size = buffer_size
        self.reset()

    def update(self, transition):
        pass

    def __len__(self):
        pass

    def reset(self):
        pass

class Transition:
    def __init__(self, s, a, r, d, s_next):
        self.s = s
        self.a = a
        self.r = r
        self.d = d
        self.s_next = s_next

class ExperienceReplay(Buffer):
    """Experience replay buffer to store past experience."""

    def __init__(self, buffer_size, action_dtype=jnp.int32):
        """
        buffer_size : int - max number of transitions to store.
        """
        super(ExperienceReplay, self).__init__(buffer_size)
        self.action_dtype = action_dtype

    def update(self, transition):
        """Update the buffer with a transition."""
        self.buffer.append(transition)
        if len(self.buffer) > self.buffer_size:
            self.buffer.pop(0)

    def __len__(self):
        return len(self.buffer)

    def reset(self):
        self.buffer = []

    def sample(self, n):
        """Sample a batch of n transitions. Returns all as jax.numpy arrays."""
        batch = Transition(*zip(*random.sample(self.buffer, n)))
        s = jnp.array(batch.s, dtype=jnp.float32)
        a = jnp.array(batch.a, dtype=self.action_dtype)
        r = jnp.array(batch.r, dtype=jnp.float32)
        d = jnp.array(batch.d, dtype=jnp.float32)
        s_next = jnp.array(batch.s_next, dtype=jnp.float32)
        return (s, a, r, d, s_next)

ARGS = {
    "buffer_size": 100,
    "action_dtype": jnp.int32,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ExperienceReplay — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ExperienceReplay 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
FixedSize_BinarySearchTree Ran
ran on a synthesized input · constructed an object; no result was computed
1jsingh/rl_navigation/agents/dqn_agent.py
code served (permissive licence) · get_code("42487fb842418ae5")
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 an instance of its own class, FixedSize_BinarySearchTree: the run constructed the object and did not call it, so no result was computed. 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.

# Setup code for FixedSize_BinarySearchTree

from collections import deque

# The FixedSize_BinarySearchTree class takes only one parameter: capacity
# Looking at the __init__ method, it takes:
# - capacity: an integer representing the maximum size of the tree

# We'll create a simple instance with a reasonable capacity
ARGS = {
    'capacity': 10
}
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 FixedSize_BinarySearchTree — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a FixedSize_BinarySearchTree 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
LinearAnneal Ran
ran on a synthesized input
yzheng51/rl-dino-run/agent.py
code served (permissive licence) · get_code("c852318db796f171")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned float, ndim 0, 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 torch
import numpy as np

# INIT_ARGS for LinearAnneal.__init__(start_val, end_val, steps)
INIT_ARGS = {
    'start_val': 1.0,
    'end_val': 0.1,
    'steps': 100
}

# ARGS for LinearAnneal.anneal()
ARGS = {}

# METHOD specifies which method to call
METHOD = 'anneal'
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float — no output shape is stated: observe_signature.py could not observe it (no_inputs)
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Logger Ran
ran on a synthesized input
daviddcho/supermario/agent.py
pointer only (licence: NONE) · get_code("908cf1edb8faa4b5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, daviddcho/supermario 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.

MLP Ran
ran on a synthesized input · constructed an object; no result was computed
guillaumeboniface/bananaland/agent.py
pointer only (licence: NONE) · get_code("5c959f3eff13eb01")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guillaumeboniface/bananaland 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.

Memory Ran
ran on a synthesized input · constructed an object; no result was computed
utarumo/RL_implementation/dqn_atari.py
code served (permissive licence) · get_code("dc87a7e1418f9bb3")
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 an instance of its own class, Memory: the run constructed the object and did not call it, so no result was computed. 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 random
import numpy

class SumTree:
    write = 0

    def __init__(self, capacity):
        self.capacity = capacity
        self.tree = numpy.zeros(2 * capacity - 1)
        self.data = numpy.zeros(capacity, dtype=object)

    def _propagate(self, idx, change):
        parent = (idx - 1) // 2
        self.tree[parent] += change
        if parent != 0:
            self._propagate(parent, change)

    def _retrieve(self, idx, s):
        left = 2 * idx + 1
        right = left + 1
        if left >= len(self.tree):
            return idx
        if s <= self.tree[left]:
            return self._retrieve(left, s)
        else:
            return self._retrieve(right, s - self.tree[left])

    def total(self):
        return self.tree[0]

    def add(self, p, data):
        idx = self.write + self.capacity - 1
        self.data[self.write] = data
        self.update(idx, p)
        self.write += 1
        if self.write >= self.capacity:
            self.write = 0

    def update(self, idx, p):
        change = p - self.tree[idx]
        self.tree[idx] = p
        self._propagate(idx, change)

    def get(self, s):
        idx = self._retrieve(0, s)
        dataIdx = idx - self.capacity + 1
        return (idx, self.tree[idx], self.data[dataIdx])

class Memory:
    e = 0.01
    a = 0.6

    def __init__(self, capacity):
        self.tree = SumTree(capacity)
        self.max_p = 1

    def _getPriority(self, error):
        return (error + self.e) ** self.a

    def add(self, error, sample):
        p = self._getPriority(error)
        self.tree.add(p, sample)

    def add_p(self, p, sample):
        self.tree.add(p, sample)

    def sample(self, n):
        batch = []
        idx_batch = []
        segment = self.tree.total() / n
        for i in range(n):
            a = segment * i
            b = segment * (i + 1)
            s = random.uniform(a, b)
            idx, p, data = self.tree.get(s)
            batch.append(data)
            idx_batch.append(idx)
        return (batch, idx_batch)

    def update(self, idx, error):
        p = self._getPriority(error)
        if p > self.max_p:
            self.max_p = p
        self.tree.update(idx, p)

ARGS = {
    "capacity": 8
}
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 Memory — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Memory 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
Net Ran
ran on a synthesized input · constructed an object; no result was computed
OscarHuangWind/Preference-Guided-DQN-Atari/DRL.py
code served (permissive licence) · get_code("127094b1a1600120")
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 an instance of its own class, Net: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 random
import numpy as np
import torch
import torch.nn as nn

torch.manual_seed(0)
random.seed(0)
np.random.seed(0)

ARGS = {
    'height': 84,
    'width': 84,
    'channel': 3,
    'num_outputs': 18,
    'dueling': False,
    'preference': False,
    'seed': 42,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Net — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Net 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
Net Ran
ran on a synthesized input
yzheng51/rl-dino-run/agent.py
code served (permissive licence) · get_code("9ca97885778aa8a2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 5) 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 torch
import torch.nn as nn
import torch.nn.functional as F

class ConvNet(nn.Module):
    """Convolutional layers in DQN"""

    def __init__(self, batch_norm=False):
        super().__init__()
        self.conv1 = nn.Conv2d(4, 32, kernel_size=8, stride=4)
        self.conv2 = nn.Conv2d(32, 64, kernel_size=4, stride=2)
        self.conv3 = nn.Conv2d(64, 64, kernel_size=3, stride=1)
        if batch_norm:
            self.bn1 = nn.BatchNorm2d(32)
            self.bn2 = nn.BatchNorm2d(64)
            self.bn3 = nn.BatchNorm2d(64)
        else:
            self.bn1 = nn.Identity()
            self.bn2 = nn.Identity()
            self.bn3 = nn.Identity()

    def forward(self, x):
        x = F.relu(self.bn1(self.conv1(x)))
        x = F.relu(self.bn2(self.conv2(x)))
        x = F.relu(self.bn3(self.conv3(x)))
        return x.view(x.size(0), -1)

class Net(ConvNet):
    """Neural network to estimate Q-value in DQN"""

    def __init__(self, n_actions, batch_norm=False):
        super().__init__(batch_norm)
        self.fc = nn.Linear(3136, 512)
        self.head = nn.Linear(512, n_actions)

    def forward(self, x):
        x = super().forward(x)
        x = F.relu(self.fc(x))
        return self.head(x)


INIT_ARGS = {
    'n_actions': 5,
    'batch_norm': False,
}

ARGS = {
    'x': torch.randn(2, 4, 84, 84),
}

if __name__ == '__main__':
    net = Net(**INIT_ARGS)
    output = net(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Expected shape: (2, 5)")
    assert output.shape == (2, 5), f"Shape mismatch: {output.shape}"
    print("Success!")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 5) — shape (2, 5) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Network Ran
ran on a synthesized input
HussonnoisMaxence/RL_Algorithms/QLearning/D2QN/D2QN.py
pointer only (licence: NONE) · get_code("01fc22f5d7228bdb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, HussonnoisMaxence/RL_Algorithms 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.

Node Ran
ran on a synthesized input · constructed an object; no result was computed
1jsingh/rl_navigation/agents/dqn_agent.py
code served (permissive licence) · get_code("896578e9d4f08299")
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 an instance of its own class, Node: the run constructed the object and did not call it, so no result was computed. 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 torch
import numpy as np

torch.manual_seed(0)

# Construct a simple data object
class SimpleData:
    def __init__(self, value):
        self.value = value
    
    def __lt__(self, other):
        return self.value < other.value
    
    def __eq__(self, other):
        return self.value == other.value
    
    def __repr__(self):
        return f"SimpleData({self.value})"

# Create test data
data = SimpleData(5)

ARGS = {
    "data": data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Node — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Node 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
NoisyLinear Ran
ran on a synthesized input · constructed an object; no result was computed
daviddcho/supermario/agent.py
pointer only (licence: NONE) · get_code("00c916fc3622888b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, daviddcho/supermario 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.

PER Ran
ran on a synthesized input · constructed an object; no result was computed
OscarHuangWind/Preference-Guided-DQN-Atari/DRL.py
code served (permissive licence) · get_code("0c36fb52695342c8")
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 an instance of its own class, PER: the run constructed the object and did not call it, so no result was computed. 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 random
import numpy as np
import numpy

# Create a small sample to use as data in the PER buffer
sample_data = np.array([0.1, 0.2, 0.3, 0.4], dtype=float)

# Set seeds for reproducibility
random.seed(42)
np.random.seed(42)

ARGS = {
    "capacity": 10,
    "seed": 42
}
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 PER — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PER 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
QNetwork Ran
ran on a synthesized input
MEOWMEOW114/nd893-p1-navigation-banana/dqn/double_dqn_agent.py
pointer only (licence: NONE) · get_code("f9462232ec862c47")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MEOWMEOW114/nd893-p1-navigation-banana 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.

QNetwork Ran
ran on a synthesized input
Adrelf/DRL-navigation/brain/dqn_agent.py
pointer only (licence: NONE) · get_code("01d2de07d88f7c3a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Adrelf/DRL-navigation 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.

QNetwork_128 Ran
ran on a synthesized input
microsoft/med-deadend/rl.py
code served (permissive licence) · get_code("308d7ccd559f5f3b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 3) 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 torch
import torch.nn as nn

def init_weights(m):
    if type(m) in [nn.Linear, nn.Conv2d]:
        torch.nn.init.kaiming_uniform_(m.weight)
        m.bias.data.fill_(0.0)

class QNetwork_128(nn.Module):

    def __init__(self, state_dim=16, nb_actions=None):
        super(QNetwork_128, self).__init__()
        self.state_dim = state_dim
        self.nb_actions = nb_actions
        self.fc = nn.Sequential(nn.Linear(self.state_dim, 128), nn.ReLU(), nn.Linear(128, self.nb_actions))
        self.fc.apply(init_weights)

    def forward(self, x):
        x = self.fc(x)
        return x


INIT_ARGS = {
    'state_dim': 4,
    'nb_actions': 3
}

ARGS = {
    'x': torch.randn(2, 4)
}

if __name__ == '__main__':
    model = QNetwork_128(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
QNetwork_64 Ran
ran on a synthesized input
microsoft/med-deadend/rl.py
code served (permissive licence) · get_code("24430ed056d60e5e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 3) 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 torch
import torch.nn as nn

def init_weights(m):
    if type(m) in [nn.Linear, nn.Conv2d]:
        torch.nn.init.kaiming_uniform_(m.weight)
        m.bias.data.fill_(0.0)

class QNetwork_64(nn.Module):

    def __init__(self, state_dim=16, nb_actions=None):
        super(QNetwork_64, self).__init__()
        self.state_dim = state_dim
        self.nb_actions = nb_actions
        self.fc = nn.Sequential(nn.Linear(self.state_dim, 64), nn.ReLU(), nn.Linear(64, self.nb_actions))
        self.fc.apply(init_weights)

    def forward(self, x):
        x = self.fc(x)
        return x


INIT_ARGS = {
    'state_dim': 4,
    'nb_actions': 3
}

ARGS = {
    'x': torch.randn(2, 4)
}

if __name__ == '__main__':
    model = QNetwork_64(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
QNetwork_6464 Ran
ran on a synthesized input
microsoft/med-deadend/rl.py
code served (permissive licence) · get_code("07905d0466e42900")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch
import torch.nn as nn

def init_weights(m):
    if type(m) in [nn.Linear, nn.Conv2d]:
        torch.nn.init.kaiming_uniform_(m.weight)
        m.bias.data.fill_(0.0)

class QNetwork_6464(nn.Module):

    def __init__(self, state_dim=16, nb_actions=None):
        super(QNetwork_6464, self).__init__()
        self.state_dim = state_dim
        self.nb_actions = nb_actions
        self.fc = nn.Sequential(nn.Linear(self.state_dim, 64), nn.ReLU(), nn.Linear(64, 64), nn.ReLU(), nn.Linear(64, self.nb_actions))
        self.fc.apply(init_weights)

    def forward(self, x):
        x = self.fc(x)
        return x


INIT_ARGS = {
    'state_dim': 16,
    'nb_actions': 4
}

ARGS = {
    'x': torch.randn(2, 16)
}

if __name__ == '__main__':
    model = QNetwork_6464(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Q_model Ran
ran on a synthesized input · constructed an object; no result was computed
guillaumeboniface/bananaland/agent.py
pointer only (licence: NONE) · get_code("124226e5906f2192")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guillaumeboniface/bananaland 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.

Qnetwork Ran
ran on a synthesized input · constructed an object; no result was computed
1jsingh/rl_navigation/agents/dqn_agent.py
code served (permissive licence) · get_code("286e69c369a502d4")
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 an instance of its own class, Qnetwork: the run constructed the object and did not call it, so no result was computed. 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 torch
import torch.nn as nn

torch.manual_seed(0)

# The Qnetwork.__init__ takes state_size and action_size as parameters
state_size = 4
action_size = 3

ARGS = {
    "state_size": state_size,
    "action_size": action_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Qnetwork — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Qnetwork 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
ReplayBuffer Ran
ran on a synthesized input · constructed an object; no result was computed
philtabor/Deep-Q-Learning-Paper-To-Code/DDQN/ddqn_agent.py
code served (permissive licence) · get_code("2a2892343a3359ee")
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 an instance of its own class, ReplayBuffer: the run constructed the object and did not call it, so no result was computed. 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 numpy as np

# Analyze the ReplayBuffer class:
# - __init__ takes: max_size (int), input_shape (tuple), n_actions (int)
# - The class stores states, new_states, actions, rewards, and terminal flags
# - input_shape is unpacked with *input_shape in np.zeros, so it's a tuple of dimensions
# - state_memory and new_state_memory have shape (max_size, *input_shape)
# - action_memory has shape (max_size,)
# - reward_memory has shape (max_size,)
# - terminal_memory has shape (max_size,)
# - store_transition expects: state (matches input_shape), action (int), reward (float), state_ (matches input_shape), done (bool)
# - sample_buffer expects batch_size (int) and returns tuples of sampled data

ARGS = {
    "max_size": 100,
    "input_shape": (4, 3),  # 2D state space: 4x3
    "n_actions": 5  # 5 possible actions
}
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 ReplayBuffer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ReplayBuffer 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
ReplayBuffer Ran
ran on a synthesized input · constructed an object; no result was computed
MEOWMEOW114/nd893-p1-navigation-banana/dqn/double_dqn_agent.py
pointer only (licence: NONE) · get_code("dcd7958b0ad16526")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MEOWMEOW114/nd893-p1-navigation-banana 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.

ReplayBuffer Ran
ran on a synthesized input · constructed an object; no result was computed
marload/DeepRL-TensorFlow2/DoubleDQN/DoubleDQN_Discrete.py
code served (permissive licence) · get_code("56d9058560cd0b68")
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 an instance of its own class, ReplayBuffer: the run constructed the object and did not call it, so no result was computed. 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 argparse
import numpy as np
from collections import deque
import random

# Set up argument parser with batch_size since it's used in the ReplayBuffer methods
parser = argparse.ArgumentParser()
parser.add_argument('--batch_size', type=int, default=2)
args = parser.parse_args(['--batch_size', '2'])

# Populate the buffer with some sample data before calling sample()
class ReplayBuffer:
    def __init__(self, capacity=10000):
        self.buffer = deque(maxlen=capacity)

    def put(self, state, action, reward, next_state, done):
        self.buffer.append([state, action, reward, next_state, done])

    def sample(self):
        sample = random.sample(self.buffer, args.batch_size)
        states, actions, rewards, next_states, done = map(np.asarray, zip(*sample))
        states = np.array(states).reshape(args.batch_size, -1)
        next_states = np.array(next_states).reshape(args.batch_size, -1)
        return (states, actions, rewards, next_states, done)

    def size(self):
        return len(self.buffer)

# Create a ReplayBuffer instance and add sample transitions
rb = ReplayBuffer(capacity=10000)

# Add at least batch_size (2) transitions to the buffer
for i in range(3):
    state = np.array([0.1, 0.2, 0.3, 0.4])
    action = 1
    reward = 1.0
    next_state = np.array([0.2, 0.3, 0.4, 0.5])
    done = False
    rb.put(state, action, reward, next_state, done)

ARGS = {
    'capacity': 10000
}
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 ReplayBuffer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ReplayBuffer 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
ReplayBuffer Ran
ran on a synthesized input · constructed an object; no result was computed
mohit8935/Deep-Q-Learning-Paper/DDQN/ddqn_agent.py
pointer only (licence: NONE) · get_code("41d448d208226341")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohit8935/Deep-Q-Learning-Paper 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.

ReplayBuffer Ran
ran on a synthesized input · constructed an object; no result was computed
Adrelf/DRL-navigation/brain/dqn_agent.py
pointer only (licence: NONE) · get_code("0e225401249db6d9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Adrelf/DRL-navigation 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.

ReplayMemory Ran
ran on a synthesized input · constructed an object; no result was computed
kmdanielduan/DQN_Family_PyTorch/agent.py
pointer only (licence: NONE) · get_code("1a174f4ed5cef5f4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kmdanielduan/DQN_Family_PyTorch 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.

ReplayMemory Ran
ran on a synthesized input · constructed an object; no result was computed
OscarHuangWind/Preference-Guided-DQN-Atari/DRL.py
code served (permissive licence) · get_code("61d763d7c26919c1")
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 an instance of its own class, ReplayMemory: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 random
import numpy as np
import torch

torch.manual_seed(0)
np.random.seed(0)
random.seed(0)

ARGS = {
    "capacity": 100,
    "dimension": 4,
    "seed": 42,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ReplayMemory — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ReplayMemory 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
ReplayMemory Ran
ran on a synthesized input · constructed an object; no result was computed
ssainz/reinforcement_learning_algorithms/non_jupyter/Frozen_Lake_DDQN.py
pointer only (licence: NONE) · get_code("1d2063c27405ec4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ssainz/reinforcement_learning_algorithms 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.

StateProcessor Ran
ran on a synthesized input
yzheng51/rl-dino-run/agent.py
code served (permissive licence) · get_code("352c0c157af8514e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (1, 3, 4, 3) 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
import torch

class StateProcessor:
    """Convert state image to tensor"""

    def to_array(self, state):
        state = np.array(state).transpose((2, 0, 1))
        state = np.ascontiguousarray(state, dtype=np.float32) / 255
        return state

    def to_tensor(self, state):
        state = self.to_array(state)
        state = torch.from_numpy(state)
        return state.unsqueeze(0)


INIT_ARGS = {}

ARGS = {
    'state': np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)
}

METHOD = 'to_tensor'

if __name__ == '__main__':
    processor = StateProcessor(**INIT_ARGS)
    result = getattr(processor, METHOD)(**ARGS)
    print(f"Result shape: {result.shape}")
    print(f"Result dtype: {result.dtype}")
    print(f"Result min: {result.min()}, max: {result.max()}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (1, 3, 4, 3) — shape (1, 3, 4, 3) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
SumTree Ran
ran on a synthesized input · constructed an object; no result was computed
OscarHuangWind/Preference-Guided-DQN-Atari/DRL.py
code served (permissive licence) · get_code("c4667f9f629308c9")
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 an instance of its own class, SumTree: the run constructed the object and did not call it, so no result was computed. 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 numpy

class SumTree:
    write = 0

    def __init__(self, capacity):
        self.capacity = capacity
        self.tree = numpy.zeros(2 * capacity - 1)
        self.data = numpy.zeros(capacity, dtype=object)
        self.n_entries = 0

    def _propagate(self, idx, change):
        parent = (idx - 1) // 2
        self.tree[parent] += change
        if parent != 0:
            self._propagate(parent, change)

    def _retrieve(self, idx, s):
        left = 2 * idx + 1
        right = left + 1
        if left >= len(self.tree):
            return idx
        if s <= self.tree[left]:
            return self._retrieve(left, s)
        else:
            return self._retrieve(right, s - self.tree[left])

    def total(self):
        return self.tree[0]

    def add(self, p, data):
        idx = self.write + self.capacity - 1
        self.data[self.write] = data
        self.update(idx, p)
        self.write += 1
        if self.write >= self.capacity:
            self.write = 0
        if self.n_entries < self.capacity:
            self.n_entries += 1

    def update(self, idx, p):
        change = p - self.tree[idx]
        self.tree[idx] = p
        self._propagate(idx, change)

    def get(self, s):
        idx = self._retrieve(0, s)
        dataIdx = idx - self.capacity + 1
        return (idx, self.tree[idx], self.data[dataIdx])


ARGS = {
    "capacity": 8
}
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 SumTree — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SumTree 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
SumTree Ran
ran on a synthesized input · constructed an object; no result was computed
utarumo/RL_implementation/dqn_atari.py
code served (permissive licence) · get_code("f5e528a822875813")
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 an instance of its own class, SumTree: the run constructed the object and did not call it, so no result was computed. 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 numpy

# Create a SumTree instance with a small capacity
capacity = 4

ARGS = {
    "capacity": capacity
}
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 SumTree — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SumTree 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
Transition Ran
ran on a synthesized input · constructed an object; no result was computed
hamishs/JAX-RL/src/jax_rl/algorithms/dqn.py
code served (permissive licence) · get_code("1652d7453e55d633")
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 an instance of its own class, Transition: the run constructed the object and did not call it, so no result was computed. 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 torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    "s": [0.1, 0.2, 0.3, 0.4],
    "a": 2,
    "r": 1.5,
    "d": False,
    "s_next": [0.15, 0.25, 0.35, 0.45]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Transition — the run constructed an instance of its own class and did not call it; no shape is 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
double_q_learning Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
deepmind/rlax/rlax/_src/value_learning.py
code served (permissive licence) · get_code("df05e7e72c42e52a")
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) and returned ArrayImpl, ndim 0, dtype family float, shape () 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 jax
import jax.numpy as jnp
import chex

# Set seed for reproducibility
jax.config.update('jax_platform_name', 'cpu')

# Create small test arrays
# q_tm1: Q-values at time t-1, shape (4,) - 1D array of Q-values for 4 actions
q_tm1 = jnp.array([1.0, 2.0, 3.0, 4.0], dtype=jnp.float32)

# a_tm1: action index at time t-1, scalar int
a_tm1 = 1

# r_t: reward at time t, scalar float
r_t = 0.5

# discount_t: discount factor at time t, scalar float
discount_t = 0.99

# q_t_value: Q-values at time t, shape (4,) - 1D array of Q-values for 4 actions
q_t_value = jnp.array([0.1, 0.2, 0.8, 0.3], dtype=jnp.float32)

# q_t_selector: selector Q-values at time t, shape (4,) - used to select best action
q_t_selector = jnp.array([0.2, 0.1, 0.9, 0.4], dtype=jnp.float32)

# stop_target_gradients: bool flag
stop_target_gradients = True

ARGS = {
    'q_tm1': q_tm1,
    'a_tm1': a_tm1,
    'r_t': r_t,
    'discount_t': discount_t,
    'q_t_value': q_t_value,
    'q_t_selector': q_t_selector,
    'stop_target_gradients': stop_target_gradients,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
chex, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 0, dtype family float, shape () — shape () 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
q_net Ran
ran on a synthesized input · constructed an object; no result was computed
ssainz/reinforcement_learning_algorithms/non_jupyter/Frozen_Lake_DDQN.py
pointer only (licence: NONE) · get_code("c71291d513eadb0c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ssainz/reinforcement_learning_algorithms 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.

ActionStateModel Not yet run
unverified (harvested, no recorded run)
marload/DeepRL-TensorFlow2/DoubleDQN/DoubleDQN_Discrete.py
code served (permissive licence) · get_code("60f968e2c7d67881")
How it ran

no invocation recorded.

Agent Not yet run
unverified (harvested, no recorded run)
1jsingh/rl_navigation/agents/dqn_agent.py
code served (permissive licence) · get_code("f370c556306eb621")
How it ran

no invocation recorded.

Agent Not yet run
unverified (harvested, no recorded run)
kmdanielduan/DQN_Family_PyTorch/agent.py
pointer only (licence: NONE) · get_code("1324ea2444e296ba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kmdanielduan/DQN_Family_PyTorch 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.

Agent Not yet run
unverified (harvested, no recorded run)
marload/DeepRL-TensorFlow2/DoubleDQN/DoubleDQN_Discrete.py
code served (permissive licence) · get_code("684dac16bf6352e6")
How it ran

no invocation recorded.

Showing the first 60. An agent gets every one from get_harvested_code_for_paper("1509.06461").

Also present in other papers' code

Of 106 samples lifted from this paper's linked repositories, 106 carry a function identity and 0 do not. Of the 101 distinct functions with an identity, 18 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 13 later) and 83 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
wrap_deepmind 4 other papers
4 later
1905.02363 (2019-05)
Dimension-Wise Importance Sampling Weight Clipping for Sample-Efficient Reinforcement Learning
2006.04061 (2020-06)
Dual Policy Distillation
2111.03941 (2021-11)
Time Discretization-Invariant Safe Action Repetition for Policy Gradient Methods
and 1 more not named here
absolute_scope_name
brick of this paper's assembly: helper
2 other papers
2 later
1706.02275 (2017-06)
Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
scope_vars
brick of this paper's assembly: helper
2 other papers
2 later
1706.02275 (2017-06)
Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
ActionStateModel
brick of this paper's assembly: model
1 other paper
1 dated earlier
1312.5602 (2013-12)
Playing Atari with Deep Reinforcement Learning
AgentMemory
brick of this paper's assembly: sampler
1 other paper
1 later · 1 only as an assembly brick
1511.05952 (2015-11)
Prioritized Experience Replay
ConvNet
brick of this paper's assembly: model
1 other paper
1 dated earlier
1502.03167 (2015-02)
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
FixedSize_BinarySearchTree
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1511.05952 (2015-11)
Prioritized Experience Replay
Net
brick of this paper's assembly: model
1 other paper
1 dated earlier
1312.5602 (2013-12)
Playing Atari with Deep Reinforcement Learning
Node
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1511.05952 (2015-11)
Prioritized Experience Replay
PrioritizedReplayBuffer
brick of this paper's assembly: sampler
1 other paper
1 later
1511.05952 (2015-11)
Prioritized Experience Replay
ReplayBuffer
brick of this paper's assembly: sampler
1 other paper
1 later · 1 only as an assembly brick
1511.05952 (2015-11)
Prioritized Experience Replay
ReplayMemory
brick of this paper's assembly: sampler
1 other paper
1 the same month
1509.02971 (2015-09)
Continuous control with deep reinforcement learning
SumTree
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1511.05952 (2015-11)
Prioritized Experience Replay
SumTree
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1511.05952 (2015-11)
Prioritized Experience Replay
Transition
brick of this paper's assembly: helper
1 other paper
1 the same month · 1 only as an assembly brick
1509.02971 (2015-09)
Continuous control with deep reinforcement learning
default_param_noise_filter
brick of this paper's assembly: helper
1 other paper
1 later
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
make_atari 1 other paper
1 later
2201.07211 (2022-01)
Human-Level Control through Directly-Trained Deep Spiking Q-Networks
scope_name
brick of this paper's assembly: helper
1 other paper
1 later
1706.02275 (2017-06)
Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments

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

More are linked than shown here.

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

Abstract

The popular Q-learning algorithm is known to overestimate action values under certain conditions. It was not previously known whether, in practice, such overestimations are common, whether they harm performance, and whether they can generally be prevented. In this paper, we answer all these questions affirmatively. In particular, we first show that the recent DQN algorithm, which combines Q-learning with a deep neural network, suffers from substantial overestimations in some games in the Atari 2600 domain. We then show that the idea behind the Double Q-learning algorithm, which was introduced in a tabular setting, can be generalized to work with large-scale function approximation. We propose a specific adaptation to the DQN algorithm and show that the resulting algorithm not only reduces the observed overestimations, as hypothesized, but that this also leads to much better performance on several games.

For agents

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

get_harvested_code_for_paper("1509.06461")
get_code_for_paper("1509.06461")
have("1509.06461")

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

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

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

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

Connect an agent — have() is free.