SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2103.13415 · ICCV · 2021

Mip-NeRF: A Multiscale Representation for Anti-Aliasing Neural Radiance Fields

Ricardo Martin-Brualla, Matthew Tancik, Ben Mildenhall, Jonathan T. Barron, Peter Hedman, Pratul P. Srinivasan

arXiv · PDF · Open in the Atlas

Code that ran

22 of 33 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 11 have no contract verdict; 8 failures of our instrument; 11 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2103.13415.json · badge: /api/ran/2103.13415.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
google/mipnerf canonical (classifier label)
classifier basis: census
11 ran · 1 no recorded run
bebeal/mipnerf-pytorch community
Papers with Code archive
6 ran · 7 no recorded run
hjxwhy/mipnerf_pl community
Papers with Code archive
5 ran · 3 no recorded run
FunctionStatusWhere it lives
MLP Ran
ran on a synthesized input · constructed an object; no result was computed
hjxwhy/mipnerf_pl/models/mip_nerf.py
code served (permissive licence) · get_code("de82d4cd88ba7d6b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MLP: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "net_depth": 4,
    "net_width": 32,
    "net_depth_condition": 2,
    "net_width_condition": 16,
    "skip_index": 2,
    "num_rgb_channels": 3,
    "num_density_channels": 1,
    "activation": "relu",
    "xyz_dim": 8,
    "view_dim": 6,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MLP — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MLP 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
PositionalEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("d26bd0d9fcf8b200")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_to_ndc Ran
ran on a synthesized input
google/mipnerf/internal/datasets.py
code served (permissive licence) · get_code("7115b692e467d100")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 4, 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 small test arrays
# origins: shape (..., 3) - ray origins in 3D space
# directions: shape (..., 3) - ray directions in 3D space
batch_size = 2
num_rays = 4

origins = np.random.randn(batch_size, num_rays, 3).astype(np.float32)
directions = np.random.randn(batch_size, num_rays, 3).astype(np.float32)

# Normalize directions to avoid division issues
directions = directions / np.linalg.norm(directions, axis=-1, keepdims=True)

# Ensure z-components are not too close to zero to avoid numerical issues
origins[..., 2] = np.abs(origins[..., 2]) + 1.0
directions[..., 2] = -np.abs(directions[..., 2]) - 0.1

focal = 1000.0
w = 640
h = 480
near = 1.0

ARGS = {
    "origins": origins,
    "directions": directions,
    "focal": focal,
    "w": w,
    "h": h,
    "near": near,
}
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 4, 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
convolve2d Ran
ran on a synthesized input
google/mipnerf/internal/vis.py
code served (permissive licence) · get_code("f4d06208684a7a77")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, ndim 2, dtype family float, shape (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 jax
import jax.numpy as jnp
import jax.scipy as jsp

# Create small 2D arrays for convolution
# z is the input signal (2D array)
z = jnp.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0],
    [9.0, 10.0, 11.0, 12.0],
    [13.0, 14.0, 15.0, 16.0]
])

# f is the filter/kernel (smaller 2D array)
f = jnp.array([
    [1.0, 0.0],
    [0.0, 1.0]
])

