SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1911.08621 · 2019

Open Cross-Domain Visual Search

arXiv · PDF · Open in the Atlas

Code that ran

17 of 20 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 15 have no contract verdict; 0 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/1911.08621.json · badge: /api/ran/1911.08621.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
twuilliam/open-search canonical (classifier label)
classifier basis: census
13 ran · 0 no recorded run
twuilliam/shrec-sketches-helpers community (classifier label)
classifier basis not recorded on the link
4 ran · 3 no recorded run
FunctionStatusWhere it lives
L2norm Ran
ran on a synthesized input
twuilliam/open-search/utils.py
code served (permissive licence) · get_code("cb0836b2ce97a80d")
How it ran

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

import torch

torch.manual_seed(0)

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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
average_views Ran
ran on a synthesized input
twuilliam/open-search/retrieve.py
code served (permissive licence) · get_code("3880008c4fe16944")
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
import pandas as pd

# Create a small DataFrame with 'id' column
splits = pd.DataFrame({
    'id': np.array([1, 1, 2, 2, 3])
})

# Create feature matrix (5 samples, 4 features)
x = np.random.randn(5, 4).astype(np.float32)

# Create labels (5 samples)
y = np.array([10, 10, 20, 20, 30])

ARGS = {
    'splits': splits,
    'x': x,
    'y': y
}
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 — 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
cosine_similarity Ran
ran on a synthesized input
twuilliam/open-search/utils.py
code served (permissive licence) · get_code("6a21d78b7ceca1cc")
How it ran

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

import torch

torch.manual_seed(0)

# Create small tensors for testing
# x: shape (2, 4) - 2 samples, 4 dimensions
x = torch.randn(2, 4)

# y: shape (3, 4) - 3 samples, 4 dimensions (different from x to show distinction)
y = torch.randn(3, 4)

