SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.19885 · NeurIPS · 2025

Towards Self-Supervised Foundation Models for Critical Care Time Series

Naasunnguaq Katja, Rachael Jagd, Ole Devries, Winther

arXiv · PDF · Open in the Atlas

Code that ran

21 of 24 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 18 failures of our instrument; 3 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-24; 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/2509.19885.json · badge: /api/ran/2509.19885.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
rvandewater/YAIB canonical (classifier label)
classifier basis: census
13 ran · 3 no recorded run
Katja-Jagd/YAIB canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
swish Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/imputation/diffwave.py
code served (permissive licence) · get_code("0f786c407fb1ee4c")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T22:33:52Z). 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

torch.manual_seed(0)

# The function swish takes a single parameter 'x' which is used with:
# - torch.sigmoid(x) - requires a tensor
# - x * ... - requires a tensor that supports multiplication
# So x should be a tensor

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
BO_mask Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/imputation/amputations.py
code served (permissive licence) · get_code("6e037d50ada32ff6")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# X: torch.FloatTensor of shape (n, d)
# Create a small tensor with n=2 samples and d=4 dimensions
X = torch.randn(2, 4, dtype=torch.float32)

# p: float representing proportion of missing values
# Use a value between 0 and 1
p = 0.5

ARGS = {
    "X": X,
    "p": p,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv1d_with_init Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/imputation/csdi.py
code served (permissive licence) · get_code("7340b482ffe44836")
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 Conv1d. 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 torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "in_channels": 3,
    "out_channels": 16,
    "kernel_size": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv1d — a Conv1d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv1d 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
MAR_logistic_mask Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/imputation/amputations.py
code served (permissive licence) · get_code("23a54dd969a6cc4e")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)
np.random.seed(0)

# Create a small data tensor (n=2, d=4)
# Shape: (n_samples, n_features)
X = torch.randn(2, 4, dtype=torch.float32)

# Parameters for MAR_logistic_mask
p = 0.3  # Proportion of missing values
p_obs = 0.5  # Proportion of variables with no missing values

