SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · Zhan_NeRFrac_Neural_Radiance_Fields_through_Refractive_Surface_ICCV_2023_paper · ICCV · 2023

NeRFrac: Neural Radiance Fields through Refractive Surface

Yifan Zhan, Yinqiang Zheng, Ko Nishino, Shohei Nobuhara

Open in the Atlas

Code that ran

13 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 6 have no contract verdict; 5 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/Zhan_NeRFrac_Neural_Radiance_Fields_through_Refractive_Surface_ICCV_2023_paper.json · badge: /api/ran/Zhan_NeRFrac_Neural_Radiance_Fields_through_Refractive_Surface_ICCV_2023_paper.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
Yifever20002/NeRFrac canonical (classifier label)
classifier basis: census
13 ran · 3 no recorded run
FunctionStatusWhere it lives
batchify Ran
ran on a synthesized input
Yifever20002/NeRFrac/run_nerfrac.py
code served (permissive licence) · get_code("8ac917923e924ada")
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 function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Define a simple function that fn will be
def simple_fn(inputs, water):
    """Mimics the expected behavior of fn parameter."""
    batch_size = inputs.shape[0]
    outputs_flat = torch.randn(batch_size, 5)
    Xs = torch.randn(batch_size, 3)
    z_vals = torch.randn(batch_size, 2)
    sample_ray = torch.randn(batch_size, 4)
    return (outputs_flat, Xs, z_vals, sample_ray)

# Create test inputs
test_inputs = torch.randn(2, 6)
test_water = {"depth": 10, "clarity": 0.8}

