| compute_coorindate_loss |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/model/loss.py code served (permissive licence) · get_code("9c7be59ac1374708") 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 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
torch.manual_seed(0)
# Analyze function requirements:
# - pred_coordinate_per_point: split into num_parts chunks of size 3 along dim 2
# Then each chunk is compared with gt_coordinate_per_point
# - gt_coordinate_per_point: compared with each coordinate_split via norm
# - num_parts: integer, controls loop iterations
# - gt_seg_onehot: split into num_parts chunks of size 1 along dim 2
# Each mask_split is used to weight the diff_l2
# From the splits: dim 2 must be divisible by 3 for pred_coordinate_per_point
# and by 1 for gt_seg_onehot (so just num_parts * 1)
# Build small tensors with distinct dimensions:
batch_size = 2
num_points = 4
num_parts = 3
# pred_coordinate_per_point: (batch_size, num_points, num_parts * 3)
pred_coordinate_per_point = torch.randn(batch_size, num_points, num_parts * 3)
# gt_coordinate_per_point: (batch_size, num_points, 3) - used to compare with each split
gt_coordinate_per_point = torch.randn(batch_size, num_points, 3)
# gt_seg_onehot: (batch_size, num_points, num_parts * 1)
gt_seg_onehot = torch.randn(batch_size, num_points, num_parts)
ARGS = {
"pred_coordinate_per_point": pred_coordinate_per_point,
"gt_coordinate_per_point": gt_coordinate_per_point,
"num_parts": num_parts,
"gt_seg_onehot": gt_seg_onehot,
}
- 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_miou_loss |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/model/loss.py code served (permissive licence) · get_code("76495153ee9e4a4b") 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 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
torch.manual_seed(0)
# Create small tensors for the function
# pred_seg_per_point: predictions per point, shape (batch_size, num_classes)
# gt_seg_onehot: ground truth one-hot encoded, shape (batch_size, num_classes)
batch_size = 2
num_classes = 4
pred_seg_per_point = torch.rand(batch_size, num_classes)
gt_seg_onehot = torch.randint(0, 2, (batch_size, num_classes)).float()
ARGS = {
"pred_seg_per_point": pred_seg_per_point,
"gt_seg_onehot": gt_seg_onehot
}
- 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_vect_loss |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/model/loss.py code served (permissive licence) · get_code("d7a02023a363b844") 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 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
torch.manual_seed(0)
# Analyze the function:
# - pred_vect_per_point: tensor with shape[2] that can be 1 or > 1
# - gt_vect_per_point: tensor that matches pred_vect_per_point shape
# - mask: tensor for element-wise multiplication
# The function checks pred_vect_per_point.shape[2], so it's at least 3D
# Operations: squeeze, norm (dim=2), abs, multiply, mean (axis=1 and axis=0)
# For the case where shape[2] == 1:
# - squeeze(dim=2) reduces it to 2D
# - abs and multiply work element-wise
# - mean(axis=1) then mean(axis=0) reduces to scalar
# For the case where shape[2] > 1:
# - norm(dim=2) reduces shape[2] dimension
# - multiply by mask
# - mean operations as above
# Create tensors with distinct dimension sizes for clarity:
# batch_size=2, num_points=4, vector_dim=3
batch_size = 2
num_points = 4
vector_dim = 3
# pred_vect_per_point: (batch_size, num_points, vector_dim)
pred_vect_per_point = torch.randn(batch_size, num_points, vector_dim)
# gt_vect_per_point: same shape as pred_vect_per_point
gt_vect_per_point = torch.randn(batch_size, num_points, vector_dim)
# mask: (batch_size, num_points) - used for element-wise multiplication
mask = torch.ones(batch_size, num_points)
ARGS = {
"pred_vect_per_point": pred_vect_per_point,
"gt_vect_per_point": gt_vect_per_point,
"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
|
| duration_in_hours |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/utils.py code served (permissive licence) · get_code("2c9dbe55954f4c03") 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 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
import numpy as np
# Construct arguments for duration_in_hours
# The function takes a duration in seconds and converts it to HH:MM:SS format
# It uses divmod to break down seconds into minutes and hours
# Test with a simple numeric value representing seconds
duration = 3661 # 1 hour, 1 minute, 1 second
ARGS = {
'duration': duration
}
- 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 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_3d_bbox |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/evaluator/evaluator.py code served (permissive licence) · get_code("229d67b6782ec0b1") 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 (8, 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 arguments for get_3d_bbox
scale = np.array([2.0, 3.0, 4.0]) # [3] - dimensions of the bounding box
shift = np.array([0.5, 1.0, 1.5]) # [3] - shift applied to all vertices
ARGS = {
"scale": scale,
"shift": shift,
}
- 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 (8, 3) — shape (8, 3) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| get_prediction_vertices |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/utils.py code served (permissive licence) · get_code("522e86d6662af6e1") 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. 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
# Analyze the function:
# - pred_segmentation: used with np.argmax(axis=1), so needs shape (batch, classes, ...)
# - pred_coordinates: indexed with fancy indexing, shape (batch, total_coords)
# The indexing accesses columns starting at index 3, with stride 3*num_classes
# For each sample, it selects 3 consecutive coordinate columns based on segmentation class
# Build minimal valid inputs
batch_size = 2
num_classes = 4
num_coord_cols = 15 # Must have enough columns: 3 * num_classes = 12, need at least 3 per class
# pred_segmentation: shape (batch, num_classes, height, width) - argmax will reduce to (batch, height, width)
# For simplicity, use 2D: (batch, num_classes)
pred_segmentation = np.random.randn(batch_size, num_classes)
# pred_coordinates: shape (batch, num_coord_cols)
# The function accesses pred_coordinates[batch_idx, col_idx] where col_idx ranges from 3 to 3+3*class
# So we need at least 3*num_classes+3 columns
pred_coordinates = np.random.randn(batch_size, 3 * num_classes + 3)
ARGS = {
"pred_segmentation": pred_segmentation,
"pred_coordinates": pred_coordinates,
}
- 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
|
| h5_dict |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/optimizer/optimizer.py code served (permissive licence) · get_code("506a0c460b435641") 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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
class MockH5Dataset:
"""Mock HDF5-like object with dict interface and sliceable arrays"""
def __init__(self):
self.data = {
'array_1': np.array([1.0, 2.0, 3.0, 4.0]),
'array_2': np.array([[1, 2, 3], [4, 5, 6]]),
'nested_data': np.random.randn(2, 4, 3)
}
def __getitem__(self, key):
return self.data[key]
def items(self):
return self.data.items()
mock_h5 = MockH5Dataset()
ARGS = {
'ins': mock_h5
}
- 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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| iou_3d |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/evaluator/evaluator.py code served (permissive licence) · get_code("c25ac0974a354c4e") 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 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
# Construct two 3D bounding boxes
# Each bbox is 8x3 (8 vertices, 3 coordinates each)
# Define a simple axis-aligned box from (0,0,0) to (1,1,1)
bbox1 = np.array([
[0.0, 0.0, 1.0], # 0
[1.0, 0.0, 1.0], # 1
[1.0, 1.0, 1.0], # 2
[0.0, 1.0, 1.0], # 3
[0.0, 0.0, 0.0], # 4
[1.0, 0.0, 0.0], # 5
[1.0, 1.0, 0.0], # 6
[0.0, 1.0, 0.0], # 7
], dtype=np.float32)
# Define a second overlapping box from (0.5,0.5,0.5) to (1.5,1.5,1.5)
bbox2 = np.array([
[0.5, 0.5, 1.5], # 0
[1.5, 0.5, 1.5], # 1
[1.5, 1.5, 1.5], # 2
[0.5, 1.5, 1.5], # 3
[0.5, 0.5, 0.5], # 4
[1.5, 0.5, 0.5], # 5
[1.5, 1.5, 0.5], # 6
[0.5, 1.5, 0.5], # 7
], dtype=np.float32)
ARGS = {
"bbox1": bbox1,
"bbox2": bbox2,
"nres": 10,
}
- 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
|
| isRotationMatrix |
Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/optimizer/optimize_util.py code served (permissive licence) · get_code("639b98487bf2b5d5") 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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
# Create a valid rotation matrix (3x3)
# A rotation matrix is orthogonal: R^T @ R = I
angle = np.pi / 4
cos_a = np.cos(angle)
sin_a = np.sin(angle)
R_valid = np.array([
[cos_a, -sin_a, 0],
[sin_a, cos_a, 0],
[0, 0, 1]
], dtype=np.float64)
ARGS = {
"R": R_valid
}
- 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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| joint_transformation_estimator |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/optimizer/optimize_util.py code served (permissive licence) · get_code("23783c0274682f19") 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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
# Build the dataset dictionary that joint_transformation_estimator expects
np.random.seed(0)
# Create small point clouds for source0, target0, source1, target1
# Each should be [N x 3] arrays
source0 = np.random.randn(5, 3).astype(np.float64)
target0 = np.random.randn(5, 3).astype(np.float64)
source1 = np.random.randn(4, 3).astype(np.float64)
target1 = np.random.randn(4, 3).astype(np.float64)
# Joint direction vector [1 x 3]
joint_direction = np.array([1.0, 0.0, 0.0])
dataset = {
'source0': source0,
'target0': target0,
'source1': source1,
'target1': target1,
'nsource0': source0.shape[0],
'nsource1': source1.shape[0],
'joint_direction': joint_direction,
}
# joint_type: 0 for prismatic, 1 for rotational
joint_type = 1
# best_inliers: None or tuple of (idx0, idx1) arrays
best_inliers = None
ARGS = {
'dataset': dataset,
'joint_type': joint_type,
'best_inliers': best_inliers,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| pts_inside_box |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/evaluator/evaluator.py code served (permissive licence) · get_code("22c6be25ca46438e") 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 (4, 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 numpy as np
# Create a small 3D bounding box with 8 vertices
# A bounding box is represented as 8 points (corners of a cube)
# Shape should be (8, 3) for 8 vertices in 3D space
bbox = np.array([
[0.0, 0.0, 0.0], # 0
[1.0, 0.0, 0.0], # 1
[1.0, 1.0, 0.0], # 2
[0.0, 1.0, 0.0], # 3
[0.0, 0.0, 1.0], # 4
[1.0, 0.0, 1.0], # 5
[1.0, 1.0, 1.0], # 6
[0.0, 1.0, 1.0], # 7
], dtype=np.float32)
# Create test points
# Some inside the box, some outside
# Shape should be (N, 3) for N points in 3D space
pts = np.array([
[0.5, 0.5, 0.5], # inside
[0.2, 0.3, 0.4], # inside
[1.5, 0.5, 0.5], # outside (x too large)
[-0.5, 0.5, 0.5], # outside (x too small)
], dtype=np.float32)
ARGS = {
'pts': pts,
'bbox': bbox,
}
- 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, 1) — shape (4, 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
|
| ransac |
Ran ran on a synthesized input |
3dlg-hcvc/ANCSH-pytorch/ANCSH_lib/optimizer/optimize_util.py code served (permissive licence) · get_code("87d47729c6433656") 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. 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
def model_estimator(dataset, joint_type, inliers=None):
"""Stub model estimator that returns a simple dict model."""
if inliers is None:
# Random sampling during iterations
return {'weights': np.random.randn(3, 2), 'bias': np.random.randn(1)}
else:
# Refined model using inliers
return {'weights': np.random.randn(3, 2), 'bias': np.random.randn(1)}
def model_verifier(dataset, cur_model, inlier_th):
"""Stub model verifier that scores model and returns inliers."""
# Simulate verification by computing a score
score = np.random.rand() * 100
# Return inliers as a boolean array
nsource = min(dataset['nsource0'], dataset['nsource1'])
inliers = np.random.rand(nsource) > 0.5
return score, inliers
# Create a minimal dataset dict with required keys
dataset = {
'nsource0': 5, # At least 3 points required
'nsource1': 4, # At least 3 points required
'joint_direction': np.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]), # 2D array, no NaNs
'points0': np.random.randn(5, 3),
'points1': np.random.randn(4, 3),
}
ARGS = {
'dataset': dataset,
'model_estimator': model_estimator,
'model_verifier': model_verifier,
'inlier_th': 0.5,
'niter': 3,
'joint_type': 'hinge',
}
- 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
|