SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2207.00050 · 2022

Semantic Image Synthesis via Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

28 of 32 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 13 have no contract verdict; 12 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2207.00050.json · badge: /api/ran/2207.00050.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
weilunwang/semantic-diffusion-model canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
marinadominguez/diffusion-for-us-images community (classifier label)
classifier basis not recorded on the link
19 ran · 4 no recorded run
david-stojanovski/echo_from_noise community (classifier label)
classifier basis: plan_row
7 ran · 0 no recorded run
FunctionStatusWhere it lives
approx_standard_normal_cdf Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cfd76fd0d89574a4")
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 quandao10/slct, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

batch_mean_and_sd Ran
ran on a synthesized input
david-stojanovski/echo_from_noise/echo_segmentations/utils/dataset_analyzer.py
code served (permissive licence) · get_code("1c1c390e2ea5518c")
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 torch

torch.manual_seed(0)

# Create a simple data loader as a list of (images, labels) tuples
# The function expects images with shape (batch, channels, height, width)
# For 3-channel images (RGB), we need c=3
batch_size = 2
channels = 3
height = 4
width = 5

# Create a few batches of dummy image data
loader = []
for _ in range(3):
    images = torch.randn(batch_size, channels, height, width)
    labels = torch.randint(0, 10, (batch_size,))
    loader.append((images, labels))

