SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.19677 · 2026

Agentic Discovery of Cryomicroneedle Formulations

Hao Li, Lifu Du, Nurul Hameed, Saha Authai, Zlata Stefanovic, Chenjie Xu

arXiv · PDF · Open in the Atlas

Code that ran

29 of 29 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; 8 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 20 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2605.19677.json · badge: /api/ran/2605.19677.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
baitmeister/ML-for-CryoMN canonical (classifier label)
classifier basis: census
29 ran · 0 no recorded run
FunctionStatusWhere it lives
build_iteration_output_path Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/03_optimization/optimize_formulation.py
code served (permissive licence) · get_code("1695733f30e6bf36")
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 os
from typing import Tuple, List, Optional

ARGS = {
    "output_dir": "/tmp/test_output",
    "base_filename": "results.txt",
    "iteration_dir": None,
    "iteration": 5
}
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
choose_adaptive_split Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/07_next_formulations/next_formulations.py
code served (permissive licence) · get_code("ae91965549d22db4")
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 numpy as np
import pandas as pd

# Create a small previous_batch DataFrame with the required columns
previous_batch = pd.DataFrame({
    'residual': [1.5, -2.3, 0.8, -1.2, 2.1],
    'uncertainty_previous_stage': [2.0, 2.5, 1.8, 2.2, 1.9],
})