ARGS = {
    "X": X,
    "p": p,
    "p_obs": p_obs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MCAR_mask Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/imputation/amputations.py
code served (permissive licence) · get_code("c9b8608abd0c8fda")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create a small FloatTensor with shape (n=2, d=4)
X = torch.randn(2, 4, dtype=torch.float32)

# Set proportion of missing values
p = 0.3

ARGS = {
    "X": X,
    "p": p,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calc_diffusion_hyperparams Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/imputation/diffwave.py
code served (permissive licence) · get_code("38373950dd739e60")
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

torch.manual_seed(0)

ARGS = {
    'diffusion_time_steps': 10,
    'beta_0': 0.0001,
    'beta_T': 0.02
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — 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
calc_diffusion_step_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rvandewater/YAIB/icu_benchmarks/imputation/diffwave.py
code served (permissive licence) · get_code("5e384ebd2c7aa5ca")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Parameters for calc_diffusion_step_embedding
diffusion_steps = torch.tensor([[0], [5]], dtype=torch.long)  # shape=(2, 1), batchsize=2
diffusion_step_embed_dim_in = 4  # must be even
device = 'cpu'

ARGS = {
    'diffusion_steps': diffusion_steps,
    'diffusion_step_embed_dim_in': diffusion_step_embed_dim_in,
    'device': device
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
confusion_matrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rvandewater/YAIB/icu_benchmarks/models/custom_metrics.py
code served (permissive licence) · get_code("92336a4643e58418")
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 numpy as np
from numpy import ndarray

torch.manual_seed(0)

# Create small numpy arrays for y_true and y_pred
# y_true: ground truth labels
# y_pred: predicted probabilities or values that will be rounded to integers
y_true = np.array([0, 1, 1, 0, 2, 2])
y_pred = np.array([0.1, 0.9, 1.1, 0.2, 1.8, 2.2])

# Define ARGS with all parameters
ARGS = {
    'y_true': y_true,
    'y_pred': y_pred,
    'normalize': False
}
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 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
create_optimizer Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/models/utils.py
code served (permissive licence) · get_code("24a54df4893018f7")
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 Adam. 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 torch.nn as nn
from torch.optim import Optimizer, Adam, SGD, RAdam

torch.manual_seed(0)

# Create a simple model
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = SimpleModel()

ARGS = {
    'name': 'adam',
    'model': model,
    'lr': 0.001,
    'momentum': 0.9
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Adam — a Adam output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Adam 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_run_dir Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/run_utils.py
code served (permissive licence) · get_code("a5e1412c8a01d50a")
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 PosixPath. 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
from pathlib import Path

# Create a temporary directory to use as log_dir
temp_dir = tempfile.mkdtemp()
log_dir = Path(temp_dir)

ARGS = {
    "log_dir": log_dir,
    "randomly_searched_params": "hyperparams_search_results.txt"
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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_scheduler Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rvandewater/YAIB/icu_benchmarks/models/utils.py
code served (permissive licence) · get_code("270211d5760b3ffc")
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 CosineAnnealingLR. 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 torch.nn as nn
from torch.optim import Adam

torch.manual_seed(0)

# Create a minimal model with parameters for the optimizer
class MinimalModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Build the model and optimizer
model = MinimalModel()
optimizer = Adam(model.parameters(), lr=0.001)

# Define arguments for create_scheduler
ARGS = {
    'scheduler_name': 'cosine',
    'optimizer': optimizer,
    'lr_factor': 0.1,
    'lr_steps': [10, 20],
    'epochs': 30
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CosineAnnealingLR — a CosineAnnealingLR output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CosineAnnealingLR 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
derive_obs_mask_from_sensor_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Katja-Jagd/YAIB/icu_benchmarks/fine_tuning_classification_per_timestep.py
code served (permissive licence) · get_code("990c19c698666ac3")
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 Tensor, ndim 2, dtype family float, shape (2, 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 torch

torch.manual_seed(0)

# Test case 1: sensor_mask is [B, D, T] where last dimension is time
# B=2 (batch), D=4 (sensor dimensions), T=3 (time steps)
sensor_mask_1 = torch.randint(0, 2, (2, 4, 3), dtype=torch.uint8)
label_T_1 = 3

# Test case 2: sensor_mask is [B, T, D] where middle dimension is time
# B=2 (batch), T=5 (time steps), D=4 (sensor dimensions)
sensor_mask_2 = torch.randint(0, 2, (2, 5, 4), dtype=torch.uint8)
label_T_2 = 5

# Use the first test case for ARGS
ARGS = {
    'sensor_mask': sensor_mask_1,
    'label_T': label_T_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 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
eval_constant_predictor Ran
ran, honoured the contract we drafted
Katja-Jagd/YAIB/icu_benchmarks/fine_tuning_regression_per_timestep.py
code served (permissive licence) · get_code("3141c06763955c96")
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 torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Create a minimal data loader
# Each batch is: (x, mask, label, times, static, delta, obs_mask)
batch_size = 2
seq_len = 4
feature_dim = 3
static_dim = 2

def create_batch():
    x = torch.randn(batch_size, seq_len, feature_dim)
    mask = torch.ones(batch_size, seq_len, dtype=torch.bool)
    label = torch.randn(batch_size, seq_len)
    times = torch.randn(batch_size, seq_len)
    static = torch.randn(batch_size, static_dim)
    delta = torch.randn(batch_size, seq_len)
    obs_mask = torch.ones(batch_size, seq_len, dtype=torch.bool)
    return (x, mask, label, times, static, delta, obs_mask)

# Create a simple data loader (list of batches)
loader = [create_batch(), create_batch()]

# Device (CPU only)
device = 'cpu'

# Constant value for the predictor
constant_value = 0.5

# Loss function - MSELoss
loss_fn = nn.MSELoss()

ARGS = {
    'loader': loader,
    'device': device,
    'constant_value': constant_value,
    'loss_fn': loss_fn
}
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 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
fmt Ran
ran; our contract draft was wrong, not the code
Katja-Jagd/YAIB/finetuning_results/pretrained_BAT/summarize_results.py
code served (permissive licence) · get_code("ff33ca62f52a82c6")
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 statistics

# The function fmt takes two parameters:
# 1. values - used in statistics.fmean(values), statistics.stdev(values), and len(values)
# 2. ndigits - used in round(mean, ndigits) and round(sd, ndigits)

# values should be a sequence of numbers
# ndigits should be an integer

ARGS = {
    'values': [1.5, 2.3, 3.7, 4.2, 5.1],
    'ndigits': 6
}
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
get_config_files Ran
ran, honoured the contract we drafted
rvandewater/YAIB/icu_benchmarks/run_utils.py
code served (permissive licence) · get_code("20a234617c6040ca")
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 2, 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 tempfile
from pathlib import Path
import logging

# Set up logging
logging.basicConfig(level=logging.INFO)

# Create a temporary directory structure with config files
with tempfile.TemporaryDirectory() as tmpdir:
    config_dir = Path(tmpdir)
    
    # Create tasks directory with some config files
    tasks_dir = config_dir / 'tasks'
    tasks_dir.mkdir(parents=True, exist_ok=True)
    (tasks_dir / 'task1.gin').touch()
    (tasks_dir / 'task2.gin').touch()
    (tasks_dir / 'common.gin').touch()
    
    # Create prediction_models directory with some config files
    models_dir = config_dir / 'prediction_models'
    models_dir.mkdir(parents=True, exist_ok=True)
    (models_dir / 'model1.gin').touch()
    (models_dir / 'model2.gin').touch()
    (models_dir / 'common.gin').touch()
    
    # Define ARGS dict
    ARGS = {
        'config_dir': config_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 tuple, ndim 2, 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
get_torch_trans Ran
ran; our contract draft was wrong, not the code
rvandewater/YAIB/icu_benchmarks/imputation/csdi.py
code served (permissive licence) · get_code("e706793d7d22ae44")
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 TransformerEncoder. 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 torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "heads": 8,
    "layers": 1,
    "channels": 64,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TransformerEncoder — a TransformerEncoder output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a TransformerEncoder 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_subset Ran
ran; our contract draft was wrong, not the code
Katja-Jagd/YAIB/icu_benchmarks/fine_tuning_utils.py
code served (permissive licence) · get_code("8b5606c569acf0f3")
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 tempfile
from pathlib import Path
import polars as pl

# Create a temporary directory structure with valid parquet files
temp_dir = tempfile.mkdtemp()
subset_root = temp_dir

task = "classification"
dataset = "iris"
size = 100
seed = 42

# Create the expected directory structure
path = Path(subset_root) / task / dataset / f'{size}_{seed}'
path.mkdir(parents=True, exist_ok=True)

# Create minimal valid parquet files for each split
for split in ['train', 'val', 'test']:
    # Create outcome dataframe
    outcome_df = pl.DataFrame({
        'target': [0, 1, 0, 1, 1]
    })
    outcome_path = path / f'{split}_OUTCOME.parquet'
    outcome_df.write_parquet(outcome_path)
    
    # Create features dataframe
    features_df = pl.DataFrame({
        'feature_1': [1.0, 2.0, 3.0, 4.0, 5.0],
        'feature_2': [0.1, 0.2, 0.3, 0.4, 0.5],
        'feature_3': [10, 20, 30, 40, 50]
    })
    features_path = path / f'{split}_FEATURES.parquet'
    features_df.write_parquet(features_path)

ARGS = {
    'dataset': dataset,
    'task': task,
    'size': size,
    'seed': seed,
    'subset_root': subset_root
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
polars — 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_subset_as_data_dict Ran
ran; our contract draft was wrong, not the code
Katja-Jagd/YAIB/icu_benchmarks/fine_tuning_utils.py
code served (permissive licence) · get_code("70accb30753b78c5")
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 tempfile
from pathlib import Path
import polars as pl

# Create a temporary directory structure with the expected parquet files
temp_dir = tempfile.TemporaryDirectory()
base_dir = Path(temp_dir.name)

# Create small DataFrames for each split and file type
for split in ['train', 'val', 'test']:
    # Create OUTCOME dataframe
    outcome_df = pl.DataFrame({
        'id': [1, 2, 3],
        'outcome': [0, 1, 0]
    })
    outcome_path = base_dir / f'{split}_OUTCOME.parquet'
    outcome_df.write_parquet(outcome_path)
    
    # Create FEATURES dataframe
    features_df = pl.DataFrame({
        'id': [1, 2, 3],
        'feature_1': [0.1, 0.2, 0.3],
        'feature_2': [1.0, 2.0, 3.0]
    })
    features_path = base_dir / f'{split}_FEATURES.parquet'
    features_df.write_parquet(features_path)

ARGS = {
    'base_dir': base_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
polars — 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
maybe_extract_obs_mask Ran
ran, violated the contract we drafted
Katja-Jagd/YAIB/icu_benchmarks/fine_tuning_classification_per_timestep.py
code served (permissive licence) · get_code("99e5e558884ea88c")
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 Tensor, ndim 2, dtype family float, shape (2, 5) 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

torch.manual_seed(0)

# Parameters for maybe_extract_obs_mask
label_T = 5
device = torch.device('cpu')

# Construct rest list with various tensors
# Include a bool tensor with correct shape to be detected as obs_mask
obs_mask_tensor = torch.tensor([[True, False, True, False, True],
                                 [False, True, False, True, False]], dtype=torch.bool)

# Include some other tensors that should not be selected
float_tensor = torch.randn(2, 4)
uint8_tensor = torch.tensor([[1, 0, 1, 0, 1],
                              [0, 1, 0, 1, 0]], dtype=torch.uint8)
wrong_shape_bool = torch.tensor([[True, False], [False, True]], dtype=torch.bool)

rest = [
    float_tensor,
    wrong_shape_bool,
    obs_mask_tensor,
    uint8_tensor,
]

ARGS = {
    'rest': rest,
    'label_T': label_T,
    'device': device,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 5) — shape (2, 5) 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
parse_log_file Ran
ran; our contract draft was wrong, not the code
Katja-Jagd/YAIB/finetuning_results/extract_results_out_file.py
code served (permissive licence) · get_code("71f1f25db46d6880")
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, 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 tempfile
import os

# Create a temporary log file with content matching what parse_log_file expects
temp_dir = tempfile.mkdtemp()
temp_filepath = os.path.join(temp_dir, 'test_log.out')

log_content = """Some initial content
🔍 Subsetting training data to 100 samples (seed=42)
Some metrics here
test/AUC                 │  0.8523
test/PR                  │  0.7654
test/loss                │  0.4321
More content

🔍 Subsetting training data to 500 samples (seed=123)
test/AUC                 │  0.9012
test/PR                  │  0.8765
test/loss                │  0.3210
Final results

🔍 Subsetting training data to 1000 samples (seed=456)
test/AUC                 │  9.1234e-01
test/PR                  │  8.9012e-01
test/loss                │  2.1e-01
Done
"""

with open(temp_filepath, 'w') as f:
    f.write(log_content)

ARGS = {
    'filepath': temp_filepath
}
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, ndim 1, dtype family float — a list 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
state_dict_transfer_report Ran
ran; our contract draft was wrong, not the code
Katja-Jagd/YAIB/icu_benchmarks/fine_tuning_regression_per_timestep.py
code served (permissive licence) · get_code("0c1ba10d581571e0")
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 torch.nn as nn

torch.manual_seed(0)

# Create a simple model with a few parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

# Create a loaded_state dict that has:
# - Some matching keys with correct shapes
# - Some unexpected keys (in loaded_state but not in model)
# - Some missing keys (in model but not in loaded_state)
loaded_state = {
    'linear1.weight': torch.randn(3, 4),  # matches model
    'linear1.bias': torch.randn(3),        # matches model
    'linear2.weight': torch.randn(2, 3),  # matches model
    # linear2.bias is missing from loaded_state
    'unexpected_key': torch.randn(5),      # not in model
    'another_unexpected': torch.randn(2, 2),  # not in model
}

ARGS = {
    'model': model,
    'loaded_state': loaded_state,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — 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
accuracy Not yet run
unverified (harvested, no recorded run)
rvandewater/YAIB/icu_benchmarks/models/custom_metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from boone891214/MEST, is pointer only (licence: NONE) · get_code("913d82af53065418")
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 boone891214/MEST, 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. No invocation recorded.

apply_wandb_sweep Not yet run
unverified (harvested, no recorded run)
rvandewater/YAIB/icu_benchmarks/wandb_utils.py
code served (permissive licence) · get_code("0741c6a2d1c22012")
How it ran

no invocation recorded.

load_pretrained_imputation_model Not yet run
unverified (harvested, no recorded run)
rvandewater/YAIB/icu_benchmarks/run_utils.py
code served (permissive licence) · get_code("c3894948f22f015a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 24 distinct functions with an identity, 16 are also present in other papers whose code we hold (16 with at least one paper dated earlier, 0 the same month, 1 later) and 8 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
swish 206 other papers
194 dated earlier, 10 later, 2 same year, order not determinable · 44 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1805.12114 (2018-05)
Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models
1809.01357 (2018-09)
Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference
and 203 more not named here
accuracy 80 other papers
80 dated earlier
1307.0414 (2013-07)
Challenges in Representation Learning: A report on three machine learning contests
1412.6553 (2014-12)
Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decomposition
1503.02531 (2015-03)
Distilling the Knowledge in a Neural Network
and 77 more not named here
Conv1d_with_init 6 other papers
6 dated earlier
2107.03502 (2021-07)
CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputation
2202.08516 (2022-02)
SAITS: Self-Attention-based Imputation for Time Series
2210.17128 (2022-10)
Diffusion models for missing value imputation in tabular data
and 3 more not named here
get_torch_trans 6 other papers
6 dated earlier
2107.03502 (2021-07)
CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputation
2202.08516 (2022-02)
SAITS: Self-Attention-based Imputation for Time Series
2210.17128 (2022-10)
Diffusion models for missing value imputation in tabular data
and 3 more not named here
BO_mask 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
MAR_logistic_mask 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
MCAR_mask 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
apply_wandb_sweep 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
calc_diffusion_hyperparams 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
calc_diffusion_step_embedding 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
confusion_matrix 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
create_optimizer 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
create_run_dir 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
create_scheduler 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
get_config_files 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
load_pretrained_imputation_model 1 other paper
1 dated earlier
2306.05109 (2023-06)
Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML

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-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Domain-specific foundation models for healthcare have expanded rapidly in recent years, yet foundation models for critical care time series remain relatively underexplored due to the limited size and availability of datasets. In this work, we introduce an early-stage pre-trained foundation model for critical care time-series based on the Bi-Axial Transformer (BAT), trained on pooled electronic health record datasets. We demonstrate effective transfer learning by fine-tuning the model on a dataset distinct from the training sources for mortality prediction, where it outperforms supervised baselines, particularly for small datasets (< 5, 000). These contributions highlight the potential of self-supervised foundation models for critical care times series to support generalizable and robust clinical applications in resource-limited settings.

For agents

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

get_harvested_code_for_paper("2509.19885")
get_code_for_paper("2509.19885")
have("2509.19885")

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

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

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

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

Connect an agent — have() is free.