SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.08162 · NeurIPS · 2020

SidechainNet: An All-Atom Protein Structure Dataset for Machine Learning

Jonathan King, Ryan David, Koes

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 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, 4 violated it and 3 have no contract verdict; 2 failures of our instrument; 3 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/2010.08162.json · badge: /api/ran/2010.08162.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
jonathanking/sidechainnet canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
aqlaboratory/proteinnet canonical (classifier label)
classifier basis: census
0 ran · 2 no recorded run
victor369basu/ProteinStructurePrediction community (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
hengwei-chan/sidechainnet community (classifier label)
classifier basis not recorded on the link
0 ran · 1 no recorded run
FunctionStatusWhere it lives
cast_tuple Ran
ran, violated the contract we drafted
victor369basu/ProteinStructurePrediction/helper.py
code served (permissive licence) · get_code("d9a9e2f685256932")
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 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 torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# def cast_tuple(val, depth=1):
#     return val if isinstance(val, tuple) else (val,) * depth
#
# Parameters:
# - val: can be any value (tuple or non-tuple)
# - depth: integer controlling repetition depth

# Test case 1: val is not a tuple, depth=1 (default)
val_non_tuple = "test_string"
depth_value = 1

ARGS = {
    "val": val_non_tuple,
    "depth": depth_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — 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
default Ran
ran, violated the contract we drafted
victor369basu/ProteinStructurePrediction/helper.py
code served (permissive licence) · get_code("424012cb37b31172")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 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.

from inspect import isfunction

def exists(val):
    return val is not None

def default(val, d):
    if exists(val):
        return val
    return d() if isfunction(d) else d

# Test case 1: val exists (not None), d is a regular value
ARGS_1 = {
    'val': 42,
    'd': 100
}

# Test case 2: val is None, d is a regular value
ARGS_2 = {
    'val': None,
    'd': 100
}

# Test case 3: val is None, d is a function
def default_func():
    return 200

ARGS_3 = {
    'val': None,
    'd': default_func
}

# Test case 4: val exists, d is a function
ARGS_4 = {
    'val': "existing_value",
    'd': lambda: "default_value"
}

# Use one of the test cases as the final ARGS
ARGS = ARGS_3
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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
exists Ran
ran, violated the contract we drafted
victor369basu/ProteinStructurePrediction/helper.py
pointer only (licence: MIT); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ThomasMrY/VCT, and GitHub detected no licence in that repository 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.

get_filename_from_index_path Ran
ran on a synthesized input
jonathanking/sidechainnet/sidechainnet/research/minimize_scn.py
code served (permissive licence) · get_code("2c280d608e7bad30")
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 tempfile
import os
import pickle

# Create a temporary directory with some test .pkl files
temp_dir = tempfile.mkdtemp()

# Create some dummy .pkl files for testing
for i in range(5):
    filepath = os.path.join(temp_dir, f'file_{i}.pkl')
    with open(filepath, 'wb') as f:
        pickle.dump({'data': i}, f)

# Define arguments for the function
ARGS = {
    'index': 2,
    'path': 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
register_vcs_handler Ran
ran; our contract draft was wrong, not the code
jonathanking/sidechainnet/sidechainnet/_version.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("f12f4dabbeb242eb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, and GitHub detected no licence in that repository 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.

run_command Ran
ran on a synthesized input
jonathanking/sidechainnet/sidechainnet/_version.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("86d4ff45d6295e29")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, and GitHub detected no licence in that repository 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.

str2bool Ran
ran, violated the contract we drafted
victor369basu/ProteinStructurePrediction/config.py
code served (permissive licence) · get_code("e5b1aff86a339d0e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned bool, 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.

ARGS = {
    'v': 'True'
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 bool, 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
update_loss_trackers Ran
ran on a synthesized input
jonathanking/sidechainnet/sidechainnet/research/log.py
code served (permissive licence) · get_code("e24ab7c9d0e22ecc")
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
import wandb
from unittest.mock import Mock, MagicMock

# Mock wandb.run since we can't actually connect to wandb
wandb.run = Mock()
wandb.run.summary = {}

# Define a small args object with all required attributes
class Args:
    def __init__(self):
        self.es_mode = 'validation'
        self.es_metric = 'loss'
        self.early_stopping_threshold = 0.01
        self.early_stopping = 5

args = Args()

# Define the epoch index
epoch_i = 3

# Define the metrics dictionary with all required keys and structure
metrics = {
    'validation': {
        'epoch-loss-full': 0.5,
        'epoch-history-loss': [0.8, 0.7, 0.6, 0.5]
    },
    'best_valid_loss_so_far': 0.6,
    'epoch_last_improved': 1,
    'loss_to_compare': 0.5,
    'losses_to_compare': [0.8, 0.7, 0.6, 0.5]
}

ARGS = {
    'args': args,
    'epoch_i': epoch_i,
    'metrics': metrics
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, wandb — 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
versions_from_parentdir Ran
ran; our contract draft was wrong, not the code
jonathanking/sidechainnet/sidechainnet/_version.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("b9a1535d27f2a9fb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, and GitHub detected no licence in that repository 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.

masking_matrix Not yet run
unverified (harvested, no recorded run)
aqlaboratory/proteinnet/code/tf_parser.py
code served (permissive licence) · get_code("2ed1799fadb7ebe8")
How it ran

no invocation recorded.

nerf Not yet run
unverified (harvested, no recorded run)
hengwei-chan/sidechainnet/sidechainnet/structure/structure.py
code served (permissive licence) · get_code("cb866143343064ce")
How it ran

no invocation recorded.

read_protein Not yet run
unverified (harvested, no recorded run)
aqlaboratory/proteinnet/code/tf_parser.py
code served (permissive licence) · get_code("4db883a1bfecfc18")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 7 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 7 later) and 5 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
exists 486 other papers
24 dated earlier, 460 later, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
default 207 other papers
2 dated earlier, 205 later · 41 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
and 204 more not named here
register_vcs_handler 26 other papers
10 dated earlier, 16 later
1806.00550 (2018-06)
A Swiss Army Infinitesimal Jackknife
1806.03146 (2018-06)
Neural Message Passing with Edge Updates for Predicting Properties of Molecules and Materials
1806.03720 (2018-06)
Stochastic seismic waveform inversion using generative adversarial networks as a geological prior
and 23 more not named here
versions_from_parentdir 16 other papers
9 dated earlier, 7 later
1806.00550 (2018-06)
A Swiss Army Infinitesimal Jackknife
1806.03720 (2018-06)
Stochastic seismic waveform inversion using generative adversarial networks as a geological prior
1812.01719 (2018-12)
Knowing what you know in brain segmentation using Bayesian deep neural networks
and 13 more not named here
run_command 14 other papers
7 dated earlier, 7 later
1806.00550 (2018-06)
A Swiss Army Infinitesimal Jackknife
1806.03720 (2018-06)
Stochastic seismic waveform inversion using generative adversarial networks as a geological prior
1812.01719 (2018-12)
Knowing what you know in brain segmentation using Bayesian deep neural networks
and 11 more not named here
str2bool 11 other papers
9 dated earlier, 2 later
1611.01578 (2016-11)
Neural Architecture Search with Reinforcement Learning
1802.05637 (2018-02)
cGANs with Projection Discriminator
1805.11973 (2018-05)
MolGAN: An implicit generative model for small molecular graphs
and 8 more not named here
cast_tuple 1 other paper
1 later
2106.03106 (2021-06)
Uformer: A General U-Shaped Transformer for Image Restoration

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

Despite recent advancements in deep learning methods for protein structure prediction and representation, little focus has been directed at the simultaneous inclusion and prediction of protein backbone and sidechain structure information. We present SidechainNet, a new dataset that directly extends the Protein-Net dataset. SidechainNet includes angle and atomic coordinate information capable of describing all heavy atoms of each protein structure. In this paper, we provide background information on the availability of protein structure data and the significance of ProteinNet. Thereafter, we argue for the potentially beneficial inclusion of sidechain information through SidechainNet, describe the process by which we organize SidechainNet, and provide a software package (https://github.com/jonathanking/sidechainnet) for data manipulation and training with machine learning models.

For agents

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

get_harvested_code_for_paper("2010.08162")
get_code_for_paper("2010.08162")
have("2010.08162")

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

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

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

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

Connect an agent — have() is free.