ARGS = {
    "fn": simple_fn,
    "chunk": 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_embedder Ran
ran; our contract draft was wrong, not the code
Yifever20002/NeRFrac/run_nerfrac_helpers.py
code served (permissive licence) · get_code("d26ffa77f1cd53a6")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'multires': 4,
    'i': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_embeddero Ran
ran on a synthesized input
Yifever20002/NeRFrac/run_nerfrac_helpers.py
code served (permissive licence) · get_code("a037d2ccc25b7906")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'multires': 4,
    'i': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_rays Ran
ran; our contract draft was wrong, not the code
Yifever20002/NeRFrac/run_nerfrac_helpers.py
code served (permissive licence) · get_code("492a3bd403592338")
How it ran

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

torch.manual_seed(0)

# H: image height
H = 2

# W: image width
W = 3

# K: camera intrinsic matrix (3x3)
K = torch.tensor([
    [500.0, 0.0, 160.0],
    [0.0, 500.0, 120.0],
    [0.0, 0.0, 1.0]
])

# c2w: camera-to-world transformation matrix (4x4)
c2w = torch.tensor([
    [1.0, 0.0, 0.0, 0.0],
    [0.0, 1.0, 0.0, 0.0],
    [0.0, 0.0, 1.0, 5.0],
    [0.0, 0.0, 0.0, 1.0]
])

ARGS = {
    "H": H,
    "W": W,
    "K": K,
    "c2w": c2w
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
img2mse Ran
ran; our contract draft was wrong, not the code
Yifever20002/NeRFrac/utils.py
code served (permissive licence) · get_code("598359a17b0a3a7f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned 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 two image tensors with shape [batch, height, width, 3]
# Using distinct sizes: batch=2, height=4, width=5, channels=3
x = torch.randn(2, 4, 5, 3)
y = torch.randn(2, 4, 5, 3)

# Create a mask tensor with shape [batch, height, width]
mask = torch.ones(2, 4, 5)

ARGS = {
    "x": x,
    "y": y,
    "mask": mask,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
img2psnr Ran
ran on a synthesized input
Yifever20002/NeRFrac/utils.py
code served (permissive licence) · get_code("741433fdd1a87ca3")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

# Create two small image tensors with shape [batch, height, width, 3]
# Using distinct dimensions: batch=2, height=4, width=5, channels=3
x = torch.randn(2, 4, 5, 3)
y = torch.randn(2, 4, 5, 3)

# Create an optional mask with shape [batch, height, width]
mask = torch.ones(2, 4, 5)

ARGS = {
    "x": x,
    "y": y,
    "mask": mask,
}
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 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
load_LINEMOD_data Ran
ran on a synthesized input
Yifever20002/NeRFrac/load_LINEMOD.py
code served (permissive licence) · get_code("165cbd048b22e24b")
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 os
import json
import tempfile
import shutil
import numpy as np
import torch
import cv2

torch.manual_seed(0)

# Create a temporary directory structure with mock LINEMOD data
temp_dir = tempfile.mkdtemp()

# Create mock image files and metadata
def create_mock_linemod_data(basedir):
    """Create minimal mock LINEMOD dataset structure"""
    os.makedirs(basedir, exist_ok=True)
    
    splits = ['train', 'val', 'test']
    
    for split in splits:
        frames = []
        for i in range(2):
            frame_dir = os.path.join(basedir, f'frame_{i:04d}')
            os.makedirs(frame_dir, exist_ok=True)
            
            # Create a small mock RGB image
            img = np.random.randint(0, 256, (64, 48, 3), dtype=np.uint8)
            img_path = os.path.join(frame_dir, 'rgb.png')
            cv2.imwrite(img_path, img)
            
            # Create frame metadata
            frame = {
                'file_path': img_path,
                'transform_matrix': np.eye(4).tolist(),
                'intrinsic_matrix': [
                    [500.0, 0.0, 24.0],
                    [0.0, 500.0, 32.0],
                    [0.0, 0.0, 1.0]
                ]
            }
            frames.append(frame)
        
        # Create transforms JSON
        meta = {
            'frames': frames,
            'near': 0.1,
            'far': 10.0
        }
        meta_path = os.path.join(basedir, f'transforms_{split}.json')
        with open(meta_path, 'w') as f:
            json.dump(meta, f)

# Set up mock data
basedir = temp_dir
create_mock_linemod_data(basedir)

ARGS = {
    'basedir': basedir,
    'half_res': False,
    'testskip': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, imageio, numpy, 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
load_blender_data Ran
ran on a synthesized input
Yifever20002/NeRFrac/load_blender.py
code served (permissive licence) · get_code("ea0e1a82a9c99852")
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 os
import torch
import numpy as np
import json
import tempfile
import shutil

torch.manual_seed(0)

# Create a temporary directory structure with mock Blender dataset files
tmpdir = tempfile.mkdtemp()

# Create mock transform JSON files for train, val, test splits
splits = ['train', 'val', 'test']

for split in splits:
    frames = []
    num_frames = 2 if split == 'train' else 1
    for i in range(num_frames):
        frame = {
            'file_path': f'{split}_frame_{i}',
            'transform_matrix': np.eye(4).tolist()
        }
        frames.append(frame)
    
    meta = {
        'frames': frames,
        'camera_angle_x': 0.6911112070083618
    }
    
    json_path = os.path.join(tmpdir, f'transforms_{split}.json')
    with open(json_path, 'w') as f:
        json.dump(meta, f)

# Create mock PNG image files (minimal valid PNG format)
import struct
import zlib

def create_minimal_png(width, height, filename):
    """Create a minimal valid PNG file with RGBA channels"""
    # PNG signature
    png_sig = b'\x89PNG\r\n\x1a\n'
    
    # IHDR chunk (image header)
    ihdr_data = struct.pack('>IIBBBBB', width, height, 8, 6, 0, 0, 0)  # 8-bit RGBA
    ihdr_crc = zlib.crc32(b'IHDR' + ihdr_data) & 0xffffffff
    ihdr_chunk = struct.pack('>I', 13) + b'IHDR' + ihdr_data + struct.pack('>I', ihdr_crc)
    
    # IDAT chunk (image data) - create minimal valid data
    raw_data = b''
    for y in range(height):
        raw_data += b'\x00'  # filter type
        for x in range(width):
            raw_data += b'\xff\xff\xff\xff'  # RGBA white pixel
    
    compressed_data = zlib.compress(raw_data)
    idat_crc = zlib.crc32(b'IDAT' + compressed_data) & 0xffffffff
    idat_chunk = struct.pack('>I', len(compressed_data)) + b'IDAT' + compressed_data + struct.pack('>I', idat_crc)
    
    # IEND chunk (image end)
    iend_crc = zlib.crc32(b'IEND') & 0xffffffff
    iend_chunk = struct.pack('>I', 0) + b'IEND' + struct.pack('>I', iend_crc)
    
    png_data = png_sig + ihdr_chunk + idat_chunk + iend_chunk
    
    with open(filename, 'wb') as f:
        f.write(png_data)

# Create mock image files
for split in splits:
    num_frames = 2 if split == 'train' else 1
    for i in range(num_frames):
        img_path = os.path.join(tmpdir, f'{split}_frame_{i}.png')
        create_minimal_png(16, 16, img_path)

ARGS = {
    'basedir': tmpdir,
    'half_res': False,
    'testskip': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, imageio, numpy, 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
load_dv_data Ran
ran on a synthesized input
Yifever20002/NeRFrac/load_deepvoxels.py
code served (permissive licence) · get_code("e69746042397f344")
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 os
import tempfile
import numpy as np
import imageio

# Create a temporary directory structure that mimics the deepvoxels dataset
temp_dir = tempfile.mkdtemp()
basedir = temp_dir

# Create directory structure
scene = 'cube'
train_dir = os.path.join(basedir, 'train', scene)
test_dir = os.path.join(basedir, 'test', scene)
val_dir = os.path.join(basedir, 'validation', scene)

for d in [train_dir, test_dir, val_dir]:
    os.makedirs(os.path.join(d, 'rgb'), exist_ok=True)
    os.makedirs(os.path.join(d, 'pose'), exist_ok=True)

# Create intrinsics.txt
intrinsics_content = """500.0 256.0 256.0
0.0 0.0 0.0
0.1
1.0
512.0 512.0
0
"""
with open(os.path.join(train_dir, 'intrinsics.txt'), 'w') as f:
    f.write(intrinsics_content)

# Create pose files (4x4 matrices as text)
pose_data = np.eye(4).astype(np.float32)
for split_dir in [train_dir, test_dir, val_dir]:
    for i in range(3):
        pose_file = os.path.join(split_dir, 'pose', f'pose_{i:03d}.txt')
        with open(pose_file, 'w') as f:
            f.write(' '.join(str(x) for x in pose_data.flatten()))

# Create dummy RGB images (512x512x3)
dummy_img = (np.random.rand(512, 512, 3) * 255).astype(np.uint8)
for split_dir in [train_dir, test_dir, val_dir]:
    for i in range(3):
        img_file = os.path.join(split_dir, 'rgb', f'image_{i:03d}.png')
        imageio.imwrite(img_file, dummy_img)

ARGS = {
    'scene': 'cube',
    'basedir': basedir,
    'testskip': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
imageio, 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
normalize Ran
ran, violated the contract we drafted
Yifever20002/NeRFrac/load_llff.py
code served (permissive licence) · get_code("1d6f8390d799f055")
How it ran

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

import numpy as np

# The normalize function takes a single parameter 'x' which is expected to be
# a numpy array (or array-like). It divides x by its L2 norm.
# We need to provide a small numpy array as input.

x = np.array([3.0, 4.0])  # Simple 2D vector with norm=5, will normalize to [0.6, 0.8]

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pose_spherical Ran
ran, honoured the contract we drafted
Yifever20002/NeRFrac/load_LINEMOD.py
pointer only (licence: MIT); the stored copy get_code serves, from runsong123/pcf-lift, is pointer only (licence: NONE) · get_code("8313c1fb69b28c8e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from runsong123/pcf-lift, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ptstocam Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Yifever20002/NeRFrac/load_llff.py
code served (permissive licence) · get_code("36f5de7a0aae4a9b")
How it ran

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

import numpy as np

# Construct valid arguments for ptstocam function
# The function expects:
# - pts: points array that will be used in (pts - c2w[:3, 3])
# - c2w: camera-to-world transformation matrix with shape (4, 4) or similar
#        where c2w[:3, :3] is the rotation part and c2w[:3, 3] is the translation

# Create a c2w matrix (4x4 camera-to-world transformation)
c2w = np.array([
    [1.0, 0.0, 0.0, 0.5],
    [0.0, 1.0, 0.0, 1.0],
    [0.0, 0.0, 1.0, 2.0],
    [0.0, 0.0, 0.0, 1.0]
], dtype=np.float32)

# Create points array with shape (2, 3) - 2 points with 3 coordinates each
pts = np.array([
    [1.0, 2.0, 3.0],
    [4.0, 5.0, 6.0]
], dtype=np.float32)

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

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

import numpy as np

# Construct arguments for viewmatrix function
# The function expects:
# - z: a vector (used in normalize and cross product)
# - up: a vector (used in cross product)
# - pos: a vector (stacked into result)

# Create small 3D vectors as numpy arrays
z = np.array([0.0, 0.0, 1.0])
up = np.array([0.0, 1.0, 0.0])
pos = np.array([1.0, 2.0, 3.0])

ARGS = {
    "z": z,
    "up": up,
    "pos": pos
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 4) — shape (3, 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
batchify_rays Not yet run
unverified (harvested, no recorded run)
Yifever20002/NeRFrac/run_nerfrac.py
code served (permissive licence) · get_code("c8f9e48d8249b3fa")
How it ran

no invocation recorded.

get_vertical_colorbar Not yet run
unverified (harvested, no recorded run)
Yifever20002/NeRFrac/utils.py
code served (permissive licence) · get_code("500bdd88036aa861")
How it ran

no invocation recorded.

run_network Not yet run
unverified (harvested, no recorded run)
Yifever20002/NeRFrac/run_nerfrac.py
code served (permissive licence) · get_code("488cf3223fdc9ebe")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 10 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 5 later) and 6 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
normalize 19 other papers
9 dated earlier, 5 later, 5 same year, order not determinable
2003.08934 (2020-03)
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
2007.02442 (2020-07)
GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis
2104.04073 (2021-04)
Direct-PoseNet: Absolute Pose Regression with Photometric Consistency
and 16 more not named here
viewmatrix 17 other papers
9 dated earlier, 4 later, 4 same year, order not determinable
2003.08934 (2020-03)
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
2007.02442 (2020-07)
GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis
2104.04073 (2021-04)
Direct-PoseNet: Absolute Pose Regression with Photometric Consistency
and 14 more not named here
pose_spherical 11 other papers
3 dated earlier, 4 later, 4 same year, order not determinable
2007.02442 (2020-07)
GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis
2205.14870 (2022-05)
Compressible-composable NeRF via Rank-residual Decomposition
2205.15285 (2022-05)
Fast Dynamic Radiance Fields with Time-Aware Neural Voxels
and 8 more not named here
ptstocam 10 other papers
7 dated earlier, 2 later, 1 same year, order not determinable
2003.08934 (2020-03)
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
2007.02442 (2020-07)
GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis
2104.04073 (2021-04)
Direct-PoseNet: Absolute Pose Regression with Photometric Consistency
and 7 more not named here
batchify_rays 6 other papers
5 dated earlier, 1 same year, order not determinable
2003.08934 (2020-03)
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
2107.02791 (2021-07)
Depth-supervised NeRF: Fewer Views and Faster Training for Free
2201.05989 (2022-01)
Instant neural graphics primitives with a multiresolution hash encoding
and 3 more not named here
get_rays 4 other papers
2 dated earlier, 2 later
2208.00945 (2022-08)
DoF-NeRF: Depth-of-Field Meets Neural Radiance Fields
2211.12853 (2022-11)
BAD-NeRF: Bundle Adjusted Deblur Neural Radiance Fields
2407.09679 (2024-07)
Physics-Informed Learning of Characteristic Trajectories for Smoke Reconstruction
and 1 more not named here
get_embedder 3 other papers
2 dated earlier, 1 same year, order not determinable
2208.00945 (2022-08)
DoF-NeRF: Depth-of-Field Meets Neural Radiance Fields
2209.09050 (2022-09)
Loc-NeRF: Monte Carlo Localization using Neural Radiance Fields
2311.09077 (2023-11)
Spiking NeRF: Representing the Real-World Geometry by a Discontinuous Representation
img2mse 2 other papers
2 same year, order not determinable
2306.06359 (2023-06)
NeRFool: Uncovering the Vulnerability of Generalizable Neural Radiance Fields against Adversarial Perturbations
2310.15712 (2023-10)
GNeSF: Generalizable Neural Semantic Fields
load_dv_data 2 other papers
2 dated earlier
2003.08934 (2020-03)
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
2007.02442 (2020-07)
GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis
get_vertical_colorbar 1 other paper
1 same year, order not determinable
2308.09386 (2023-08)
DReg-NeRF: Deep Registration for Neural Radiance Fields

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-24.

Repositories linked to this paper

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

Abstract

Neural Radiance Fields (NeRF) is a popular neural representation for novel view synthesis. By querying spatial points and view directions, a multilayer perceptron (MLP) can be trained to output the volume density and radiance along a ray, which lets us render novel views of the scene. The original NeRF and its recent variants, however, are limited to opaque scenes dominated with diffuse reflection surfaces and cannot handle complex refractive surfaces well. We introduce NeRFrac to realize neural novel view synthesis of scenes captured through refractive surfaces, typically water surfaces. For each queried ray, an MLP-based Refractive Field is trained to estimate the distance from the ray origin to the refractive surface. A refracted ray at each intersection point is then computed by Snell's Law, given the input ray and the approximated local normal. Points of the scene are sampled along the refracted ray and are sent to a Radiance Field for further radiance estimation. We show that from a sparse set of images, our model achieves accurate novel view synthesis of the scene underneath the refractive surface and simultaneously reconstructs the refractive surface. We evaluate the effectiveness of our method with synthetic and real scenes seen through water surfaces. Experimental results demonstrate the accuracy of NeRFrac for modeling scenes seen through wavy refractive surfaces. Github page: https: //github.com/Yifever20002/NeRFrac.

For agents

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

get_harvested_code_for_paper("Zhan_NeRFrac_Neural_Radiance_Fields_through_Refractive_Surface_ICCV_2023_paper")
get_code_for_paper("Zhan_NeRFrac_Neural_Radiance_Fields_through_Refractive_Surface_ICCV_2023_paper")
have("Zhan_NeRFrac_Neural_Radiance_Fields_through_Refractive_Surface_ICCV_2023_paper")

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

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

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

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

Connect an agent — have() is free.