SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.19746 · 2023

Adaptive and Explainable Deployment of Navigation Skills via Hierarchical Deep Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

23 of 24 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; 3 honoured the contract we drafted, 1 violated it and 17 have no contract verdict; 2 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2305.19746.json · badge: /api/ran/2305.19746.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
leekwoon/hrl-nav canonical (classifier label)
classifier basis: census
12 ran · 1 no recorded run
leekwoon/nav-gym community (classifier label)
classifier basis not recorded on the link
11 ran · 0 no recorded run
FunctionStatusWhere it lives
add_prefix Ran
ran; our contract draft was wrong, not the code
leekwoon/hrl-nav/src/rlkit/core/logging.py
pointer only (licence: MIT); the stored copy get_code serves, from shlee94/Off2OnRL, is pointer only (licence: NONE) · get_code("6dc14f1205c31904")
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 shlee94/Off2OnRL, 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.

angle_correction Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/utils.py
code served (permissive licence) · get_code("2d7021ec04e923a7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (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 numpy as np

# The function takes a single parameter 'angle' which is used with numpy functions
# np.arctan2, np.sin, and np.cos, so it needs to be a numeric array-like object

# Create a small numpy array of angles (in radians)
angle_input = np.array([0.0, np.pi/4, np.pi/2, np.pi])

ARGS = {
    "angle": angle_input
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (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: none by the harness; any seed is in the setup block
batch_ij_to_xy Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/env.py
code served (permissive licence) · get_code("93c4164bfdeaa79b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (2, 2) 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

# Construct arguments for batch_ij_to_xy
# The function takes ij coordinates and map_info and converts them to xy coordinates

# ij: array-like with shape (..., 2) containing i, j indices
# map_info: dict with 'resolution' (float) and 'origin' (tuple/list of 2 floats)

ij = np.array([[1, 2], [3, 4]], dtype=np.float32)  # shape (2, 2)

map_info = {
    'resolution': 0.1,
    'origin': [10.0, 20.0]
}

ARGS = {
    'ij': ij,
    'map_info': map_info
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 2) — shape (2, 2) 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
batch_xy_to_ij Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/env.py
code served (permissive licence) · get_code("4d0ee41393f69bdb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (3, 2) 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

# Create sample xy coordinates (batch of 3 points with x,y pairs)
xy = np.array([
    [1.5, 2.5],
    [5.0, 6.0],
    [0.2, 0.3]
], dtype=np.float32)

# Create map_info dict with required keys
map_info = {
    'resolution': 0.5,  # meters per grid cell
    'origin': [0.0, 0.0],  # origin coordinates in meters
    'height': 100,  # grid height in cells
    'width': 100  # grid width in cells
}

ARGS = {
    'xy': xy,
    'map_info': map_info,
    'clip_if_outside': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (3, 2) — shape (3, 2) 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
clip_magnitude Ran
ran, honoured the contract we drafted
leekwoon/hrl-nav/src/rlkit/pythonplusplus.py
pointer only (licence: MIT); the stored copy get_code serves, from aviralkumar2907/CQL, is pointer only (licence: NONE) · get_code("93d28ca67303e04b")
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 aviralkumar2907/CQL, 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.

create_stats_ordered_dict Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
leekwoon/hrl-nav/src/rlkit/core/eval_util.py
pointer only (licence: MIT); the stored copy get_code serves, from aviralkumar2907/CQL, is pointer only (licence: NONE) · get_code("fadf5f762ff04cd6")
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 aviralkumar2907/CQL, 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.

find_nearest_node Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/map_generator.py
code served (permissive licence) · get_code("9a021afdebbda6ba")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function finds the nearest node to a random position in a tree
# by computing Manhattan distance (sum of absolute differences)
# tree is iterable, each node should be array-like

random_position = [1.5, 2.5, 3.5, 4.5]

tree = [
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0],
    [1.4, 2.4, 3.4, 4.4],
    [10.0, 11.0, 12.0, 13.0]
]

ARGS = {
    "random_position": random_position,
    "tree": tree
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_average_returns Ran
ran, honoured the contract we drafted
leekwoon/hrl-nav/src/rlkit/core/eval_util.py
pointer only (licence: MIT); the stored copy get_code serves, from aviralkumar2907/CQL, is pointer only (licence: NONE) · get_code("a5d10a0b704c8db7")
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 aviralkumar2907/CQL, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_constellation Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/map_generator.py
code served (permissive licence) · get_code("f42374c639e39b5c")
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
import numpy as np

torch.manual_seed(0)

# The function expects two parameters: node1 and node2
# Looking at the function body, it accesses:
# - node1[0], node1[1] (indexing, so node1 should be indexable with at least 2 elements)
# - node2[0], node2[1] (indexing, so node2 should be indexable with at least 2 elements)
# These are compared with > and < operators, suggesting numeric values

# Create two nodes as lists/tuples with numeric values
node1 = [5, 3]
node2 = [2, 7]

ARGS = {
    'node1': node1,
    'node2': node2
}
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 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
high_level_preprocess_obs Ran
ran on a synthesized input
leekwoon/hrl-nav/src/hrl_nav/hierarchical_networks.py
code served (permissive licence) · get_code("586e2809ff076392")
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 Tensor, ndim 2, dtype family float, shape (2, 8) 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 expects obs to be a tensor where:
# - Last 2 columns are goal coordinates
# - Before that are 7 columns for other info (prev_pose, pose, vel, yaw)
# - Everything before that is scan data
# Let's construct: batch_size=2, scan_dim=4, other_dim=7, goal_dim=2
# Total columns: 4 + 7 + 2 = 13

batch_size = 2
scan_dim = 4
other_dim = 7
goal_dim = 2
total_dim = scan_dim + other_dim + goal_dim

obs = torch.randn(batch_size, total_dim)

ARGS = {
    "obs": obs
}
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 Tensor, ndim 2, dtype family float, shape (2, 8) — shape (2, 8) 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
identity Ran
ran, honoured the contract we drafted
leekwoon/hrl-nav/src/rlkit/pythonplusplus.py
pointer only (licence: MIT); the stored copy get_code serves, from dholzmueller/universal_double_descent, is pointer only (licence: NONE) · get_code("9910e2fc297f8665")
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 dholzmueller/universal_double_descent, 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.

ij_to_xy Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/env.py
code served (permissive licence) · get_code("e04f26b9a69ea8ff")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (2,) 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

# Construct arguments for ij_to_xy function
ij = np.array([3, 5])  # A single (i, j) coordinate pair

map_info = {
    'resolution': 0.1,
    'origin': [10.0, 20.0]
}

ARGS = {
    'ij': ij,
    'map_info': map_info
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (2,) — shape (2,) 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
initialize_map Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/map_generator.py
code served (permissive licence) · get_code("3b1d78694ddad6a5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (20, 30) 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

ARGS = {
    'height': 20,
    'width': 30,
    'type': 'indoor'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (20, 30) — shape (20, 30) 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
is_numeric Ran
ran, violated the contract we drafted
leekwoon/hrl-nav/src/rlkit/pythonplusplus.py
pointer only (licence: MIT); the stored copy get_code serves, from aviralkumar2907/CQL, is pointer only (licence: NONE) · get_code("4138766e854db009")
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 aviralkumar2907/CQL, 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.

log_normal_density Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/human_policy.py
code served (permissive licence) · get_code("20fd2dcdde887f8c")
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 Tensor, ndim 2, dtype family float, shape (2, 1) 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 numpy as np

torch.manual_seed(0)

# Construct tensors with distinct dimensions for clarity
batch_size = 2
dim = 4

x = torch.randn(batch_size, dim)
mean = torch.randn(batch_size, dim)
std = torch.abs(torch.randn(batch_size, dim)) + 0.1  # ensure positive
log_std = torch.log(std)

ARGS = {
    "x": x,
    "mean": mean,
    "log_std": log_std,
    "std": std,
}
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 Tensor, ndim 2, dtype family float, shape (2, 1) — shape (2, 1) 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
low_level_preprocess_obs Ran
ran on a synthesized input
leekwoon/hrl-nav/src/hrl_nav/hierarchical_networks.py
code served (permissive licence) · get_code("99122a07e5199735")
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 Tensor, ndim 2, dtype family float, shape (2, 29) 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)

# Construct valid arguments for low_level_preprocess_obs
# The function expects obs as a tensor with shape (batch_size, total_features)
# where the last 2 columns are goal coordinates
# and the rest is observation data split into:
#   - scan: observation[:, :-7-5] (everything except last 12 features)
#   - other: observation[:, -7-5:] (last 12 features)
#     - prev_pose: 2 dims
#     - pose: 2 dims
#     - vel: 2 dims
#     - yaw: 1 dim
#     - reward_param: remaining dims (at least 1)

# Let's construct a tensor:
# scan needs some features, let's say 20 features
# other has 12 features total (2+2+2+1+5 = 12)
# goal has 2 features
# Total: 20 + 12 + 2 = 34 features

batch_size = 2
scan_dim = 20
other_dim = 12  # prev_pose(2) + pose(2) + vel(2) + yaw(1) + reward_param(5)
goal_dim = 2

total_features = scan_dim + other_dim + goal_dim

# Create observation tensor with shape (batch_size, total_features)
obs = torch.randn(batch_size, total_features)

ARGS = {
    "obs": obs
}
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 Tensor, ndim 2, dtype family float, shape (2, 29) — shape (2, 29) 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
make_circle Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/ros_env.py
code served (permissive licence) · get_code("0e1d6e1622e25bb1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (10, 2) 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

# Analyze the function:
# - c: should be indexable with [0] and [1], so a sequence-like with at least 2 elements
# - r: a scalar (numeric value for radius)
# - res: optional parameter with default 10, should be an integer

ARGS = {
    "c": np.array([2.0, 3.0]),
    "r": 5.0,
    "res": 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 ndarray, ndim 2, dtype family float, shape (10, 2) — shape (10, 2) 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
observation_batch_to_dict Ran
ran on a synthesized input
leekwoon/hrl-nav/src/hrl_nav/hierarchical_env.py
code served (permissive licence) · get_code("e737aeb7a52e2474")
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 torch

torch.manual_seed(0)

# Parameters:
# - observation: a batch of observations (tensor)
# - num_scan_stack: number of stacked scans (int)
# - n_angles: number of angles per scan (int)

# From the function body:
# observation[:, :num_scan_stack * n_angles] -> scan_stack
# observation[:, (num_scan_stack - 1) * n_angles:num_scan_stack * n_angles] -> scan
# observation[:, num_scan_stack * n_angles:] -> other
# other[:, :2] -> prev_pose
# other[:, 2:4] -> pose
# other[:, 4:6] -> vel
# other[:, 6] -> yaw

# So observation needs:
# - Batch dimension: 2
# - Feature dimension: num_scan_stack * n_angles + 7 (2 for prev_pose, 2 for pose, 2 for vel, 1 for yaw)

num_scan_stack = 3
n_angles = 4

# Total feature dim: 3 * 4 + 7 = 19
batch_size = 2
feature_dim = num_scan_stack * n_angles + 7

observation = torch.randn(batch_size, feature_dim)

ARGS = {
    "observation": observation,
    "num_scan_stack": num_scan_stack,
    "n_angles": n_angles,
}
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 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
observation_batch_to_dict Ran
ran on a synthesized input
leekwoon/hrl-nav/src/hrl_nav/reward_randomize_env.py
code served (permissive licence) · get_code("81f8eb8bc3ef1ba5")
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 torch

torch.manual_seed(0)

# Analyze the function:
# - observation: tensor that is sliced with [:, :num_scan_stack * n_angles], 
#   [:, (num_scan_stack - 1) * n_angles:num_scan_stack * n_angles],
#   [:, num_scan_stack * n_angles:] which further slices into columns 0:2, 2:4, 4:6, 6, 7:
# - num_scan_stack: integer used in arithmetic
# - n_angles: integer used in arithmetic

# Need to construct observation tensor with proper dimensions:
# Total columns needed: num_scan_stack * n_angles (for scan_stack) + 2 (prev_pose) + 2 (pose) + 2 (vel) + 1 (yaw) + N (reward_param)
# = num_scan_stack * n_angles + 7 + N

num_scan_stack = 3
n_angles = 4
batch_size = 2

# Calculate total observation dimension
# scan_stack: 0 to (3*4=12)
# scan: (2*4=8) to (3*4=12) 
# other: 12 onwards
# other contains: prev_pose(2) + pose(2) + vel(2) + yaw(1) + reward_param(N)
# Let's add 3 reward_param columns for distinctness

reward_param_dim = 3
total_cols = num_scan_stack * n_angles + 2 + 2 + 2 + 1 + reward_param_dim
# = 12 + 9 = 21

observation = torch.randn(batch_size, total_cols)

ARGS = {
    "observation": observation,
    "num_scan_stack": num_scan_stack,
    "n_angles": n_angles,
}
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 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
observation_to_dict Ran
ran on a synthesized input
leekwoon/hrl-nav/src/hrl_nav/hierarchical_env.py
code served (permissive licence) · get_code("87c99beae45d5faa")
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 torch
import numpy as np

torch.manual_seed(0)

# The function slices an observation array into components
# observation needs to be long enough to contain:
# - num_scan_stack * n_angles elements for scan_stack
# - (num_scan_stack - 1) * n_angles to num_scan_stack * n_angles for scan (overlaps with scan_stack)
# - 7 additional elements for prev_pose (2), pose (2), vel (2), yaw (1)

num_scan_stack = 3
n_angles = 4

# Total observation length: num_scan_stack * n_angles + 7
# = 3 * 4 + 7 = 19
total_length = num_scan_stack * n_angles + 7

# Create observation as a 1D array/tensor
observation = torch.arange(total_length, dtype=torch.float32)

ARGS = {
    "observation": observation,
    "num_scan_stack": num_scan_stack,
    "n_angles": n_angles,
}
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 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
observation_to_dict Ran
ran on a synthesized input
leekwoon/hrl-nav/src/hrl_nav/reward_randomize_env.py
code served (permissive licence) · get_code("d0e19d69ff080b1b")
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 torch
import numpy as np

torch.manual_seed(0)

# The function slices an observation array into components
# observation should be indexable and support slicing
# Parameters:
# - observation: array-like with enough elements
# - num_scan_stack: int indicating how many scan stacks
# - n_angles: int indicating number of angles per scan

# Calculate required observation size:
# scan_stack: num_scan_stack * n_angles elements
# scan: n_angles elements (subset of scan_stack)
# other: prev_pose(2) + pose(2) + vel(2) + yaw(1) + reward_param(variable)
# Total: num_scan_stack * n_angles + 2 + 2 + 2 + 1 + reward_param_size

num_scan_stack = 3
n_angles = 8
reward_param_size = 2

total_size = num_scan_stack * n_angles + 2 + 2 + 2 + 1 + reward_param_size
# total_size = 24 + 9 = 33

observation = torch.randn(total_size)

ARGS = {
    "observation": observation,
    "num_scan_stack": num_scan_stack,
    "n_angles": n_angles,
}
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 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
quaternion_matrix_from_yaw Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/utils.py
code served (permissive licence) · get_code("21bc8fb230340176")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (4, 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 numpy as np

# The function quaternion_matrix_from_yaw takes a single parameter 'yaw'
# which should be a numeric value (float) representing a yaw angle in radians

yaw_value = np.pi / 4  # 45 degrees in radians

ARGS = {
    "yaw": yaw_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 4) — shape (4, 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: none by the harness; any seed is in the setup block
translation_matrix_from_xyz Ran
ran on a synthesized input
leekwoon/nav-gym/nav_gym/src/nav_gym_env/utils.py
code served (permissive licence) · get_code("78f49afa263a292a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (4, 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 numpy as np

# The function takes three scalar values (x, y, z) representing translation offsets
# and constructs a 4x4 homogeneous transformation matrix for translation

ARGS = {
    "x": 1.5,
    "y": 2.3,
    "z": -0.7
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 4) — shape (4, 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: none by the harness; any seed is in the setup block
append_log Not yet run
unverified (harvested, no recorded run)
leekwoon/hrl-nav/src/rlkit/core/logging.py
pointer only (licence: MIT); the stored copy get_code serves, from shlee94/Off2OnRL, is pointer only (licence: NONE) · get_code("46e6d80fdfab6884")
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 shlee94/Off2OnRL, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 24 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 1 the same month, 7 later) and 17 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
identity 69 other papers
35 dated earlier, 1 the same month, 32 later, 1 same year, order not determinable · 5 only as an assembly brick
1706.07296 (2017-06)
A Minimal Developmental Model Can Increase Evolvability in Soft Robots
1802.09419 (2018-02)
Stochastic Hyperparameter Optimization through Hypernetworks
1804.06055 (2018-04)
Co-occurrence Feature Learning from Skeleton Data for Action Recognition and Detection with Hierarchical Aggregation
and 66 more not named here
get_average_returns 24 other papers
14 dated earlier, 10 later
1903.08254 (2019-03)
Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variables
1910.11670 (2019-10)
Contextual Imagined Goals for Self-Supervised Robotic Learning
1912.11032 (2019-12)
Towards Practical Multi-Object Manipulation using Relational Reinforcement Learning
and 21 more not named here
create_stats_ordered_dict 18 other papers
10 dated earlier, 8 later
1910.11670 (2019-10)
Contextual Imagined Goals for Self-Supervised Robotic Learning
2006.04779 (2020-06)
Conservative Q-Learning for Offline Reinforcement Learning
2006.13916 (2020-06)
Off-Dynamics Reinforcement Learning: Training for Transfer with Domain Classifiers
and 15 more not named here
clip_magnitude 15 other papers
10 dated earlier, 5 later
1910.11670 (2019-10)
Contextual Imagined Goals for Self-Supervised Robotic Learning
1910.12827 (2019-10)
Entity Abstraction in Visual Model-Based Reinforcement Learning
1911.08453 (2019-11)
Planning with Goal-Conditioned Policies
and 12 more not named here
is_numeric 14 other papers
10 dated earlier, 4 later
1910.11670 (2019-10)
Contextual Imagined Goals for Self-Supervised Robotic Learning
1910.12827 (2019-10)
Entity Abstraction in Visual Model-Based Reinforcement Learning
1911.08453 (2019-11)
Planning with Goal-Conditioned Policies
and 11 more not named here
add_prefix 10 other papers
5 dated earlier, 5 later
1910.11670 (2019-10)
Contextual Imagined Goals for Self-Supervised Robotic Learning
2106.00671 (2021-06)
What Can I Do Here? Learning New Skills by Imagining Visual Affordances
2110.03655 (2021-10)
Augmenting Reinforcement Learning with Behavior Primitives for Diverse Manipulation Tasks
and 7 more not named here
append_log 9 other papers
5 dated earlier, 4 later
1910.12827 (2019-10)
Entity Abstraction in Visual Model-Based Reinforcement Learning
2006.07034 (2020-06)
Benchmarking Unsupervised Object Representations for Video Sequences
2110.03655 (2021-10)
Augmenting Reinforcement Learning with Behavior Primitives for Diverse Manipulation Tasks
and 6 more not named here

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

Repositories linked to this paper

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

Abstract

For robotic vehicles to navigate robustly and safely in unseen environments, it is crucial to decide the most suitable navigation policy. However, most existing deep reinforcement learning based navigation policies are trained with a hand-engineered curriculum and reward function which are difficult to be deployed in a wide range of real-world scenarios. In this paper, we propose a framework to learn a family of low-level navigation policies and a high-level policy for deploying them. The main idea is that, instead of learning a single navigation policy with a fixed reward function, we simultaneously learn a family of policies that exhibit different behaviors with a wide range of reward functions. We then train the high-level policy which adaptively deploys the most suitable navigation skill. We evaluate our approach in simulation and the real world and demonstrate that our method can learn diverse navigation skills and adaptively deploy them. We also illustrate that our proposed hierarchical learning framework presents explainability by providing semantics for the behavior of an autonomous agent.

For agents

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

get_harvested_code_for_paper("2305.19746")
get_code_for_paper("2305.19746")
have("2305.19746")

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

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

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

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

Connect an agent — have() is free.