SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.03132 · February 2025

SPARK: Safe Protective and Assistive Robot Kit

Rui Chen, Changliu Liu, Yifan Sun, Weiye Zhao, Feihan Li, Kai Yun, Bowei Li, Yikuan Fang, Sebin Jung

arXiv · PDF · Open in the Atlas

Code that ran

15 of 16 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 15 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2502.03132.json · badge: /api/ran/2502.03132.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
intelligent-control-lab/spark canonical (classifier label)
classifier basis not recorded on the link
15 ran · 1 no recorded run
FunctionStatusWhere it lives
class_to_dict Ran
ran on a synthesized input
intelligent-control-lab/spark/module/spark_utils/spark_utils/helpers.py
code served (permissive licence) · get_code("d2cce27928409d52")
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

class SimpleClass:
    def __init__(self):
        self.value = 42
        self.name = "test"
        self.items = [1, 2, 3]

class NestedClass:
    def __init__(self):
        self.simple = SimpleClass()
        self.number = 3.14

class ClassWithList:
    def __init__(self):
        self.objects = [SimpleClass(), SimpleClass()]
        self.data = "hello"

ARGS = {
    "obj": ClassWithList()
}
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
closest_collision_volume_distances Ran
ran on a synthesized input
intelligent-control-lab/spark/pipeline/spark_pipeline/visualization.py
code served (permissive licence) · get_code("ecc449b4cc4a120d")
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 (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct valid arguments for closest_collision_volume_distances
dist_robot_to_env = np.array([
    [1.5, 2.3, np.inf, 0.8],
    [np.inf, 3.2, 1.1, np.inf],
    [2.0, np.inf, np.inf, np.inf]
], dtype=np.float64)

num_robot_volumes = 3

ARGS = {
    "dist_robot_to_env": dist_robot_to_env,
    "num_robot_volumes": num_robot_volumes
}
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 (3,) — shape (3,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
collision_volume_distance_color Ran
ran on a synthesized input
intelligent-control-lab/spark/module/spark_utils/spark_utils/geometry.py
code served (permissive licence) · get_code("95b04a404d922d1e")
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

ARGS = {
    "distance": 0.15,
    "minimum_distance": 0.05,
    "far_distance": 0.3,
    "ignored": False,
    "opacity_scale": 1.0,
    "opacity_floor": 0.0,
}
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
configure_simulation_presentation Ran
ran on a synthesized input
intelligent-control-lab/spark/pipeline/spark_pipeline/simulation_runtime.py
code served (permissive licence) · get_code("84813da092d7c6e3")
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 math

class AgentConfig:
    def __init__(self):
        self.dt = 0.002
        self.control_decimation = 1
        self.viewer_hz = 10.0
        self.enable_camera = False

class EnvConfig:
    def __init__(self):
        self.agent = AgentConfig()

class MainConfig:
    def __init__(self):
        self.env = EnvConfig()
        self.render_every = None

cfg = MainConfig()
backend = "isaac"

ARGS = {
    "cfg": cfg,
    "backend": backend,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
get_latest_event_file Ran
ran on a synthesized input
intelligent-control-lab/spark/pipeline/spark_pipeline/plotter.py
code served (permissive licence) · get_code("bc3e2b4ea5ccaa32")
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 str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil

# Create a temporary directory with mock TensorBoard event files
temp_dir = tempfile.mkdtemp()

# Create some mock event files with timestamps in the filename
# TensorBoard event files follow the pattern: events.out.tfevents.{timestamp}.{hostname}
event_file_1 = os.path.join(temp_dir, "events.out.tfevents.1234567890.hostname1")
event_file_2 = os.path.join(temp_dir, "events.out.tfevents.1234567891.hostname2")
event_file_3 = os.path.join(temp_dir, "events.out.tfevents.1234567889.hostname3")

# Create the files
open(event_file_1, 'a').close()
open(event_file_2, 'a').close()
open(event_file_3, 'a').close()

ARGS = {
    "log_dir": temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
pos_quat_to_transformation Ran
ran on a synthesized input
intelligent-control-lab/spark/module/spark_utils/spark_utils/math.py
code served (permissive licence) · get_code("bb499d81f08d549d")
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

# Define valid arguments for pos_quat_to_transformation
position = (1.0, 2.0, 3.0)  # (x, y, z) tuple
quaternion = (0.0, 0.0, 0.7071068, 0.7071068)  # (qx, qy, qz, qw) tuple - normalized

ARGS = {
    "position": position,
    "quaternion": quaternion
}
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
quaternion_to_rotation_matrix Ran
ran on a synthesized input
intelligent-control-lab/spark/module/spark_utils/spark_utils/math.py
code served (permissive licence) · get_code("862162efdba95826")
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 (3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from scipy.spatial.transform import Rotation as R

# Construct a valid quaternion [w, x, y, z]
# Using a normalized quaternion for validity
q = np.array([1.0, 0.0, 0.0, 0.0])

ARGS = {
    "q": q
}
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 ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_tensorboard_scalars Ran
ran on a synthesized input
intelligent-control-lab/spark/pipeline/spark_pipeline/plotter.py
code served (permissive licence) · get_code("6de94b26363cbcce")
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 tempfile
import os
from tensorboard.backend.event_processing.event_accumulator import EventAccumulator
from tensorboard.compat.proto.event_pb2 import Event
from tensorboard.compat.proto.summary_pb2 import Summary
import time

# Create a temporary directory for the log file
temp_dir = tempfile.mkdtemp()
log_file = os.path.join(temp_dir, "events.out.tfevents.123456789")

# Create a minimal event file with some scalar data
with open(log_file, 'wb') as f:
    # Write a few sample events with scalars
    for step in range(3):
        event = Event()
        event.wall_time = time.time()
        event.step = step
        
        summary = Summary()
        
        # Add some scalar values with relevant tags
        scalar1 = summary.value.add()
        scalar1.tag = 'loss'
        scalar1.simple_value = 0.5 - step * 0.1
        
        scalar2 = summary.value.add()
        scalar2.tag = 'phi_param'
        scalar2.simple_value = 0.1 * step
        
        scalar3 = summary.value.add()
        scalar3.tag = 'traj_distance'
        scalar3.simple_value = 0.2 * step
        
        event.summary.CopyFrom(summary)
        f.write(event.SerializeToString())

tags = ['loss', 'phi_param']

ARGS = {
    'log_file': log_file,
    'tags': tags
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorboard — 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
read_tensorboard_tags Ran
ran on a synthesized input
intelligent-control-lab/spark/pipeline/spark_pipeline/plotter.py
code served (permissive licence) · get_code("f591d0358e2ab681")
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 tempfile
import os
from tensorboard.backend.event_processing.event_accumulator import EventAccumulator
from tensorboard.plugins.scalar import metadata as scalar_metadata
from tensorboard.compat.proto import event_pb2
from tensorboard.compat.proto import summary_pb2
import time

# Create a temporary TensorBoard log file with some scalar events
temp_dir = tempfile.mkdtemp()
log_file = os.path.join(temp_dir, "events.out.tfevents.123456789")

# Write some basic events to the log file
with open(log_file, 'wb') as f:
    # Create a few scalar summary events
    for step in range(3):
        event = event_pb2.Event()
        event.wall_time = time.time()
        event.step = step
        
        summary = event.summary
        value = summary.value.add()
        value.tag = "loss"
        value.simple_value = 0.5 - step * 0.1
        
        f.write(event.SerializeToString())
    
    for step in range(3):
        event = event_pb2.Event()
        event.wall_time = time.time()
        event.step = step
        
        summary = event.summary
        value = summary.value.add()
        value.tag = "accuracy"
        value.simple_value = 0.7 + step * 0.05
        
        f.write(event.SerializeToString())

ARGS = {
    "log_file": log_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorboard — 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
render_critical_pairs Ran
ran on a synthesized input
intelligent-control-lab/spark/pipeline/spark_pipeline/visualization.py
code served (permissive licence) · get_code("8c027a1dbf4ef5b0")
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

def line_render_fn(pos1, pos2, radius, color):
    """Mock line render function"""
    pass

# Create frame lists with 4x4 transformation matrices
# Each frame has a 4x4 matrix where [:3, 3] extracts the position
frame_list_1 = [
    np.array([[1, 0, 0, 1.0],
              [0, 1, 0, 2.0],
              [0, 0, 1, 3.0],
              [0, 0, 0, 1.0]]),
    np.array([[1, 0, 0, 4.0],
              [0, 1, 0, 5.0],
              [0, 0, 1, 6.0],
              [0, 0, 0, 1.0]])
]

frame_list_2 = [
    np.array([[1, 0, 0, 7.0],
              [0, 1, 0, 8.0],
              [0, 0, 1, 9.0],
              [0, 0, 0, 1.0]]),
    np.array([[1, 0, 0, 10.0],
              [0, 1, 0, 11.0],
              [0, 0, 1, 12.0],
              [0, 0, 0, 1.0]]),
    np.array([[1, 0, 0, 13.0],
              [0, 1, 0, 14.0],
              [0, 0, 1, 15.0],
              [0, 0, 0, 1.0]])
]

# Create pairwise distance matrix (2x3)
mat = np.array([[0.9, 0.5, 0.8],
                [0.3, 0.95, 0.2]])

# Create mask (2x3)
mask = np.array([[True, False, True],
                 [False, True, False]])

# Threshold
thres = 0.7

# Line rendering parameters
line_width = 0.01
line_color = np.array([1.0, 0.0, 0.0])

ARGS = {
    'line_render_fn': line_render_fn,
    'frame_list_1': frame_list_1,
    'frame_list_2': frame_list_2,
    'mat': mat,
    'thres': thres,
    'mask': mask,
    'line_width': line_width,
    'line_color': line_color
}
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
run_simulation_pipeline Ran
ran on a synthesized input
intelligent-control-lab/spark/pipeline/spark_pipeline/simulation_runtime.py
code served (permissive licence) · get_code("ab88d96cd2a457ba")
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 SimplePipeline. 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 math
from collections import namedtuple

class SimpleConfig:
    def __init__(self):
        self.render_every = None
        self.env = SimpleEnv()

class SimpleEnv:
    def __init__(self):
        self.agent = SimpleAgent()

class SimpleAgent:
    def __init__(self):
        self.dt = 0.002
        self.control_decimation = 1
        self.viewer_hz = 10.0
        self.enable_camera = False
        self.enable_viewer = False
    
    def attach_simulation_app(self, app):
        pass
    
    def close_viewer(self):
        pass
    
    def close(self):
        pass

class SimplePipeline:
    def __init__(self, cfg):
        self.cfg = cfg
        self.env = SimpleEnvironment()
    
    def run(self, save_path=None):
        pass

class SimpleEnvironment:
    def __init__(self):
        self.agent = SimpleAgent()

def simple_pipeline_class(cfg):
    return SimplePipeline(cfg)

cfg = SimpleConfig()

ARGS = {
    'cfg': cfg,
    'backend': 'mujoco',
    'pipeline_class': simple_pipeline_class,
    'save_path': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
isaacsim — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimplePipeline — a SimplePipeline output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimplePipeline 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
sphere_to_box_distance Ran
ran on a synthesized input
intelligent-control-lab/spark/module/spark_utils/spark_utils/geometry.py
code served (permissive licence) · get_code("5fc5cc19fc834066")
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 numpy as np

# Construct frame1: a 3x4 transformation matrix (sphere frame)
# Rows represent basis vectors, columns are [x, y, z, tx] where tx is position
frame1 = np.array([
    [1.0, 0.0, 0.0, 5.0],
    [0.0, 1.0, 0.0, 3.0],
    [0.0, 0.0, 1.0, 2.0]
], dtype=np.float64)

# size1: [radius] for the sphere
size1 = np.array([1.5], dtype=np.float64)

# Construct frame2: a 3x4 transformation matrix (box frame)
# Identity rotation with position at origin
frame2 = np.array([
    [1.0, 0.0, 0.0, 0.0],
    [0.0, 1.0, 0.0, 0.0],
    [0.0, 0.0, 1.0, 0.0]
], dtype=np.float64)

# size2: [half_size_x, half_size_y, half_size_z] for the box
size2 = np.array([2.0, 3.0, 2.5], dtype=np.float64)

ARGS = {
    "frame1": frame1,
    "size1": size1,
    "frame2": frame2,
    "size2": size2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, 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
sphere_to_sphere_distance Ran
ran on a synthesized input
intelligent-control-lab/spark/module/spark_utils/spark_utils/geometry.py
code served (permissive licence) · get_code("f1bc4273b7ee8e30")
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 numpy as np

ARGS = {
    "frame1": np.array([
        [1.0, 0.0, 0.0, 1.0],
        [0.0, 1.0, 0.0, 2.0],
        [0.0, 0.0, 1.0, 3.0]
    ], dtype=np.float64),
    "size1": np.array([0.5], dtype=np.float64),
    "frame2": np.array([
        [1.0, 0.0, 0.0, 5.0],
        [0.0, 1.0, 0.0, 6.0],
        [0.0, 0.0, 1.0, 7.0]
    ], dtype=np.float64),
    "size2": np.array([0.3], dtype=np.float64),
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, 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
transformation_to_pos_quat Ran
ran on a synthesized input
intelligent-control-lab/spark/module/spark_utils/spark_utils/math.py
code served (permissive licence) · get_code("21a1288f4cb464d8")
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 valid 4x4 transformation matrix
# This is an identity matrix with a translation component
transform_matrix = np.array([
    [1.0, 0.0, 0.0, 1.5],
    [0.0, 1.0, 0.0, 2.5],
    [0.0, 0.0, 1.0, 3.5],
    [0.0, 0.0, 0.0, 1.0]
], dtype=np.float32)

ARGS = {
    "transform_matrix": transform_matrix
}
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
update_class_attributes Ran
ran on a synthesized input
intelligent-control-lab/spark/module/spark_utils/spark_utils/helpers.py
code served (permissive licence) · get_code("c24f01939f51b2bc")
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 SimpleObject. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleObject:
    """A simple object to test attribute updates"""
    def __init__(self):
        self.existing_attr = "original_value"

obj = SimpleObject()

attrs = {
    "new_attr": "new_value",
    "another_attr": 42,
    "tensor_attr": torch.randn(2, 4),
    "list_attr": [1, 2, 3]
}

ARGS = {
    "obj": obj,
    "attrs": attrs
}
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 SimpleObject — a SimpleObject output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleObject 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
initialize_class Not yet run
unverified (harvested, no recorded run)
intelligent-control-lab/spark/module/spark_utils/spark_utils/helpers.py
code served (permissive licence) · get_code("4abd4d4fced66185")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 1 the same month, 0 later) and 15 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
class_to_dict 1 other paper
1 the same month
2502.12152 (2025-02)
Learning Getting-Up Policies for Real-World Humanoid Robots

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

This paper introduces the Safe Protective and Assistive Robot Kit (SPARK), a comprehensive benchmark designed to ensure safety in humanoid autonomy and teleoperation. Humanoid robots pose significant safety risks due to their physical capabilities of interacting with complex environments. The physical structures of humanoid robots further add complexity to the design of general safety solutions. To facilitate safe deployment of complex robot systems, SPARK can be used as a toolbox that comes with state-of-the-art safe control algorithms in a modular and composable robot control framework. Users can easily configure safety criteria and sensitivity levels to optimize the balance between safety and performance. To accelerate humanoid safety research and development, SPARK provides simulation benchmarks that compare safety approaches in a variety of environments, tasks, and robot models. Furthermore, SPARK allows quick deployment of synthesized safe controllers on real robots. For hardware deployment, SPARK supports Apple Vision Pro (AVP) or a Motion Capture System as external sensors, while offering interfaces for seamless integration with alternative hardware setups at the same time. This paper demonstrates SPARK's capability with both simulation experiments and case studies with a Unitree G1 humanoid robot. Leveraging these advantages of SPARK, users and researchers can significantly improve the safety of their humanoid systems as well as accelerate relevant research. The open source code is available at: https://github.com/intelligent-control-lab/spark.

For agents

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

get_harvested_code_for_paper("2502.03132")
get_code_for_paper("2502.03132")
have("2502.03132")

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

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

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

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

Connect an agent — have() is free.