SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.20047 · NeurIPS · 2024

ResAD: A Simple Framework for Class Generalizable Anomaly Detection

Chao Gao, Guangtao Zhai, Xincheng Yao, Zixin Chen, Chongyang Zhang

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 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, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 2 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/2410.20047.json · badge: /api/ran/2410.20047.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
xcyao00/resad canonical (classifier label)
classifier basis not recorded on the link
9 ran · 2 no recorded run
FunctionStatusWhere it lives
get_logp_a Ran
ran; our contract draft was wrong, not the code
xcyao00/resad/losses/utils.py
code served (permissive licence) · get_code("4864e6c6c42523f8")
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 1, dtype family float, shape (2,) 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)

# Analyze the function:
# - C: used in multiplication and division (scalar or tensor)
# - z: used in torch.sum((z - 1) ** 2, 1), so needs shape (batch, features)
# - logdet_J: used in addition, same shape as logp

# C should be a scalar (int or float) or a 1D tensor
C = 4

# z should be a 2D tensor with shape (batch_size, num_features)
# Using batch=2, num_features=4
z = torch.randn(2, 4)

# logdet_J should have shape (batch_size,) to broadcast properly with logp
logdet_J = torch.randn(2)

ARGS = {
    "C": C,
    "z": z,
    "logdet_J": logdet_J,
}
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 1, dtype family float, shape (2,) — shape (2,) 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_logp_boundary Ran
ran; our contract draft was wrong, not the code
xcyao00/resad/losses/loss.py
code served (permissive licence) · get_code("6871690b7d7c52ca")
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

torch.manual_seed(0)

# Create sample data
# logps: shape (N,) - log-likelihoods
# mask: shape (N,) - 0 for normal, 1 for abnormal
N = 10
logps = torch.randn(N) * 2 - 1  # random log-likelihoods
mask = torch.zeros(N)
mask[7:] = 1  # mark last 3 as abnormal, rest as normal

ARGS = {
    "logps": logps,
    "mask": mask,
    "pos_beta": 0.05,
    "margin_tau": 0.1,
    "normalizer": 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 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
get_normal_boundary Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xcyao00/resad/losses/utils.py
code served (permissive licence) · get_code("97bb30729343aee3")
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 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create sample data
# logps: log-likelihoods, shape (N,)
# We need at least a few samples to make the sorting and indexing meaningful
logps = torch.randn(10)

# mask: 0 for normal, 1 for abnormal, shape (N,)
# Create a mask where some samples are normal (0) and some are abnormal (1)
mask = torch.tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1])

# pos_beta: position hyperparameter, a float value
pos_beta = 0.05