ARGS = {
    "z": z,
    "f": f
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (4, 4) — shape (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
depth_to_normals Ran
ran on a synthesized input
google/mipnerf/internal/vis.py
code served (permissive licence) · get_code("57dbac42c2922def")
How it ran

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

import jax
import jax.numpy as jnp

# Create a small depth map (orthographic depth image)
# Shape: (height, width) - using distinct dimensions 4x3
depth = jnp.ones((4, 3), dtype=jnp.float32)
# Add some variation to make the normals interesting
depth = depth.at[1:3, 1:2].set(2.0)

ARGS = {
    "depth": depth,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 3, dtype family float, shape (4, 3, 3) — shape (4, 3, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
file_exists Ran
ran on a synthesized input
google/mipnerf/internal/utils.py
code served (permissive licence) · get_code("3e443b753d374fda")
How it ran

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

# Create a temporary file to test file_exists
with tempfile.NamedTemporaryFile(delete=False) as tmp:
    temp_file_path = tmp.name

ARGS = {
    "pth": 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 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
integrated_pos_enc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hjxwhy/mipnerf_pl/models/mip_nerf.py
code served (permissive licence) · get_code("4476a197d65bcc37")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 4, 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 numpy as np

torch.manual_seed(0)

# For diagonal=True case
means = torch.randn(2, 4, 3)  # [B=2, N=4, 3]
covs_diag = torch.abs(torch.randn(2, 4, 3))  # [B=2, N=4, 3], positive for variance

means_covs_diagonal = (means, covs_diag)

# For diagonal=False case
means_full = torch.randn(2, 4, 3)  # [B=2, N=4, 3]
x_cov = torch.randn(2, 4, 3, 3)  # [B=2, N=4, 3, 3] covariance matrices

means_covs_full = (means_full, x_cov)

ARGS = {
    "means_covs": means_covs_diagonal,
    "min_deg": 0,
    "max_deg": 4,
    "diagonal": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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 3, dtype family float, shape (2, 4, 24) — shape (2, 4, 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
lift_gaussian Ran
ran; our contract draft was wrong, not the code
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("329d135c2ac7936e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lift_gaussian Ran
ran on a synthesized input
google/mipnerf/internal/mip.py
code served (permissive licence) · get_code("b08a5fcef9a0e68a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 4, 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 jax.numpy as jnp
import numpy as np

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

# Create valid arguments for lift_gaussian
# d: direction vector, shape (..., 3) - representing 3D directions
# t_mean: mean along ray, shape (...)
# t_var: variance along ray, shape (...)
# r_var: radial variance, shape (...)
# diag: boolean flag for diagonal covariance computation

batch_size = 2
spatial_dim = 3

# d: direction vectors with shape (batch_size, spatial_dim)
d = jnp.array(np.random.randn(batch_size, spatial_dim), dtype=jnp.float32)
d = d / jnp.linalg.norm(d, axis=-1, keepdims=True)  # normalize

# t_mean: mean values along ray with shape (batch_size,)
t_mean = jnp.array(np.random.randn(batch_size), dtype=jnp.float32)

# t_var: variance along ray with shape (batch_size,)
t_var = jnp.array(np.abs(np.random.randn(batch_size)), dtype=jnp.float32)

# r_var: radial variance with shape (batch_size,)
r_var = jnp.array(np.abs(np.random.randn(batch_size)), dtype=jnp.float32)

# diag: boolean flag
diag = True

ARGS = {
    "d": d,
    "t_mean": t_mean,
    "t_var": t_var,
    "r_var": r_var,
    "diag": diag,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 4, 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
matmul Ran
ran, honoured the contract we drafted
google/mipnerf/internal/math.py
code served (permissive licence) · get_code("0f92b856a4c7ffa0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, ndim 2, dtype family float, shape (2, 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 jax
import jax.numpy as jnp

# Create two small JAX arrays for matrix multiplication
a = jnp.array([[1.0, 2.0, 3.0],
               [4.0, 5.0, 6.0]], dtype=jnp.float32)

b = jnp.array([[1.0, 2.0],
               [3.0, 4.0],
               [5.0, 6.0]], dtype=jnp.float32)

ARGS = {
    "a": a,
    "b": b
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (2, 2) — shape (2, 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
namedtuple_map Ran
ran; our contract draft was wrong, not the code
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("f2267c6893ffb35f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

open_file Ran
ran on a synthesized input
google/mipnerf/internal/utils.py
code served (permissive licence) · get_code("ea51e10bd8ccc6c6")
How it ran

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

import tempfile
import os

# Create a temporary file for testing
temp_dir = tempfile.mkdtemp()
temp_file_path = os.path.join(temp_dir, "test_file.txt")

# Write some content to the temporary file
with open(temp_file_path, 'w') as f:
    f.write("test content")

ARGS = {
    'pth': temp_file_path,
    'mode': 'r'
}
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 TextIOWrapper — a TextIOWrapper 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
pos_enc Ran
ran; our contract draft was wrong, not the code
hjxwhy/mipnerf_pl/models/mip_nerf.py
code served (permissive licence) · get_code("803f454e1b276964")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 36) 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
from einops import rearrange

torch.manual_seed(0)

# Create a small batch of input data
# x should be a tensor with shape (batch_size, feature_dim)
x = torch.randn(2, 4)

# min_deg and max_deg define the range of frequency scales
min_deg = 0
max_deg = 4

# append_identity is a boolean flag
append_identity = True

ARGS = {
    'x': x,
    'min_deg': min_deg,
    'max_deg': max_deg,
    'append_identity': append_identity
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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, 36) — shape (2, 36) 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
pos_enc Ran
ran on a synthesized input
google/mipnerf/internal/mip.py
code served (permissive licence) · get_code("b173cfb2e6627ca6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, ndim 2, dtype family float, shape (2, 27) 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 jax.numpy as jnp

# Create small input tensor for positional encoding
# x should have shape (..., feature_dim)
# Using shape (2, 3) - batch of 2, feature dimension of 3
x = jnp.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])

# Positional encoding parameters
min_deg = 0
max_deg = 4
append_identity = True

ARGS = {
    "x": x,
    "min_deg": min_deg,
    "max_deg": max_deg,
    "append_identity": append_identity,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (2, 27) — shape (2, 27) 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
safe_cos Ran
ran, violated the contract we drafted
google/mipnerf/internal/math.py
code served (permissive licence) · get_code("2bf299e51f2339bd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, 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 jax.numpy as jnp
import numpy as np

# safe_cos takes one parameter: x
# From the function body, x is used with jnp.abs(), jnp.where(), and passed to jnp.cos()
# So x should be a JAX array (or numpy array that can be converted)

# Create a small test array with some large and small values
x_value = jnp.array([0.5, 150 * jnp.pi, 2.3, 500 * jnp.pi])

ARGS = {
    "x": x_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, 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
safe_trig_helper Ran
ran; our contract draft was wrong, not the code
google/mipnerf/internal/math.py
code served (permissive licence) · get_code("a4c29290b26d4263")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, 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 jax.numpy as jnp
import numpy as np

def safe_trig_helper(x, fn, t=100 * jnp.pi):
    return fn(jnp.where(jnp.abs(x) < t, x, x % t))

# Create a small JAX array for x
x = jnp.array([1.0, 2.0, 150.0, 350.0])

# Create a simple trigonometric function (sin)
fn = jnp.sin

# Create a custom threshold value
t = 100 * jnp.pi

ARGS = {
    "x": x,
    "fn": fn,
    "t": t
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, 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
sample_along_rays Ran
ran; our contract draft was wrong, not the code
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("9cc00df84d273598")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_along_rays Ran
ran; our contract draft was wrong, not the code
hjxwhy/mipnerf_pl/models/mip_nerf.py
code served (permissive licence) · get_code("54283cf277120e24")
How it ran

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

import torch

torch.manual_seed(0)

ARGS = {
    "origins": torch.randn(2, 3),
    "directions": torch.randn(2, 3),
    "radii": torch.randn(2, 1),
    "num_samples": 4,
    "near": torch.tensor([[0.1], [0.1]]),
    "far": torch.tensor([[10.0], [10.0]]),
    "randomized": False,
    "disparity": False,
    "ray_shape": "cone",
}
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
sinebow Ran
ran on a synthesized input
google/mipnerf/internal/vis.py
code served (permissive licence) · get_code("048c1208fee6c6fe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, ndim 1, dtype family float, shape (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 jax.numpy as jnp
import numpy as np

# The function sinebow takes a single parameter 'h' which is used in arithmetic operations
# with jnp arrays. It should be a scalar or array-like value that can be used in 
# jnp.pi * x operations and array subtraction.

# Create a small test value for h
h_value = jnp.array(0.5)

ARGS = {
    "h": h_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, shape (3,) — shape (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
sorted_piecewise_constant_pdf Ran
ran on a synthesized input
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("1938594a08c5dd74")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to8b Ran
ran, violated the contract we drafted
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("9f73947794a2bf48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

volumetric_rendering Ran
ran; our contract draft was wrong, not the code
hjxwhy/mipnerf_pl/models/mip_nerf.py
code served (permissive licence) · get_code("bc935e2a4ebd4273")
How it ran

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

import torch

torch.manual_seed(0)

# Define dimensions
batch_size = 2
num_samples = 4
rgb_dim = 3
density_dim = 1
dirs_dim = 3

# rgb: [batch_size, num_samples, 3]
rgb = torch.randn(batch_size, num_samples, rgb_dim)

# density: [batch_size, num_samples, 1]
density = torch.abs(torch.randn(batch_size, num_samples, density_dim)) + 0.1

# t_samples: [batch_size, num_samples+1]
# Should be monotonically increasing along the last dimension
t_samples = torch.sort(torch.randn(batch_size, num_samples + 1))[0]

# dirs: [batch_size, 3] - direction vectors
dirs = torch.randn(batch_size, dirs_dim)

# white_bkgd: bool
white_bkgd = True

ARGS = {
    'rgb': rgb,
    'density': density,
    't_samples': t_samples,
    'dirs': dirs,
    'white_bkgd': white_bkgd
}
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
MipNeRF Not yet run
unverified (harvested, no recorded run)
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("49008a6929d3421c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MipNerf Not yet run
unverified (harvested, no recorded run)
hjxwhy/mipnerf_pl/models/mip_nerf.py
code served (permissive licence) · get_code("56e734996bd5896d")
How it ran

no invocation recorded.

_xavier_init Not yet run
unverified (harvested, no recorded run)
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("9e2b1cac31815d48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

_xavier_init Not yet run
unverified (harvested, no recorded run)
hjxwhy/mipnerf_pl/models/mip_nerf.py
code served (permissive licence) · get_code("56a672a93eff7144")
How it ran

no invocation recorded.

cast_rays Not yet run
unverified (harvested, no recorded run)
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("eb4c4e118ab261ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

conical_frustum_to_gaussian Not yet run
unverified (harvested, no recorded run)
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("c9d6592f49f2731a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

cylinder_to_gaussian Not yet run
unverified (harvested, no recorded run)
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("65e3f830a53bdb00")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

listdir Not yet run
unverified (harvested, no recorded run)
google/mipnerf/internal/utils.py
code served (permissive licence) · get_code("0bc10c560cd1a9d0")
How it ran

no invocation recorded.

resample_along_rays Not yet run
unverified (harvested, no recorded run)
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("6c57d14a0030d04c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

resample_along_rays Not yet run
unverified (harvested, no recorded run)
hjxwhy/mipnerf_pl/models/mip_nerf.py
code served (permissive licence) · get_code("1e22401326ec5ead")
How it ran

no invocation recorded.

volumetric_rendering Not yet run
unverified (harvested, no recorded run)
bebeal/mipnerf-pytorch/model.py
pointer only (licence: NONE) · get_code("7addb09efb7b3978")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bebeal/mipnerf-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 33 samples lifted from this paper's linked repositories, 33 carry a function identity and 0 do not. Of the 33 distinct functions with an identity, 11 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 11 later) and 22 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
matmul 5 other papers
5 later
2112.01983 (2021-12)
CoNeRF: Controllable Neural Radiance Fields
2211.12285 (2022-11)
Exact-NeRF: An Exploration of a Precise Volumetric Parameterization for Neural Radiance Fields
2302.08788 (2023-02)
MixNeRF: Modeling a Ray with Mixture Density for Novel View Synthesis from Sparse Inputs
and 2 more not named here
safe_cos 4 other papers
4 later
2211.12285 (2022-11)
Exact-NeRF: An Exploration of a Precise Volumetric Parameterization for Neural Radiance Fields
2302.08788 (2023-02)
MixNeRF: Modeling a Ray with Mixture Density for Novel View Synthesis from Sparse Inputs
2304.07743 (2023-04)
SeaThru-NeRF: Neural Radiance Fields in Scattering Media
and 1 more not named here
safe_trig_helper 4 other papers
4 later
2211.12285 (2022-11)
Exact-NeRF: An Exploration of a Precise Volumetric Parameterization for Neural Radiance Fields
2302.08788 (2023-02)
MixNeRF: Modeling a Ray with Mixture Density for Novel View Synthesis from Sparse Inputs
2304.07743 (2023-04)
SeaThru-NeRF: Neural Radiance Fields in Scattering Media
and 1 more not named here
convolve2d 2 other papers
2 later
2302.08788 (2023-02)
MixNeRF: Modeling a Ray with Mixture Density for Novel View Synthesis from Sparse Inputs
2306.17723 (2023-06)
FlipNeRF: Flipped Reflection Rays for Few-shot Novel View Synthesis
cylinder_to_gaussian
brick of this paper's assembly: helper
2 other papers
2 later
2211.12285 (2022-11)
Exact-NeRF: An Exploration of a Precise Volumetric Parameterization for Neural Radiance Fields
2304.07743 (2023-04)
SeaThru-NeRF: Neural Radiance Fields in Scattering Media
lift_gaussian 2 other papers
2 later
2211.12285 (2022-11)
Exact-NeRF: An Exploration of a Precise Volumetric Parameterization for Neural Radiance Fields
2304.07743 (2023-04)
SeaThru-NeRF: Neural Radiance Fields in Scattering Media
listdir 2 other papers
2 later
2302.08788 (2023-02)
MixNeRF: Modeling a Ray with Mixture Density for Novel View Synthesis from Sparse Inputs
2306.17723 (2023-06)
FlipNeRF: Flipped Reflection Rays for Few-shot Novel View Synthesis
open_file 2 other papers
2 later
2302.08788 (2023-02)
MixNeRF: Modeling a Ray with Mixture Density for Novel View Synthesis from Sparse Inputs
2306.17723 (2023-06)
FlipNeRF: Flipped Reflection Rays for Few-shot Novel View Synthesis
sinebow 2 other papers
2 later
2302.08788 (2023-02)
MixNeRF: Modeling a Ray with Mixture Density for Novel View Synthesis from Sparse Inputs
2306.17723 (2023-06)
FlipNeRF: Flipped Reflection Rays for Few-shot Novel View Synthesis
sorted_piecewise_constant_pdf
brick of this paper's assembly: helper
2 other papers
2 later
2308.02908 (2023-08)
Where and How: Mitigating Confusion in Neural Radiance Fields from Sparse Inputs
2311.09077 (2023-11)
Spiking NeRF: Representing the Real-World Geometry by a Discontinuous Representation
namedtuple_map
brick of this paper's assembly: helper
1 other paper
1 later
2308.02908 (2023-08)
Where and How: Mitigating Confusion in Neural Radiance Fields from Sparse Inputs

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

Repositories linked to this paper

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

Abstract

The rendering procedure used by neural radiance fields (NeRF) samples a scene with a single ray per pixel and may therefore produce renderings that are excessively blurred or aliased when training or testing images observe scene content at different resolutions. The straightforward solution of supersampling by rendering with multiple rays per pixel is impractical for NeRF, because rendering each ray requires querying a multilayer perceptron hundreds of times. Our solution, which we call "mip-NeRF" (à la "mipmap"), extends NeRF to represent the scene at a continuously-valued scale. By efficiently rendering anti-aliased conical frustums instead of rays, mip-NeRF reduces objectionable aliasing artifacts and significantly improves NeRF's ability to represent fine details, while also being 7% faster than NeRF and half the size. Compared to NeRF, mip-NeRF reduces average error rates by 17% on the dataset presented with NeRF and by 60% on a challenging multiscale variant of that dataset that we present. Mip-NeRF is also able to match the accuracy of a brute-force supersampled NeRF on our multiscale dataset while being 22× faster.

For agents

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

get_harvested_code_for_paper("2103.13415")
get_code_for_paper("2103.13415")
have("2103.13415")

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

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

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

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

Connect an agent — have() is free.