SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.16382 · 2024

An image-computable model of speeded decision-making

arXiv · PDF · Open in the Atlas

Code that ran

6 of 11 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; 6 failures of our instrument; 5 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/2403.16382.json · badge: /api/ran/2403.16382.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
pauljaffe/vam canonical (classifier label)
classifier basis: census
6 ran · 5 no recorded run
FunctionStatusWhere it lives
constant_init Ran
ran; our contract draft was wrong, not the code
pauljaffe/vam/vam/utils.py
code served (permissive licence) · get_code("db3bf7d700635534")
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 function. 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.numpy as jnp

# The function constant_init takes two parameters:
# 1. value: a scalar or array that will be multiplied by jnp.ones
# 2. dtype: a string specifying the data type (default 'float32')

# Looking at the function body:
# - value is multiplied by jnp.ones(shape, dtype)
# - dtype is passed to jnp.ones
# - The returned _init function takes (key, shape, dtype) as parameters

# We need to provide:
# - value: a numeric scalar or jax array
# - dtype: a string like 'float32', 'float64', etc.

value = 3.14
dtype = 'float32'

ARGS = {
    'value': value,
    'dtype': dtype,
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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_vam_rts Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pauljaffe/vam/vam/lba.py
code served (permissive licence) · get_code("4eeacd31aa300022")
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
from jax import random
import numpy as np

# Set random seed for reproducibility
np.random.seed(0)
key = random.PRNGKey(0)

# Create small test data
n_acc = 4  # number of accumulators
n_trials = 2  # number of trials

# Create lba_params dictionary with required parameters
lba_params = {
    'a': 1.5,  # boundary separation
    'b': 1.0,  # starting point/bias
    't0': 0.3  # non-decision time
}

# Create batch_drifts - one drift rate vector per trial
# Shape: (n_trials, n_acc)
drifts = np.array([
    [0.5, 0.6, 0.4, 0.7],
    [0.55, 0.65, 0.45, 0.75]
], dtype=np.float32)

# Create random key for Monte Carlo simulation
mc_key = random.PRNGKey(42)

ARGS = {
    'lba_params': lba_params,
    'drifts': drifts,
    'n_acc': n_acc,
    'mc_key': mc_key
}
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 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
jittable_sim_lba Ran
ran; our contract draft was wrong, not the code
pauljaffe/vam/vam/lba.py
code served (permissive licence) · get_code("539f6b3b98a46cba")
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, 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 jax
import jax.numpy as jnp
from jax import random

# Set a seed for reproducibility
key = random.PRNGKey(0)
key, subkey1, subkey2 = random.split(key, 3)

# Parameters for jittable_sim_lba
A_key = subkey1  # JAX random key for A
v_key = subkey2  # JAX random key for v

v = jnp.array([0.5, 0.6, 0.7, 0.8])  # drift rates (mean), shape (K,) where K=4
t0 = 0.2  # non-decision time
b = 1.5   # boundary
A = 0.8   # start point variability
K = 4     # number of accumulators
s = 1.0   # scaling parameter for covariance

ARGS = {
    "A_key": A_key,
    "v_key": v_key,
    "v": v,
    "t0": t0,
    "b": b,
    "A": A,
    "K": K,
    "s": s,
}
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 tuple, ndim 1, dtype family float — a tuple 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
reparam_fr Ran
ran; our contract draft was wrong, not the code
pauljaffe/vam/vam/utils.py
code served (permissive licence) · get_code("27e2e48edfa37664")
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 jax import random

# Set a seed for reproducibility
key = random.PRNGKey(0)

# Parameters for reparam_fr:
# - key: a JAX random key
# - mu: mean vector (1D array)
# - L: lower triangular covariance matrix (2D array)

# Create a mean vector of dimension 4
mu = jnp.array([0.5, -0.2, 1.3, 0.8])

# Create a lower triangular matrix (4x4) representing covariance
# We'll construct a simple lower triangular matrix
L = jnp.array([
    [1.0, 0.0, 0.0, 0.0],
    [0.2, 0.9, 0.0, 0.0],
    [0.1, 0.3, 0.8, 0.0],
    [0.15, 0.25, 0.35, 0.7]
])

ARGS = {
    "key": key,
    "mu": mu,
    "L": L
}
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
sim_lba_rts Ran
ran; our contract draft was wrong, not the code
pauljaffe/vam/vam/lba.py
code served (permissive licence) · get_code("39e60d63a1312989")
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
from jax import random
import numpy as np

# Set up arguments for sim_lba_rts
key = random.PRNGKey(0)

# Parameters for the LBA model
v = jnp.array([1.5, 2.0, 1.8, 1.9])  # drift rates for K=4 accumulators
A = 0.75  # upper bound for starting point
b = 2.5   # boundary separation
t0 = 0.3  # non-decision time
n = 2     # number of trials (batch size)
K = 4     # number of accumulators/choices

ARGS = {
    'v': v,
    'A': A,
    'b': b,
    't0': t0,
    'key': key,
    'n': n,
    'K': K,
    'batch_drifts': None,
    'prep_data': 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 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
vec_to_lowertri Ran
ran; our contract draft was wrong, not the code
pauljaffe/vam/vam/utils.py
code served (permissive licence) · get_code("ed6ef71bf6934064")
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 (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 jax.numpy as jnp

# The function vec_to_lowertri takes:
# - v: a vector that will be placed into lower triangular positions
# - D: an integer specifying the size of the output DxD matrix

# Determine sizes:
# The number of elements in the lower triangular part of a DxD matrix is D*(D+1)/2
# For D=4: 4*5/2 = 10 elements

D = 4
num_elements = D * (D + 1) // 2

# Create a small vector v with the right number of elements
v = jnp.arange(num_elements, dtype=jnp.float32)

ARGS = {
    "v": v,
    "D": D,
}
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 (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
task_opt_test_step Not yet run
unverified (harvested, no recorded run)
pauljaffe/vam/vam/model_outputs.py
code served (permissive licence) · get_code("07d689a2a55b1913")
How it ran

no invocation recorded.

task_opt_train_step Not yet run
unverified (harvested, no recorded run)
pauljaffe/vam/vam/training.py
code served (permissive licence) · get_code("2892e292baf47241")
How it ran

no invocation recorded.

vam_eval_step Not yet run
unverified (harvested, no recorded run)
pauljaffe/vam/vam/training.py
code served (permissive licence) · get_code("304a43654830ca7f")
How it ran

no invocation recorded.

vam_test_step Not yet run
unverified (harvested, no recorded run)
pauljaffe/vam/vam/model_outputs.py
code served (permissive licence) · get_code("5d49cd41956319c4")
How it ran

no invocation recorded.

vam_train_step Not yet run
unverified (harvested, no recorded run)
pauljaffe/vam/vam/training.py
code served (permissive licence) · get_code("f608733086b29b25")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 10 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
constant_init 3 other papers
2 dated earlier, 1 later
2107.00630 (2021-07)
Variational Diffusion Models
2310.19789 (2023-10)
DiffEnc: Variational Diffusion with a Learned Encoder
2501.06999 (2025-01)
Likelihood Training of Cascaded Diffusion Models via Hierarchical Volume-preserving Maps

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

Evidence accumulation models (EAMs) are the dominant framework for modeling response time (RT) data from speeded decision-making tasks. While providing a good quantitative description of RT data in terms of abstract perceptual representations, EAMs do not explain how the visual system extracts these representations in the first place. To address this limitation, we introduce the visual accumulator model (VAM), in which convolutional neural network models of visual processing and traditional EAMs are jointly fitted to trial-level RTs and raw (pixel-space) visual stimuli from individual subjects in a unified Bayesian framework. Models fitted to large-scale cognitive training data from a stylized flanker task captured individual differences in congruency effects, RTs, and accuracy. We find evidence that the selection of task-relevant information occurs through the orthogonalization of relevant and irrelevant representations, demonstrating how our framework can be used to relate visual representations to behavioral outputs. Together, our work provides a probabilistic framework for both constraining neural network models of vision with behavioral data and studying how the visual system extracts representations that guide decisions.

For agents

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

get_harvested_code_for_paper("2403.16382")
get_code_for_paper("2403.16382")
have("2403.16382")

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

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

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

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

Connect an agent — have() is free.