ARGS = {
    'previous_batch': previous_batch,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
classify_peg_mw Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/01_data_parsing/parse_formulations.py
code served (permissive licence) · get_code("1d9a2a9fcc63dc81")
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 re
from typing import Dict, List, Tuple, Optional

def classify_peg_mw(text: str) -> Optional[str]:
    """
    Classify PEG molecular weight from text.
    
    Args:
        text: Text containing PEG mention (e.g., "PEG 400", "PEG-20K", "polyethylene glycol")
        
    Returns:
        Specific PEG MW name (e.g., 'peg_400', 'peg_3350', 'peg_20k'), or None if no PEG found.
        For generic 'PEG' without MW, returns 'peg_3350' (most common lab grade).
    """
    text_lower = text.lower()
    if 'peg' not in text_lower and 'polyethylene glycol' not in text_lower:
        return None
    mw_pattern = 'peg[\\s\\-]?(\\d+\\.?\\d*)\\s*([kK])?'
    match = re.search(mw_pattern, text, re.IGNORECASE)
    if match:
        mw_value = float(match.group(1))
        multiplier = match.group(2)
        if multiplier and multiplier.lower() == 'k':
            mw_da = mw_value * 1000
        else:
            mw_da = mw_value
        if mw_da <= 450:
            return 'peg_400'
        elif mw_da <= 800:
            return 'peg_600'
        elif mw_da <= 1200:
            return 'peg_1k'
        elif mw_da <= 1800:
            return 'peg_1500'
        elif mw_da <= 2500:
            return 'peg_2k'
        elif mw_da <= 4000:
            return 'peg_3350'
        elif mw_da <= 4500:
            return 'peg_4k'
        elif mw_da <= 7000:
            return 'peg_5k'
        elif mw_da <= 7500:
            return 'peg_6k'
        elif mw_da <= 9000:
            return 'peg_8k'
        elif mw_da <= 15000:
            return 'peg_10k'
        elif mw_da <= 30000:
            return 'peg_20k'
        else:
            return 'peg_35k'
    if 'peg' in text_lower or 'polyethylene glycol' in text_lower:
        return 'peg_3350'
    return None

# Setup test arguments
ARGS = {
    'text': 'PEG 400 solution'
}
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
clean_feature_name Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/06_evaluation_explainability/explainability.py
code served (permissive licence) · get_code("ed48182fa7de89b7")
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.

ARGS = {
    'name': 'learning_rate_M_pct_decay_schedule'
}
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
compute_recent_split_diagnostics Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/07_next_formulations/next_formulations.py
code served (permissive licence) · get_code("871a3dcc943b8eaf")
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 pandas as pd
import numpy as np

# Create a sample DataFrame with the required columns
# The function expects: 'residual', optionally 'uncertainty_previous_stage' or 'uncertainty_stage_model'
previous_batch = pd.DataFrame({
    'residual': [0.5, -0.3, 0.2, 0.1, -0.4],
    'uncertainty_previous_stage': [0.6, 0.4, 0.3, 0.5, 0.7]
})

ARGS = {
    'previous_batch': previous_batch
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
convert_to_molar Ran
ran, honoured the contract we drafted
baitmeister/ML-for-CryoMN/src/01_data_parsing/parse_formulations.py
code served (permissive licence) · get_code("7ca5eb1090fff71d")
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 float, 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.

import torch
import numpy as np
from typing import Dict, List, Tuple, Optional

# Set seed for reproducibility
torch.manual_seed(0)

# Setup global state that the function uses
SYNONYM_TO_CANONICAL = {
    'dmso_alt': 'dmso',
    'ethylene_glycol_alt': 'ethylene_glycol',
}

MOLECULAR_WEIGHTS = {
    'dmso': 78.13,
    'ethylene_glycol': 62.07,
    'propylene_glycol': 76.09,
    'glycerol': 92.09,
    'trehalose': 342.3,
    'sucrose': 342.3,
    'glucose': 180.16,
    'mannitol': 182.17,
    'maltose': 342.3,
    'raffinose': 504.42,
    'proline': 115.13,
    'ectoin': 142.16,
    'isoleucine': 131.17,
    'taurine': 125.15,
    'betaine': 117.15,
    'creatine': 131.13,
    'acetamide': 59.07
}

DENSITIES = {
    'dmso': 1.1,
    'ethylene_glycol': 1.11,
    'propylene_glycol': 1.036,
    'glycerol': 1.26
}

# Construct arguments for convert_to_molar function
ARGS = {
    'value': 5.0,
    'unit': 'mM',
    'ingredient': 'glucose'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
count_ingredients Ran
ran, honoured the contract we drafted
baitmeister/ML-for-CryoMN/src/03_optimization/optimize_formulation.py
code served (permissive licence) · get_code("e02536943d92a317")
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 int64, 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 a small numpy array representing ingredient concentrations
# Using distinct dimensions (5,) to clearly show the shape
x = np.array([0.5, 1e-7, 2.3, 0.0, 1.5e-5])

# Set threshold - typical value for filtering out very small concentrations
threshold = 1e-06

ARGS = {
    "x": x,
    "threshold": threshold,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int64, 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
count_nonzero Ran
ran, honoured the contract we drafted
baitmeister/ML-for-CryoMN/src/05_bo_optimization/bo_optimizer.py
code served (permissive licence) · get_code("65345cb467db4975")
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 int64, 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 a small numpy array with some non-zero and zero values
x = np.array([1.5e-5, 0.0, 2.3, -1.2e-7, 0.5, 0.0, -3.1, 1e-8])

# Define threshold
threshold = 1e-06

# Construct ARGS dict mapping all parameters
ARGS = {
    "x": x,
    "threshold": threshold
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int64, 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
create_gp_model Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/04_validation_loop/update_model_weighted_prior.py
code served (permissive licence) · get_code("78d2e910c297e132")
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 GaussianProcessRegressor. 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 numpy as np
from sklearn.gaussian_process import GaussianProcessRegressor
from sklearn.gaussian_process.kernels import Matern, WhiteKernel, ConstantKernel

torch.manual_seed(0)

ARGS = {
    "alpha": 0.1,
    "noise_level": 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GaussianProcessRegressor — a GaussianProcessRegressor output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a GaussianProcessRegressor 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
create_validation_template Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/04_validation_loop/update_model.py
code served (permissive licence) · get_code("1330023a659d9c81")
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 DataFrame. 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 pandas as pd
import tempfile
import os

# Create a temporary directory for the output file
temp_dir = tempfile.mkdtemp()
output_file = os.path.join(temp_dir, "validation_template.csv")

# Define feature names - a list of ingredient feature names
feature_names = [
    "ingredient_a_concentration",
    "ingredient_b_ph",
    "ingredient_c_temperature",
    "ingredient_d_viscosity"
]

ARGS = {
    "feature_names": feature_names,
    "output_path": output_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame 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
create_validation_template Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/04_validation_loop/update_model_weighted_prior.py
code served (permissive licence) · get_code("cbb02dc068435d7a")
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 DataFrame. 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 pandas as pd
import tempfile
import os

# Create temporary directory for output
temp_dir = tempfile.mkdtemp()
output_file = os.path.join(temp_dir, "validation_template.csv")

# Define feature names - a list of ingredient feature names
feature_names = ['ingredient_A', 'ingredient_B', 'ingredient_C', 'ingredient_D']

# Define arguments
ARGS = {
    'feature_names': feature_names,
    'output_path': output_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame 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
extract_concentration Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/01_data_parsing/parse_formulations.py
code served (permissive licence) · get_code("bb76cf41b4f60ec5")
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 re
from typing import Dict, List, Tuple, Optional

# Analyze the function to determine what arguments it needs
# extract_concentration takes:
# - text: str
# - ingredient: str

ARGS = {
    "text": "The solution contains 5.5% v/v ethanol and 2.3 M sodium chloride",
    "ingredient": "ethanol"
}
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 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
fit_standard_gp Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/04_validation_loop/update_model.py
code served (permissive licence) · get_code("eff6a6457dce63df")
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 numpy as np
from sklearn.gaussian_process import GaussianProcessRegressor
from sklearn.gaussian_process.kernels import Matern, WhiteKernel, ConstantKernel
from sklearn.preprocessing import StandardScaler

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

# Create small training data
# X_train: shape (6, 4) - 6 samples, 4 features
X_train = np.random.randn(6, 4).astype(np.float64)

# y_train: shape (6,) - 6 target values
y_train = np.random.randn(6).astype(np.float64)

ARGS = {
    "X_train": X_train,
    "y_train": y_train,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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
fit_weighted_gp Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
baitmeister/ML-for-CryoMN/src/04_validation_loop/update_model_weighted_simple.py
code served (permissive licence) · get_code("696a224b300a5b22")
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
from sklearn.gaussian_process import GaussianProcessRegressor
from sklearn.preprocessing import StandardScaler

# Create small numpy arrays with distinct dimensions
# X_orig: 5 samples, 4 features
X_orig = np.random.randn(5, 4).astype(np.float64)
y_orig = np.random.randn(5).astype(np.float64)

# X_val_train: 3 samples, 4 features (same feature dimension as X_orig)
X_val_train = np.random.randn(3, 4).astype(np.float64)
y_val_train = np.random.randn(3).astype(np.float64)

# Weight multiplier
weight_multiplier = 2

ARGS = {
    "X_orig": X_orig,
    "y_orig": y_orig,
    "X_val_train": X_val_train,
    "y_val_train": y_val_train,
    "weight_multiplier": weight_multiplier,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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
load_json Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/06_evaluation_explainability/stage_r2_predicted_vs_actual.py
code served (permissive licence) · get_code("877863db38b995d5")
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 json
import tempfile
import os

# Create a temporary JSON file for the function to load
temp_dir = tempfile.mkdtemp()
temp_json_path = os.path.join(temp_dir, "test.json")

# Create a valid JSON file
test_data = {
    "key1": "value1",
    "key2": 42,
    "key3": [1, 2, 3],
    "key4": {"nested": "object"}
}

with open(temp_json_path, 'w', encoding='utf-8') as f:
    json.dump(test_data, f)

ARGS = {
    "path": temp_json_path
}
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 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
load_parsed_data Ran
ran, honoured the contract we drafted
baitmeister/ML-for-CryoMN/src/02_model_training/train_gp_model.py
code served (permissive licence) · get_code("9923152ee675cec0")
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 DataFrame. 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 pandas as pd
import tempfile
import os

# Create a temporary CSV file with valid parsed formulation data
temp_dir = tempfile.mkdtemp()
data_path = os.path.join(temp_dir, "parsed_formulations.csv")

# Create sample data with viability_percent column
sample_data = {
    'viability_percent': [95.5, 102.0, 87.3, 100.0, 105.2, 92.1],
    'formulation_id': [1, 2, 3, 4, 5, 6],
    'component_a': [10.5, 11.2, 9.8, 10.0, 10.3, 9.9],
    'component_b': [20.1, 21.5, 19.8, 20.0, 20.5, 19.9]
}

df_temp = pd.DataFrame(sample_data)
df_temp.to_csv(data_path, index=False)

ARGS = {
    'data_path': data_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame 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
load_pickle Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/06_evaluation_explainability/stage_r2_predicted_vs_actual.py
code served (permissive licence) · get_code("2f47623c99e4355e")
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 pickle
import tempfile
import os

# Create a temporary directory for the pickle file
temp_dir = tempfile.mkdtemp()

# Create a simple object to pickle
test_data = {
    "name": "test",
    "values": [1, 2, 3, 4, 5],
    "nested": {"key": "value"}
}

# Write the pickle file
pickle_path = os.path.join(temp_dir, "test.pkl")
with open(pickle_path, 'wb') as handle:
    pickle.dump(test_data, handle)

# Define the arguments dictionary
ARGS = {
    "path": pickle_path
}
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 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
load_validation_results Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/04_validation_loop/update_model.py
code served (permissive licence) · get_code("a311d71b89642205")
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 pandas as pd
import numpy as np
import tempfile
import os

# Create a temporary CSV file with validation data
temp_dir = tempfile.mkdtemp()
validation_csv_path = os.path.join(temp_dir, "validation.csv")

# Create sample validation data
validation_data = {
    'viability_measured': [0.8, 0.6, 0.9, np.nan],
    'feature_A_M': [1.0, 2.0, 1.5, 2.5],
    'feature_B_M': [3.0, 4.0, 3.5, 4.5],
    'feature_C_M': [5.0, 6.0, 5.5, 6.5],
}

df = pd.DataFrame(validation_data)
df.to_csv(validation_csv_path, index=False)

# Define feature names that match the CSV columns
feature_names = ['feature_A_M', 'feature_B_M', 'feature_C_M']

ARGS = {
    'validation_path': validation_csv_path,
    'feature_names': feature_names,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
load_validation_results Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/04_validation_loop/update_model_weighted_prior.py
code served (permissive licence) · get_code("2de3fb7d8cd34002")
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 pandas as pd
import numpy as np
import tempfile
import os

# Create a temporary CSV file with validation data
temp_dir = tempfile.mkdtemp()
validation_csv_path = os.path.join(temp_dir, "validation.csv")

# Create sample validation data
validation_data = {
    'viability_measured': [0.85, 0.92, 0.78, 0.88],
    'feature_1_M': [1.2, 2.3, 1.5, 2.1],
    'feature_2_M': [3.4, 4.1, 3.8, 4.5],
    'feature_3_M': [5.6, 6.2, 5.9, 6.8],
}

df_validation = pd.DataFrame(validation_data)
df_validation.to_csv(validation_csv_path, index=False)

# Define feature names
feature_names = ['feature_1_M', 'feature_2_M', 'feature_3_M']

ARGS = {
    'validation_path': validation_csv_path,
    'feature_names': feature_names,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
parse_args Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/06_evaluation_explainability/explainability.py
code served (permissive licence) · get_code("1cc87fd598ae7663")
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 Namespace. 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 argparse
from typing import Dict, List, Optional, Sequence, Tuple

def parse_args(argv: Optional[Sequence[str]]=None):
    """Parse CLI arguments for explainability report generation."""
    parser = argparse.ArgumentParser(description='Generate explainability artifacts for the active CryoMN model.')
    parser.add_argument('--palette-profile', choices=('colorblind', 'legacy'), default='colorblind', help='Choose color palette profile for explainability figures.')
    return parser.parse_args(argv)


ARGS = {
    'argv': None
}
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 Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
parse_args Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/06_evaluation_explainability/stage_r2_predicted_vs_actual.py
code served (permissive licence) · get_code("446562b59a72d5b9")
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 Namespace. 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 argparse
import os
import tempfile
from typing import Optional, Sequence

# Create a temporary directory for output
temp_output_dir = tempfile.mkdtemp()

# Define ARGS dict with all parameters for parse_args
ARGS = {
    'argv': [
        '--palette-profile', 'colorblind',
        '--output-dir', temp_output_dir,
        '--evaluation-mode', 'prospective_batch'
    ]
}
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 Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
parse_timestamp Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/06_evaluation_explainability/evaluate_iterations.py
code served (permissive licence) · get_code("a7da1e5c0dae8ee6")
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 datetime. 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.

from datetime import datetime

ARGS = {
    "value": "2024-01-15T10:30:45.123456"
}
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 datetime — a datetime output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a datetime 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
parse_validation_dates Ran
ran, violated the contract we drafted
baitmeister/ML-for-CryoMN/src/04_validation_loop/compare_update_methods.py
code served (permissive licence) · get_code("74eb6f5f376e2e5e")
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 Series. 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 pandas as pd

# Create a small pandas Series with date strings in %m/%d/%y format
series_data = pd.Series([
    '01/15/23',
    '12/25/22',
    '06/30/21',
    '03/10/24'
])

ARGS = {
    'series': series_data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Series — a Series output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Series output the recorded ndim 1 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
prepare_features Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/02_model_training/train_gp_model.py
code served (permissive licence) · get_code("d493b2123d85f367")
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 pandas as pd
import numpy as np

# Create a small DataFrame with the required structure
np.random.seed(0)

# Create ingredient columns ending with _M or _pct
data = {
    'ingredient_A_M': [0.5, 0.3, 0.8, 0.2, 0.6],
    'ingredient_B_M': [0.0, 0.0, 0.0, 0.0, 0.0],  # Less than 3 non-zero
    'ingredient_C_pct': [0.1, 0.2, 0.15, 0.3, 0.25],
    'ingredient_D_pct': [0.4, 0.5, 0.45, 0.55, 0.48],
    'other_column': [1, 2, 3, 4, 5],  # Should be ignored
    'viability_percent': [75.2, 82.5, 71.3, 88.1, 79.6]
}

df = pd.DataFrame(data)

ARGS = {
    'df': df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
round_or_none Ran
ran, honoured the contract we drafted
baitmeister/ML-for-CryoMN/src/04_validation_loop/compare_update_methods.py
code served (permissive licence) · get_code("b511b445c5e0a93f")
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 float, 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.

import math
from typing import Optional
import numpy as np
import pandas as pd

ARGS = {
    "value": 3.14159,
    "digits": 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
round_or_none Ran
ran, honoured the contract we drafted
baitmeister/ML-for-CryoMN/src/07_next_formulations/next_formulations.py
code served (permissive licence) · get_code("ea4f607e50f2e6b3")
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 float, 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.

import math
from typing import Dict, Iterable, List, Optional, Sequence, Tuple
import numpy as np
import pandas as pd

def round_or_none(value: float, digits: int=4) -> Optional[float]:
    """Return a JSON-safe rounded number."""
    if value is None or pd.isna(value):
        return None
    if isinstance(value, (float, np.floating)) and (not math.isfinite(float(value))):
        return None
    return round(float(value), digits)

# Test case 1: normal float value
value_1 = 3.14159265

# Test case 2: None value
value_2 = None

# Test case 3: NaN value
value_3 = float('nan')

# Test case 4: infinity value
value_4 = float('inf')

# Test case 5: numpy float
value_5 = np.float64(2.71828)

# Test case 6: integer
value_6 = 42

# Test case 7: small float
value_7 = 0.0001

# Test case 8: negative float
value_8 = -1.23456

ARGS = {
    "value": 3.14159265,
    "digits": 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
scale_features Ran
ran; our contract draft was wrong, not the code
baitmeister/ML-for-CryoMN/src/02_model_training/train_gp_model.py
code served (permissive licence) · get_code("54a77b7a00eb3064")
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
from sklearn.preprocessing import StandardScaler

# Create small training data with distinct dimensions
X_train = np.random.randn(5, 3).astype(np.float32)  # 5 samples, 3 features

# Create small test data with same number of features but different samples
X_test = np.random.randn(2, 3).astype(np.float32)  # 2 samples, 3 features

ARGS = {
    "X_train": X_train,
    "X_test": X_test,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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
stage_from_experiment_id Ran
ran, honoured the contract we drafted
baitmeister/ML-for-CryoMN/src/04_validation_loop/compare_update_methods.py
code served (permissive licence) · get_code("5518efd0788675b7")
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 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 re
from typing import Dict, List, Optional, Sequence, Tuple

EXPERIMENT_ID_PATTERN = re.compile('(\\d+)')

def stage_from_experiment_id(experiment_id: str) -> Optional[int]:
    """Map EXP IDs to experiment stages used in this project."""
    match = EXPERIMENT_ID_PATTERN.search(str(experiment_id))
    if not match:
        return None
    value = int(match.group(1))
    if value < 1000:
        return 0
    return value // 1000

ARGS = {
    "experiment_id": "exp_5000"
}
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 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
stage_from_iteration_dir Ran
ran, honoured the contract we drafted
baitmeister/ML-for-CryoMN/src/06_evaluation_explainability/evaluate_iterations.py
code served (permissive licence) · get_code("41f78ea5c6fc98ea")
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 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 re
from typing import Dict, List, Optional, Sequence, Tuple

def stage_from_iteration_dir(iteration_dir: str) -> Optional[int]:
    """Extract the stage number from an iteration directory name."""
    match = re.search('iteration_(\\d+)', str(iteration_dir))
    if not match:
        return None
    return int(match.group(1))

# Setup code
ARGS = {
    "iteration_dir": "iteration_42"
}
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 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

Also present in other papers' code

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

Cryomicroneedles offer a route to minimally invasive intradermal delivery of living cells, but their cryogenic formulations must reconcile cell protection with constraints on toxicity and device fabrication. Here we report an AI-assisted, closed-loop workflow for cryomicroneedle cryoprotectant discovery that combines literature curation, Gaussian-process surrogate modelling, Bayesian optimization, and sequential wet-lab validation. A curated dataset of 198 mesenchymal stem-cell cryopreservation formulations from 42 studies was converted into 21 ingredient features and used to train an uncertainty-aware literature prior. This model captured moderate structure in the literature data but failed prospectively, motivating iterative wet-lab correction. Across ten validation iterations and 106 wet-lab observations, the model progressively adapted to cryomicroneedle-specific outcomes: batch RMSE decreased from 41.21 to 6.86 percentage points, later-stage rank correlations became consistently positive, and the cumulative wet-lab predicted-versus-measured summary reached R 2 = 0.942. The best validated formulation achieved 95.15% post-thaw viability with low DMSO, ectoin, ethylene glycol, and fetal bovine serum. However, high viability alone did not ensure intact cryomicroneedle formation, highlighting the need for future multi-objective optimization. These results demonstrate that agent-assisted computational infrastructure can make data-efficient formulation discovery more accessible to labs with minimal data expertise in-house. Project code is available at https://github.com/baitmeister/ML-for-CryoMN.

For agents

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

get_harvested_code_for_paper("2605.19677")
get_code_for_paper("2605.19677")
have("2605.19677")

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

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

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

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

Connect an agent — have() is free.