| aces_fn |
Ran ran, honoured the contract we drafted |
ingra14m/sire-ir/model/color_correction.py code served (permissive licence) · get_code("c6b1b058d98f9b39") 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 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
torch.manual_seed(0)
# The function aces_fn takes a single parameter 'x' which should be a tensor or convertible to tensor
# It applies an ACES tone mapping formula to the input
# The function works element-wise, so any shape tensor works
x = torch.randn(2, 4)
ARGS = {
"x": x
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| aces_inv |
Ran ran, honoured the contract we drafted |
ingra14m/sire-ir/model/color_correction.py code served (permissive licence) · get_code("32450fadc64521f8") 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 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
torch.manual_seed(0)
# The function aces_inv takes a single parameter 'x' which should be:
# - A tensor or tensor-like object (list, numpy array, etc.)
# - Used in mathematical operations (multiplication, addition, sqrt)
# - Should work with scalar or multi-dimensional inputs
# Create a small tensor with distinct shape for testing
x_tensor = torch.randn(2, 4)
ARGS = {
"x": x_tensor
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| cat_z_vals |
Ran ran; our contract draft was wrong, not the code |
ingra14m/sire-ir/model/sdf_render.py code served (permissive licence) · get_code("80935b18d5f0e7e4") 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 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
class IComp:
def radius(self) -> float:
raise NotImplementedError
def background(self, x, dirs):
raise NotImplementedError
class ISDF(IComp):
def sdf(self, x):
raise NotImplementedError
def sdf_and_feat(self, x):
raise NotImplementedError
def color(self, x, gradients, dirs, feature_vector):
raise NotImplementedError
def grad(self, x):
raise NotImplementedError
def dev(self, x):
raise NotImplementedError
class SimpleSDFModel(ISDF):
def __init__(self):
pass
def radius(self) -> float:
return 1.0
def background(self, x, dirs):
return torch.zeros(x.shape[0], 3)
def sdf(self, x):
# x shape: (N, 3) -> output (N,)
return torch.norm(x, dim=-1)
def sdf_and_feat(self, x):
sdf_val = self.sdf(x)
feat = torch.randn(x.shape[0], 8)
return sdf_val, feat
def color(self, x, gradients, dirs, feature_vector):
return torch.ones(x.shape[0], 3) * 0.5
def grad(self, x):
return torch.randn(x.shape[0], 3)
def dev(self, x):
return torch.randn(x.shape[0])
# Build small test tensors
batch_size = 2
n_samples = 4
n_importance = 3
rays_o = torch.randn(batch_size, 3)
rays_d = torch.randn(batch_size, 3)
z_vals = torch.randn(batch_size, n_samples).abs()
new_z_vals = torch.randn(batch_size, n_importance).abs()
sdf = torch.randn(batch_size, n_samples)
model = SimpleSDFModel()
ARGS = {
"model": model,
"rays_o": rays_o,
"rays_d": rays_d,
"z_vals": z_vals,
"new_z_vals": new_z_vals,
"sdf": sdf,
"last": 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 tuple, ndim 3, dtype family float — a tuple output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| compute_energy |
Ran ran; our contract draft was wrong, not the code |
ingra14m/sire-ir/model/sg_envmap_material.py code served (permissive licence) · get_code("2f2ca34a9275ae64") 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 2, dtype family float, shape (2, 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 torch
import numpy as np
torch.manual_seed(0)
# The function expects lgtSGs to be a tensor with shape (batch_size, n_features)
# where it indexes columns 3:4 (lgtLambda) and 4: (lgtMu)
# So we need at least 5 columns (indices 0-4)
# Let's use shape (2, 5) for a small batch of 2 with 5 features
lgtSGs = torch.randn(2, 5)
ARGS = {
"lgtSGs": lgtSGs
}
- 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, 1) — shape (2, 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
|
| expected_sin |
Ran ran; our contract draft was wrong, not the code |
ingra14m/sire-ir/model/neus_model.py code served (permissive licence) · get_code("1622ec58303ccf1e") 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 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn.functional as F
torch.manual_seed(0)
# expected_sin takes two parameters: x and x_var
# Both should be tensors (based on the operations: torch.abs, torch.exp, torch.where, etc.)
# x represents the mean of a normal distribution
# x_var represents the variance of a normal distribution
x = torch.randn(2, 4) # batch size 2, 4 dimensions
x_var = torch.abs(torch.randn(2, 4)) # variance must be non-negative, same shape as x
ARGS = {
'x': x,
'x_var': x_var
}
- 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 3, dtype family float — a tuple output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| fibonacci_sphere |
Ran ran, honoured the contract we drafted |
ingra14m/sire-ir/model/sg_envmap_material.py code served (permissive licence) · get_code("cabe3b7874de31ac") 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 (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 numpy as np
ARGS = {
"samples": 100
}
- 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 (100, 3) — shape (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
|
| focus_sampler_from_blender |
Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ingra14m/sire-ir/model/focus_sampler.py code served (permissive licence) · get_code("329791c15b9706a2") 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 FocusSampler. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import numpy as np
torch.manual_seed(0)
# Create small dummy data
batch_size = 2
num_images = 2
height = 8
width = 6
num_channels = 4 # RGB + alpha
# images: shape (num_images, H, W, 4) - RGB + alpha channel
images = torch.rand(num_images, height, width, num_channels, dtype=torch.float32)
# poses: shape (num_images, 4, 4) - camera pose matrices
poses = torch.eye(4, dtype=torch.float32).unsqueeze(0).repeat(num_images, 1, 1)
# Add some variation to poses
poses[0, :3, 3] = torch.tensor([0.0, 0.0, 0.0])
poses[1, :3, 3] = torch.tensor([1.0, 0.5, -0.5])
# render_poses: not used in the function, but required parameter
render_poses = torch.eye(4, dtype=torch.float32).unsqueeze(0).repeat(2, 1, 1)
# hwf: (H, W, focal_length)
hwf = (height, width, 50.0)
# i_split: indices for train/val/test split - we use train split (index 0)
i_split = [np.arange(num_images), np.array([]), np.array([])]
ARGS = {
'images': images,
'poses': poses,
'render_poses': render_poses,
'hwf': hwf,
'i_split': i_split,
'dtype': torch.float32,
}
- 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 FocusSampler — a FocusSampler output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a FocusSampler 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_embedder |
Ran ran; our contract draft was wrong, not the code |
ingra14m/sire-ir/model/embedder.py code served (permissive licence) · get_code("bb0e12df9c0d2a05") 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 torch
torch.manual_seed(0)
ARGS = {
'multires': 4,
'input_dims': 3
}
- 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
|
| integral |
Ran ran on a synthesized input |
ingra14m/sire-ir/model/energy_integral.py code served (permissive licence) · get_code("53553f2177fa3223") 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 1, dtype family float, shape (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 torch
import torch.nn as nn
torch.manual_seed(0)
# Build a small ldr2hdr model
class LDR2HDR(nn.Module):
def __init__(self):
super().__init__()
self.linear = nn.Linear(3, 5)
def forward(self, x, shift):
# x shape: (batch, 1, 3)
# shift is used but we'll just ignore it for this stand-in
batch_size = x.shape[0]
x_flat = x.squeeze(1) # (batch, 3)
out = self.linear(x_flat) # (batch, 5)
return out
ldr2hdr_model = LDR2HDR()
# Create a small images tensor: shape (2, 4, 3) to represent batch of 2, spatial 4, RGB 3
images = torch.rand(2, 4, 3)
# Create a shift parameter (can be a tensor or scalar)
shift = torch.tensor(0.5)
ARGS = {
"images": images,
"shift": shift,
"ldr2hdr": ldr2hdr_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 Tensor, ndim 1, dtype family float, shape (5,) — shape (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
|
| integrated_pos_enc |
Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ingra14m/sire-ir/model/neus_model.py code served (permissive licence) · get_code("3a79406b0a100f56") 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 2, dtype family float, shape (2, 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
import torch.nn.functional as F
torch.manual_seed(0)
# Construct arguments for integrated_pos_enc
# The function expects x_coord to be either:
# 1. (x, x_cov_diag) if diag=True, where x is shape (..., num_dims) and x_cov_diag is shape (..., num_dims)
# 2. (x, x_cov) if diag=False, where x is shape (..., num_dims) and x_cov is shape (..., num_dims, num_dims)
# For diag=True case
batch_size = 2
num_dims = 4
x = torch.randn(batch_size, num_dims)
x_cov_diag = torch.abs(torch.randn(batch_size, num_dims))
x_coord_diag = (x, x_cov_diag)
# For diag=False case
x_full = torch.randn(batch_size, num_dims)
x_cov_full = torch.randn(batch_size, num_dims, num_dims)
# Make it a valid covariance (symmetric positive semi-definite)
x_cov_full = x_cov_full @ x_cov_full.transpose(-1, -2)
x_coord_full = (x_full, x_cov_full)
# Set up arguments dict
ARGS = {
'x_coord': x_coord_diag,
'min_deg': 0,
'max_deg': 3,
'diag': True
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 2, dtype family float, shape (2, 24) — shape (2, 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
|
| inv_camera_params |
Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ingra14m/sire-ir/model/focus_sampler.py code served (permissive licence) · get_code("f22ff5e51374bb0e") 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 torch
import torch.nn as nn
torch.manual_seed(0)
# Analyze the function to understand what's needed:
# - locations: shape (batch_size, num_samples, 3) - 3D points
# - pose_inv: matrix that multiplies with homogeneous coords, shape (batch, 4, 4)
# - cam_loc: camera locations, shape (batch, 3)
# - intrinsics: camera intrinsics matrix, shape (batch, 3, 3)
batch_size = 2
num_samples = 4
spatial_dim = 3
# locations: (batch_size, num_samples, 3) - 3D sample locations
locations = torch.randn(batch_size, num_samples, spatial_dim)
# pose_inv: (batch_size, 4, 4) - inverse pose transformation matrices
pose_inv = torch.randn(batch_size, 4, 4)
# cam_loc: (batch_size, 3) - camera locations
cam_loc = torch.randn(batch_size, spatial_dim)
# intrinsics: (batch_size, 3, 3) - camera intrinsic matrices
intrinsics = torch.randn(batch_size, 3, 3)
ARGS = {
"locations": locations,
"pose_inv": pose_inv,
"cam_loc": cam_loc,
"intrinsics": intrinsics
}
- 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 — 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
|
| isotropic_cov |
Ran ran; our contract draft was wrong, not the code |
ingra14m/sire-ir/model/neus_model.py code served (permissive licence) · get_code("fc755b72cf65ffba") 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 3, dtype family float, shape (2, 4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
torch.manual_seed(0)
# Analyze the function:
# - mean: tensor, has .shape and .device attributes, last dim is d_in
# - var: can be torch.Tensor or scalar, if Tensor gets .view() called
# - d_in: int, default 3, represents the input dimension
# The function creates covariance matrices, so:
# mean should have shape (..., d_in) where ... is arbitrary batch dims
# var should be broadcastable to batch size
# Create mean with shape (2, 4) - batch of 2, d_in of 4
mean = torch.randn(2, 4)
# Create var as a tensor with shape (2,) - one variance per batch element
var = torch.ones(2)
# d_in parameter
d_in = 4
ARGS = {
"mean": mean,
"var": var,
"d_in": d_in,
}
- 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 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 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
|
| query_indir_illum |
Ran ran; our contract draft was wrong, not the code |
ingra14m/sire-ir/model/loss.py code served (permissive licence) · get_code("0d17240d8d05ebf8") 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 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 torch
torch.manual_seed(0)
# lgtSGs: shape (batch, nlobe, 7) where last dim is [lobe_x, lobe_y, lobe_z, lambda, mu_r, mu_g, mu_b]
lgtSGs = torch.randn(2, 3, 7)
# sample_dirs: shape (batch, nsamp, 3) - sampled direction vectors
sample_dirs = torch.randn(2, 4, 3)
ARGS = {
"lgtSGs": lgtSGs,
"sample_dirs": sample_dirs,
}
- 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 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
|
| sg_sample |
Ran ran; our contract draft was wrong, not the code |
ingra14m/sire-ir/model/focus_sampler.py code served (permissive licence) · get_code("9963f31709055350") 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 2, dtype family float, shape (2, 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 torch
torch.manual_seed(0)
# sg_sample expects:
# - sg_lobe: tensor with last dim for normalization and dot product
# - sg_lambda: scalar or broadcastable tensor for exponential scaling
# - sg_mu: scalar or broadcastable tensor for final scaling
# - direction: tensor with same shape as sg_lobe for dot product
# Create small tensors with distinct dimensions
batch_size = 2
feature_dim = 4
sg_lobe = torch.randn(batch_size, feature_dim)
sg_lambda = torch.tensor(2.0)
sg_mu = torch.tensor(0.5)
direction = torch.randn(batch_size, feature_dim)
ARGS = {
"sg_lobe": sg_lobe,
"sg_lambda": sg_lambda,
"sg_mu": sg_mu,
"direction": direction
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 2, dtype family float, shape (2, 1) — shape (2, 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
|
| up_sample |
Ran ran on a synthesized input |
ingra14m/sire-ir/model/sdf_render.py code served (permissive licence) · get_code("90c2f38d1a845b85") 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 2, dtype family float, shape (2, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
torch.manual_seed(0)
batch_size = 2
n_samples = 5
n_importance = 3
rays_o = torch.randn(batch_size, 3)
rays_d = torch.randn(batch_size, 3)
z_vals = torch.linspace(0.1, 2.0, n_samples).unsqueeze(0).expand(batch_size, -1)
sdf = torch.randn(batch_size, n_samples)
inv_s = torch.tensor(10.0)
sphere_radius = 1.0
ARGS = {
"rays_o": rays_o,
"rays_d": rays_d,
"z_vals": z_vals,
"sdf": sdf,
"n_importance": n_importance,
"inv_s": inv_s,
"sphere_radius": sphere_radius,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| warp_aces_inv |
Ran ran, violated the contract we drafted |
ingra14m/sire-ir/model/color_correction.py code served (permissive licence) · get_code("7577b5e4d078db8f") 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 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
torch.manual_seed(0)
# The function warp_aces_inv takes two parameters: x and t
# Both are used in arithmetic operations, so they should be torch tensors or convertible to tensors
# Looking at the function body:
# - x is passed to aces_inv() and multiplied by t
# - t is multiplied by x and passed to aces_inv()
# - Both should be numeric values or tensors
# Create small test tensors
x = torch.randn(2, 4) # Small batch of 2, dimension 4
t = torch.randn(2, 4) # Same shape for broadcasting
ARGS = {
"x": x,
"t": t,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| sample_pdf |
Not yet run unverified (harvested, no recorded run) |
ingra14m/sire-ir/model/sdf_render.py code served (permissive licence) · get_code("8c8e63aa0f7c0066") How it ran |