SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.13889 · 2023

An Experimental Study of Model-based Control for Planar Handed Shearing Auxetics Robots

arXiv · PDF · Open in the Atlas

Code that ran

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

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.13889.json · badge: /api/ran/2310.13889.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
tud-cor-sr/jax-soft-robot-modelling canonical (classifier label)
classifier basis: census
10 ran · 5 no recorded run
tud-cor-sr/hsa-planar-control canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
FunctionStatusWhere it lives
blk_diag Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/math_utils.py
code served (permissive licence) · get_code("2d8aeaad9425b8f5")
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 ArrayImpl, ndim 2, dtype family float, shape (6, 10) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax.numpy as jnp

# Create a small tensor of blocks with shape (m, n, o)
# m=2 blocks, n=3x4 matrices, o=5x6 matrices
m, n, o = 2, 3, 5
a = jnp.arange(m * n * o).reshape(m, n, o).astype(jnp.float32)

ARGS = {
    "a": a
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (6, 10) — shape (6, 10) 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_integrability_assumption Ran
ran, violated the contract we drafted
tud-cor-sr/hsa-planar-control/hsa_planar_control/collocated_form.py
pointer only (licence: NONE) · get_code("ae4d5bd1cdf49d35")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

compute_coriolis_matrix Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/symbolic_derivation/symbolic_utils.py
code served (permissive licence) · get_code("672af97f688d4ab9")
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 ImmutableDenseMatrix. 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 sympy as sp

# Create symbolic variables for a 2-DOF system
num_dof = 2

# Define generalized coordinates and velocities as symbolic variables
q = sp.Matrix([sp.Symbol('q1'), sp.Symbol('q2')])
q_d = sp.Matrix([sp.Symbol('q_d1'), sp.Symbol('q_d2')])

# Create a simple mass/inertial matrix B that depends on q
# B is 2x2 and some elements depend on generalized coordinates
B = sp.Matrix([
    [2 + sp.sin(q[0]), sp.cos(q[1])],
    [sp.cos(q[1]), 3 + q[0]**2]
])

ARGS = {
    'B': B,
    'q': q,
    'q_d': q_d,
    'simplify': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sympy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ImmutableDenseMatrix — a ImmutableDenseMatrix output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ImmutableDenseMatrix output the recorded ndim 2 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
compute_dAdt Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/symbolic_derivation/symbolic_utils.py
code served (permissive licence) · get_code("b1d75bc1665b3ff7")
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 MutableDenseMatrix. 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 sympy as sp

# Create symbolic variables for x (state vector)
x = sp.Matrix([sp.Symbol('x0'), sp.Symbol('x1'), sp.Symbol('x2')])

# Create symbolic xdot (time derivative of state)
xdot = sp.Matrix([sp.Symbol('xdot0'), sp.Symbol('xdot1'), sp.Symbol('xdot2')])

# Create a symbolic matrix A with distinct dimensions (4x3)
# Each element is a symbolic expression that depends on x
A = sp.Matrix([
    [x[0]**2, x[1], x[0]*x[2]],
    [x[1]**2, x[0], x[1]*x[2]],
    [x[2]**2, x[0]*x[1], x[0]],
    [x[0] + x[1], x[1] + x[2], x[0] + x[2]]
])

ARGS = {
    "A": A,
    "x": x,
    "xdot": xdot
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sympy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MutableDenseMatrix — a MutableDenseMatrix output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MutableDenseMatrix output the recorded ndim 2 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
constant_control Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/hsa-planar-control/hsa_planar_control/controllers/constant_controller.py
pointer only (licence: NONE) · get_code("2ac773580e302c31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

forward_dynamics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/systems/euler_lagrangian.py
code served (permissive licence) · get_code("56b8c31ae484cc12")
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 ArrayImpl, 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 jax
import jax.numpy as jnp
from functools import partial

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

# Define dimensions
n_q = 4  # configuration dimension
n_tau = 3  # actuation dimension

# Create a simple dynamical_matrices_fn that returns the required matrices
def simple_dynamical_matrices_fn(params, q, q_d):
    """
    Returns B, C, G, K, D, alpha matrices.
    """
    # B: inertia matrix (n_q, n_q)
    B = jnp.eye(n_q) * 2.0
    
    # C: Coriolis matrix (n_q, n_q)
    C = jnp.zeros((n_q, n_q))
    
    # G: gravity vector (n_q,)
    G = jnp.ones(n_q) * 0.5
    
    # K: stiffness vector (n_q,)
    K = jnp.ones(n_q) * 0.1
    
    # D: damping matrix (n_q, n_q)
    D = jnp.eye(n_q) * 0.2
    
    # alpha: actuation matrix (n_q, n_tau)
    alpha = jnp.ones((n_q, n_tau))
    
    return B, C, G, K, D, alpha

# Create parameter dictionary
params = {
    "mass": jnp.array(1.0),
    "friction": jnp.array(0.1),
}

# Create configuration vector (n_q,)
q = jnp.array([0.1, 0.2, 0.3, 0.4])

# Create velocity vector (n_q,)
q_d = jnp.array([0.05, 0.1, 0.15, 0.2])

# Create torque vector (n_tau,)
tau = jnp.array([1.0, 2.0, 1.5])

ARGS = {
    "dynamical_matrices_fn": simple_dynamical_matrices_fn,
    "params": params,
    "q": q,
    "q_d": q_d,
    "tau": tau,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, 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
generate_base_params_for_epu Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/parameters/hsa_params.py
code served (permissive licence) · get_code("fb44fc5b3fdfef6b")
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 jax
import jax.numpy as jnp

ARGS = {
    'num_segments': 2,
    'num_rods_per_segment': 4,
    'rod_multiplier': 1,
    'end_effector_attached': False,
    'consider_hysteresis': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
generate_base_params_for_fpu Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/parameters/hsa_params.py
code served (permissive licence) · get_code("46e8c2639942d072")
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 jax
import jax.numpy as jnp

# Set seed for reproducibility
jax.config.update('jax_default_prng_impl', 'threefry2x32')

ARGS = {
    'num_segments': 2,
    'num_rods_per_segment': 4,
    'rod_multiplier': 1,
    'end_effector_attached': False,
    'consider_hysteresis': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
generate_common_base_params Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/parameters/hsa_params.py
code served (permissive licence) · get_code("32baa8bb60db0593")
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 jax
import jax.numpy as jnp

ARGS = {
    'num_segments': 2,
    'num_rods_per_segment': 4,
    'end_effector_attached': False,
    'consider_hysteresis': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
get_operational_workspace_boundaries Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tud-cor-sr/hsa-planar-control/hsa_planar_control/operational_workspace.py
pointer only (licence: NONE) · get_code("50ceb3339058ee9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

linearize_actuation Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/hsa-planar-control/hsa_planar_control/controllers/generalized_torques_to_actuation.py
pointer only (licence: NONE) · get_code("7069a7d377fcb3f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

map_generalized_torques_to_actuation_with_linearized_model Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/hsa-planar-control/hsa_planar_control/controllers/generalized_torques_to_actuation.py
pointer only (licence: NONE) · get_code("c71db9b4f5e687b3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

map_generalized_torques_to_actuation_with_nonlinear_optimization Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/hsa-planar-control/hsa_planar_control/controllers/generalized_torques_to_actuation.py
pointer only (licence: NONE) · get_code("9b835ce6abdf71b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

nonlinear_state_space Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/systems/euler_lagrangian.py
code served (permissive licence) · get_code("79ae3dff0179920f")
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 ArrayImpl, ndim 1, dtype family float, shape (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 jax
import jax.numpy as jnp
from typing import Dict, Tuple, Callable

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

# Define the number of configuration variables and actuators
n_q = 4  # Number of configuration variables
n_tau = 3  # Number of actuators

# Create a simple dynamical_matrices_fn that returns the required matrices
def simple_dynamical_matrices_fn(params: Dict[str, jnp.ndarray], q: jnp.ndarray, q_d: jnp.ndarray) -> Tuple[jnp.ndarray, jnp.ndarray, jnp.ndarray, jnp.ndarray, jnp.ndarray, jnp.ndarray]:
    """
    Simple function that returns dynamical matrices for a Lagrangian system.
    """
    # B: inertia matrix (n_q, n_q)
    B = jnp.eye(n_q) + 0.1 * jnp.sin(q).reshape(-1, 1)
    
    # C: Coriolis matrix (n_q, n_q)
    C = 0.05 * jnp.ones((n_q, n_q))
    
    # G: gravity vector (n_q,)
    G = 0.1 * jnp.sin(q)
    
    # K: stiffness vector (n_q,)
    K = 0.02 * q
    
    # D: damping matrix (n_q, n_q)
    D = 0.1 * jnp.eye(n_q)
    
    # alpha: actuation matrix (n_q, n_tau)
    alpha = jnp.ones((n_q, n_tau))
    
    return B, C, G, K, D, alpha

# Create params dictionary
params = {
    "mass": jnp.array([1.0, 1.0, 1.0, 1.0]),
    "length": jnp.array([0.5, 0.5, 0.5, 0.5]),
}

# Create state vector x = [q; q_d] with shape (2 * n_q,)
q = jnp.array([0.1, 0.2, 0.3, 0.4])
q_d = jnp.array([0.05, -0.1, 0.15, -0.05])
x = jnp.concatenate([q, q_d])

# Create torque vector tau with shape (n_tau,)
tau = jnp.array([1.0, 0.5, -0.5])

# Define ARGS dictionary
ARGS = {
    "dynamical_matrices_fn": simple_dynamical_matrices_fn,
    "params": params,
    "x": x,
    "tau": tau,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, shape (8,) — shape (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
normalize_joint_angles Ran
ran, honoured the contract we drafted
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/systems/pendulum.py
code served (permissive licence) · get_code("ae9afdd6af126fe8")
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 ArrayImpl, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp
from jax import Array

# Create a small array of joint angles for testing
# Shape: (2, 4) - batch of 2, with 4 joint angles each
q = jnp.array([
    [0.5, 1.5, 3.0, -2.5],
    [6.5, -3.5, 0.0, 2.0]
], dtype=jnp.float32)

ARGS = {
    "q": q
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ode_factory Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/systems/planar_hsa.py
code served (permissive licence) · get_code("a868da56f787b49c")
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 PjitFunction. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp
from jax import Array
import numpy as np
from typing import Callable, Dict, List, Optional, Tuple, Union

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

# Create a minimal dynamical_matrices_fn that matches the expected signature
def dynamical_matrices_fn(params: Dict[str, Array], q: Array, q_d: Array, z: Optional[Array] = None, phi: Array = None) -> Tuple[Array, Array, Array, Array, Array, Array]:
    """
    Returns B, C, G, K, D, tau_q (or alpha_fn result).
    """
    n_q = q.shape[0]
    n_phi = phi.shape[0] if phi is not None else n_q
    
    # B: inertia matrix (n_q x n_q)
    B = jnp.eye(n_q) + 0.1 * jnp.ones((n_q, n_q))
    
    # C: Coriolis matrix (n_q x n_q)
    C = 0.05 * jnp.ones((n_q, n_q))
    
    # G: gravity vector (n_q,)
    G = 0.1 * jnp.ones((n_q,))
    
    # K: stiffness vector (n_q,)
    K = 0.02 * jnp.ones((n_q,))
    
    # D: damping matrix (n_q x n_q)
    D = 0.03 * jnp.eye(n_q)
    
    # tau_q or alpha result (n_q,)
    if phi is not None:
        # Simple linear mapping from phi to tau_q
        tau_q = 0.5 * jnp.sum(phi) * jnp.ones((n_q,))
    else:
        tau_q = jnp.zeros((n_q,))
    
    return B, C, G, K, D, tau_q

# Create control function
def control_fn(t: float, x: Array) -> Array:
    """
    Returns control input of shape (n_q,) or (n_phi,).
    """
    n_q = x.shape[0] // 2
    return 0.01 * jnp.ones((n_q,))

# Build params dictionary
n_q = 4
n_phi = 3
n_rods_dim1 = 1
n_rods_dim2 = 3

params = {
    'rout': jnp.ones((n_rods_dim1, n_rods_dim2)),  # shape (1, 3)
    'hysteresis': {
        'basis': jnp.ones((n_q, 2)),  # shape (n_q, 2)
        'A': jnp.array(1.0),
        'n': jnp.array(2.0),
        'gamma': jnp.array(0.5),
        'beta': jnp.array(0.3),
    }
}

ARGS = {
    'dynamical_matrices_fn': dynamical_matrices_fn,
    'params': params,
    'control_fn': control_fn,
    'consider_underactuation_model': True,
    'consider_hysteresis': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PjitFunction — a PjitFunction output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PjitFunction 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
pd_plus_potential_compensation Ran
ran; our contract draft was wrong, not the code
tud-cor-sr/hsa-planar-control/hsa_planar_control/controllers/configuration_space_controllers.py
pointer only (licence: NONE) · get_code("16de75d3def27549")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

trim_time_series_data Ran
ran on a synthesized input
tud-cor-sr/hsa-planar-control/hsa_planar_control/analysis/utils.py
pointer only (licence: NONE) · get_code("181b1964a99e23e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

factory Not yet run
unverified (harvested, no recorded run)
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/systems/pendulum.py
code served (permissive licence) · get_code("30cb9354d7aaa12f")
How it ran

no invocation recorded.

factory Not yet run
unverified (harvested, no recorded run)
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/systems/planar_hsa.py
code served (permissive licence) · get_code("eef20e5a64257b06")
How it ran

no invocation recorded.

pd_plus_feedforward Not yet run
unverified (harvested, no recorded run)
tud-cor-sr/hsa-planar-control/hsa_planar_control/controllers/configuration_space_controllers.py
pointer only (licence: NONE) · get_code("01f122d087a5acf5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

pd_plus_steady_state_actuation Not yet run
unverified (harvested, no recorded run)
tud-cor-sr/hsa-planar-control/hsa_planar_control/controllers/configuration_space_controllers.py
pointer only (licence: NONE) · get_code("6e9dfe7650f0110d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tud-cor-sr/hsa-planar-control 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.

symbolically_derive_pendulum_model Not yet run
unverified (harvested, no recorded run)
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/symbolic_derivation/pendulum.py
code served (permissive licence) · get_code("451dd01e257c845c")
How it ran

no invocation recorded.

symbolically_derive_planar_hsa_model Not yet run
unverified (harvested, no recorded run)
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/symbolic_derivation/planar_hsa.py
code served (permissive licence) · get_code("e05b8a20810bbee1")
How it ran

no invocation recorded.

symbolically_derive_planar_pcs_model Not yet run
unverified (harvested, no recorded run)
tud-cor-sr/jax-soft-robot-modelling/src/jsrm/symbolic_derivation/planar_pcs.py
code served (permissive licence) · get_code("a4b9460c94cb6423")
How it ran

no invocation recorded.

Also present in other papers' code

Of 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 25 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 25 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-22.

Repositories linked to this paper

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

Abstract

Parallel robots based on Handed Shearing Auxetics (HSAs) can implement complex motions using standard electric motors while maintaining the complete softness of the structure, thanks to specifically designed architected metamaterials. However, their control is especially challenging due to varying and coupled stiffness, shearing, non-affine terms in the actuation model, and underactuation. In this paper, we present a model-based control strategy for planar HSA robots enabling regulation in task space. We formulate equations of motion, show that they admit a collocated form, and design a P-satI-D feedback controller with compensation for elastic and gravitational forces. We experimentally identify and verify the proposed control strategy in closed loop.

For agents

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

get_harvested_code_for_paper("2310.13889")
get_code_for_paper("2310.13889")
have("2310.13889")

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

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

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

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

Connect an agent — have() is free.