SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2107.09645 · 2021

Mastering Visual Continuous Control: Improved Data-Augmented Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2107.09645.json · badge: /api/ran/2107.09645.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
zhou-henry/distributed-distributional-drq community (classifier label)
classifier basis not recorded on the link
5 ran · 0 no recorded run
FunctionStatusWhere it lives
episode_len Ran
ran, honoured the contract we drafted
zhou-henry/distributed-distributional-drq/replay_buffer.py
code served (permissive licence) · get_code("9f840a22d31a89bc")
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 int, ndim 0, dtype family int, 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 torch

torch.manual_seed(0)

# The function accesses episode.values() and calls .shape[0] on the result
# So episode should be a dict where values are tensors (or array-like with shape)
# The function returns shape[0] - 1, so we need at least 1 element in dimension 0

episode = {
    "observations": torch.randn(5, 4),
    "actions": torch.randn(5, 3),
    "rewards": torch.randn(5, 2),
}

ARGS = {
    "episode": episode
}
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 int, ndim 0, dtype family int, 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
load_episode Ran
ran; our contract draft was wrong, not the code
zhou-henry/distributed-distributional-drq/replay_buffer.py
code served (permissive licence) · get_code("184876e5f4ab6562")
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 dict. 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
from pathlib import Path
import tempfile
import os

# Create a temporary file to serve as the episode file
temp_dir = tempfile.mkdtemp()
temp_file_path = Path(temp_dir) / "episode.npz"

# Create a sample episode dictionary with numpy arrays
episode_data = {
    'observations': np.random.rand(5, 4).astype(np.float32),
    'actions': np.random.randint(0, 3, size=(5,)).astype(np.int32),
    'rewards': np.random.rand(5).astype(np.float32),
    'dones': np.random.randint(0, 2, size=(5,)).astype(bool),
}

# Save as npz file
np.savez(temp_file_path, **episode_data)

# Define ARGS with the file path
ARGS = {
    'fn': temp_file_path
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
make_replay_loader Ran
ran; our contract draft was wrong, not the code
zhou-henry/distributed-distributional-drq/replay_buffer.py
code served (permissive licence) · get_code("6567f3b84283c0f8")
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 DataLoader. 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
import tempfile
from pathlib import Path
import random

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

# Create a temporary directory for replay files
temp_dir = tempfile.TemporaryDirectory()
replay_dir = Path(temp_dir.name)

# Create minimal episode files in the replay directory
# Episodes need: observation, action, reward, discount keys
for ep_idx in range(2):
    episode_data = {
        'observation': np.random.randn(10, 4).astype(np.float32),  # 10 timesteps, 4-dim obs
        'action': np.random.randn(10, 3).astype(np.float32),       # 10 timesteps, 3-dim action
        'reward': np.random.randn(10, 1).astype(np.float32),       # 10 timesteps, 1-dim reward
        'discount': np.ones((10, 1), dtype=np.float32),            # 10 timesteps, discount factor
    }
    
    # Save as npz file with naming convention: episode_{ep_idx}_{episode_len}.npz
    ep_len = episode_data['observation'].shape[0] - 1
    episode_path = replay_dir / f"episode_{ep_idx}_{ep_len}.npz"
    np.savez(episode_path, **episode_data)

ARGS = {
    'replay_dir': replay_dir,
    'max_size': 1000,
    'batch_size': 2,
    'num_workers': 0,
    'save_snapshot': False,
    'nstep': 3,
    'discount': 0.99,
}
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 DataLoader — a DataLoader output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataLoader 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
schedule Ran
ran, honoured the contract we drafted
zhou-henry/distributed-distributional-drq/utils.py
code served (permissive licence) · get_code("ae234269debed3f4")
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 float, 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 re
import numpy as np

# Test case 1: simple float string
ARGS = {
    "schdl": "0.5",
    "step": 10
}
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 float, 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
to_torch Ran
ran; our contract draft was wrong, not the code
zhou-henry/distributed-distributional-drq/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from premiertaco/premier-taco, is pointer only (licence: NONE) · get_code("6244e9922f4e0610")
How it ran

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

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 5 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 5 later) and 0 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
to_torch 23 other papers
1 dated earlier, 22 later · 7 only as an assembly brick
2103.04551 (2021-03)
Behavior From the Void: Unsupervised Active Pre-Training
2202.10324 (2022-02)
VRL3: A Data-Driven Framework for Visual Deep Reinforcement Learning
2203.12601 (2022-03)
R3M: A Universal Visual Representation for Robot Manipulation
and 20 more not named here
schedule 17 other papers
1 dated earlier, 16 later · 7 only as an assembly brick
2103.04551 (2021-03)
Behavior From the Void: Unsupervised Active Pre-Training
2202.10324 (2022-02)
VRL3: A Data-Driven Framework for Visual Deep Reinforcement Learning
2203.12601 (2022-03)
R3M: A Universal Visual Representation for Robot Manipulation
and 14 more not named here
episode_len 12 other papers
12 later
2211.12740 (2022-11)
Masked Autoencoding for Scalable and Generalizable Decision Making
2302.00965 (2023-02)
Visual Imitation Learning with Patch Rewards
2303.01497 (2023-03)
Teach a Robot to FISH: Versatile Imitation from One Minute of Demonstrations
and 9 more not named here
load_episode 10 other papers
10 later
2302.00965 (2023-02)
Visual Imitation Learning with Patch Rewards
2303.01497 (2023-03)
Teach a Robot to FISH: Versatile Imitation from One Minute of Demonstrations
2305.04477 (2023-05)
Behavior Contrastive Learning for Unsupervised Skill Discovery
and 7 more not named here
make_replay_loader 3 other papers
3 later
2303.01497 (2023-03)
Teach a Robot to FISH: Versatile Imitation from One Minute of Demonstrations
2405.16907 (2024-05)
GTA: Generative Trajectory Augmentation with Guidance for Offline Reinforcement Learning
2405.17416 (2024-05)
A Recipe for Unbounded Data Augmentation in Visual Reinforcement 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-22.

Repositories linked to this paper

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

Abstract

We present DrQ-v2, a model-free reinforcement learning (RL) algorithm for visual continuous control. DrQ-v2 builds on DrQ, an off-policy actor-critic approach that uses data augmentation to learn directly from pixels. We introduce several improvements that yield state-of-the-art results on the DeepMind Control Suite. Notably, DrQ-v2 is able to solve complex humanoid locomotion tasks directly from pixel observations, previously unattained by model-free RL. DrQ-v2 is conceptually simple, easy to implement, and provides significantly better computational footprint compared to prior work, with the majority of tasks taking just 8 hours to train on a single GPU. Finally, we publicly release DrQ-v2's implementation to provide RL practitioners with a strong and computationally efficient baseline.

For agents

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

get_harvested_code_for_paper("2107.09645")
get_code_for_paper("2107.09645")
have("2107.09645")

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

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

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

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

Connect an agent — have() is free.