SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.09939 · 2023

RED-DOT: Multimodal Fact-checking via Relevant Evidence Detection

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 9 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/2311.09939.json · badge: /api/ran/2311.09939.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
stevejpapad/relevant-evidence-detection canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
FunctionStatusWhere it lives
build_faiss_index Ran
ran; our contract draft was wrong, not the code
stevejpapad/relevant-evidence-detection/src/prepare_evidence.py
code served (permissive licence) · get_code("4830edefa5ab893e")
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 IndexFlatL2. 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
import faiss

torch.manual_seed(0)

# The function expects a numpy array with shape (n_samples, n_features)
# faiss.IndexFlatL2 is initialized with dimension data.shape[1]
# index.add() expects a C-contiguous float32 numpy array

data = np.random.randn(2, 4).astype(np.float32)

ARGS = {
    "data": data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
faiss, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type IndexFlatL2 — a IndexFlatL2 output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a IndexFlatL2 output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calc_sim Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
stevejpapad/relevant-evidence-detection/src/prepare_evidence.py
code served (permissive licence) · get_code("9d7a6a04cd83f981")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Series. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd

# Create q_emb as a numpy array (1D embedding vector)
q_emb = np.array([0.1, 0.2, 0.3, 0.4])

# Create X_items as a DataFrame with embeddings
# Each row is an item embedding, indexed by item names
X_items_data = np.array([
    [0.15, 0.25, 0.35, 0.45],
    [0.05, 0.15, 0.25, 0.35],
    [0.2, 0.3, 0.4, 0.5],
])
X_items = pd.DataFrame(
    X_items_data,
    index=pd.Index(['item_0', 'item_1', 'item_2'], name='item_id')
)

ARGS = {
    'q_emb': q_emb,
    'X_items': X_items,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Series — a Series output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Series output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
caption_image_search Ran
ran; our contract draft was wrong, not the code
stevejpapad/relevant-evidence-detection/src/prepare_VERITE.py
code served (permissive licence) · get_code("d7cc266a8e715b1a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from unittest.mock import Mock, MagicMock

torch.manual_seed(0)

# Create a mock Google Custom Search service
# The function calls: service.cse().list(**search_parameters).execute()
mock_service = Mock()
mock_cse = Mock()
mock_list_call = Mock()
mock_execute = Mock()

# Chain the method calls: service.cse().list(...).execute()
mock_service.cse.return_value = mock_cse
mock_cse.list.return_value = mock_list_call
mock_list_call.execute.return_value = {
    'items': [
        {'title': 'Result 1', 'link': 'http://example.com/1'},
        {'title': 'Result 2', 'link': 'http://example.com/2'}
    ]
}

ARGS = {
    'caption': 'a dog running in the park',
    'service': mock_service,
    'CUSTOM_SEARCH_ENGINE_ID': '1234567890abcdef0'
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fetch_evidence_split Ran
ran; our contract draft was wrong, not the code
stevejpapad/relevant-evidence-detection/src/utils_evidence.py
code served (permissive licence) · get_code("5fdb6704baa7a552")
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 3, 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 json
import pandas as pd
import tempfile
import os

# Create a temporary directory with the required JSON files
temp_dir = tempfile.mkdtemp()
evidence_path = temp_dir + '/'

# Create sample dataset JSON files
train_data = {
    'match_1': {'col1': 'value1', 'col2': 'value2'},
    'match_2': {'col1': 'value3', 'col2': 'value4'}
}

val_data = {
    'match_3': {'col1': 'value5', 'col2': 'value6'},
    'match_4': {'col1': 'value7', 'col2': 'value8'}
}

test_data = {
    'match_5': {'col1': 'value9', 'col2': 'value10'},
    'match_6': {'col1': 'value11', 'col2': 'value12'}
}

# Write the JSON files
with open(evidence_path + 'dataset_items_train.json', 'w') as f:
    json.dump(train_data, f)

with open(evidence_path + 'dataset_items_val.json', 'w') as f:
    json.dump(val_data, f)

with open(evidence_path + 'dataset_items_test.json', 'w') as f:
    json.dump(test_data, f)

ARGS = {
    'evidence_path': evidence_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, 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
inverse_image_search Ran
ran; our contract draft was wrong, not the code
stevejpapad/relevant-evidence-detection/src/prepare_VERITE.py
code served (permissive licence) · get_code("2a207b22ffd4e499")
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 Mock. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from unittest.mock import Mock, MagicMock

torch.manual_seed(0)

# Create a mock service object that mimics Google Custom Search API behavior
mock_service = Mock()
mock_cse = Mock()
mock_list = Mock()
mock_execute = Mock()

# Chain the mock calls: service.cse().list(**search_parameters).execute()
mock_cse.return_value = mock_list
mock_list.return_value = mock_execute
mock_execute.return_value = {
    'items': [
        {'title': 'Result 1', 'link': 'https://example.com/1'},
        {'title': 'Result 2', 'link': 'https://example.com/2'}
    ]
}
mock_service.cse.return_value = mock_cse

# Define the arguments
ARGS = {
    'image_url': 'https://example.com/image.jpg',
    'service': mock_service,
    'CUSTOM_SEARCH_ENGINE_ID': 'test_search_engine_id_123'
}
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 Mock — a Mock output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_features Ran
ran, honoured the contract we drafted
stevejpapad/relevant-evidence-detection/src/utils.py
code served (permissive licence) · get_code("ad59ff90af89c577")
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 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd
import tempfile
import os

# Create temporary directory and mock data files
temp_dir = tempfile.mkdtemp()
data_path = temp_dir + '/'
os.makedirs(data_path + 'news_clippings/', exist_ok=True)

# Create mock numpy arrays
n_samples = 5
embedding_dim = 4
image_embeddings_data = np.random.randn(n_samples, embedding_dim).astype('float32')
text_embeddings_data = np.random.randn(n_samples, embedding_dim).astype('float32')
item_ids_data = np.array(['id_0', 'id_1', 'id_2', 'id_3', 'id_4'])

# Save mock data files
data_name = 'news_clippings_balanced'
encoder = 'CLIP'
encoder_version = 'v1-0'
encoder_version_clean = encoder_version.replace('-', '').replace('/', '')

np.save(data_path + f'news_clippings/{data_name}_{encoder.lower()}_image_embeddings_{encoder_version_clean}.npy', image_embeddings_data)
np.save(data_path + f'news_clippings/{data_name}_{encoder.lower()}_text_embeddings_{encoder_version_clean}.npy', text_embeddings_data)
np.save(data_path + f'news_clippings/{data_name}_item_ids_{encoder_version_clean}.npy', item_ids_data)

ARGS = {
    'data_path': data_path,
    'data_name': data_name,
    'encoder': encoder,
    'encoder_version': encoder_version,
    'filter_ids': [None]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, 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
load_training_dataset Ran
ran; our contract draft was wrong, not the code
stevejpapad/relevant-evidence-detection/src/utils.py
code served (permissive licence) · get_code("b8f978984ca9a12c")
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 json
import pandas as pd
import tempfile
import os

# Create temporary directory structure and files
temp_dir = tempfile.mkdtemp()
data_path = temp_dir + "/"

# Create nested directory structure matching the function's expectations
os.makedirs(data_path + 'news_clippings/data/news_clippings/data/merged_balanced', exist_ok=True)

# Create sample train.json
train_json_data = {
    'annotations': [
        {'id': 1, 'image_id': 101, 'text': 'sample text 1', 'label': 0},
        {'id': 2, 'image_id': 102, 'text': 'sample text 2', 'label': 1},
    ]
}
with open(data_path + 'news_clippings/data/news_clippings/data/merged_balanced/train.json', 'w') as f:
    json.dump(train_json_data, f)

# Create sample val.json
val_json_data = {
    'annotations': [
        {'id': 3, 'image_id': 103, 'text': 'sample text 3', 'label': 0},
    ]
}
with open(data_path + 'news_clippings/data/news_clippings/data/merged_balanced/val.json', 'w') as f:
    json.dump(val_json_data, f)

# Create sample test.json
test_json_data = {
    'annotations': [
        {'id': 4, 'image_id': 104, 'text': 'sample text 4', 'label': 1},
    ]
}
with open(data_path + 'news_clippings/data/news_clippings/data/merged_balanced/test.json', 'w') as f:
    json.dump(test_json_data, f)

ARGS = {
    'data_path': data_path,
    'data_name': 'news_clippings_balanced',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_visual_news Ran
ran; our contract draft was wrong, not the code
stevejpapad/relevant-evidence-detection/src/utils.py
code served (permissive licence) · get_code("463fa39db9b4b046")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary directory and file for the test data
temp_dir = tempfile.mkdtemp()
vn_dir = os.path.join(temp_dir, 'VisualNews', 'origin')
os.makedirs(vn_dir, exist_ok=True)

# Create sample data matching what the function expects
sample_data = [
    {
        'id': 1,
        'title': 'News 1',
        'description': 'Description 1',
        'image': 'image1.jpg'
    },
    {
        'id': 2,
        'title': 'News 2',
        'description': 'Description 2',
        'image': 'image2.jpg'
    }
]

# Write the JSON file
data_file_path = os.path.join(vn_dir, 'data.json')
with open(data_file_path, 'w') as f:
    json.dump(sample_data, f)

# Define the data_path argument (note the trailing slash expected by the function)
data_path = temp_dir + '/'

ARGS = {
    'data_path': data_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
prepare_source_dataloader Ran
ran; our contract draft was wrong, not the code
stevejpapad/relevant-evidence-detection/src/extract_features.py
code served (permissive licence) · get_code("66a4af2ccbb3cc97")
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 torch
import torch.nn as nn
from torch.utils.data import DataLoader
import pandas as pd
from PIL import Image
import io

torch.manual_seed(0)

# Create a minimal stand-in image processor for vis_processors
class DummyVisProcessor(nn.Module):
    def __init__(self):
        super().__init__()
    
    def __call__(self, image):
        # Convert PIL image to tensor
        img_array = torch.rand(3, 224, 224)  # Small tensor
        return img_array

# Create a minimal stand-in text processor for txt_processors
class DummyTxtProcessor:
    def __call__(self, text):
        # Return a small tensor representing tokenized text
        return torch.randint(0, 100, (10,))

# Create dummy input data as a pandas DataFrame
input_data = pd.DataFrame({
    'id': [1, 2],
    'image_path': ['./image1.jpg', './image2.jpg'],
    'caption': ['a cat sitting', 'a dog running']
})

# Create a temporary images_path (we'll handle the Image.open call by mocking)
images_path = '/tmp/'

# Create a small dummy image and save it for testing
try:
    dummy_img = Image.new('RGB', (100, 150), color='red')
    dummy_img.save('/tmp/image1.jpg')
    dummy_img.save('/tmp/image2.jpg')
except Exception:
    pass

# Create processors dict with eval key
vis_processors = {
    'eval': DummyVisProcessor()
}

txt_processors = {
    'eval': DummyTxtProcessor()
}

encoder_version = 'v1'
batch_size = 2
num_workers = 0
shuffle = False

ARGS = {
    'input_data': input_data,
    'vis_processors': vis_processors,
    'txt_processors': txt_processors,
    'encoder_version': encoder_version,
    'images_path': images_path,
    'batch_size': batch_size,
    'num_workers': num_workers,
    'shuffle': shuffle
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, pandas, torch — 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
save_image Ran
ran, violated the contract we drafted
stevejpapad/relevant-evidence-detection/src/prepare_VERITE.py
code served (permissive licence) · get_code("7bb0da8062911a6b")
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 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 requests
from PIL import Image
from io import BytesIO
from unittest.mock import Mock, patch
import os
import tempfile

# Create a temporary directory for testing
temp_dir = tempfile.mkdtemp()
data_path = temp_dir + '/'

# Create the required directory structure
os.makedirs(data_path + 'external_evidence/images/', exist_ok=True)

# Create a mock image and mock the requests.get call
def create_mock_response():
    # Create a small test image
    img = Image.new('RGB', (100, 100), color='red')
    img_bytes = BytesIO()
    img.save(img_bytes, format='JPEG')
    img_bytes.seek(0)
    
    mock_response = Mock()
    mock_response.status_code = 200
    mock_response.content = img_bytes.getvalue()
    return mock_response

# Prepare arguments
url = "https://example.com/image.jpg"
name = "test_image"
data_path_arg = data_path

ARGS = {
    "url": url,
    "name": name,
    "data_path": data_path_arg
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, requests — 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
str_to_list Ran
ran; our contract draft was wrong, not the code
stevejpapad/relevant-evidence-detection/src/utils_evidence.py
code served (permissive licence) · get_code("3ba7c5965cdd037d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
from ast import literal_eval

# Create a small DataFrame with string representations of lists
df = pd.DataFrame({
    'entities': ['["entity1", "entity2"]', '["entity3"]', None],
    'q_detected_labels': ['["label1"]', None, '["label2", "label3"]'],
    'captions': ['["caption1"]', '["caption2"]', '["caption3"]'],
    'titles': ['["title1"]', '["title2"]', None],
    'images_paths': ['["/path/1"]', '["/path/2", "/path/3"]', '[]'],
    'images_labels': [None, '["img_label1"]', '["img_label2"]']
})

list_columns = ['entities', 'q_detected_labels', 'captions', 'titles', 'images_paths', 'images_labels']

ARGS = {
    'df': df,
    'list_columns': list_columns
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_dataset Not yet run
unverified (harvested, no recorded run)
stevejpapad/relevant-evidence-detection/src/extract_features.py
code served (permissive licence) · get_code("00dbd17dab12ae8c")
How it ran

no invocation recorded.

rank_X_items Not yet run
unverified (harvested, no recorded run)
stevejpapad/relevant-evidence-detection/src/prepare_evidence.py
code served (permissive licence) · get_code("4faa85a54e6dd72d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 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.

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

Online misinformation is often multimodal in nature, i.e., it is caused by misleading associations between texts and accompanying images. To support the fact-checking process, researchers have been recently developing automatic multimodal methods that gather and analyze external information, evidence, related to the image-text pairs under examination. However, prior works assumed all external information collected from the web to be relevant. In this study, we introduce a "Relevant Evidence Detection" (RED) module to discern whether each piece of evidence is relevant, to support or refute the claim. Specifically, we develop the "Relevant Evidence Detection Directed Transformer" (RED-DOT) and explore multiple architectural variants (e.g., single or dual-stage) and mechanisms (e.g., "guided attention"). Extensive ablation and comparative experiments demonstrate that RED-DOT achieves significant improvements over the state-of-the-art (SotA) on the VERITE benchmark by up to 33.7%. Furthermore, our evidence re-ranking and element-wise modality fusion led to RED-DOT surpassing the SotA on NewsCLIPings+ by up to 3% without the need for numerous evidence or multiple backbone encoders. We release our code at: https://github.com/stevejpapad/relevant-evidence-detection

For agents

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

get_harvested_code_for_paper("2311.09939")
get_code_for_paper("2311.09939")
have("2311.09939")

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

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

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

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

Connect an agent — have() is free.