SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.03118 · 2024

LVLM-Interpret: An Interpretability Tool for Large Vision-Language Models

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 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/2404.03118.json · badge: /api/ran/2404.03118.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
IntelLabs/lvlm-interpret canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
avg_heads Ran
ran; our contract draft was wrong, not the code
IntelLabs/lvlm-interpret/utils_relevancy.py
code served (permissive licence) · get_code("27481013d8c59da1")
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 (3, 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
import torch.nn as nn

torch.manual_seed(0)

# Construct arguments for avg_heads function
# The function expects:
# - cam: a tensor that will be reshaped to (-1, height, width)
# - grad: a tensor that will be reshaped to (-1, height, width)

# Create cam tensor with shape (batch, heads, height, width)
# Using distinct sizes: batch=2, heads=4, height=3, width=5
cam = torch.randn(2, 4, 3, 5)

# Create grad tensor with same shape as cam
grad = torch.randn(2, 4, 3, 5)

ARGS = {
    "cam": cam,
    "grad": grad
}
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 (3, 5) — shape (3, 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
convert_token2word Ran
ran; our contract draft was wrong, not the code
IntelLabs/lvlm-interpret/utils_attn.py
code served (permissive licence) · get_code("23f50ad92e876f94")
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)

# R_i_i: a tensor of relevance scores, one per token
R_i_i = torch.tensor([0.1, 0.5, 0.3, 0.8, 0.2, 0.9])

# tokens: a list of token strings
tokens = ['hello', '▁world', ',', 'test', '▁data', '!']

# separators_list: already defined in the function, but we can reference it
separators_list = ['.', ',', '?', '!', ':', ';', '</s>', '/', '!', '(', ')', '[', ']', '{', '}', '<', '>', '|', '\\', '-', '_', '+', '=', '*', '&', '^', '%', '$', '#', '@', '!', '~', '`', ' ', '\t', '\n', '\r', '\x0b', '\x0c']

ARGS = {
    'R_i_i': R_i_i,
    'tokens': tokens,
    'separators_list': separators_list
}
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
draw_heatmap_on_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
IntelLabs/lvlm-interpret/utils_attn.py
code served (permissive licence) · get_code("248b40944c6c5f7a")
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 numpy as np
import matplotlib.pyplot as plt
from PIL import Image, ImageDraw

# Create a small heatmap matrix (2D array)
mat = np.random.rand(4, 3).astype(np.float32)

# Create a small PIL Image to use as img_recover
img_recover = Image.new('RGB', (336, 336), color=(128, 128, 128))

ARGS = {
    'mat': mat,
    'img_recover': img_recover,
    'normalize': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, matplotlib, numpy — 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
get_expla_set_per_rad Ran
ran; our contract draft was wrong, not the code
IntelLabs/lvlm-interpret/utils_causal_discovery_fn.py
code served (permissive licence) · get_code("b5f865fcf0203ef4")
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

class Node:
    def __init__(self, origin_value, children_list=None):
        self.origin = origin_value
        self.children = children_list if children_list is not None else []

class PDSTree:
    def __init__(self, origin_node, children_list=None):
        self.origin = origin_node
        self.children = children_list if children_list is not None else []

# Create a simple tree structure
# Root node
root_node = Node("root")

# Level 1 children
child1 = Node("child1", [])
child2 = Node("child2", [])

# Level 2 children (grandchildren)
grandchild1 = Node("grandchild1", [])
grandchild2 = Node("grandchild2", [])
grandchild3 = Node("grandchild3", [])

# Attach grandchildren to children
child1.children = [grandchild1, grandchild2]
child2.children = [grandchild3]

# Create the tree with root and its children
pds_tree = PDSTree(root_node, [child1, child2])

ARGS = {
    "pds_tree": pds_tree
}
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
get_relevant_image_tokens Ran
ran; our contract draft was wrong, not the code
IntelLabs/lvlm-interpret/utils_causal_discovery_fn.py
code served (permissive licence) · get_code("37fdd8a0f972bd45")
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 int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Analyze the function to determine parameter requirements:
# - class_token: used as index into attention_matrix (row index)
# - attention_matrix: 2D array indexed as [class_token, first_token:first_token + 576]
# - first_token: integer used in slicing
# - num_top_k_tokens: integer used in range()

# Create a valid attention matrix
# Need at least (class_token + 1) rows and (first_token + 576 + 1) columns
class_token_idx = 0
first_token_idx = 10
# Create attention matrix with sufficient size
attention_matrix = np.random.rand(5, 600)  # 5 rows, 600 columns to safely accommodate indexing

# Set up parameters
class_token = 0
first_token = 10
num_top_k_tokens = 5

ARGS = {
    "class_token": class_token,
    "attention_matrix": attention_matrix,
    "first_token": first_token,
    "num_top_k_tokens": num_top_k_tokens
}
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 list, ndim 1, dtype family int — 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
get_relevant_prompt_tokens Ran
ran; our contract draft was wrong, not the code
IntelLabs/lvlm-interpret/utils_causal_discovery_fn.py
code served (permissive licence) · get_code("35b3b196a6b44a41")
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 int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Analyze the function to understand parameter requirements:
# - class_token: int (used as index into attention_matrix first dimension)
# - attention_matrix: numpy array with shape (N, M) where N > class_token and M >= first_image_token
# - att_th: float (threshold for comparison)
# - first_image_token: int (used as slice endpoint)

# Create a small attention matrix
# Shape: (5, 7) - 5 tokens total, 7 positions
attention_matrix = np.array([
    [0.1, 0.2, 0.3, 0.15, 0.05, 0.1, 0.08],
    [0.2, 0.25, 0.35, 0.12, 0.08, 0.15, 0.05],
    [0.15, 0.3, 0.25, 0.2, 0.1, 0.12, 0.18],
    [0.05, 0.1, 0.2, 0.25, 0.3, 0.08, 0.02],
    [0.12, 0.18, 0.28, 0.15, 0.22, 0.05, 0.0],
], dtype=np.float32)

class_token = 1  # Index into first dimension of attention_matrix
att_th = 0.15    # Threshold for filtering weights
first_image_token = 5  # Number of prompt tokens to consider

ARGS = {
    "class_token": class_token,
    "attention_matrix": attention_matrix,
    "att_th": att_th,
    "first_image_token": first_image_token,
}
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 list, ndim 1, dtype family int — 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
handle_self_attention_image_vit Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
IntelLabs/lvlm-interpret/utils_relevancy.py
code served (permissive licence) · get_code("0f9f25db5c4ac426")
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 (577, 577) 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 torch.nn as nn

torch.manual_seed(0)

# Create a small tensor for R_i_i_init
# Shape: (577, 577) - this represents a ViT attention map with 1 CLS token + 576 image tokens
R_i_i_init = torch.randn(577, 577)

# Create enc_attn_weights_vit as a list of small mock objects
# Each object needs .grad and float().detach() to work
class MockAttentionBlock(nn.Module):
    def __init__(self, size=577):
        super().__init__()
        self.weight = nn.Parameter(torch.randn(size, size))
        self.register_buffer('grad_buffer', torch.randn(size, size))
    
    def float(self):
        return self
    
    def detach(self):
        return self.weight.detach()
    
    @property
    def grad(self):
        return self.grad_buffer

# Create 2 mock attention blocks
enc_attn_weights_vit = [
    MockAttentionBlock(size=577),
    MockAttentionBlock(size=577)
]

# Set gradients for the blocks
for block in enc_attn_weights_vit:
    block.grad_buffer = torch.randn(577, 577)

ARGS = {
    'R_i_i_init': R_i_i_init,
    'enc_attn_weights_vit': enc_attn_weights_vit,
    'img_idx': 0,
    'add_skip': False,
    'normalize': False
}
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 (577, 577) — shape (577, 577) 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
move_to_device Ran
ran; our contract draft was wrong, not the code
IntelLabs/lvlm-interpret/utils_attn.py
code served (permissive licence) · get_code("309bc258636e0fd3")
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)

# Test case 1: Tensor input
tensor_input = torch.randn(2, 4)

# Test case 2: List of tensors
list_input = [torch.randn(2, 4), torch.randn(3, 5)]

# Test case 3: Tuple of tensors
tuple_input = (torch.randn(2, 4), torch.randn(3, 5))

# Test case 4: Dict with tensor values
dict_input = {
    'a': torch.randn(2, 4),
    'b': torch.randn(3, 5),
    'nested': {
        'c': torch.randn(2, 4)
    }
}

# Test case 5: Nested structure with lists, tuples, and dicts
nested_input = {
    'tensors': [torch.randn(2, 4), torch.randn(3, 5)],
    'tuple_data': (torch.randn(2, 4), torch.randn(3, 5)),
    'single': torch.randn(2, 4)
}

ARGS = {
    'input': nested_input,
    'device': 'cpu'
}
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
process_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
IntelLabs/lvlm-interpret/utils_model.py
code served (permissive licence) · get_code("6db878fefb797d88")
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.

from PIL import Image
import torch
import numpy as np

# Create a small test image
img_array = np.random.randint(0, 256, (100, 80, 3), dtype=np.uint8)
test_image = Image.fromarray(img_array, mode='RGB')

ARGS = {
    'image': test_image,
    'image_process_mode': 'Pad',
    'return_pil': False,
    'image_format': 'PNG',
    'max_len': 1344,
    'min_len': 672,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — 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
to_gradio_chatbot Ran
ran; our contract draft was wrong, not the code
IntelLabs/lvlm-interpret/utils_model.py
code served (permissive licence) · get_code("57154e2c77c27b6b")
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 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
import numpy as np
from PIL import Image
from io import BytesIO
import base64

class MockState:
    def __init__(self, messages):
        self.messages = messages

# Create a small test image
def create_test_image(width=100, height=150):
    img = Image.new('RGB', (width, height), color=(73, 109, 137))
    return img

# Test case 1: state with text-only messages
text_only_messages = [
    ('user', 'Hello, how are you?'),
    ('assistant', 'I am doing well, thank you for asking!'),
    ('user', 'What is 2+2?'),
    ('assistant', '2+2 equals 4.')
]

state_text_only = MockState(text_only_messages)

# Test case 2: state with image messages (tuple format)
test_image = create_test_image(200, 300)
image_messages = [
    ('user', (f'<image> Can you describe this image?', test_image, 'Default')),
    ('assistant', 'This is a blue-colored image.'),
    ('user', 'What color is it?'),
    ('assistant', 'It is blue.')
]

state_with_images = MockState(image_messages)

# Mixed messages state
mixed_messages = [
    ('user', f'<image> Look at this image', test_image, 'Default'),
    ('assistant', 'I can see the image.'),
]

# For mixed case, need to handle the tuple properly
mixed_messages_fixed = [
    ('user', (f'<image> Look at this image', test_image, 'Default')),
    ('assistant', 'I can see the image.'),
]

state_mixed = MockState(mixed_messages_fixed)

ARGS = {
    'state': state_text_only
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, 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
get_processor_model Not yet run
unverified (harvested, no recorded run)
IntelLabs/lvlm-interpret/utils_model.py
code served (permissive licence) · get_code("d81ca3a9ee15e007")
How it ran

no invocation recorded.

handle_self_attention_image Not yet run
unverified (harvested, no recorded run)
IntelLabs/lvlm-interpret/utils_relevancy.py
code served (permissive licence) · get_code("87783f89552e57bf")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 11 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
avg_heads 1 other paper
1 dated earlier
2202.07304 (2022-02)
XAI for Transformers: Better Explanations through Conservative Propagation

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

In the rapidly evolving landscape of artificial intelligence, multi-modal large language models are emerging as a significant area of interest. These models, which combine various forms of data input, are becoming increasingly popular. However, understanding their internal mechanisms remains a complex task. Numerous advancements have been made in the field of explainability tools and mechanisms, yet there is still much to explore. In this work, we present a novel interactive application aimed towards understanding the internal mechanisms of large vision-language models. Our interface is designed to enhance the interpretability of the image patches, which are instrumental in generating an answer, and assess the efficacy of the language model in grounding its output in the image. With our application, a user can systematically investigate the model and uncover system limitations, paving the way for enhancements in system capabilities. Finally, we present a case study of how our application can aid in understanding failure mechanisms in a popular large multi-modal model: LLaVA.

For agents

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

get_harvested_code_for_paper("2404.03118")
get_code_for_paper("2404.03118")
have("2404.03118")

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

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

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

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

Connect an agent — have() is free.