| base_model_config |
Ran ran on a synthesized input |
BichenWuUCB/squeezeDet/src/config/config.py code served (permissive licence) · get_code("fc8b73ee92df4df4") How it ranRan 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 EasyDict. 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
from easydict import EasyDict as edict
ARGS = {
'dataset': 'PASCAL_VOC'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- easydict, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type EasyDict — a EasyDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EasyDict 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
|
| base_model_config |
Ran ran on a synthesized input |
AjJordy/squeezeDet-master/src/config/config.py code served (permissive licence) · get_code("450ec75dccd80d51") How it ranRan 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 EasyDict. 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
from easydict import EasyDict as edict
# Call torch.manual_seed for reproducibility if torch is used
import torch
torch.manual_seed(0)
# The function base_model_config takes one optional parameter: dataset
# Looking at the function body, it only uses the dataset parameter to select
# which CLASS_NAMES to assign, and then builds a config dict.
# The function doesn't actually call any methods on the dataset parameter,
# it just uses it as a string to branch on.
ARGS = {
'dataset': 'PASCAL_VOC'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- easydict, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type EasyDict — a EasyDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EasyDict 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
|
| batch_iou |
Ran ran on a synthesized input |
IgorMunizS/mobileDet/main/utils/utils.py code served (permissive licence) · get_code("258a129e57143728") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (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 sample data for batch_iou function
# boxes: 2D array of shape (batch_size, 4) with [cx, cy, width, height]
# box: 1D array of shape (4,) with [cx, cy, width, height]
boxes = np.array([
[50.0, 50.0, 20.0, 30.0],
[100.0, 100.0, 40.0, 40.0]
], dtype=np.float32)
box = np.array([55.0, 55.0, 25.0, 35.0], dtype=np.float32)
ARGS = {
"boxes": boxes,
"box": box
}
- 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 float, shape (2,) — shape (2,) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| bbox_transform_single_box |
Ran ran on a synthesized input |
IgorMunizS/mobileDet/main/model/visualization.py code served (permissive licence) · get_code("9f606fdca1b40bf4") How it ranRan 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
import torch
torch.manual_seed(0)
# The function takes a single bbox parameter which should be a bbox in the form [cx, cy, w, h]
# It can be a numpy array or list of tensors
# The function unpacks it into 4 values: cx, cy, w, h
# Create a simple bbox as a list with 4 elements (center_x, center_y, width, height)
bbox = [100.5, 200.3, 50.0, 75.0]
ARGS = {
"bbox": bbox
}
- 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 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
|
| create_mc_from_hopt_vars |
Ran ran on a synthesized input |
supernlogn/squeezeDetTL/src/hypervisor/hyperparam_tuner.py code served (permissive licence) · get_code("0991898b41268d55") How it ranRan 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 EasyDict. 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 easydict import EasyDict as edict
# Create basic model configuration as a dict
mc = {
'learning_rate': 0.001,
'batch_size': 32,
'num_layers': 3,
'hidden_dim': 128,
'dropout': 0.5
}
# Define hyperoptimization variable values to propose
hopt_vars_vals = [0.0005, 64, 2, 256, 0.3]
# Define keys for the hyperoptimization variables
hopt_vars_keys = ['learning_rate', 'batch_size', 'num_layers', 'hidden_dim', 'dropout']
# Define which variables should be converted to integers
is_integer = [False, True, True, True, False]
ARGS = {
'mc': mc,
'hopt_vars_vals': hopt_vars_vals,
'hopt_vars_keys': hopt_vars_keys,
'is_integer': is_integer
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- easydict — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type EasyDict — a EasyDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EasyDict 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
|
| detachmodel |
Ran ran on a synthesized input |
IgorMunizS/mobileDet/main/model/multi_gpu_model_checkpoint.py code served (permissive licence) · get_code("498dff14296e4399") How it ranRan 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 StandInLayer. 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
class StandInLayer(nn.Module):
def __init__(self, name):
super().__init__()
self.name = name
def forward(self, x):
return x
class StandInModel(nn.Module):
def __init__(self):
super().__init__()
self.layers = [
StandInLayer('conv1'),
StandInLayer('model_1'),
StandInLayer('dense1')
]
def forward(self, x):
for layer in self.layers:
x = layer(x)
return x
torch.manual_seed(0)
model = StandInModel()
ARGS = {
'm': 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 StandInLayer — a StandInLayer output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a StandInLayer 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
|
| gaussian |
Ran ran on a synthesized input |
supernlogn/squeezeDetTL/src/hypervisor/ga_agent.py code served (permissive licence) · get_code("4f90612176832908") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
# The gaussian function takes three parameters:
# x: input values (array-like)
# mu: mean (scalar or array-like)
# sigma: standard deviation (scalar or array-like)
# Create small numpy arrays for testing
x = np.array([0.0, 1.0, 2.0, 3.0])
mu = np.array([1.0, 1.5, 2.0, 2.5])
sigma = np.array([0.5, 0.75, 1.0, 1.25])
ARGS = {
"x": x,
"mu": mu,
"sigma": sigma
}
- 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 float, shape (4,) — shape (4,) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| get_conv2d_out_shape |
Ran ran on a synthesized input |
supernlogn/squeezeDetTL/src/config/net_shape_calculator.py code served (permissive licence) · get_code("290268e740d0a63b") How it ranRan 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 numpy as np
# Define arguments for get_conv2d_out_shape
in_dims = (32, 32, 3) # height, width, channels
filter_sizes = (5, 5, 64) # kernel height, kernel width, number of filters
strides = (1, 1) # filter height stride, filter width stride
padding = 'SAME' # padding type: 'SAME' or 'VALID'
ARGS = {
'in_dims': in_dims,
'filter_sizes': filter_sizes,
'strides': strides,
'padding': padding
}
- 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, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| get_fire_out_shape |
Ran ran on a synthesized input |
supernlogn/squeezeDetTL/src/config/net_shape_calculator.py code served (permissive licence) · get_code("ee734fd1d0cab764") How it ranRan 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 numpy as np
def get_conv2d_out_shape(in_dims, filter_sizes, strides, padding):
""" @param in_dims = input (height, width, channels)
@param filter_sizes = (kernel height, kernel width, number of filters)
@param strides = (filter height stride, filter width stride)
"""
if padding == 'SAME':
return (np.ceil(float(in_dims[0]) / float(strides[0])), np.ceil(float(in_dims[1]) / float(strides[1])), float(filter_sizes[2]))
elif padding == 'VALID':
return (np.ceil(float(in_dims[0] - filter_sizes[0] + 1) / float(strides[0])), np.ceil(float(in_dims[1] - filter_sizes[1] + 1) / float(strides[1])), float(filter_sizes[2]))
def get_fire_out_shape(in_dims, s1x1, e1x1, e3x3):
sq1x1_shape = get_conv2d_out_shape(in_dims, (1, 1, s1x1), [1, 1], 'SAME')
ex1x1_shape = get_conv2d_out_shape(sq1x1_shape, (1, 1, e1x1), [1, 1], 'SAME')
ex3x3_shape = get_conv2d_out_shape(sq1x1_shape, (3, 3, e3x3), [1, 1], 'SAME')
return (ex3x3_shape[0], ex3x3_shape[1], ex3x3_shape[2] + ex1x1_shape[2])
ARGS = {
'in_dims': (32, 48, 16),
's1x1': 8,
'e1x1': 12,
'e3x3': 20
}
- 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, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| get_pool_out_shape |
Ran ran on a synthesized input |
supernlogn/squeezeDetTL/src/config/net_shape_calculator.py code served (permissive licence) · get_code("7a533815750f7bc9") How it ranRan 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 numpy as np
# Analyze the function:
# - in_dims: tuple/list with 3 elements (height, width, channels)
# - filter_sizes: tuple/list with 2 elements (filter_height, filter_width)
# - strides: tuple/list with 2 elements (stride_height, stride_width)
# - padding: string, either 'SAME' or 'VALID'
ARGS = {
'in_dims': (8, 6, 3),
'filter_sizes': (3, 3),
'strides': (2, 2),
'padding': 'SAME'
}
- 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, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| get_population_values |
Ran ran on a synthesized input |
supernlogn/squeezeDetTL/src/hypervisor/ga_agent.py code served (permissive licence) · get_code("bde67327201e11e5") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import numpy as np
from six.moves import xrange
torch.manual_seed(0)
def dummy_objective_function(config):
"""A simple objective function that takes a config dict and returns a scalar value."""
x = config.get('x', 0.0)
y = config.get('y', 0.0)
z = config.get('z', 0.0)
return float(x**2 + y**2 + z**2)
func = dummy_objective_function
translated_population = [
{'x': 1.0, 'y': 2.0},
{'x': 3.0, 'y': 4.0},
{'x': 5.0, 'y': 6.0}
]
extra_configs = {
'z': 0.5,
'learning_rate': 0.01
}
ARGS = {
'func': func,
'translated_population': translated_population,
'extra_configs': extra_configs
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, six, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| get_replaced_contents |
Ran ran on a synthesized input |
supernlogn/squeezeDetTL/make_user_compatible.py code served (permissive licence) · get_code("99dd74c560a09aa5") How it ranRan 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
# Create a temporary file with content that includes keys from REPLACEMENT_MAP
with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.py') as f:
temp_file_path = f.name
# Write content with some of the keys from REPLACEMENT_MAP
f.write("# Some training folder path\n")
f.write("path = '/media/terabyte/projects/Thesis/trainings/model.pth'\n")
f.write("dataset_path = '/media/terabyte/projects/datasets/imagenet'\n")
f.write("weights_path = '/media/terabyte/projects/Thesis/SqueezeNet_imageNet_trained/weights.pth'\n")
f.write("base_path = '/media/terabyte/projects/Thesis/transfer_learning/auto_ITL/config.py'\n")
f.write("device_str = \"tf.device('/job:localhost/replica:0/task:0/device:CPU:0')\"\n")
ARGS = {
'file_path': temp_file_path
}
- 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
|
| iou |
Ran ran on a synthesized input |
IgorMunizS/mobileDet/main/utils/utils.py code served (permissive licence) · get_code("4cdb41e9eb2c173d") How it ranRan 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 torch
import numpy as np
torch.manual_seed(0)
# box1 and box2 are arrays of 4 elements [cx, cy, width, height]
# where cx, cy are center coordinates, width and height are dimensions
box1 = [10.0, 20.0, 4.0, 6.0] # center at (10, 20), width=4, height=6
box2 = [12.0, 22.0, 5.0, 7.0] # center at (12, 22), width=5, height=7
ARGS = {
"box1": box1,
"box2": box2,
}
- 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 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
|
| nms |
Ran ran on a synthesized input |
IgorMunizS/mobileDet/main/utils/utils.py code served (permissive licence) · get_code("683b91daeb643b9c") How it ranRan 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 numpy as np
# Create sample data for the nms function
# boxes: array of [cx, cy, w, h] in center format
boxes = np.array([
[10.0, 10.0, 4.0, 6.0],
[11.0, 10.5, 3.0, 5.0],
[50.0, 50.0, 8.0, 8.0],
[51.0, 51.0, 7.0, 7.0],
], dtype=np.float32)
# probs: array of probabilities/confidence scores
probs = np.array([0.9, 0.8, 0.85, 0.7], dtype=np.float32)
# threshold: IOU threshold for NMS
threshold = 0.5
ARGS = {
"boxes": boxes,
"probs": probs,
"threshold": threshold,
}
- 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 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
|
| set_anchors |
Ran ran on a synthesized input |
BichenWuUCB/squeezeDet/src/config/kitti_squeezeDet_config.py code served (permissive licence) · get_code("9bf0b1a5dd13e9a9") How it ranRan 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 (16848, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
class MockConfig:
def __init__(self):
self.IMAGE_WIDTH = 624
self.IMAGE_HEIGHT = 480
mc = MockConfig()
ARGS = {
"mc": mc
}
- 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 (16848, 4) — shape (16848, 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
|
| set_anchors |
Ran ran on a synthesized input |
BichenWuUCB/squeezeDet/src/config/kitti_res50_config.py code served (permissive licence) · get_code("53d0d31fe1544ccb") How it ranRan 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 (16848, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
class MockConfig:
"""Mock config object with required attributes for set_anchors"""
def __init__(self):
self.IMAGE_WIDTH = 624
self.IMAGE_HEIGHT = 480
mc = MockConfig()
ARGS = {
'mc': mc
}
- 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 (16848, 4) — shape (16848, 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
|
| set_anchors |
Ran ran on a synthesized input |
BichenWuUCB/squeezeDet/src/config/kitti_squeezeDetPlus_config.py code served (permissive licence) · get_code("583f0b32d683ab52") How it ranRan 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 (15048, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
class MockConfig:
def __init__(self):
self.IMAGE_WIDTH = 608
self.IMAGE_HEIGHT = 608
mc = MockConfig()
ARGS = {
'mc': mc
}
- 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 (15048, 4) — shape (15048, 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
|
| set_anchors |
Ran ran on a synthesized input |
AjJordy/squeezeDet-master/src/config/ball_config.py code served (permissive licence) · get_code("6686130be719cf00") How it ranRan 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 (2304, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
class MockConfig:
def __init__(self):
self.IMAGE_WIDTH = 320
self.IMAGE_HEIGHT = 320
mc = MockConfig()
ARGS = {
'mc': mc
}
- 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 (2304, 4) — shape (2304, 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
|
| set_anchors |
Ran ran on a synthesized input |
AjJordy/squeezeDet-master/src/config/coco_config.py code served (permissive licence) · get_code("4d4208c08e48b1e7") How it ranRan 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 (2304, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
class MockConfig:
def __init__(self):
self.IMAGE_WIDTH = 416
self.IMAGE_HEIGHT = 416
mc = MockConfig()
ARGS = {
'mc': mc
}
- 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 (2304, 4) — shape (2304, 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
|
| squeezeDet_config |
Ran ran on a synthesized input |
IgorMunizS/mobileDet/main/config/create_config.py code served (permissive licence) · get_code("225c540640bba3c7") How it ranRan 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 EasyDict. 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
from easydict import EasyDict as edict
ARGS = {
'name': 'test_config'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- easydict, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type EasyDict — a EasyDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EasyDict 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
|
| threadsafe_generator |
Ran ran; our contract draft was wrong, not the code |
IgorMunizS/mobileDet/main/model/dataGenerator.py code served (permissive licence) · get_code("a51a6cbdf1e527d4") How it ranRan 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 function. 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 threading
import torch
def dummy_generator(n):
"""A simple generator function that yields n values."""
for i in range(n):
yield torch.randn(2, 4)
def threadsafe_generator(f):
"""A decorator that takes a generator function and makes it thread-safe.
"""
def g(*a, **kw):
class threadsafe_iter:
"""Takes an iterator/generator and makes it thread-safe by
serializing call to the `next` method of given iterator/generator.
"""
def __init__(self, it):
self.it = it
self.lock = threading.Lock()
def __iter__(self):
return self
def __next__(self):
with self.lock:
return next(self.it)
return threadsafe_iter(f(*a, **kw))
return g
torch.manual_seed(0)
decorated_gen = threadsafe_generator(dummy_generator)
ARGS = {
'f': decorated_gen
}
- 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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
|
| translateDNA |
Ran ran on a synthesized input |
supernlogn/squeezeDetTL/src/hypervisor/ga_agent.py code served (permissive licence) · get_code("8dd1b16ef0973cd1") How it ranRan 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 numpy as np
# Construct a small population as a 2D array of ints
# Shape: (2, 3) - 2 individuals, 3 genes
pop = np.array([
[0, 1, 2],
[3, 4, 5]
], dtype=int)
# Construct var_ranges as a dictionary mapping variable names to lambda functions
# Each lambda takes an int and returns a transformed value
var_ranges = {
'var_a': lambda x: x * 2,
'var_b': lambda x: x + 10,
'var_c': lambda x: x ** 2
}
ARGS = {
'pop': pop,
'var_ranges': var_ranges
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, six — 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
|
| cook_config |
Not yet run unverified (harvested, no recorded run) |
supernlogn/squeezeDetTL/src/config/config_cooker.py code served (permissive licence) · get_code("4b444fdb9011e9b3") How it ran |
| direct_cook_config |
Not yet run unverified (harvested, no recorded run) |
supernlogn/squeezeDetTL/src/config/config_cooker.py code served (permissive licence) · get_code("aca95db1ab5ef9f2") How it ran |
| get_num_images |
Not yet run unverified (harvested, no recorded run) |
supernlogn/squeezeDetTL/src/datasets/imdb.py code served (permissive licence) · get_code("5dfe260987ce0177") How it ran |
| load_dict |
Not yet run unverified (harvested, no recorded run) |
IgorMunizS/mobileDet/main/config/create_config.py code served (permissive licence) · get_code("40c1fcd3ded78b67") How it ran |
| parse_mc |
Not yet run unverified (harvested, no recorded run) |
supernlogn/squeezeDetTL/src/hypervisor/hyperparam_tuner.py code served (permissive licence) · get_code("bb34be0fb588c1c8") How it ran |
| parse_mc_option |
Not yet run unverified (harvested, no recorded run) |
supernlogn/squeezeDetTL/src/hypervisor/hyperparam_tuner.py code served (permissive licence) · get_code("af4f22d25e06d0fc") How it ran |
| set_anchors |
Not yet run unverified (harvested, no recorded run) |
IgorMunizS/mobileDet/main/config/create_config.py code served (permissive licence) · get_code("c0ad78591fd23d4e") How it ran |
| tf_data_augmentation |
Not yet run unverified (harvested, no recorded run) |
supernlogn/squeezeDetTL/src/datasets/imdb.py code served (permissive licence) · get_code("a76acdf2ccc4fe25") How it ran |