SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1904.07850 · 2019

Objects as Points

arXiv · PDF · Open in the Atlas

Code that ran

77 of 130 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 63 have no contract verdict; 14 failures of our instrument; 53 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/1904.07850.json · badge: /api/ran/1904.07850.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
xingyizhou/CenterNet canonical (classifier label)
classifier basis: census
0 ran · 5 no recorded run
xuannianz/keras-CenterNet community (classifier label)
classifier basis not recorded on the link
12 ran · 4 no recorded run
AlongRide/CenterNet_anchor_free community (classifier label)
classifier basis not recorded on the link
8 ran · 0 no recorded run
see--/keras-centernet community (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
lcxzzz0113/CenterNet community (classifier label)
classifier basis not recorded on the link
5 ran · 4 no recorded run
WYGNG/USTC_SSE_Project community (classifier label)
classifier basis not recorded on the link
5 ran · 2 no recorded run
maudzung/SFA3D community (classifier label)
classifier basis not recorded on the link
4 ran · 3 no recorded run
tteepe/CenterNet-pytorch-lightning community (classifier label)
classifier basis not recorded on the link
4 ran · 3 no recorded run
tensorboy/centerpose community (classifier label)
classifier basis not recorded on the link
4 ran · 1 no recorded run
Wastoon/XinTong_CenterNet community (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
hoanguyen81190/Synopticon-CenterNet community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
Stick-To/CenterNet-tensorflow community (classifier label)
classifier basis not recorded on the link
2 ran · 3 no recorded run
goodxue/CenterNet community (classifier label)
classifier basis not recorded on the link
2 ran · 3 no recorded run
dheerajpreddy/CenterNet-without-DCN community (classifier label)
classifier basis: plan_row
2 ran · 2 no recorded run
vietanhdev/centernet-bdd-data-onnx-conversion community (classifier label)
classifier basis not recorded on the link
2 ran · 2 no recorded run
PingoLH/CenterNet-HarDNet community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
wanglaotou/centernet_ncnn community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
gzerveas/gaila_object_detection extension (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FateScript/CenterNet-better community (classifier label)
classifier basis not recorded on the link
2 ran · 0 no recorded run
vietanhdev/open-adas community (classifier label)
classifier basis not recorded on the link
2 ran · 0 no recorded run
xggIoU/centernet_tensorflow_wilderface_voc reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
Lakerszjb/CentereNet-C community (classifier label)
classifier basis not recorded on the link
1 ran · 3 no recorded run
593903762/center community (classifier label)
classifier basis not recorded on the link
1 ran · 2 no recorded run
Guanghan/CenterNet-Gluon community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
stdbreaks/centernet reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 3 no recorded run
FunctionStatusWhere it lives
ComputeMaxLevel Ran
ran on a synthesized input
lcxzzz0113/CenterNet/src/lib/detectors/base_detector.py
code served (permissive licence) · get_code("8601226e45f31117")
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 int64, ndim 0, dtype family int, 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 numpy as np

# ComputeMaxLevel expects:
# - hist: a numpy array (used with slicing [::-1], np.add.accumulate, np.argwhere)
# - pnum: a numeric value (used in arithmetic: pnum * 2 * 0.01)

# Create a histogram with some values
# Histogram typically has 256 bins for 8-bit images, but we'll use a smaller one for testing
hist = np.array([10, 20, 30, 25, 15, 5, 3, 2, 1, 1, 1, 1])

# Create a numeric parameter
# pnum should be chosen such that the condition np.argwhere(Iter_sum > pnum * 2 * 0.01)
# returns at least one element to avoid index errors
pnum = 500

ARGS = {
    "hist": hist,
    "pnum": pnum
}
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 int64, ndim 0, dtype family int, 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
ComputeMinLevel Ran
ran on a synthesized input
lcxzzz0113/CenterNet/src/lib/detectors/base_detector.py
code served (permissive licence) · get_code("3b0c73e4c57ebaad")
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 int64, ndim 0, dtype family int, 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 numpy as np

# Construct arguments for ComputeMinLevel
# The function computes cumulative sum of hist, then finds the first index where cumsum > pnum * 8 * 0.01

# Create a histogram array - needs to be large enough that cumulative sum crosses the threshold
hist = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], dtype=np.float32)

# pnum: a number such that pnum * 8 * 0.01 will be compared against cumulative sum
# Let's choose pnum = 50, so threshold = 50 * 8 * 0.01 = 4
# The cumulative sum will be [1, 3, 6, 10, 15, ...]
# First index where cumsum > 4 is index 2 (value 6)
pnum = 50

ARGS = {
    "hist": hist,
    "pnum": pnum
}
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 int64, ndim 0, dtype family int, 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
IOU Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gzerveas/gaila_object_detection/src/gaila_eval.py
code served (permissive licence) · get_code("c09475f6e66fe874")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

# The function expects two bounding boxes in format [x1, y1, x2, y2]
# where (x1, y1) is top-left corner and (x2, y2) is bottom-right corner
# These should be lists or arrays with 4 elements each

boxA = [10, 20, 50, 60]  # Box A: top-left (10, 20), bottom-right (50, 60)
boxB = [30, 40, 70, 80]  # Box B: top-left (30, 40), bottom-right (70, 80)

ARGS = {
    'boxA': boxA,
    'boxB': boxB
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
LinearMap Ran
ran on a synthesized input
lcxzzz0113/CenterNet/src/lib/detectors/base_detector.py
code served (permissive licence) · get_code("d16f204f2617bc44")
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 int, shape (256,) 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

# LinearMap takes two parameters: minlevel and maxlevel
# Looking at the function body:
# - It checks if minlevel >= maxlevel
# - It creates an array of indices 0-255
# - It uses minlevel and maxlevel for comparison and arithmetic operations
# Both should be integers (or numeric types) that can be compared and used in arithmetic

ARGS = {
    "minlevel": 50,
    "maxlevel": 200
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family int, shape (256,) — shape (256,) 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
add_coco_hp Ran
ran on a synthesized input
tensorboy/centerpose/demo/demo_main.py
code served (permissive licence) · get_code("8ab1ac1884abfcd8")
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 (480, 640, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import cv2
import math

# Create a small image (height=480, width=640, channels=3)
image = np.zeros((480, 640, 3), dtype=np.uint8)

# Create keypoints array with 17 keypoints (COCO format)
# Each keypoint has (x, y) coordinates
# Shape: (17, 2)
points = np.array([
    [100, 150],  # nose
    [95, 140],   # left_eye
    [105, 140],  # right_eye
    [90, 135],   # left_ear
    [110, 135],  # right_ear
    [80, 200],   # left_shoulder
    [120, 200],  # right_shoulder
    [70, 250],   # left_elbow
    [130, 250],  # right_elbow
    [60, 280],   # left_wrist
    [140, 280],  # right_wrist
    [85, 300],   # left_hip
    [115, 300],  # right_hip
    [80, 350],   # left_knee
    [120, 350],  # right_knee
    [75, 400],   # left_ankle
    [125, 400],  # right_ankle
], dtype=np.int32)

# Color for drawing (BGR format)
color = np.array([0, 255, 0], dtype=np.uint8)

ARGS = {
    'image': image,
    'points': points,
    'color': color,
}
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 (480, 640, 3) — shape (480, 640, 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
autocontrast Ran
ran on a synthesized input
xuannianz/keras-CenterNet/augmentor/color.py
code served (permissive licence) · get_code("e086f3c2ab723b33")
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 numpy as np
from PIL import Image, ImageEnhance, ImageOps

np.random.seed(0)

# Create a small RGB image as a numpy array
# Shape: (height, width, channels) with channels in BGR order (since the function uses [..., ::-1])
image_array = np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)

ARGS = {
    "image": image_array,
    "prob": 0.5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
bytes_feature Ran
ran on a synthesized input
Stick-To/CenterNet-tensorflow/utils/tfrecord_imagenet_utils.py
code served (permissive licence) · get_code("0f43310d75bd2e2b")
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 Feature. 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 tensorflow as tf

# The function bytes_feature takes 'values' parameter
# It checks if values is a tuple or list, and if not, wraps it in a list
# Then it creates a tf.train.Feature with a BytesList containing those values
# The values should be bytes objects

# Create some sample bytes values
sample_bytes_1 = b"hello"
sample_bytes_2 = b"world"

# Test case 1: single bytes value (will be wrapped in list)
values_single = b"test_data"

# Test case 2: list of bytes values
values_list = [sample_bytes_1, sample_bytes_2]

# Test case 3: tuple of bytes values
values_tuple = (b"data1", b"data2", b"data3")

# Use the list case as our primary test
ARGS = {
    "values": [b"example_bytes_data"]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Feature — a Feature output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Feature 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
cal_turexy Ran
ran on a synthesized input
WYGNG/USTC_SSE_Project/src/UIdemo.py
code served (permissive licence) · get_code("e8a87bbfe3c97021")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

# cal_turexy takes pixel coordinates (v, u), focal lengths (fx, fy), 
# principal point (cx, cy), and depth Z to compute 3D coordinates (X, Y)
# All parameters are numeric values or tensors

v = torch.tensor(240.0)
u = torch.tensor(320.0)
fx = torch.tensor(500.0)
fy = torch.tensor(500.0)
cx = torch.tensor(320.0)
cy = torch.tensor(240.0)
Z = torch.tensor(1.0)

ARGS = {
    "v": v,
    "u": u,
    "fx": fx,
    "fy": fy,
    "cx": cx,
    "cy": cy,
    "Z": Z
}
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 tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_bin_loss Ran
ran; our contract draft was wrong, not the code
Wastoon/XinTong_CenterNet/src/lib/models/losses.py
code served (permissive licence) · get_code("65d7a40d70c53ed9")
How it ran

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

import torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

# Analyze the function:
# - output: passed to F.cross_entropy, so should be (batch_size, num_classes) logits
# - target: passed to F.cross_entropy, so should be (batch_size,) with class indices
# - mask: has .expand_as(output) called on it, then .float() is called
#   mask should be broadcastable to output shape

batch_size = 2
num_classes = 4

# output: logits tensor (batch_size, num_classes)
output = torch.randn(batch_size, num_classes)

# target: class indices (batch_size,) with values in [0, num_classes)
target = torch.tensor([0, 2], dtype=torch.long)

# mask: should be broadcastable to output shape
# Can be a single value or smaller tensor that expands
mask = torch.ones(batch_size, 1)

ARGS = {
    "output": output,
    "target": target,
    "mask": mask,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_radius Ran
ran on a synthesized input
maudzung/SFA3D/sfa/data_process/kitti_data_utils.py
code served (permissive licence) · get_code("01fb05fe7b768f7b")
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

ARGS = {
    "det_size": (480, 640),
    "min_overlap": 0.7
}
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
compute_res_loss Ran
ran; our contract draft was wrong, not the code
Wastoon/XinTong_CenterNet/src/lib/models/losses.py
code served (permissive licence) · get_code("7df13fb9e54d592b")
How it ran

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

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for output and target
# batch_size=2, feature_dim=4
output = torch.randn(2, 4)
target = torch.randn(2, 4)

ARGS = {
    'output': output,
    'target': target,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_rot_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Wastoon/XinTong_CenterNet/src/lib/models/losses.py
code served (permissive licence) · get_code("8accefa95d8419ec")
How it ran

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

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create output tensor: shape (batch_size, 8) since output.view(-1, 8) is called
output = torch.randn(2, 8)

# Create target_bin tensor: shape (batch_size, 2) since target_bin.view(-1, 2) is called
# Values should be 0 or 1 for cross_entropy classification
target_bin = torch.tensor([[1, 0], [0, 1]], dtype=torch.long)

# Create target_res tensor: shape (batch_size, 2) since target_res.view(-1, 2) is called
# These are angle values that will have sin/cos applied
target_res = torch.randn(2, 2)

# Create mask tensor: shape (batch_size, 1) since mask.view(-1, 1) is called
# Mask should be binary or float values
mask = torch.tensor([[1], [1]], dtype=torch.float32)

ARGS = {
    'output': output,
    'target_bin': target_bin,
    'target_res': target_res,
    'mask': mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
conv3x3 Ran
ran; our contract draft was wrong, not the code
dheerajpreddy/CenterNet-without-DCN/src/lib/models/networks/resnet_dcn.py
pointer only (licence: MIT); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
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 lixiaotong97/DSU, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3 Ran
ran; our contract draft was wrong, not the code
PingoLH/CenterNet-HarDNet/src/lib/models/networks/hardnet.py
code served (permissive licence) · get_code("dd1114865f06f0fd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Conv2d. 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
from torch import nn

torch.manual_seed(0)

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
convert_basic_c2_names Ran
ran; our contract draft was wrong, not the code
FateScript/CenterNet-better/dl_lib/checkpoint/c2_model_loading.py
code served (permissive licence) · get_code("e8526a516b4f9206")
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 copy
import re

# Analyze the function: it takes a list of strings (original_keys) and applies
# various string transformations to them. It doesn't use any complex objects,
# just list operations and string manipulations.

ARGS = {
    'original_keys': [
        'pred_b',
        'pred_w',
        'conv_b',
        'conv_w',
        'bn_s',
        'bn_bias',
        'bn_rm',
        'bn_riv',
        'bn_gamma',
        'bn_beta',
        'gn_s',
        'gn_bias',
        'res_conv1_norm_weight',
        'conv1_weight',
        'layer_branch1_weight',
        'layer_branch2a_bias',
        'layer_branch2b_weight',
        'layer_branch2c_bias',
        'body_conv_fcn_weight',
        'AnnIndex_lowres',
        'Index_UV_lowres',
        'U_lowres',
        'V_lowres',
    ]
}
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
convert_c2_detectron_names Ran
ran; our contract draft was wrong, not the code
FateScript/CenterNet-better/dl_lib/checkpoint/c2_model_loading.py
code served (permissive licence) · get_code("52810b504f0d1066")
How it ran

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

import torch
import logging
import copy

torch.manual_seed(0)

# Set up logging to avoid issues
logging.basicConfig(level=logging.INFO)

# Create a minimal weights dict with C2-style naming conventions
# The function processes weight names, so we just need dummy tensors
weights = {
    'res_conv1_bn_s': torch.randn(4),
    'res_conv1_bn_bias': torch.randn(4),
    'pred_w': torch.randn(3, 4),
    'pred_b': torch.randn(3),
    'conv_rpn_fpn2_weight': torch.randn(4, 4),
    'rpn_bbox_pred_weight': torch.randn(4, 4),
    'rpn_cls_logits_weight': torch.randn(4, 4),
    'fc6_weight': torch.randn(4, 4),
    'fc7_bias': torch.randn(4),
    'fpn_inner_res2_2_sum_lateral_weight': torch.randn(4, 4),
    'fpn_res2_2_sum_weight': torch.randn(4, 4),
    'fpn_inner_res3_3_sum_lateral_bias': torch.randn(4),
    'fpn_res3_3_sum_bias': torch.randn(4),
    'bbox_pred_weight': torch.randn(4, 4),
    'cls_score_bias': torch.randn(4),
    'head_conv_weight': torch.randn(4, 4),
}

ARGS = {
    'weights': weights,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
count_trailing_ones Ran
ran on a synthesized input
vietanhdev/open-adas/src/perception/common/onnx_models/onnx-tensorrt/onnx_tensorrt/backend.py
code served (permissive licence) · get_code("9af0e82c0b75647e")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function count_trailing_ones iterates through vals in reverse
# and counts consecutive 1s from the end until it hits a non-1 value.
# It expects an iterable (list, tuple, tensor, etc.) of values.

# Test case 1: list with trailing ones
vals_1 = [2, 3, 1, 1, 1]

ARGS = {
    "vals": vals_1
}
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 int, ndim 0, dtype family int, 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
createElementNode Ran
ran on a synthesized input
lcxzzz0113/CenterNet/utils/coco2val.py
code served (permissive licence) · get_code("cb23aed966c647fd")
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 Element. 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 xml.dom import minidom

doc = minidom.Document()
tag = "example_tag"
attr = "example_attribute_text"

ARGS = {
    "doc": doc,
    "tag": tag,
    "attr": attr,
}
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 Element — a Element output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Element 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
createObjectNode Ran
ran on a synthesized input
lcxzzz0113/CenterNet/utils/coco2val.py
code served (permissive licence) · get_code("10a285b10fa42f28")
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 Element. 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 xml.dom import minidom

doc = minidom.Document()

ann = [
    5,
    [10, 20, 30, 40]
]

ARGS = {
    'doc': doc,
    'ann': ann
}
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 Element — a Element output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Element 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
crop Ran
ran on a synthesized input
xuannianz/keras-CenterNet/augmentor/misc.py
code served (permissive licence) · get_code("4583d8c3cf1a89c0")
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

# Set random seed for reproducibility
np.random.seed(0)

# Create a sample image (height=100, width=150, channels=3)
image = np.random.randint(0, 256, (100, 150, 3), dtype=np.uint8)

# Create sample boxes in format [x1, y1, x2, y2]
# Create 2 boxes with distinct positions to ensure min/max operations work
boxes = np.array([
    [10, 20, 40, 60],
    [30, 25, 80, 70]
], dtype=np.float32)

# Probability of cropping
prob = 0.5

ARGS = {
    "image": image,
    "boxes": boxes,
    "prob": prob
}
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
data_augment Ran
ran on a synthesized input
AlongRide/CenterNet_anchor_free/data_pre-processing/data_aug_segmentation.py
code served (permissive licence) · get_code("53e69d020bbaeda3")
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.

from PIL import Image
import numpy as np

# Create small test images for src_roi and label_roi
# Using RGB mode for src_roi (color image) and L mode for label_roi (grayscale/label map)
src_roi = Image.new('RGB', (64, 64), color=(100, 150, 200))
label_roi = Image.new('L', (64, 64), color=128)

ARGS = {
    'src_roi': src_roi,
    'label_roi': label_roi,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
draw_bbox Ran
ran on a synthesized input
AlongRide/CenterNet_anchor_free/1_util.py
code served (permissive licence) · get_code("5f61628f4d5e3b95")
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 (100, 100, 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

# Create a small test image (100x100 RGB image)
img = np.ones((100, 100, 3), dtype=np.uint8) * 255

# Define bounding box coordinates [x1, y1, x2, y2]
box = [10, 15, 50, 60]

# Class name
cls_name = "person"

# Identity (optional, used for color indexing)
identity = 2

# Offset tuple (dx, dy)
offset = (0, 0)

ARGS = {
    "img": img,
    "box": box,
    "cls_name": cls_name,
    "identity": identity,
    "offset": offset
}
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 (100, 100, 3) — shape (100, 100, 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
draw_bboxes Ran
ran on a synthesized input
AlongRide/CenterNet_anchor_free/1_util.py
code served (permissive licence) · get_code("3e98aeed3e833dc6")
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 (480, 640, 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

# Create a simple test image (640x480 RGB)
img = np.ones((480, 640, 3), dtype=np.uint8) * 255

# Create bounding boxes in format [x1, y1, x2, y2]
# Using 2 bounding boxes with distinct coordinates
bbox = np.array([
    [100.5, 150.5, 250.5, 300.5],
    [350.2, 200.2, 500.8, 400.8]
], dtype=np.float32)

# Create identities for tracking
identities = np.array([1, 5], dtype=np.int32)

# Create offset
offset = (10, 20)

ARGS = {
    'img': img,
    'bbox': bbox,
    'identities': identities,
    'offset': offset
}
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 (480, 640, 3) — shape (480, 640, 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
draw_umich_gaussian Ran
ran on a synthesized input
tteepe/CenterNet-pytorch-lightning/CenterNet/utils/gaussian.py
code served (permissive licence) · get_code("b6f9a9fa5382854e")
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 (32, 24) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a heatmap tensor (height=32, width=24)
heatmap = torch.zeros(32, 24, dtype=torch.float32)

# Define center coordinates
center = (12, 16)

# Define radius for the gaussian
radius = 5

# Define intensity multiplier
k = 1.0

ARGS = {
    'heatmap': heatmap,
    'center': center,
    'radius': radius,
    'k': k
}
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 (32, 24) — shape (32, 24) 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
equalize Ran
ran on a synthesized input
xuannianz/keras-CenterNet/augmentor/color.py
code served (permissive licence) · get_code("fa854046bf72851b")
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 numpy as np
from PIL import Image

np.random.seed(0)

# Create a small test image as a numpy array
# The function expects an image in BGR format (based on the [..., ::-1] operations)
# Shape should be (height, width, channels)
image_array = np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)

ARGS = {
    "image": image_array,
    "prob": 0.5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
file_name Ran
ran on a synthesized input
AlongRide/CenterNet_anchor_free/data_pre-processing/data_aug_segmentation.py
code served (permissive licence) · get_code("6013528f5d57ced7")
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
import tempfile
import shutil

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

# Create subdirectories and files to simulate a real directory structure
subdir1 = os.path.join(temp_dir, "subdir1")
subdir2 = os.path.join(temp_dir, "subdir2")
os.makedirs(subdir1)
os.makedirs(subdir2)

# Create some dummy files
open(os.path.join(temp_dir, "file1.txt"), 'w').close()
open(os.path.join(temp_dir, "file2.txt"), 'w').close()
open(os.path.join(subdir1, "file3.txt"), 'w').close()
open(os.path.join(subdir1, "file4.txt"), 'w').close()
open(os.path.join(subdir2, "file5.txt"), 'w').close()

ARGS = {
    "file_dir": temp_dir
}
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
flipx Ran
ran on a synthesized input
xuannianz/keras-CenterNet/augmentor/misc.py
code served (permissive licence) · get_code("18a2466103412f3f")
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

# Create a small test image (height=4, width=3, channels=3)
image = np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)

# Create bounding boxes in format [x1, y1, x2, y2]
# Using 2 boxes with coordinates within image bounds
boxes = np.array([
    [0.5, 1.0, 2.0, 3.0],
    [0.8, 0.5, 1.5, 2.5]
], dtype=np.float32)

prob = 0.5

ARGS = {
    "image": image,
    "boxes": boxes,
    "prob": prob
}
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
freeze Ran
ran on a synthesized input
xuannianz/keras-CenterNet/utils/model.py
code served (permissive licence) · get_code("6437d24bcf003fe4")
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 MinimalModel. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal model with a .layers attribute
class MinimalModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.layers = [
            nn.Linear(4, 3),
            nn.Linear(3, 2),
            nn.Linear(2, 1)
        ]
    
    def forward(self, x):
        return x

model = MinimalModel()

ARGS = {
    "model": model
}
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 MinimalModel — a MinimalModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MinimalModel 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
gather_numpy Ran
ran on a synthesized input
tensorboy/centerpose/demo/convert2onnx.py
code served (permissive licence) · get_code("d0899bd338609b66")
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 float, shape (3, 2, 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 numpy as np

# Create test inputs for gather_numpy
# inputs: shape (3, 4, 5) - 3D array
inputs = np.arange(60).reshape(3, 4, 5).astype(np.float32)

# index: must have same shape as inputs except along dim
# For dim=1, index should have shape (3, ?, 5) where ? can be different
# Let's use dim=1 and index shape (3, 2, 5)
index = np.array([
    [[0, 1, 2, 1, 0],
     [1, 2, 3, 2, 1]],
    [[1, 0, 1, 0, 2],
     [2, 1, 3, 1, 0]],
    [[0, 2, 1, 2, 1],
     [1, 3, 2, 0, 2]]
], dtype=np.int_)

dim = 1

ARGS = {
    "inputs": inputs,
    "dim": dim,
    "index": index
}
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 3, dtype family float, shape (3, 2, 5) — shape (3, 2, 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
gaussian2D Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
maudzung/SFA3D/sfa/data_process/kitti_data_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from CrazyShout/INSTINCT, is pointer only (licence: NOASSERTION) · get_code("86282b7f90be63f2")
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 CrazyShout/INSTINCT, 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.

gaussian2D Ran
ran on a synthesized input
tteepe/CenterNet-pytorch-lightning/CenterNet/utils/gaussian.py
code served (permissive licence) · get_code("98749cf97ebd3dfe")
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 (5, 7) 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)

ARGS = {
    "shape": (5, 7),
    "sigma": 1.0
}
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 (5, 7) — shape (5, 7) 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
gaussian_radius Ran
ran on a synthesized input
tteepe/CenterNet-pytorch-lightning/CenterNet/utils/gaussian.py
code served (permissive licence) · get_code("839c0b45153e267b")
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 float, 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 math

def gaussian_radius(det_size, min_overlap=0.7):
    height, width = det_size
    a1 = 1
    b1 = height + width
    c1 = width * height * (1 - min_overlap) / (1 + min_overlap)
    sq1 = math.sqrt(b1 ** 2 - 4 * a1 * c1)
    r1 = (b1 + sq1) / 2
    a2 = 4
    b2 = 2 * (height + width)
    c2 = (1 - min_overlap) * width * height
    sq2 = math.sqrt(b2 ** 2 - 4 * a2 * c2)
    r2 = (b2 + sq2) / 2
    a3 = 4 * min_overlap
    b3 = -2 * min_overlap * (height + width)
    c3 = (min_overlap - 1) * width * height
    sq3 = math.sqrt(b3 ** 2 - 4 * a3 * c3)
    r3 = (b3 + sq3) / 2
    return min(r1, r2, r3)

ARGS = {
    "det_size": (32, 48),
    "min_overlap": 0.7
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_angle1 Ran
ran on a synthesized input
WYGNG/USTC_SSE_Project/src/T2D23D.py
code served (permissive licence) · get_code("fb5265196a6237f4")
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 float, 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 math

def get_angle1(x1, y1, z1, x2, y2, z2, x3, y3, z3):
    a = math.sqrt((x2 - x3) ** 2 + (y2 - y3) ** 2 + (z2 - z3) ** 2)
    b = math.sqrt((x1 - x3) ** 2 + (y1 - y3) ** 2 + (z1 - z3) ** 2)
    c = math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2 + (z2 - z1) ** 2)
    if c * b == 0:
        cosA = 1
    else:
        cosA = (a ** 2 - c ** 2 - b ** 2) / (-2 * c * b)
    if cosA < -1.0:
        cosA = -1.0
    elif cosA > 1.0:
        cosA = 1.0
    A = math.acos(cosA)
    deg = math.degrees(A)
    return deg

ARGS = {
    "x1": 0.0,
    "y1": 0.0,
    "z1": 0.0,
    "x2": 1.0,
    "y2": 0.0,
    "z2": 0.0,
    "x3": 0.0,
    "y3": 1.0,
    "z3": 0.0,
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_angle1 Ran
ran on a synthesized input
WYGNG/USTC_SSE_Project/src/demo1.py
code served (permissive licence) · get_code("03390f76a0deb944")
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 float, 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 math

def get_angle1(x1, y1, x2, y2, x3, y3):
    a = math.sqrt((x2 - x3) ** 2 + (y2 - y3) ** 2)
    b = math.sqrt((x1 - x3) ** 2 + (y1 - y3) ** 2)
    c = math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)
    if c * b == 0:
        cosA = 1
    else:
        cosA = (a ** 2 - c ** 2 - b ** 2) / (-2 * c * b)
    if cosA < -1.0:
        cosA = -1.0
    elif cosA > 1.0:
        cosA = 1.0
    A = math.acos(cosA)
    deg = math.degrees(A)
    return deg

ARGS = {
    "x1": 0.0,
    "y1": 0.0,
    "x2": 3.0,
    "y2": 4.0,
    "x3": 3.0,
    "y3": 0.0,
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_color Ran
ran on a synthesized input
see--/keras-centernet/keras_centernet/utils/utils.py
code served (permissive licence) · get_code("b3fc6fe78497a950")
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 float, 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 math

def get_color(c, x, max_value, colors=[[1, 0, 1], [0, 0, 1], [0, 1, 1], [0, 1, 0], [1, 1, 0], [1, 0, 0]]):
    ratio = x / max_value * 5
    i = math.floor(ratio)
    j = math.ceil(ratio)
    ratio -= i
    r = (1.0 - ratio) * colors[i][c] + ratio * colors[j][c]
    return r

ARGS = {
    "c": 0,
    "x": 2.5,
    "max_value": 10,
    "colors": [[1, 0, 1], [0, 0, 1], [0, 1, 1], [0, 1, 0], [1, 1, 0], [1, 0, 0]]
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_corners Ran
ran on a synthesized input
maudzung/SFA3D/sfa/data_process/kitti_bev_utils.py
code served (permissive licence) · get_code("76d238f8733b4413")
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 (4, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function get_corners takes 5 scalar parameters:
# x: x-coordinate (float)
# y: y-coordinate (float)
# w: width (float)
# l: length (float)
# yaw: yaw angle in radians (float)

# Create simple scalar values for a bounding box in bird's eye view
x = 10.0
y = 20.0
w = 4.5
l = 2.0
yaw = np.pi / 4  # 45 degrees

ARGS = {
    "x": x,
    "y": y,
    "w": w,
    "l": l,
    "yaw": yaw,
}
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 (4, 2) — shape (4, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_ids Ran
ran on a synthesized input
goodxue/CenterNet/carla_ros/multiview_fusion_34.py
code served (permissive licence) · get_code("b2749fa442e73f84")
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 tempfile
import os

# Create a temporary file with the expected format
# The format appears to be: type truncated occluded alpha bbox(4) dim(3) location(3) rotation_y car_id
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("Car 0 0 0.5 100.0 150.0 200.0 250.0 1.5 1.8 2.0 10.0 20.0 30.0 1.57 1\n")
temp_file.write("Car 0 1 0.3 110.0 160.0 210.0 260.0 1.6 1.9 2.1 11.0 21.0 31.0 1.58 2\n")
temp_file.write("Car 1 0 0.2 120.0 170.0 220.0 270.0 1.7 2.0 2.2 12.0 22.0 32.0 1.59 1\n")
temp_file.close()

file_name = temp_file.name

ARGS = {
    "file_name": file_name,
    "id_list": None
}
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 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_img_np_nchw Ran
ran on a synthesized input
PingoLH/CenterNet-HarDNet/src/demo_trt.py
code served (permissive licence) · get_code("db60c7a7f8325ae3")
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 4, dtype family float, shape (1, 3, 224, 224) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import 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_image.png")

# Create a simple test image (224x224 RGB image)
test_image = np.random.randint(0, 256, (224, 224, 3), dtype=np.uint8)
# Convert from RGB to BGR for cv2.imwrite
test_image_bgr = cv2.cvtColor(test_image, cv2.COLOR_RGB2BGR)
cv2.imwrite(temp_image_path, test_image_bgr)

ARGS = {
    "filename": 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 4, dtype family float, shape (1, 3, 224, 224) — shape (1, 3, 224, 224) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_model_url Ran
ran; our contract draft was wrong, not the code
dheerajpreddy/CenterNet-without-DCN/src/lib/models/networks/pose_dla_dcn.py
code served (permissive licence) · get_code("9d627c4b862db734")
How it ran

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

import torch
from os.path import join

torch.manual_seed(0)

ARGS = {
    'data': 'imagenet',
    'name': 'dla34',
    'hash': 'ba72cf86'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_num_parameters Ran
ran on a synthesized input
maudzung/SFA3D/sfa/models/model_utils.py
code served (permissive licence) · get_code("7bf982cd2568c239")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple model with trainable parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    'model': model
}
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 int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_point_3d Ran
ran on a synthesized input
WYGNG/USTC_SSE_Project/src/T2D23D.py
code served (permissive licence) · get_code("8675918b6498617d")
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 math

# Analyzing the function:
# - point: needs indices 0-35 (36 elements total), used with division by s_target
# - s_target: scalar, used for division
# - L: list/array with indices 0-11 (12 elements total), used for length calculations

# Create point as a list with 36 elements
# Values chosen to avoid numerical issues (sqrt of negative numbers)
point = [
    100, 105,    # 0-1
    110, 115,    # 2-3
    120, 125,    # 4-5
    130, 135,    # 6-7
    140, 145,    # 8-9
    150, 155,    # 10-11
    160, 165,    # 12-13
    170, 175,    # 14-15
    180, 185,    # 16-17
    190, 195,    # 18-19
    200, 205,    # 20-21
    210, 215,    # 22-23
    1.0, 1.5,    # 24-25
    2.0, 2.5,    # 26-27
    3.0, 3.5,    # 28-29
    4.0, 4.5,    # 30-31
    5.0, 5.5,    # 32-33
    6.0, 6.5,    # 34-35
]

# s_target should be a positive scalar
s_target = 100.0

# L needs 12 elements representing lengths in a kinematic chain
# Values chosen to be large enough to avoid negative values under sqrt
L = [500.0, 450.0, 480.0, 470.0, 490.0, 460.0, 440.0, 430.0, 420.0, 410.0, 400.0, 390.0]

ARGS = {
    "point": point,
    "s_target": s_target,
    "L": L,
}
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 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_rgb_color Ran
ran on a synthesized input
see--/keras-centernet/keras_centernet/utils/utils.py
code served (permissive licence) · get_code("f0a13f31d73d7cf8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family 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 math

def get_color(c, x, max_value, colors=[[1, 0, 1], [0, 0, 1], [0, 1, 1], [0, 1, 0], [1, 1, 0], [1, 0, 0]]):
    ratio = x / max_value * 5
    i = math.floor(ratio)
    j = math.ceil(ratio)
    ratio -= i
    r = (1.0 - ratio) * colors[i][c] + ratio * colors[j][c]
    return r

def get_rgb_color(cls, clses):
    offset = cls * 123457 % clses
    red = get_color(2, offset, clses)
    green = get_color(1, offset, clses)
    blue = get_color(0, offset, clses)
    return (int(red * 255), int(green * 255), int(blue * 255))

ARGS = {
    "cls": 3,
    "clses": 10
}
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 tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_s Ran
ran on a synthesized input
WYGNG/USTC_SSE_Project/src/T2D23D.py
code served (permissive licence) · get_code("96f091903118b608")
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 float, 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 math

# The function takes two parameters: point and L
# point: a sequence/list of at least 24 numeric values (indices 0-23 are used)
# L: a sequence/list of at least 12 numeric values (indices 0-11 are used)

# Create point as a list of 24 coordinate values
# These represent 12 2D points (x, y pairs)
point = [
    0.0, 0.0,      # point 0: indices 0-1
    1.0, 1.0,      # point 1: indices 2-3
    2.0, 0.5,      # point 2: indices 4-5
    1.5, 2.0,      # point 3: indices 6-7
    3.0, 1.0,      # point 4: indices 8-9
    2.5, 2.5,      # point 5: indices 10-11
    0.5, 1.5,      # point 6: indices 12-13
    1.0, 0.5,      # point 7: indices 14-15
    0.8, 2.0,      # point 8: indices 16-17
    1.2, 1.8,      # point 9: indices 18-19
    2.0, 1.5,      # point 10: indices 20-21
    1.5, 0.8,      # point 11: indices 22-23
]

# Create L as a list of 12 length scales (distances to normalize by)
L = [1.0, 1.5, 2.0, 0.5, 1.2, 1.8, 0.8, 1.1, 0.9, 1.3, 1.6, 0.7]

ARGS = {
    "point": point,
    "L": L,
}
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 float, 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
img_to_feature_path Ran
ran; our contract draft was wrong, not the code
gzerveas/gaila_object_detection/src/gaila_eval.py
code served (permissive licence) · get_code("7d3872168d714f89")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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.

# The function expects a path string and performs string operations on it
# It splits by '.', replaces extension with '.npz', splits by '/', and takes last 3 parts

path = "some/directory/structure/image_file.jpg"

ARGS = {
    "path": path
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
int64_feature Ran
ran; our contract draft was wrong, not the code
Stick-To/CenterNet-tensorflow/utils/tfrecord_imagenet_utils.py
code served (permissive licence) · get_code("951049ed28977b60")
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 Feature. 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 tensorflow as tf

ARGS = {
    "values": [1, 2, 3, 4, 5]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Feature — a Feature output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Feature 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
intersect Ran
ran on a synthesized input
goodxue/CenterNet/carla_ros/calculate_fov_overlap.py
code served (permissive licence) · get_code("7ad1e0b22139b4f4")
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 (3, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create two simple convex polygons with vertices in anti-clockwise order
# Polygon 1: a triangle
polygon1 = [
    [0.0, 0.0],
    [2.0, 0.0],
    [1.0, 2.0]
]

# Polygon 2: another triangle that overlaps with polygon1
polygon2 = [
    [1.0, 0.0],
    [3.0, 0.0],
    [2.0, 2.0]
]

ARGS = {
    "polygon1": polygon1,
    "polygon2": polygon2
}
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 (3, 2) — shape (3, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
invert_transform Ran
ran on a synthesized input
see--/keras-centernet/keras_centernet/utils/letterbox.py
code served (permissive licence) · get_code("49486c6da3aba160")
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, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct a valid 2x3 transformation matrix for invert_transform
# The function expects M to have shape (2, 3) with structure [A | B]
# where A is (2, 2) and B is (2, 1)
M = np.array([
    [2.0, 0.0, 3.0],
    [0.0, 4.0, 5.0]
], dtype=np.float32)

ARGS = {
    "M": M
}
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, 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
kp_connections Ran
ran on a synthesized input
tensorboy/centerpose/demo/centernet_tensorrt_engine.py
code served (permissive licence) · get_code("abeb3190defe4c24")
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 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 torch
import numpy as np

# The function kp_connections takes a list of keypoint names and returns
# connection pairs based on their indices in that list.
# It uses the .index() method on the keypoints parameter to find positions.

keypoints = [
    'nose',
    'left_eye',
    'left_ear',
    'right_eye',
    'right_ear',
    'left_shoulder',
    'right_shoulder',
    'left_elbow',
    'right_elbow',
    'left_wrist',
    'right_wrist',
    'left_hip',
    'right_hip',
    'left_knee',
    'right_knee',
    'left_ankle',
    'right_ankle'
]

ARGS = {
    'keypoints': keypoints
}
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 list, ndim 2, 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
lerp Ran
ran on a synthesized input
hoanguyen81190/Synopticon-CenterNet/src/lib/detectors/multi_pose.py
code served (permissive licence) · get_code("60564ec6de28bd4a")
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
import numpy as np

torch.manual_seed(0)

# The function lerp performs linear interpolation between a and b
# It takes three parameters: a, b, and f (interpolation factor)
# The function uses these parameters with arithmetic operations (* and +)
# so they need to support scalar multiplication and addition

a = torch.randn(2, 4)
b = torch.randn(2, 4)
f = 0.5

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

class MinimalModel:
    """Minimal model class with load_parameters method"""
    def __init__(self):
        self.parameters = {}
    
    def load_parameters(self, model_load_path, ctx=None, ignore_extra=True, allow_missing=True):
        """Mock load_parameters method that accepts the required arguments"""
        pass

# Create a temporary file path for the model
temp_dir = tempfile.mkdtemp()
model_load_path = os.path.join(temp_dir, "model.params")

# Create an empty file at that path so it exists
with open(model_load_path, 'w') as f:
    f.write("")

# Create model instance
model = MinimalModel()

# Context can be a string or None for CPU
ctx = "cpu"

ARGS = {
    "model": model,
    "model_load_path": model_load_path,
    "ctx": ctx
}
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 MinimalModel — a MinimalModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MinimalModel 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
make_layers Ran
ran on a synthesized input
AlongRide/CenterNet_anchor_free/deep/model.py
code served (permissive licence) · get_code("c0b3d0e6e5a858ad")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "c_in": 3,
    "c_out": 64,
    "repeat_times": 2,
    "is_downsample": 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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mobilenet_forward Ran
ran on a synthesized input
vietanhdev/centernet-bdd-data-onnx-conversion/src/convert_to_onnx_mobilenet.py
code served (permissive licence) · get_code("5fe1885f18062aad")
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. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleBase(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = nn.Conv2d(3, 16, 1)
    
    def forward(self, x):
        return self.conv(x)

class SimpleDLAUp(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = nn.Conv2d(16, 32, 1)
    
    def forward(self, x):
        return self.conv(x)

class SimpleHead(nn.Module):
    def __init__(self, in_channels, out_channels):
        super().__init__()
        self.fc = nn.Linear(in_channels, out_channels)
    
    def forward(self, x):
        x = x.view(x.size(0), -1)
        return self.fc(x)

class MobileNetModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.base = SimpleBase()
        self.dla_up = SimpleDLAUp()
        
        self.head1 = SimpleHead(32 * 4 * 4, 10)
        self.head2 = SimpleHead(32 * 4 * 4, 5)
        
        self.heads = ['head1', 'head2']
    
    def forward(self, x):
        x = self.base(x)
        x = self.dla_up(x)
        ret = []
        for head in self.heads:
            ret.append(self.__getattr__(head)(x))
        return ret

model = MobileNetModel()
x = torch.randn(2, 3, 4, 4)

ARGS = {
    'self': model,
    '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 list — a list 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
mobilenetv2_10 Ran
ran on a synthesized input
wanglaotou/centernet_ncnn/ncnn/mobilenetv2.py
code served (permissive licence) · get_code("cc58645c20561393")
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 MobileNetV2. 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 MagicMock, patch

torch.manual_seed(0)

# Mock model_zoo.load_url to avoid network calls
mock_state_dict = {
    'features.0.0.weight': torch.randn(32, 3, 3, 3),
    'features.0.1.weight': torch.randn(32),
    'features.0.1.bias': torch.randn(32),
}

# Build a minimal state dict that matches MobileNetV2 structure
def create_mock_state_dict():
    state_dict = {}
    # Create a small valid state dict for the model
    mobilenet = nn.Sequential(
        nn.Conv2d(3, 32, 3, stride=2, padding=1, bias=False),
        nn.BatchNorm2d(32),
    )
    state_dict = mobilenet.state_dict()
    return state_dict

mock_state = create_mock_state_dict()

# Patch model_zoo.load_url
with patch('torch.utils.model_zoo.load_url') as mock_load_url:
    mock_load_url.return_value = mock_state
    
    # Now define ARGS for the function
    ARGS = {
        'pretrained': False,  # Set to False to avoid network calls
    }
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 MobileNetV2 — a MobileNetV2 output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MobileNetV2 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
mobilenetv2_5 Ran
ran on a synthesized input
wanglaotou/centernet_ncnn/ncnn/mobilenetv2.py
code served (permissive licence) · get_code("351e439eb141a737")
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 MobileNetV2. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'pretrained': 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 MobileNetV2 — a MobileNetV2 output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MobileNetV2 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
nms Ran
ran on a synthesized input
xuannianz/keras-CenterNet/models/msra_resnet.py
code served (permissive licence) · get_code("f901c4094be5548b")
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 EagerTensor, ndim 4, dtype family float, shape (2, 4, 3, 1) 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 tensorflow as tf
import numpy as np

# Create a small heat map tensor (batch_size=2, height=4, width=3, channels=1)
# Using random values between 0 and 1
heat = tf.constant(np.random.rand(2, 4, 3, 1), dtype=tf.float32)

# Define kernel size
kernel = 3

ARGS = {
    "heat": heat,
    "kernel": kernel,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 4, dtype family float, shape (2, 4, 3, 1) — shape (2, 4, 3, 1) 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
normalize_image Ran
ran on a synthesized input
see--/keras-centernet/keras_centernet/models/networks/hourglass.py
code served (permissive licence) · get_code("9c6adb62e5178684")
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 float, shape (2, 4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small BGR uint8 image
# Use shape (2, 4, 3) - batch of 2, height 4, width 3, 3 channels (BGR)
image = np.random.randint(0, 256, size=(2, 4, 3), dtype=np.uint8)

ARGS = {
    "image": image
}
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 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
plot_loss_curve Ran
ran on a synthesized input
AlongRide/CenterNet_anchor_free/show_log_centernet.py
code served (permissive licence) · get_code("2130654d7d34a8d0")
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 tempfile
import os

# Create a temporary log file with properly formatted loss data
temp_dir = tempfile.mkdtemp()
log_file_path = os.path.join(temp_dir, "loss_log.txt")

# Create log file with the expected format
# Each line needs to have values at positions: 4, 7, 10, 13, 16, and 19
# Format: "val0 val1 val2 val3 total_loss val5 val6 hm_loss val8 val9 wh_loss val12 off_loss val15 spend_time val18 val_loss"
lines = []
for i in range(141):
    parts = [f"val{j}" for j in range(20)]
    parts[4] = str(1.5 + i * 0.01)  # total_loss
    parts[7] = str(0.5 + i * 0.005)  # hm_loss
    parts[10] = str(0.3 + i * 0.003)  # wh_loss
    parts[13] = str(0.2 + i * 0.002)  # off_loss
    parts[16] = str(0.1 + i * 0.001)  # spend_time
    parts[19] = str(1.2 + i * 0.008)  # val_loss
    lines.append(" ".join(parts) + "\n")

with open(log_file_path, "w") as f:
    f.writelines(lines)

ARGS = {
    "log_file": log_file_path
}
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
py_nms Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xggIoU/centernet_tensorflow_wilderface_voc/test_voc_on_images.py
code served (permissive licence) · get_code("647b8865c23ab104")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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

# Create sample bounding boxes in format [x1, y1, x2, y2]
# Using 6 boxes to test NMS functionality
boxes = np.array([
    [10.0, 10.0, 50.0, 50.0],   # box 0
    [12.0, 12.0, 52.0, 52.0],   # box 1 - overlaps with box 0
    [100.0, 100.0, 150.0, 150.0], # box 2 - far from others
    [15.0, 15.0, 55.0, 55.0],   # box 3 - overlaps with box 0 and 1
    [200.0, 200.0, 250.0, 250.0], # box 4 - far from others
    [105.0, 105.0, 155.0, 155.0]  # box 5 - overlaps with box 2
], dtype=np.float32)

# Create corresponding scores (higher score = more confident detection)
scores = np.array([0.9, 0.75, 0.85, 0.6, 0.95, 0.7], dtype=np.float32)

# Set max_boxes and iou_thresh parameters
max_boxes = 50
iou_thresh = 0.5

ARGS = {
    'boxes': boxes,
    'scores': scores,
    'max_boxes': max_boxes,
    'iou_thresh': iou_thresh
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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
py_nms Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xggIoU/centernet_tensorflow_wilderface_voc/test_face_on_images.py
code served (permissive licence) · get_code("05ae9dbdeb8c2455")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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

# Create sample bounding boxes in format [x1, y1, x2, y2]
# Using 6 boxes to test NMS behavior
boxes = np.array([
    [10.0, 10.0, 50.0, 50.0],   # box 0
    [12.0, 12.0, 52.0, 52.0],   # box 1 - overlaps with box 0
    [100.0, 100.0, 150.0, 150.0], # box 2 - far from others
    [15.0, 15.0, 55.0, 55.0],   # box 3 - overlaps with box 0 and 1
    [200.0, 200.0, 250.0, 250.0], # box 4 - far from others
    [105.0, 105.0, 155.0, 155.0]  # box 5 - overlaps with box 2
], dtype=np.float32)

# Create scores for each box (higher score = more confident)
scores = np.array([0.9, 0.75, 0.85, 0.6, 0.95, 0.7], dtype=np.float32)

# Set max_boxes and iou_thresh
max_boxes = 50
iou_thresh = 0.5

ARGS = {
    'boxes': boxes,
    'scores': scores,
    'max_boxes': max_boxes,
    'iou_thresh': iou_thresh
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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
py_nms Ran
ran on a synthesized input
Lakerszjb/CentereNet-C/src/lib/detectors/multi_pose.py
code served (permissive licence) · get_code("94bbd1f822b3b784")
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

# Construct a small detection array with shape (num_detections, 5)
# Columns: [x1, y1, x2, y2, score]
dets = np.array([
    [10.0, 20.0, 50.0, 60.0, 0.9],
    [12.0, 22.0, 52.0, 62.0, 0.8],
    [100.0, 120.0, 150.0, 160.0, 0.85],
], dtype=np.float32)

thresh = 0.5

ARGS = {
    "dets": dets,
    "thresh": thresh,
}
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

Showing the first 60. An agent gets every one from get_harvested_code_for_paper("1904.07850").

Also present in other papers' code

Of 130 samples lifted from this paper's linked repositories, 130 carry a function identity and 0 do not. Of the 126 distinct functions with an identity, 19 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 2 the same month, 17 later) and 107 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
conv3x3 686 other papers
102 dated earlier, 16 the same month, 568 later · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
convert_basic_c2_names 45 other papers
3 dated earlier, 42 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
and 42 more not named here
convert_c2_detectron_names 29 other papers
3 dated earlier, 26 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
and 26 more not named here
data_parallel 9 other papers
4 dated earlier, 1 the same month, 4 later
1505.05424 (2015-05)
Weight Uncertainty in Neural Networks
1603.00831 (2016-03)
MOT16: A Benchmark for Multi-Object Tracking
1808.01244 (2018-08)
CornerNet: Detecting Objects as Paired Keypoints
and 6 more not named here
gaussian2D 9 other papers
9 later
2001.04608 (2020-01)
Actions as Moving Points
2104.07986 (2021-04)
Learning to Reconstruct 3D Non-Cuboid Room Layout from a Single RGB Image
2105.05003 (2021-05)
CondLaneNet: a Top-to-down Lane Detection Framework Based on Conditional Convolution
and 6 more not named here
compute_bin_loss 6 other papers
1 dated earlier, 5 later
1603.00831 (2016-03)
MOT16: A Benchmark for Multi-Object Tracking
2001.03343 (2020-01)
RTM3D: Real-time Monocular 3D Detection from Object Keypoints for Autonomous Driving
2003.14023 (2020-03)
Learning Human-Object Interaction Detection using Interaction Points
and 3 more not named here
compute_res_loss 6 other papers
1 dated earlier, 5 later
1603.00831 (2016-03)
MOT16: A Benchmark for Multi-Object Tracking
2001.03343 (2020-01)
RTM3D: Real-time Monocular 3D Detection from Object Keypoints for Autonomous Driving
2003.14023 (2020-03)
Learning Human-Object Interaction Detection using Interaction Points
and 3 more not named here
compute_rot_loss 6 other papers
1 dated earlier, 5 later
1603.00831 (2016-03)
MOT16: A Benchmark for Multi-Object Tracking
2001.03343 (2020-01)
RTM3D: Real-time Monocular 3D Detection from Object Keypoints for Autonomous Driving
2003.14023 (2020-03)
Learning Human-Object Interaction Detection using Interaction Points
and 3 more not named here
DataParallel 5 other papers
1 dated earlier, 4 later
1603.00831 (2016-03)
MOT16: A Benchmark for Multi-Object Tracking
2001.04608 (2020-01)
Actions as Moving Points
2003.14023 (2020-03)
Learning Human-Object Interaction Detection using Interaction Points
and 2 more not named here
make_layers 4 other papers
1 dated earlier, 3 later
1703.07402 (2017-03)
Simple Online and Realtime Tracking with a Deep Association Metric
2004.10934 (2020-04)
YOLOv4: Optimal Speed and Accuracy of Object Detection
2110.06864 (2021-10)
ByteTrack: Multi-Object Tracking by Associating Every Detection Box
and 1 more not named here
int64_feature 2 other papers
1 dated earlier, 1 later
1608.06993 (2016-08)
Densely Connected Convolutional Networks
2106.09309 (2021-06)
Layer Folding: Neural Network Depth Reduction using Activation Linearization
load_model 2 other papers
1 dated earlier, 1 later
1603.00831 (2016-03)
MOT16: A Benchmark for Multi-Object Tracking
2004.01888 (2020-04)
FairMOT: On the Fairness of Detection and Re-Identification in Multiple Object Tracking
agnex_ct_decode 1 other paper
1 dated earlier
1603.00831 (2016-03)
MOT16: A Benchmark for Multi-Object Tracking
draw_bbox 1 other paper
1 later
2004.01888 (2020-04)
FairMOT: On the Fairness of Detection and Re-Identification in Multiple Object Tracking
get_model_url 1 other paper
1 later
2103.16083 (2021-03)
Fully Convolutional Scene Graph Generation
get_num_parameters 1 other paper
1 later
2001.03343 (2020-01)
RTM3D: Real-time Monocular 3D Detection from Object Keypoints for Autonomous Driving
make_data_parallel 1 other paper
1 later
2001.03343 (2020-01)
RTM3D: Real-time Monocular 3D Detection from Object Keypoints for Autonomous Driving
py_nms 1 other paper
1 dated earlier
1902.04103 (2019-02)
Bag of Freebies for Training Object Detection Neural Networks
softmax 1 other paper
1 later
2004.01888 (2020-04)
FairMOT: On the Fairness of Detection and Re-Identification in Multiple Object Tracking

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

More are linked than shown here.

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

Abstract

Detection identifies objects as axis-aligned boxes in an image. Most successful object detectors enumerate a nearly exhaustive list of potential object locations and classify each. This is wasteful, inefficient, and requires additional post-processing. In this paper, we take a different approach. We model an object as a single point --- the center point of its bounding box. Our detector uses keypoint estimation to find center points and regresses to all other object properties, such as size, 3D location, orientation, and even pose. Our center point based approach, CenterNet, is end-to-end differentiable, simpler, faster, and more accurate than corresponding bounding box based detectors. CenterNet achieves the best speed-accuracy trade-off on the MS COCO dataset, with 28.1% AP at 142 FPS, 37.4% AP at 52 FPS, and 45.1% AP with multi-scale testing at 1.4 FPS. We use the same approach to estimate 3D bounding box in the KITTI benchmark and human pose on the COCO keypoint dataset. Our method performs competitively with sophisticated multi-stage methods and runs in real-time.

For agents

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

get_harvested_code_for_paper("1904.07850")
get_code_for_paper("1904.07850")
have("1904.07850")

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

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

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

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

Connect an agent — have() is free.