SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2105.12204 · 2021

Safe Value Functions

arXiv · PDF · Open in the Atlas

Code that ran

18 of 23 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 18 failures of our instrument; 5 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/2105.12204.json · badge: /api/ran/2105.12204.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
sheim/vibly canonical (classifier label)
classifier basis: census
18 ran · 5 no recorded run
FunctionStatusWhere it lives
check_failure Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/hovership.py
code served (permissive licence) · get_code("778835f0e155d64a")
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 bool, 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 numpy as np

ARGS = {
    "x": np.array([1.0, 2.0, 3.0]),
    "p": {"action": 0, "param1": 0.5}
}
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 bool, 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
check_failure Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/satellite.py
code served (permissive licence) · get_code("8477d9c9e6dac3fd")
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 bool, 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 torch
import numpy as np

torch.manual_seed(0)

# x is accessed as x[0], so it needs to be indexable
# A simple list or array works
x = [5.0, 2.0, 1.0, 0.5]

# p is accessed as a dict with keys 'radio_range' and 'radius'
p = {
    'radio_range': 10.0,
    'radius': 1.0
}

ARGS = {
    'x': x,
    'p': p
}
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 bool, 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
check_failure Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/spaceship.py
code served (permissive licence) · get_code("49d152837032f814")
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 bool, 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 torch
import numpy as np

torch.manual_seed(0)

# Construct arguments for check_failure(x, p)
# x: a state vector with at least 2 elements [x0, x1]
# p: a dict with bounds for x0 and x1

x = np.array([0.5, 0.3])

p = {
    'x0_upper_bound': 1.0,
    'x0_lower_bound': -1.0,
    'x1_upper_bound': 0.8,
    'x1_lower_bound': -0.8
}

ARGS = {
    'x': x,
    'p': p
}
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 bool, 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
feasible Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/daslip.py
code served (permissive licence) · get_code("a62ab20e7683d38d")
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 bool, 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 torch
import numpy as np

torch.manual_seed(0)

# The function checks if x[5] < x[-1] or x[1] < x[-1]
# So x needs to be indexable with at least 6 elements (indices 0-5 and -1)
# x is a state vector representing body/foot positions
# Let's create a simple state vector with 7 elements

x = torch.tensor([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 0.5])
p = torch.tensor([0.1, 0.2, 0.3, 0.4])

ARGS = {
    "x": x,
    "p": p
}
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 bool, 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
feasible Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/nslip.py
code served (permissive licence) · get_code("401b526de5868422")
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 bool, 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 torch
import numpy as np

torch.manual_seed(0)

# The function checks if x[5] < 0 or x[1] < 0
# x needs to be indexable with at least 6 elements (indices 0-5)
# p is not used in the function body, but is a required parameter

# Create a state vector x with at least 6 elements
# We'll make it a list or array to allow indexing
x = [0.5, 0.3, 0.1, 0.2, 0.4, 0.6]

# p is not used in the function, so it can be any value
p = None

ARGS = {
    "x": x,
    "p": p
}
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 bool, 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
is_feasible Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/slip.py
code served (permissive licence) · get_code("56e6aa0272a8e3a1")
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 bool, 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 torch
import numpy as np

torch.manual_seed(0)

# The function is_feasible checks if x[5] < 0 or x[1] < 0
# x appears to be a sequence-like object (list or array) with at least 6 elements
# The function returns a boolean based on these two index checks

# Create a valid state vector x with at least 6 elements
x = [0.5, 0.3, 0.2, 0.1, 0.4, 0.6, 0.8, 0.9]  # All positive, should return True

# p is not used in the function body, so it can be anything
p = None

ARGS = {
    "x": x,
    "p": p
}
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 bool, 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
p_map Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/hovership.py
code served (permissive licence) · get_code("f64b3b9d09fa889a")
How it ran

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

# Construct valid arguments for p_map function
x = np.array([1.5])  # state: position above ground, must be positive to not trigger failure

p = {
    'max_thrust': 25.0,
    'thrust': 20.0,
    'base_gravity': 9.81,
    'gravity': 5.0,
    'control_frequency': 10.0,
    'ceiling': 100.0
}