ARGS = {
    "logps": logps,
    "mask": mask,
    "pos_beta": pos_beta
}
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 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
get_position_encoding Ran
ran, honoured the contract we drafted
xcyao00/resad/models/modules.py
code served (permissive licence) · get_code("5461edac0e02cae6")
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 3, dtype family float, shape (8, 3, 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 math
import torch

torch.manual_seed(0)

# Construct arguments for get_position_encoding
# The function takes:
# D: dimension of the model (must be divisible by 4)
# H: height of the positions
# W: width of the positions

ARGS = {
    "D": 8,      # dimension, divisible by 4
    "H": 3,      # height
    "W": 4,      # width
}
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 3, dtype family float, shape (8, 3, 4) — shape (8, 3, 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
load_and_transform_vision_data Ran
ran, honoured the contract we drafted
xcyao00/resad/main_ib.py
code served (permissive licence) · get_code("5697b41685ddd400")
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 4, dtype family float, shape (2, 3, 224, 224) 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 torchvision.transforms as T
from PIL import Image
import io

torch.manual_seed(0)

# Create a small valid RGB image in memory
def create_dummy_image():
    img = Image.new('RGB', (224, 224), color=(73, 109, 137))
    return img

# Create temporary image files in memory using BytesIO
image_bytes_1 = io.BytesIO()
img1 = create_dummy_image()
img1.save(image_bytes_1, format='PNG')
image_bytes_1.seek(0)

image_bytes_2 = io.BytesIO()
img2 = create_dummy_image()
img2.save(image_bytes_2, format='PNG')
image_bytes_2.seek(0)

# Create a simple wrapper class that acts like a file path
class DummyImagePath:
    def __init__(self, image_bytes):
        self.image_bytes = image_bytes
    
    def __str__(self):
        return "dummy_image"
    
    def __fspath__(self):
        return str(self)

# Monkeypatch open to return our in-memory images
original_open = open
image_cache = {
    'image_1': image_bytes_1,
    'image_2': image_bytes_2
}
call_count = [0]

def mock_open(path, mode='r', *args, **kwargs):
    call_count[0] += 1
    idx = call_count[0] - 1
    key = list(image_cache.keys())[idx % len(image_cache)]
    image_cache[key].seek(0)
    return image_cache[key]

import builtins
builtins.open = mock_open

ARGS = {
    "image_paths": ["image_1", "image_2"],
    "device": torch.device("cpu")
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 224, 224) — shape (2, 3, 224, 224) 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
load_mc_reference_features Ran
ran; our contract draft was wrong, not the code
xcyao00/resad/main_all.py
code served (permissive licence) · get_code("8724d875b88a147c")
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 os
import numpy as np
import torch
import tempfile
import shutil

torch.manual_seed(0)

# Create a temporary directory structure with the required .npy files
temp_dir = tempfile.mkdtemp()

class_names = ['class_a', 'class_b']

for class_name in class_names:
    class_dir = os.path.join(temp_dir, class_name)
    os.makedirs(class_dir, exist_ok=True)
    
    # Create layer1.npy with shape (8, 4) - 8 shots, 4 features
    layer1_data = np.random.randn(8, 4).astype(np.float32)
    np.save(os.path.join(class_dir, 'layer1.npy'), layer1_data)
    
    # Create layer2.npy with shape (8, 5) - 8 shots, 5 features
    layer2_data = np.random.randn(8, 5).astype(np.float32)
    np.save(os.path.join(class_dir, 'layer2.npy'), layer2_data)
    
    # Create layer3.npy with shape (8, 6) - 8 shots, 6 features
    layer3_data = np.random.randn(8, 6).astype(np.float32)
    np.save(os.path.join(class_dir, 'layer3.npy'), layer3_data)

ARGS = {
    'root_dir': temp_dir,
    'class_names': class_names,
    'device': torch.device('cpu'),
    'num_shot': 4
}
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 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_mc_reference_features Ran
ran; our contract draft was wrong, not the code
xcyao00/resad/main_ib.py
code served (permissive licence) · get_code("38f73e38d215dec7")
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 os
import numpy as np
import torch
import tempfile
import shutil

torch.manual_seed(0)

# Create a temporary directory structure with mock .npy files
temp_dir = tempfile.mkdtemp()

class_names = ['class_a', 'class_b']

for class_name in class_names:
    class_dir = os.path.join(temp_dir, class_name)
    os.makedirs(class_dir, exist_ok=True)
    
    # Create mock feature arrays with TOTAL_SHOT=4 multiplier
    # Each layer has shape (num_samples, feature_dim) where num_samples is a multiple of 4
    np.save(os.path.join(class_dir, 'layer1.npy'), np.random.randn(8, 3).astype(np.float32))
    np.save(os.path.join(class_dir, 'layer2.npy'), np.random.randn(8, 5).astype(np.float32))
    np.save(os.path.join(class_dir, 'layer3.npy'), np.random.randn(8, 7).astype(np.float32))
    np.save(os.path.join(class_dir, 'layer4.npy'), np.random.randn(8, 9).astype(np.float32))

device = torch.device('cpu')

ARGS = {
    'root_dir': temp_dir,
    'class_names': class_names,
    'device': device,
    'num_shot': 2
}
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 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_reference_features Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xcyao00/resad/cpr.py
code served (permissive licence) · get_code("247b256eed3c80d3")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 os
import numpy as np
import torch
import tempfile
import shutil

# Create a temporary directory structure to simulate the reference files
temp_dir = tempfile.mkdtemp()
refs_dir = os.path.join(temp_dir, 'references', 'centers', 'mvtec')
os.makedirs(refs_dir, exist_ok=True)

# Create sample reference feature files
torch.manual_seed(0)
sample_features = np.random.randn(2, 4).astype(np.float32)
np.save(os.path.join(refs_dir, 'bottle_centers.npy'), sample_features)
np.save(os.path.join(refs_dir, 'cable_centers.npy'), sample_features)

# Change to temp directory so relative paths work
original_dir = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'class_name': 'bottle'
}
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
subnet_fc Ran
ran; our contract draft was wrong, not the code
xcyao00/resad/models/fc_flow.py
code served (permissive licence) · get_code("3f068df64f534372")
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 Sequential. 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 = {
    "dims_in": 4,
    "dims_out": 3,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calculate_log_barrier_occ_loss Not yet run
unverified (harvested, no recorded run)
xcyao00/resad/losses/loss.py
code served (permissive licence) · get_code("09544c0c0a013039")
How it ran

no invocation recorded.

calculate_occ_loss Not yet run
unverified (harvested, no recorded run)
xcyao00/resad/losses/loss.py
code served (permissive licence) · get_code("5ac595999ee650c5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 11 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 11 later) and 0 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
subnet_fc 4 other papers
3 dated earlier, 1 later
2107.12571 (2021-07)
CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flows
aaai_25604 (2023 (year only))
One-for-All: Proposal Masked Cross-Class Anomaly Detection
2403.13349 (2024-03)
Hierarchical Gaussian Mixture Normalizing Flow Modeling for Unified Anomaly Detection
and 1 more not named here
calculate_log_barrier_occ_loss 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
calculate_occ_loss 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
get_logp_a 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
get_logp_boundary 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
get_normal_boundary 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
get_position_encoding 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
load_and_transform_vision_data 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
load_mc_reference_features 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
load_mc_reference_features 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning
load_reference_features 1 other paper
1 later
2509.23741 (2025-09)
ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning

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

This paper explores the problem of class-generalizable anomaly detection, where the objective is to train one unified AD model that can generalize to detect anomalies in diverse classes from different domains without any retraining or fine-tuning on the target data. Because normal feature representations vary significantly across classes, this will cause the widely studied one-for-one AD models to be poorly classgeneralizable (i.e., performance drops dramatically when used for new classes). In this work, we propose a simple but effective framework (called ResAD) that can be directly applied to detect anomalies in new classes. Our main insight is to learn the residual feature distribution rather than the initial feature distribution. In this way, we can significantly reduce feature variations. Even in new classes, the distribution of normal residual features would not remarkably shift from the learned distribution. Therefore, the learned model can be directly adapted to new classes. ResAD consists of three components: (1) a Feature Converter that converts initial features into residual features; (2) a simple and shallow Feature Constraintor that constrains normal residual features into a spatial hypersphere for further reducing feature variations and maintaining consistency in feature scales among different classes; (3) a Feature Distribution Estimator that estimates the normal residual feature distribution, anomalies can be recognized as out-of-distribution. Despite the simplicity, ResAD can achieve remarkable anomaly detection results when directly used in new classes. The code is available at https://github.com/xcyao00/ResAD. * Corresponding Author. 2 Class means the category of the object in the image. For industrial scenarios, it refers to the product category, e.g., bottle, carpet, etc. For medical analysis, it refers to the body organ category, e.g., head CT, retina, etc. 38th Conference on Neural Information Processing Systems (NeurIPS 2024).

For agents

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

get_harvested_code_for_paper("2410.20047")
get_code_for_paper("2410.20047")
have("2410.20047")

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

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

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

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

Connect an agent — have() is free.