SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1706.06511 · 2017

Optimal modularity and memory capacity of neural reservoirs

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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; 3 failures of our instrument; 0 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/1706.06511.json · badge: /api/ran/1706.06511.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
Nathaniel-Rodriguez/reservoirlib canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
index Ran
ran; our contract draft was wrong, not the code
Nathaniel-Rodriguez/reservoirlib/reservoirlib/experiment.py
code served (permissive licence) · get_code("b4cc6d1542d0ec35")
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) 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 numpy as np

# Create sample time-series arrays
# Each array in x should have a shape[0] attribute (number of time steps)
x = [
    np.random.randn(10, 4),  # First trial: 10 time steps, 4 features
    np.random.randn(8, 4),   # Second trial: 8 time steps, 4 features
    np.random.randn(6, 4),   # Third trial: 6 time steps, 4 features
]

# Trial number (0-indexed)
k = 1

# Cuts array - number of samples to cut from each trial
c = np.array([2, 3, 1])

ARGS = {
    "x": x,
    "k": k,
    "c": c,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — 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
stack_history Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Nathaniel-Rodriguez/reservoirlib/reservoirlib/experiment.py
code served (permissive licence) · get_code("ebad46d69088fc2d")
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) and returned ndarray, ndim 2, dtype family float, shape (8, 7) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small test data
num_trials = 2
num_neurons = 3
num_inputs = 4
time_steps_trial1 = 5
time_steps_trial2 = 6

# Create inputs: list of numpy arrays with shape TxKx1
inputs = [
    np.random.randn(time_steps_trial1, num_inputs, 1),
    np.random.randn(time_steps_trial2, num_inputs, 1)
]

# Create histories: list of numpy arrays with shape TxNx1
histories = [
    np.random.randn(time_steps_trial1, num_neurons, 1),
    np.random.randn(time_steps_trial2, num_neurons, 1)
]

# Create cuts: array specifying how many timesteps to remove from start of each trial
cuts = np.array([1, 2])

# dtype for output array
dtype = np.float32

ARGS = {
    "inputs": inputs,
    "histories": histories,
    "cuts": cuts,
    "dtype": dtype
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 (8, 7) — shape (8, 7) 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
stack_targets Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Nathaniel-Rodriguez/reservoirlib/reservoirlib/experiment.py
code served (permissive licence) · get_code("fc6edbbc9b3c2627")
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) and returned ndarray, ndim 2, dtype family float, shape (15, 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

# Create sample target outputs: list of numpy arrays with shape TxOx1
# Q=2 trials, T=variable time steps, O=3 outputs
trial_1 = np.random.randn(10, 3, 1).astype(np.float32)  # 10 time steps, 3 outputs
trial_2 = np.random.randn(8, 3, 1).astype(np.float32)   # 8 time steps, 3 outputs
target_outputs = [trial_1, trial_2]

# Create cuts: one cut value per trial
cuts = [2, 1]  # Cut 2 timesteps from trial 1, 1 from trial 2

# Data type for output
dtype = np.float32

ARGS = {
    "target_outputs": target_outputs,
    "cuts": cuts,
    "dtype": dtype
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 (15, 3) — shape (15, 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

Also present in other papers' code

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

The neural network is a powerful computing framework that has been exploited by biological evolution and by humans for solving diverse problems. Although the computational capabilities of neural networks are determined by their structure, the current understanding of the relationships between a neural network's architecture and function is still primitive. Here we reveal that neural network's modular architecture plays a vital role in determining the neural dynamics and memory performance of the network of threshold neurons. In particular, we demonstrate that there exists an optimal modularity for memory performance, where a balance between local cohesion and global connectivity is established, allowing optimally modular networks to remember longer. Our results suggest that insights from dynamical analysis of neural networks and information spreading processes can be leveraged to better design neural networks and may shed light on the brain's modular organization.

For agents

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

get_harvested_code_for_paper("1706.06511")
get_code_for_paper("1706.06511")
have("1706.06511")

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

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

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

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

Connect an agent — have() is free.