ARGS = {
    'x': x,
    'y': y,
    'eps': 1e-08
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_df_sketches Ran
ran on a synthesized input
twuilliam/shrec-sketches-helpers/meta.py
code served (permissive licence) · get_code("faad61882eee2c40")
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 os
import tempfile
import shutil

# Create a temporary directory structure that mimics the expected layout
temp_dir = tempfile.mkdtemp()

# Create subdirectories: data_dir/sk_path/category/split/
sk_path = "sketches"
category = "cat1"
split = "train"

# Build the directory structure
sketch_dir = os.path.join(temp_dir, sk_path, category, split)
os.makedirs(sketch_dir, exist_ok=True)

# Create some dummy PNG files
for i in range(3):
    png_file = os.path.join(sketch_dir, f"sketch_{i}.png")
    with open(png_file, 'w') as f:
        f.write("dummy png content")

# Create another split
split2 = "test"
sketch_dir2 = os.path.join(temp_dir, sk_path, category, split2)
os.makedirs(sketch_dir2, exist_ok=True)

for i in range(2):
    png_file = os.path.join(sketch_dir2, f"sketch_{i+3}.png")
    with open(png_file, 'w') as f:
        f.write("dummy png content")

ARGS = {
    "data_dir": temp_dir,
    "sk_path": sk_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
get_img_paths Ran
ran on a synthesized input
twuilliam/shrec-sketches-helpers/resize_cad.py
code served (permissive licence) · get_code("5417ee0a0e3b8598")
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 os
from argparse import Namespace

# Create a minimal args object with required attributes
ARGS = {
    'args': Namespace(
        dataset='13',
        data_dir='/tmp/fake_data'
    )
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
image_loader Ran
ran on a synthesized input
twuilliam/open-search/data.py
code served (permissive licence) · get_code("953ff0147b348079")
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 (4, 3, 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 cv2
import numpy as np
import tempfile
import os

# Create a temporary image file
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_image.png")

# Create a small test image (4x3 RGB)
test_image = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
# cv2.imread returns BGR, so we need to create a BGR image
bgr_image = test_image[:, :, ::-1]
cv2.imwrite(temp_image_path, bgr_image)

ARGS = {
    "path": temp_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — 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 (4, 3, 3) — shape (4, 3, 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
mean_reciprocal_rank Ran
ran, honoured the contract we drafted
twuilliam/open-search/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from ukplab/emnlp2023_jiu_jitsu_argumentation_for_rebuttals, is pointer only (licence: NOASSERTION) · get_code("65bd69884cbfbdc9")
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 ukplab/emnlp2023_jiu_jitsu_argumentation_for_rebuttals, 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.

mix_queries Ran
ran on a synthesized input
twuilliam/open-search/retrieve-many.py
code served (permissive licence) · get_code("a4776e0007a96f54")
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

np.random.seed(1234)

# Create base dataset with x and y
base_x = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0]
], dtype=np.float32)

base_y = np.array([0, 1], dtype=np.int64)

base = {
    'x': base_x,
    'y': base_y
}

# Create complement dataset with x and y
# Make sure complement_y contains the same class labels as base_y
complement_x = np.array([
    [0.1, 0.2, 0.3, 0.4],
    [0.5, 0.6, 0.7, 0.8],
    [1.1, 1.2, 1.3, 1.4],
    [1.5, 1.6, 1.7, 1.8]
], dtype=np.float32)

complement_y = np.array([0, 0, 1, 1], dtype=np.int64)

complement = {
    'x': complement_x,
    'y': complement_y
}

ARGS = {
    'base': base,
    'complement': complement,
    'alpha': 0.5
}
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 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
parse_samples Ran
ran on a synthesized input
twuilliam/open-search/fewshot.py
code served (permissive licence) · get_code("e6aadce6eebf0bbe")
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

torch.manual_seed(0)

# Based on the function, it expects:
# - best: a tuple/list with at least 2 elements [acc_value, idx_value]
# - worst: a tuple/list with at least 2 elements [acc_value, idx_value]
# The function accesses best[0], best[1], worst[0], worst[1]

best = (0.95, 42)
worst = (0.65, 7)

ARGS = {
    'best': best,
    'worst': worst
}
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
precision_at_k Ran
ran on a synthesized input
twuilliam/open-search/metrics.py
code served (permissive licence) · get_code("0b5204fbf39cb428")
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 float64, ndim 0, 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

# Test case 1: typical case with some relevant items
r1 = [0, 0, 1]
k1 = 3

# Test case 2: all relevant items
r2 = [1, 1, 1, 1]
k2 = 2

# Test case 3: single item relevant
r3 = [1, 0, 0]
k3 = 1

# Use the first test case for ARGS
ARGS = {
    'r': r1,
    'k': k1
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
r_precision Ran
ran, honoured the contract we drafted
twuilliam/open-search/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from ukplab/emnlp2023_jiu_jitsu_argumentation_for_rebuttals, is pointer only (licence: NOASSERTION) · get_code("1c940d569262c1bb")
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 ukplab/emnlp2023_jiu_jitsu_argumentation_for_rebuttals, 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.

read_data Ran
ran on a synthesized input
twuilliam/open-search/retrieve-many.py
code served (permissive licence) · get_code("c52b0b26a314224f")
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
import tempfile
import os

# Create a temporary .npz file with the required structure
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, 'test_data.npz')

# Create sample data
features = np.random.randn(2, 4).astype(np.float32)
labels = np.array([0, 1], dtype=np.int64)

# Save as .npz file
np.savez(temp_file, features=features, labels=labels)

ARGS = {
    'fpath': temp_file
}
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 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
sketch_loader Ran
ran on a synthesized input
twuilliam/open-search/data.py
code served (permissive licence) · get_code("5b57219617ee7f54")
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 (4, 3, 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 cv2
import numpy as np
import tempfile
import os

# Create a temporary image file for testing
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_sketch.png")

# Create a simple test image (BGR format for OpenCV)
test_image = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
cv2.imwrite(temp_image_path, test_image)

ARGS = {
    "path": temp_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — 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 (4, 3, 3) — shape (4, 3, 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
slerp Ran
ran on a synthesized input
twuilliam/open-search/retrieve-any.py
code served (permissive licence) · get_code("fe2abfe820701e3b")
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 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 numpy as np

# Construct valid arguments for the slerp function
# The function performs spherical interpolation between two points

# Create sample low and high vectors
# Shape should be (batch_size, feature_dim) based on how the function uses einsum and indexing
batch_size = 2
feature_dim = 4

# Create two random normalized vectors for low and high
np.random.seed(0)
low = np.random.randn(batch_size, feature_dim)
low = low / np.linalg.norm(low, axis=1, keepdims=True)

high = np.random.randn(batch_size, feature_dim)
high = high / np.linalg.norm(high, axis=1, keepdims=True)

# val is interpolation parameter between 0 and 1
val = 0.5

ARGS = {
    "val": val,
    "low": low,
    "high": high
}
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 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
split_models Ran
ran on a synthesized input
twuilliam/shrec-sketches-helpers/meta.py
code served (permissive licence) · get_code("224b09730b998dbc")
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
import pandas as pd

# Create sample dataframes with the required structure
np.random.seed(0)

# Create df_cad with categories, some with >50 counts, some with <=50
categories = ['cat_a'] * 60 + ['cat_b'] * 55 + ['cat_c'] * 30 + ['cat_d'] * 45
ids_cad = [f'id_cad_{i}' for i in range(len(categories))]

df_cad = pd.DataFrame({
    'cat': categories,
    'id': ids_cad
})

# Create df_sk with matching structure
# Only include categories that exist in df_cad
categories_sk = ['cat_a'] * 60 + ['cat_b'] * 55 + ['cat_c'] * 30 + ['cat_d'] * 45
ids_sk = [f'id_sk_{i}' for i in range(len(categories_sk))]

df_sk = pd.DataFrame({
    'cat': categories_sk,
    'id': ids_sk
})

ARGS = {
    'df_sk': df_sk,
    'df_cad': df_cad
}
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 — 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
to_numpy Ran
ran on a synthesized input
twuilliam/open-search/utils.py
code served (permissive licence) · get_code("f538407c03e22ccc")
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 torch

torch.manual_seed(0)

# The function takes a tensor x, calls .cpu() on it, accesses .data, and calls .numpy()
# Then indexes [0] on the result, suggesting a batch dimension
# We need a torch tensor with at least one batch element

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 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
transform_path Ran
ran on a synthesized input
twuilliam/shrec-sketches-helpers/resize_sk.py
code served (permissive licence) · get_code("2c92c5a112ff2faf")
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
import os

# Create a small DataFrame with index paths that match the expected format
# The function expects paths with dataset names and nested structure
data = {'col1': [1, 2], 'col2': [3, 4]}

# Create index paths with the expected structure
# Format: dataset/intermediate/file1/file2/file3
index_paths = [
    os.path.join('SHREC13', 'somedir', 'a', 'b', 'c.txt'),
    os.path.join('SHREC14', 'somedir', 'x', 'y', 'z.txt')
]

df = pd.DataFrame(data, index=index_paths)

ARGS = {
    'df': df
}
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 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_df_models Not yet run
unverified (harvested, no recorded run)
twuilliam/shrec-sketches-helpers/meta.py
code served (permissive licence) · get_code("23f10677122afb3b")
How it ran

no invocation recorded.

transform_im Not yet run
unverified (harvested, no recorded run)
twuilliam/shrec-sketches-helpers/resize_cad.py
code served (permissive licence) · get_code("025e92978685444f")
How it ran

no invocation recorded.

transform_im Not yet run
unverified (harvested, no recorded run)
twuilliam/shrec-sketches-helpers/resize_sk.py
code served (permissive licence) · get_code("e399ef1611a7538c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 17 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
mean_reciprocal_rank 4 other papers
1 dated earlier, 3 later
1702.01417 (2017-02)
All-but-the-Top: Simple and Effective Postprocessing for Word Representations
2208.11083 (2022-08)
Learn Basic Skills and Reuse: Modularized Adaptive Neural Architecture Search (MANAS)
2310.14481 (2023-10)
Efficient Heterogeneous Graph Learning via Random Projection
and 1 more not named here
r_precision 3 other papers
1 dated earlier, 2 later
1702.01417 (2017-02)
All-but-the-Top: Simple and Effective Postprocessing for Word Representations
2208.11083 (2022-08)
Learn Basic Skills and Reuse: Modularized Adaptive Neural Architecture Search (MANAS)
2311.03998 (2023-11)
Exploring Jiu-Jitsu Argumentation for Writing Peer Review Rebuttals
precision_at_k 1 other paper
1 dated earlier
1702.01417 (2017-02)
All-but-the-Top: Simple and Effective Postprocessing for Word Representations

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

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

Abstract

This paper addresses cross-domain visual search, where visual queries retrieve category samples from a different domain. For example, we may want to sketch an airplane and retrieve photographs of airplanes. Despite considerable progress, the search occurs in a closed setting between two pre-defined domains. In this paper, we make the step towards an open setting where multiple visual domains are available. This notably translates into a search between any pair of domains, from a combination of domains or within multiple domains. We introduce a simple -- yet effective -- approach. We formulate the search as a mapping from every visual domain to a common semantic space, where categories are represented by hyperspherical prototypes. Open cross-domain visual search is then performed by searching in the common semantic space, regardless of which domains are used as source or target. Domains are combined in the common space to search from or within multiple domains simultaneously. A separate training of every domain-specific mapping function enables an efficient scaling to any number of domains without affecting the search performance. We empirically illustrate our capability to perform open cross-domain visual search in three different scenarios. Our approach is competitive with respect to existing closed settings, where we obtain state-of-the-art results on several benchmarks for three sketch-based search tasks.

For agents

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

get_harvested_code_for_paper("1911.08621")
get_code_for_paper("1911.08621")
have("1911.08621")

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

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

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

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

Connect an agent — have() is free.