ARGS = {
    'x': x,
    'p': p
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none 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
p_map Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/lip.py
code served (permissive licence) · get_code("c24f5db901a76cd5")
How it ran

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

# Construct a valid state vector
# x[0] is accessed, so x needs at least 1 element
x = np.array([2.5])

# Construct the parameters dict
# Required keys: 'step_timing', 'step_location', 'max_step'
p = {
    'step_timing': 0.5,
    'step_location': 1.0,
    'max_step': 3.0
}

ARGS = {
    'x': x,
    'p': p
}
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 tuple — a tuple output has no array shape of its own; none 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
p_map Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/satellite.py
code served (permissive licence) · get_code("e5a186598cf57a93")
How it ran

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

# Define the state vector x and parameters dict p
# x is a state vector with at least 2 elements (x[0] for radius, x[1] for radial velocity)
x = np.array([6.5e6, 0.0, 0.0, 0.0], dtype=np.float64)

# Define the parameters dictionary
p = {
    'radio_range': 1.0e7,  # meters, upper bound for valid state
    'radius': 6.4e6,        # meters, lower bound for valid state (Earth radius)
    'angular_speed': 7.3e-5,  # rad/s, Earth's angular velocity
    'geocentric_constant': 3.986e14,  # m^3/s^2, GM for Earth
    'thrust': 100.0,        # N, thrust force
    'control_frequency': 10.0,  # Hz, control update frequency
    'mass': 1000.0,         # kg, spacecraft mass
}

ARGS = {
    'x': x,
    'p': p,
}
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 tuple — a tuple output has no array shape of its own; none 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
p_map Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/spaceship.py
code served (permissive licence) · get_code("67921ac0bbc1fa70")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. 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
import scipy.integrate as integrate

# Define ARGS with all parameters for p_map
ARGS = {
    'x': np.array([0.5, 0.3]),  # State vector with 2 components
    'p': {
        'x0_upper_bound': 2.0,
        'x0_lower_bound': -1.0,
        'x1_upper_bound': 1.5,
        'x1_lower_bound': -1.5,
        'thrust': 0.1,
        'wind': 0.05,
        'gravity': 0.02,
        'control_frequency': 10.0
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none 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
p_map Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/spaceship4.py
code served (permissive licence) · get_code("f2800c9555bb888f")
How it ran

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

# Set random seed for reproducibility
np.random.seed(0)

# Define initial state x
x = np.array([5.0, 0.5])

# Define parameter dict p with all required keys
p = {
    'x0_upper_bound': 10.0,
    'x0_lower_bound': 0.0,
    'x1_upper_bound': 2.0,
    'x1_lower_bound': -2.0,
    'thrust_vertical': 9.81,
    'thrust_horizontal': 0.1,
    'wind': 0.2,
    'gravity': 5.0,
    'base_gravity': 9.81,
    'ceiling': 15.0,
    'control_frequency': 10.0,
}

ARGS = {
    'x': x,
    'p': p,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none 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
sa2xp Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/hovership.py
code served (permissive licence) · get_code("334f6a334d749a87")
How it ran

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

# Create a state-action pair with 3 states and 1 action
n_states = 3
state_action = np.array([0.1, 0.2, 0.3, 0.5])  # 3 state values + 1 action value

# Create parameter dictionary with required keys
p = {
    'n_states': n_states,
    'thrust': 0.0  # placeholder, will be updated by function
}

ARGS = {
    'state_action': state_action,
    'p': p
}
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 tuple — a tuple output has no array shape of its own; none 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
sa2xp Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/lip.py
code served (permissive licence) · get_code("55fec93de1d4453a")
How it ran

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

# Construct arguments for sa2xp function
state_action = np.array([1.5, 2.0, 3.0, 0.5, 0.2, 0.1])

p = {
    'n_states': 4,
    'step_timing': 0.0,
    'step_location': 0.0
}

ARGS = {
    'state_action': state_action,
    'p': p
}
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 tuple — a tuple output has no array shape of its own; none 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
sa2xp Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/satellite.py
code served (permissive licence) · get_code("8c393be39f60a318")
How it ran

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

# Create a small state_action array
# state_action should contain: [state_1, state_2, ..., state_n, action_1, action_2, ...]
# The function extracts first p['n_states'] elements as x, and the rest as actions
n_states = 3
n_actions = 2
state_action = np.array([0.1, 0.2, 0.3, 0.5, 0.7], dtype=np.float32)
# First 3 elements are states, last 2 are actions

# Create a parameter dict with required keys
p = {
    'n_states': n_states,
    'thrust': 0.0,  # Will be overwritten by the function
}

ARGS = {
    'state_action': state_action,
    'p': p,
}
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 tuple — a tuple output has no array shape of its own; none 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
sa2xp Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/spaceship.py
code served (permissive licence) · get_code("049a55f2c47b81f5")
How it ran

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

# Create a small state_action array
# The function expects state_action to be indexable and sliceable
# It accesses indices [0:p['n_states']] and [p['n_states']:]
n_states = 3
n_actions = 2
state_action = np.array([1.0, 2.0, 3.0, 4.0, 5.0], dtype=np.float32)

# Create parameter dict with required key 'n_states'
p = {
    'n_states': n_states
}

ARGS = {
    'state_action': state_action,
    'p': p
}
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 tuple — a tuple output has no array shape of its own; none 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
sa2xp Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/spaceship4.py
code served (permissive licence) · get_code("3caf6e3d4e341b27")
How it ran

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

# Construct a small state_action array
# The function expects state_action to contain:
# - First p['n_states'] elements are the state x
# - Remaining elements are actions
n_states = 3
n_actions = 2
state_action = np.array([0.1, 0.2, 0.3, 0.5, 0.7], dtype=np.float32)

# Construct parameter dict p
p = {
    'n_states': n_states,
    'thrust_vertical': 0.0,
    'thrust_horizontal': 0.0
}

ARGS = {
    'state_action': state_action,
    'p': p
}
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 tuple — a tuple output has no array shape of its own; none 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
sa2xp_num Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/lip.py
code served (permissive licence) · get_code("b24b052bf4545bd6")
How it ran

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

# Construct state_action as ndarray with 3 elements:
# [state_value, step_timing_action, step_location_action]
state_action = np.array([1.5, 0.2, 0.8])

# Construct parameter dict with required structure
p = {
    'step_timing': np.array([0.1]),
    'step_location': np.array([0.5]),
    'other_param': 42
}

ARGS = {
    'state_action': state_action,
    'p': p
}
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 tuple — a tuple output has no array shape of its own; none 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
step Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sheim/vibly/models/nslip.py
code served (permissive licence) · get_code("2883642f8bbd352a")
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 OdeResult. 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
import scipy.integrate as integrate

# Initial state vector: [x, y, vx, vy, foot_x, foot_y, unused]
# Position (x, y), velocity (vx, vy), foot position (foot_x, foot_y), plus one unused dimension
x0 = np.array([0.0, 1.0, 1.0, 0.0, 0.0, 0.5, 0.0])

# Parameters dictionary with all required physics parameters
p = {
    'gravity': 9.81,
    'mass': 1.0,
    'upper_leg': 0.5,
    'lower_leg': 0.5,
    'resting_angle': np.pi / 4,
    'angle_of_attack': np.pi / 6,
    'stiffness': 1000.0,
}

# Previous solution (None for first step, or could be a solve_ivp result)
prev_sol = None

ARGS = {
    'x0': x0,
    'p': p,
    'prev_sol': prev_sol,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type OdeResult — a OdeResult output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a OdeResult 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
p_map Not yet run
unverified (harvested, no recorded run)
sheim/vibly/models/nslip.py
code served (permissive licence) · get_code("d5ebd8d14f7153aa")
How it ran

no invocation recorded.

poincare_map Not yet run
unverified (harvested, no recorded run)
sheim/vibly/models/daslip.py
code served (permissive licence) · get_code("4ff690ea4289af59")
How it ran

no invocation recorded.

poincare_map Not yet run
unverified (harvested, no recorded run)
sheim/vibly/models/parslip.py
code served (permissive licence) · get_code("2b1c599408cf10d9")
How it ran

no invocation recorded.

step Not yet run
unverified (harvested, no recorded run)
sheim/vibly/models/daslip.py
code served (permissive licence) · get_code("8d3bf3ad5f61f6cd")
How it ran

no invocation recorded.

step Not yet run
unverified (harvested, no recorded run)
sheim/vibly/models/parslip.py
code served (permissive licence) · get_code("d0a938a8c361a66a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 22 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.

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

Safety constraints and optimality are important, but sometimes conflicting criteria for controllers. Although these criteria are often solved separately with different tools to maintain formal guarantees, it is also common practice in reinforcement learning to simply modify reward functions by penalizing failures, with the penalty treated as a mere heuristic. We rigorously examine the relationship of both safety and optimality to penalties, and formalize sufficient conditions for safe value functions (SVFs): value functions that are both optimal for a given task, and enforce safety constraints. We reveal this structure by examining when rewards preserve viability under optimal control, and show that there always exists a finite penalty that induces a safe value function. This penalty is not unique, but upper-unbounded: larger penalties do not harm optimality. Although it is often not possible to compute the minimum required penalty, we reveal clear structure of how the penalty, rewards, discount factor, and dynamics interact. This insight suggests practical, theory-guided heuristics to design reward functions for control problems where safety is important.

For agents

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

get_harvested_code_for_paper("2105.12204")
get_code_for_paper("2105.12204")
have("2105.12204")

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

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

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

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

Connect an agent — have() is free.