ARGS = {
    "loader": loader
}
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 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
betas_for_alpha_bar Ran
ran, honoured the contract we drafted
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/gaussian_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from NVlabs/DiffPure, is pointer only (licence: NOASSERTION) · get_code("2ab2316ac6fdd869")
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 NVlabs/DiffPure, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calc_epoch_dice_per_label Ran
ran on a synthesized input
david-stojanovski/echo_from_noise/echo_segmentations/utils/epoch_cycle.py
code served (permissive licence) · get_code("0dea2685bc9a0c8e")
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 ndarray, ndim 1, dtype family float, shape (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 numpy as np
import torch

torch.manual_seed(0)

# Construct batch_dice as a list of tensors
# The function expects batch_dice to be stackable and squeezable
# For 'mean': np.squeeze(batch_dice), axis=0 suggests shape (batch, num_labels)
# For 'std': torch.stack(batch_dice) suggests a list of tensors to stack

batch_size = 2
num_labels = 4

# Create batch_dice as a list of small tensors
batch_dice = [
    torch.tensor([[0.85, 0.90, 0.88, 0.92]], dtype=torch.float32),
    torch.tensor([[0.87, 0.89, 0.91, 0.86]], dtype=torch.float32)
]

# Alternative: batch_dice could also be a numpy array
# For the 'mean' case, we need np.squeeze to work on it
batch_dice_np = np.array([
    [0.85, 0.90, 0.88, 0.92],
    [0.87, 0.89, 0.91, 0.86]
], dtype=np.float32)

ARGS = {
    'batch_dice': batch_dice_np,
    'funct_type': 'mean'
}
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 ndarray, ndim 1, dtype family float, shape (4,) — shape (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
center_crop_arr Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/image_datasets.py
code served (permissive licence) · get_code("f2f282fccca577a4")
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 PIL import Image

# Create small PIL images for testing
# pil_image: the main image to be cropped
pil_image = Image.new('RGB', (256, 256), color='red')

# pil_class: class segmentation map
pil_class = Image.new('L', (256, 256), color=1)

# pil_instance: instance segmentation map (can be None)
pil_instance = Image.new('L', (256, 256), color=2)

# Construct the pil_list tuple
pil_list = (pil_image, pil_class, pil_instance)

# Define image_size parameter
image_size = 64

# Create the arguments dictionary
ARGS = {
    'pil_list': pil_list,
    'image_size': image_size
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
discretized_gaussian_log_likelihood Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cd33283d615fb3d7")
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 quandao10/slct, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_combined_imgs Ran
ran on a synthesized input
david-stojanovski/echo_from_noise/semantic_diffusion_model/image_sample.py
code served (permissive licence) · get_code("32e0ce60e5e4a76a")
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 ndarray, ndim 3, dtype family int, shape (32, 12, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small test images with shape (height, width, channels)
# Using distinct dimensions for easy shape probing

height, width = 8, 12

# src_in_img: normalized image (values in [0, 1])
src_in_img = np.random.rand(height, width, 3).astype(np.float32)

# label_in_img: label map with shape (height, width, 1)
# Contains integer labels (0 is background)
label_in_img = np.random.randint(0, 4, size=(height, width, 1)).astype(np.float32)
label_in_img[0:2, 0:2, 0] = 0  # Ensure some background (bg_label=0)

# inference_in_img: inference output image (height, width, 3), values in [0, 255]
inference_in_img = np.random.randint(0, 256, size=(height, width, 3)).astype(np.uint8)

ARGS = {
    "src_in_img": src_in_img,
    "label_in_img": label_in_img,
    "inference_in_img": inference_in_img,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (32, 12, 3) — shape (32, 12, 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
generate_combined_imgs Ran
ran on a synthesized input
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/image_sample.py
code served (permissive licence) · get_code("be07736fcb3c8e08")
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 ndarray, ndim 3, dtype family int, shape (16, 5, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small test images with the expected shapes and value ranges
# The function expects 3-channel images (height, width, 3)

# src_in_img: normalized image (values in [0, 1])
src_in_img = np.random.rand(4, 5, 3).astype(np.float32)

# label_in_img: label image with arbitrary values that will be normalized
label_in_img = np.random.rand(4, 5, 3).astype(np.float32) * 100

# inference_in_img: uint8 image (0-255 range)
inference_in_img = np.random.randint(0, 256, size=(4, 5, 3), dtype=np.uint8)

ARGS = {
    'src_in_img': src_in_img,
    'label_in_img': label_in_img,
    'inference_in_img': inference_in_img,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (16, 5, 3) — shape (16, 5, 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
generate_save_path Ran
ran on a synthesized input
david-stojanovski/echo_from_noise/data_preparation/extract_camus_data.py
code served (permissive licence) · get_code("229f00686cd1f4e4")
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
import tempfile

ARGS = {
    'save_folder_path': tempfile.gettempdir(),
    'folder_type': 'images',
    'save_patient_name': 'patient_001',
    'save_selected_view_name': 'view_frontal',
    'save_train_test_type': 'train'
}
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_edges Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
weilunwang/semantic-diffusion-model/image_sample.py
pointer only (licence: NONE) · get_code("a1a99e2092dd2b01")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weilunwang/semantic-diffusion-model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_eval_loader Ran
ran on a synthesized input
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/evaluations/default_dataset.py
code served (permissive licence) · get_code("3ca9f515edac9150")
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 DataLoader. 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
import tempfile
from PIL import Image
import torch
import numpy as np
from torchvision import transforms
from torch.utils import data

# Create a temporary directory with fake image files
temp_dir = tempfile.mkdtemp()

# Create a few dummy image files
for i in range(3):
    img_array = np.random.randint(0, 256, (64, 64, 3), dtype=np.uint8)
    img = Image.fromarray(img_array, 'RGB')
    img.save(os.path.join(temp_dir, f'image_{i}.jpg'))

# Create a test_list file
test_list_path = os.path.join(temp_dir, 'test_list.txt')
with open(test_list_path, 'w') as f:
    f.write('image_0\n')
    f.write('image_1\n')

ARGS = {
    'root': temp_dir,
    'img_size': 256,
    'batch_size': 2,
    'imagenet_normalize': True,
    'shuffle': False,
    'num_workers': 0,
    'drop_last': False,
    'return_path': False,
    'test_list': test_list_path,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataLoader — a DataLoader output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataLoader 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_named_beta_schedule Ran
ran on a synthesized input
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/gaussian_diffusion.py
code served (permissive licence) · get_code("3b613b68a06ca387")
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 ndarray, ndim 1, dtype family float, shape (100,) 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
import numpy as np

# Set up arguments for get_named_beta_schedule
ARGS = {
    'schedule_name': 'cosine',
    'num_diffusion_timesteps': 100
}
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 ndarray, ndim 1, dtype family float, shape (100,) — shape (100,) 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
get_named_bmap_schedule Ran
ran on a synthesized input
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/gaussian_diffusion.py
code served (permissive licence) · get_code("360c5a2ff3c23cfe")
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 ndarray, ndim 1, dtype family float, shape (100,) 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
import numpy as np

ARGS = {
    'b_map_scheduler_type': 'linear',
    'num_diffusion_timesteps': 100,
    'add_buffer': False,
}
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 ndarray, ndim 1, dtype family float, shape (100,) — shape (100,) 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
get_param_groups_and_shapes Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e41367ad14ff58fd")
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 ZhendongWang6/DIRE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_master_params Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e20dd5102da3b050")
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 ZhendongWang6/DIRE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_output_format Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/logger.py
code served (permissive licence) · get_code("64dfda52a70e9d95")
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 JSONOutputFormat. 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 sys
import tempfile
import os

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

ARGS = {
    'format': 'json',
    'ev_dir': temp_dir,
    'log_suffix': '_test'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type JSONOutputFormat — a JSONOutputFormat output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a JSONOutputFormat 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
mpi_weighted_mean Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/logger.py
pointer only (licence: MIT); the stored copy get_code serves, from HeadLiuYun/NeuroDiff, is pointer only (licence: NONE) · get_code("e515a67f7f32e76d")
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 HeadLiuYun/NeuroDiff, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normal_kl Ran
ran, honoured the contract we drafted
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from facebookresearch/agrol, is pointer only (licence: NOASSERTION) · get_code("cf2798b666b231ca")
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 facebookresearch/agrol, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize Ran
ran on a synthesized input
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/evaluations/lpips.py
code served (permissive licence) · get_code("0577f262ab8bb1d6")
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)

# Create a small tensor with shape (batch_size=2, features=4)
# The function normalizes each sample in the batch along dimension 1
x = torch.randn(2, 4)

ARGS = {
    "x": x,
    "eps": 1e-10
}
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
og_generate_combined_imgs Ran
ran on a synthesized input
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/image_sample.py
code served (permissive licence) · get_code("b1b789ea29c3974d")
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 ndarray, ndim 3, dtype family int, shape (32, 6, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small test images with the expected shapes and value ranges
# The function expects images with shape (height, width, channels)
# and values in the range [0, 1] for src_in_img and inference_in_img,
# and shape (height, width, 1) for label_in_img with integer labels

height, width = 8, 6

# src_in_img: float image with values in [0, 1]
src_in_img = np.random.rand(height, width, 3).astype(np.float32)

# label_in_img: integer label map with shape (height, width, 1)
label_in_img = np.array([
    [[0, 1, 1, 2, 2, 0],
     [0, 1, 1, 2, 2, 0],
     [1, 1, 1, 2, 2, 1],
     [1, 1, 1, 2, 2, 1],
     [0, 0, 2, 2, 0, 0],
     [0, 0, 2, 2, 0, 0],
     [1, 2, 2, 0, 0, 1],
     [1, 2, 2, 0, 0, 1]]
]).transpose(1, 2, 0).astype(np.uint8)

# inference_in_img: float image with values in [0, 1]
inference_in_img = np.random.rand(height, width, 3).astype(np.float32)

ARGS = {
    'src_in_img': src_in_img,
    'label_in_img': label_in_img,
    'inference_in_img': inference_in_img,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (32, 6, 3) — shape (32, 6, 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
postprocess_tensor Ran
ran on a synthesized input
david-stojanovski/echo_from_noise/data_preparation/augment_camus_labels.py
code served (permissive licence) · get_code("e66128d1ffdca21f")
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 Image. 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 torchvision.transforms as transforms

torch.manual_seed(0)

# The function expects in_tensor to be indexable (in_tensor[0])
# and in_tensor[0] should be a valid tensor for ToPILImage
# ToPILImage expects a tensor with shape (C, H, W) or (H, W)
# We'll create a batch of 2 images with 3 channels, height 4, width 3

in_tensor = torch.randint(0, 256, (2, 3, 4, 3), dtype=torch.uint8)

ARGS = {
    "in_tensor": in_tensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
preprocess_input Ran
ran; our contract draft was wrong, not the code
weilunwang/semantic-diffusion-model/image_sample.py
pointer only (licence: NONE) · get_code("37c0096a424e9da1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weilunwang/semantic-diffusion-model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

random_crop_and_resize_image_label Ran
ran on a synthesized input
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/image_datasets.py
code served (permissive licence) · get_code("b0c33fed3d14e394")
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 random
from PIL import Image
import numpy as np

random.seed(0)

# Create a simple test image (RGB, 100x80 pixels)
image_array = np.random.randint(0, 256, (80, 100, 3), dtype=np.uint8)
image = Image.fromarray(image_array, mode='RGB')

# Create a simple test label (grayscale, 100x80 pixels)
label_array = np.random.randint(0, 10, (80, 100), dtype=np.uint8)
label = Image.fromarray(label_array, mode='L')

ARGS = {
    'image': image,
    'label': label,
    'resize_to': (120, 96)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
resize_arr Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/image_datasets.py
code served (permissive licence) · get_code("5a02646b45207d08")
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 PIL import Image

# Create small PIL images for testing
# Main image: RGB image
pil_image = Image.new('RGB', (256, 256), color=(100, 150, 200))

# Class segmentation map (single channel)
pil_class = Image.new('L', (256, 256), color=1)

# Instance segmentation map (single channel, can be None)
pil_instance = Image.new('L', (256, 256), color=2)

# Bundle them into a list
pil_list = [pil_image, pil_class, pil_instance]

# Define image size for resizing
image_size = 64

# Define keep_aspect flag
keep_aspect = True

ARGS = {
    'pil_list': pil_list,
    'image_size': image_size,
    'keep_aspect': keep_aspect
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
str2bool Ran
ran, violated the contract we drafted
david-stojanovski/echo_from_noise/semantic_diffusion_model/image_sample.py
code served (permissive licence) · get_code("7c508037b40522af")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import argparse

def str2bool(v):
    if isinstance(v, bool):
        return v
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

# Test cases for str2bool
ARGS = {
    'v': 'true'  # string input that should convert to boolean
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
subsample_segmentation Ran
ran on a synthesized input
david-stojanovski/echo_from_noise/data_preparation/extract_camus_data.py
code served (permissive licence) · get_code("c6c3fe3c7e93b6c9")
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 ndarray, ndim 2, dtype family int, shape (4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small 2D segmentation mask (like a binary segmentation output)
# Using distinct dimensions: 8x6 input, resampling to 4x3
in_data = np.array([
    [0, 1, 0, 1, 0, 1],
    [1, 0, 1, 0, 1, 0],
    [0, 1, 0, 1, 0, 1],
    [1, 0, 1, 0, 1, 0],
    [0, 1, 0, 1, 0, 1],
    [1, 0, 1, 0, 1, 0],
    [0, 1, 0, 1, 0, 1],
    [1, 0, 1, 0, 1, 0],
], dtype=np.int32)

dim_size = [4, 3]

ARGS = {
    "in_data": in_data,
    "dim_size": dim_size,
}
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 ndarray, ndim 2, dtype family int, shape (4, 3) — shape (4, 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
unflatten_master_params Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("64fff1e30802b815")
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 ZhendongWang6/DIRE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

zero_module Ran
ran; our contract draft was wrong, not the code
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/nn.py
code served (permissive licence) · get_code("129b804760b3115f")
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 SimpleModule. 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 module with some parameters
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.conv = nn.Conv1d(2, 2, 3)
    
    def forward(self, x):
        return x

module = SimpleModule()

# Verify the module has non-zero parameters before zeroing
for p in module.parameters():
    assert p.abs().sum() > 0, "Parameters should be non-zero initially"

ARGS = {
    "module": module
}
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 SimpleModule — a SimpleModule output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModule 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
avg_pool_nd Not yet run
unverified (harvested, no recorded run)
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/nn.py
code served (permissive licence) · get_code("ecd0fc28815b65ae")
How it ran

no invocation recorded.

calculate_lpips_given_images Not yet run
unverified (harvested, no recorded run)
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/evaluations/lpips.py
code served (permissive licence) · get_code("a95e5e989a7a2519")
How it ran

no invocation recorded.

conv_nd Not yet run
unverified (harvested, no recorded run)
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/nn.py
code served (permissive licence) · get_code("fe4eb545bbb728e0")
How it ran

no invocation recorded.

profile Not yet run
unverified (harvested, no recorded run)
marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/logger.py
code served (permissive licence) · get_code("4207797329fb941e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 32 samples lifted from this paper's linked repositories, 32 carry a function identity and 0 do not. Of the 32 distinct functions with an identity, 19 are also present in other papers whose code we hold (16 with at least one paper dated earlier, 2 the same month, 17 later) and 13 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
zero_module 196 other papers
15 dated earlier, 181 later · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
str2bool 175 other papers
52 dated earlier, 1 the same month, 120 later, 2 same year, order not determinable · 2 only as an assembly brick
1406.6247 (2014-06)
Recurrent Models of Visual Attention
1603.09382 (2016-03)
Deep Networks with Stochastic Depth
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
and 172 more not named here
normal_kl 160 other papers
16 dated earlier, 144 later · 19 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 157 more not named here
approx_standard_normal_cdf 154 other papers
16 dated earlier, 138 later · 17 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 151 more not named here
discretized_gaussian_log_likelihood 128 other papers
16 dated earlier, 112 later · 16 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 125 more not named here
conv_nd 121 other papers
13 dated earlier, 108 later · 32 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 118 more not named here
avg_pool_nd 113 other papers
14 dated earlier, 99 later · 31 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
and 110 more not named here
betas_for_alpha_bar 92 other papers
14 dated earlier, 2 the same month, 76 later · 3 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2102.09672 (2021-02)
Improved Denoising Diffusion Probabilistic Models
and 89 more not named here
make_output_format 73 other papers
28 dated earlier, 45 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
and 70 more not named here
unflatten_master_params 72 other papers
7 dated earlier, 65 later
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 69 more not named here
make_master_params 70 other papers
7 dated earlier, 63 later
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 67 more not named here
get_param_groups_and_shapes 68 other papers
7 dated earlier, 61 later
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 65 more not named here
profile 61 other papers
15 dated earlier, 46 later
1611.05763 (2016-11)
Learning to reinforcement learn
1905.06750 (2019-05)
Random Expert Distillation: Imitation Learning via Expert Policy Support Estimation
1906.05841 (2019-06)
Deep Reinforcement Learning for Industrial Insertion Tasks with Visual Inputs and Natural Rewards
and 58 more not named here
mpi_weighted_mean 52 other papers
9 dated earlier, 43 later
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
and 49 more not named here
calculate_lpips_given_images 1 other paper
1 dated earlier
2203.09301 (2022-03)
One-Shot Adaptation of GAN in Just One CLIP
center_crop_arr 1 other paper
1 later
2306.04321 (2023-06)
Generative Semantic Communication: Diffusion Models Beyond Bit Recovery
get_edges 1 other paper
1 later
2306.04321 (2023-06)
Generative Semantic Communication: Diffusion Models Beyond Bit Recovery
normalize 1 other paper
1 dated earlier
2203.09301 (2022-03)
One-Shot Adaptation of GAN in Just One CLIP
resize_arr 1 other paper
1 later
2306.04321 (2023-06)
Generative Semantic Communication: Diffusion Models Beyond Bit Recovery

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

Denoising Diffusion Probabilistic Models (DDPMs) have achieved remarkable success in various image generation tasks compared with Generative Adversarial Nets (GANs). Recent work on semantic image synthesis mainly follows the de facto GAN-based approaches, which may lead to unsatisfactory quality or diversity of generated images. In this paper, we propose a novel framework based on DDPM for semantic image synthesis. Unlike previous conditional diffusion model directly feeds the semantic layout and noisy image as input to a U-Net structure, which may not fully leverage the information in the input semantic mask, our framework processes semantic layout and noisy image differently. It feeds noisy image to the encoder of the U-Net structure while the semantic layout to the decoder by multi-layer spatially-adaptive normalization operators. To further improve the generation quality and semantic interpretability in semantic image synthesis, we introduce the classifier-free guidance sampling strategy, which acknowledge the scores of an unconditional model for sampling process. Extensive experiments on four benchmark datasets demonstrate the effectiveness of our proposed method, achieving state-of-the-art performance in terms of fidelity (FID) and diversity (LPIPS). Our code and pretrained models are available at https://github.com/WeilunWang/semantic-diffusion-model.

For agents

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

get_harvested_code_for_paper("2207.00050")
get_code_for_paper("2207.00050")
have("2207.00050")

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

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

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

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

Connect an agent — have() is free.