SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2107.05451 · 2021

AxonEM Dataset: 3D Axon Instance Segmentation of Brain Cortical Regions

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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 4 have no contract verdict; 0 failures of our instrument; 2 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/2107.05451.json · badge: /api/ran/2107.05451.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
donglaiw/AxonEM-challenge canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
convert_networkx_to_lite Ran
ran on a synthesized input
donglaiw/AxonEM-challenge/erl_wrapper/networkx_lite.py
code served (permissive licence) · get_code("4efe24ee9fadf369")
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 NetworkXGraphLite. 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 networkx as nx
import numpy as np

# Create a small NetworkX graph with the required node and edge attributes
networkx_graph = nx.Graph()

# Add nodes with required attributes: skeleton_id, z, y, x
networkx_graph.add_node(0, skeleton_id=1, z=10, y=20, x=30)
networkx_graph.add_node(1, skeleton_id=1, z=11, y=21, x=31)
networkx_graph.add_node(2, skeleton_id=2, z=12, y=22, x=32)

# Add edges with length attribute
networkx_graph.add_edge(0, 1, length=1.5)
networkx_graph.add_edge(1, 2, length=2.3)

ARGS = {
    'networkx_graph': networkx_graph
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NetworkXGraphLite — a NetworkXGraphLite output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NetworkXGraphLite 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
node_edge_to_networkx Ran
ran on a synthesized input
donglaiw/AxonEM-challenge/erl_wrapper/skeleton.py
code served (permissive licence) · get_code("f1989112eeb019ef")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import networkx as nx

# Create sample nodes - list of arrays where each array has shape (num_nodes, 3) for (z, y, x) coordinates
nodes = [
    np.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]], dtype=np.float32),  # skeleton 0: 2 nodes
    np.array([[7.0, 8.0, 9.0], [10.0, 11.0, 12.0], [13.0, 14.0, 15.0]], dtype=np.float32),  # skeleton 1: 3 nodes
]

# Create sample edges - list of lists where each inner list contains edge pairs (node_idx_1, node_idx_2)
edges = [
    np.array([[0, 1]], dtype=np.int32),  # skeleton 0: one edge connecting node 0 to node 1
    np.array([[0, 1], [1, 2]], dtype=np.int32),  # skeleton 1: two edges
]

ARGS = {
    "nodes": nodes,
    "edges": edges,
    "skeleton_resolution": 2.0,
    "return_all_nodes": True,
    "data_type": np.uint16,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, 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
read_h5 Ran
ran on a synthesized input
donglaiw/AxonEM-challenge/erl_wrapper/data_io.py
code served (permissive licence) · get_code("c6a52d75212388e0")
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. 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 h5py
import numpy as np
import tempfile
import os

# Create a temporary HDF5 file with sample data
temp_dir = tempfile.mkdtemp()
h5_file = os.path.join(temp_dir, "test_data.h5")

# Create an HDF5 file with some datasets
with h5py.File(h5_file, 'w') as f:
    f.create_dataset('dataset1', data=np.random.rand(10, 4))
    f.create_dataset('dataset2', data=np.random.rand(10, 3))
    f.create_dataset('dataset3', data=np.random.rand(20, 5))

ARGS = {
    'filename': h5_file,
    'dataset_names': ['dataset1', 'dataset2'],
    'chunk_id': 0,
    'chunk_num': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
h5py, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list 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
read_pkl Ran
ran on a synthesized input
donglaiw/AxonEM-challenge/erl_wrapper/data_io.py
code served (permissive licence) · get_code("d33cace927540693")
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. 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 pickle
import tempfile
import os

# Create a temporary pickle file with some test data
temp_dir = tempfile.mkdtemp()
test_filename = os.path.join(temp_dir, "test_data.pkl")

# Write some test objects to the pickle file
test_objects = [
    {"key": "value1", "number": 42},
    [1, 2, 3, 4, 5],
    "test string",
    {"nested": {"data": [1, 2, 3]}}
]

with open(test_filename, 'wb') as fid:
    for obj in test_objects:
        pickle.dump(obj, fid)

# Define ARGS for the read_pkl function
ARGS = {
    "filename": test_filename
}
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 list — a list 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
read_vol Not yet run
unverified (harvested, no recorded run)
donglaiw/AxonEM-challenge/erl_wrapper/data_io.py
code served (permissive licence) · get_code("c3dec648e7a9b6b9")
How it ran

no invocation recorded.

skeleton_to_networkx Not yet run
unverified (harvested, no recorded run)
donglaiw/AxonEM-challenge/erl_wrapper/skeleton.py
code served (permissive licence) · get_code("ed47ee63e0444c57")
How it ran

no invocation recorded.

Also present in other papers' code

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

Electron microscopy (EM) enables the reconstruction of neural circuits at the level of individual synapses, which has been transformative for scientific discoveries. However, due to the complex morphology, an accurate reconstruction of cortical axons has become a major challenge. Worse still, there is no publicly available large-scale EM dataset from the cortex that provides dense ground truth segmentation for axons, making it difficult to develop and evaluate large-scale axon reconstruction methods. To address this, we introduce the AxonEM dataset, which consists of two 30x30x30 um^3 EM image volumes from the human and mouse cortex, respectively. We thoroughly proofread over 18,000 axon instances to provide dense 3D axon instance segmentation, enabling large-scale evaluation of axon reconstruction methods. In addition, we densely annotate nine ground truth subvolumes for training, per each data volume. With this, we reproduce two published state-of-the-art methods and provide their evaluation results as a baseline. We publicly release our code and data at https://connectomics-bazaar.github.io/proj/AxonEM/index.html to foster the development of advanced methods.

For agents

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

get_harvested_code_for_paper("2107.05451")
get_code_for_paper("2107.05451")
have("2107.05451")

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

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

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

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

Connect an agent — have() is free.