SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.20292 · 2025

OpenS2V-Nexus: A Detailed Benchmark and Million-Scale Dataset for Subject-to-Video Generation

arXiv · PDF · Open in the Atlas

Code that ran

35 of 38 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, 0 violated it and 27 have no contract verdict; 7 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/2505.20292.json · badge: /api/ran/2505.20292.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
PKU-YuanGroup/ConsisID canonical (classifier label)
classifier basis not recorded on the link
19 ran · 1 no recorded run
PKU-YuanGroup/OpenS2V-Nexus canonical (classifier label)
classifier basis not recorded on the link
16 ran · 2 no recorded run
FunctionStatusWhere it lives
batch_cosine_similarity Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step1_get_bbox.py
code served (permissive licence) · get_code("83512e65814b2096")
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. 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, 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)

# Create small embedding tensors
# embedding_image: shape (1, 4) - single image embedding of dimension 4
embedding_image = torch.randn(1, 4).numpy()

# embedding_frames: shape (2, 4) - batch of 2 frame embeddings of dimension 4
embedding_frames = torch.randn(2, 4).numpy()

# Device - use CPU only
device = 'cpu'

ARGS = {
    'embedding_image': embedding_image,
    'embedding_frames': embedding_frames,
    'device': device
}
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 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
collate_fn Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step3-1_get_caption.py
code served (permissive licence) · get_code("ea468804bf7f0516")
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
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - collate_fn takes a 'batch' parameter
# - It unpacks batch using zip(*batch), expecting each element to have 3 items
# - Those 3 items are: save_paths, inputs, video_key
# - inputs[0] is accessed, so inputs must be indexable
# - If inputs is empty/falsy, returns (False, False, False)
# - Otherwise returns (save_paths, inputs, video_key)

# Create sample batch items
# Each item in batch should be a tuple of (save_path, inputs, video_key)
item1 = (
    "path/to/save1.pt",
    [torch.randn(2, 4)],  # inputs as a list with one tensor
    "video_001"
)

item2 = (
    "path/to/save2.pt",
    [torch.randn(2, 4)],  # inputs as a list with one tensor
    "video_002"
)

batch = [item1, item2]

ARGS = {
    "batch": batch
}
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 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
collate_fn Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step4-1_get_tag_local.py
code served (permissive licence) · get_code("68791d7cdd051179")
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
import numpy as np

torch.manual_seed(0)

# The collate_fn function expects a batch where each item is a tuple of
# (save_path, inputs, video_key). It unpacks them and returns them as separate tuples.

# Create a small batch with 2 items
batch_item_1 = (
    "/path/to/save1.pt",  # save_paths
    torch.randn(4, 3),    # inputs (small tensor)
    "video_001"           # video_key
)

batch_item_2 = (
    "/path/to/save2.pt",  # save_paths
    torch.randn(4, 3),    # inputs (small tensor)
    "video_002"           # video_key
)

batch = [batch_item_1, batch_item_2]

ARGS = {
    "batch": batch
}
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 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
compute_clip_score Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/eval/get_clipscore.py
code served (permissive licence) · get_code("a76adcb6d1cb698c")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import cv2
import numpy as np
from unittest.mock import MagicMock, patch
import tempfile
import os

torch.manual_seed(0)

# Create a minimal video file for testing
def create_dummy_video(path, num_frames=20, width=64, height=48):
    fourcc = cv2.VideoWriter_fourcc(*'mp4v')
    out = cv2.VideoWriter(path, fourcc, 30.0, (width, height))
    for _ in range(num_frames):
        frame = np.random.randint(0, 255, (height, width, 3), dtype=np.uint8)
        out.write(frame)
    out.release()

# Create temporary video file
temp_dir = tempfile.mkdtemp()
video_path = os.path.join(temp_dir, "dummy_video.mp4")
create_dummy_video(video_path, num_frames=20, width=64, height=48)

# Create a minimal model that matches the function's expectations
class DummyModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 2)
    
    def forward(self, **kwargs):
        # Return an object with logits_per_image attribute
        output = MagicMock()
        output.logits_per_image = torch.tensor([[0.5, 0.3], [0.2, 0.8]])
        return output

# Create a minimal processor that matches the function's expectations
class DummyProcessor:
    def __call__(self, text=None, images=None, return_tensors=None, padding=None, truncation=None):
        # Return an object that can be moved to device and unpacked as **kwargs
        inputs = MagicMock()
        inputs.to = MagicMock(return_value=None)
        inputs.__iter__ = MagicMock(return_value=iter([]))
        inputs.keys = MagicMock(return_value=['input_ids', 'attention_mask', 'pixel_values'])
        inputs.__getitem__ = MagicMock(return_value=torch.randn(2, 4))
        return inputs

model = DummyModel()
processor = DummyProcessor()
prompt = "a cat jumping"
device = "cpu"
video_path = video_path
num_frames = 16

ARGS = {
    "video_path": video_path,
    "model": model,
    "processor": processor,
    "prompt": prompt,
    "device": device,
    "num_frames": num_frames
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_iou Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/data_preprocess/step3_get_refine_track.py
code served (permissive licence) · get_code("02fb438e848b5140")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Define box1 and box2 as dictionaries with bounding box coordinates
box1 = {
    'x1': 10.0,
    'y1': 20.0,
    'x2': 50.0,
    'y2': 60.0
}

box2 = {
    'x1': 30.0,
    'y1': 40.0,
    'x2': 70.0,
    'y2': 80.0
}

ARGS = {
    'box1': box1,
    'box2': box2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
draw_kps Ran
ran; our contract draft was wrong, not the code
PKU-YuanGroup/ConsisID/models/pipeline_consisid.py
code served (permissive licence) · get_code("82cd6f8d42b34198")
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 Image. 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 math
import cv2
import numpy as np
import PIL
from PIL import Image

# Create a small PIL image for testing
width, height = 100, 80
image_array = np.random.randint(0, 256, (height, width, 3), dtype=np.uint8)
image_pil = Image.fromarray(image_array)

# Create keypoints as a list of tuples (x, y coordinates)
# We need at least 5 keypoints based on the limbSeq indexing (0-4)
kps = [
    (20, 30),   # keypoint 0
    (40, 35),   # keypoint 1
    (50, 50),   # keypoint 2
    (60, 40),   # keypoint 3
    (70, 55)    # keypoint 4
]

# Define color list (RGB format)
color_list = [(255, 0, 0), (0, 255, 0), (0, 0, 255), (255, 255, 0), (255, 0, 255)]

ARGS = {
    "image_pil": image_pil,
    "kps": kps,
    "color_list": color_list
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
draw_kps Ran
ran; our contract draft was wrong, not the code
PKU-YuanGroup/ConsisID/models/dataloader.py
code served (permissive licence) · get_code("3a9e3b5be46cd837")
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 Image. 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 math
import cv2
import numpy as np
from PIL import Image

# Create a simple test image
width, height = 200, 150
image_array = np.ones((height, width, 3), dtype=np.uint8) * 255
image_pil = Image.fromarray(image_array)

# Create keypoints data
# 5 keypoints with (x, y) coordinates
kps = np.array([
    [50, 50],      # keypoint 0
    [100, 50],     # keypoint 1
    [75, 100],     # keypoint 2
    [60, 120],     # keypoint 3
    [90, 120]      # keypoint 4
], dtype=np.float32)

# Default color list
color_list = [(255, 0, 0), (0, 255, 0), (0, 0, 255), (255, 255, 0), (255, 0, 255)]

ARGS = {
    'image_pil': image_pil,
    'kps': kps,
    'color_list': color_list
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
estimate_num_people Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/data_preprocess/step3_get_refine_track.py
code served (permissive licence) · get_code("7dba7c420770388f")
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 int, ndim 0, dtype family int, 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.

# Setup code for estimate_num_people function

# Construct sample data structure
# The function expects data to be a dict mapping frame_id to objects dict
# Each objects dict maps detection type ('face', 'head', 'person') to list of detections
# Each detection is a dict with at minimum a 'confidence' key

data = {
    # Frame 1: all three types match with 2 detections each
    0: {
        'face': [
            {'confidence': 0.9},
            {'confidence': 0.85}
        ],
        'head': [
            {'confidence': 0.95},
            {'confidence': 0.88}
        ],
        'person': [
            {'confidence': 0.92},
            {'confidence': 0.87}
        ]
    },
    # Frame 2: person and head match with 3 detections each, face has 2
    1: {
        'face': [
            {'confidence': 0.8},
            {'confidence': 0.75}
        ],
        'head': [
            {'confidence': 0.91},
            {'confidence': 0.89},
            {'confidence': 0.86}
        ],
        'person': [
            {'confidence': 0.93},
            {'confidence': 0.90},
            {'confidence': 0.87}
        ]
    },
    # Frame 3: person and face match with 1 detection each
    2: {
        'face': [
            {'confidence': 0.7}
        ],
        'head': [
            {'confidence': 0.65}
        ],
        'person': [
            {'confidence': 0.8}
        ]
    }
}

ARGS = {
    'data': data
}
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 int, ndim 0, dtype family int, 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
extract_data_from_response Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step4-1_get_tag_api.py
code served (permissive licence) · get_code("4451a25f7c22f79a")
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 re

def extract_data_from_response(response):
    response = response.replace('"', "'")
    background_pattern = "'background'\\s*:\\s*\\[(.*?)\\]"
    subject_pattern = "'subject'\\s*:\\s*\\[(.*?)\\]"
    object_pattern = "'object'\\s*:\\s*\\[(.*?)\\]"
    background_match = re.search(background_pattern, response)
    subject_match = re.search(subject_pattern, response)
    object_match = re.search(object_pattern, response)
    result = {'pre_define': ['person', 'human head'], 'background': [], 'subject': [], 'object': []}
    if background_match:
        background_items = [item.strip("' ") for item in background_match.group(1).split("', '")]
        result['background'] = background_items
    if subject_match:
        subject_items = [item.strip("' ") for item in subject_match.group(1).split("', '")]
        result['subject'] = subject_items
    if object_match:
        object_items = [item.strip("' ") for item in object_match.group(1).split("', '")]
        result['object'] = object_items
    if background_match and subject_match and object_match:
        flag = True
    else:
        flag = False
    return (result, flag)


# Setup code to create valid arguments
response_with_all_fields = """
{
    'background': ['sky', 'trees', 'mountains'],
    'subject': ['person', 'dog'],
    'object': ['ball', 'stick']
}
"""

ARGS = {
    'response': response_with_all_fields
}
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 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
extract_frames Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/eval/get_naturalscore.py
code served (permissive licence) · get_code("7e425139d10d0ffa")
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 list, ndim 4, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import cv2
import numpy as np
import tempfile
import os

# Create a temporary video file for testing
def create_test_video(path, num_frames=20, width=640, height=480):
    """Create a simple test video file."""
    fourcc = cv2.VideoWriter_fourcc(*'mp4v')
    out = cv2.VideoWriter(path, fourcc, 30.0, (width, height))
    
    for i in range(num_frames):
        # Create a simple frame with changing content
        frame = np.ones((height, width, 3), dtype=np.uint8) * (i * 12 % 256)
        out.write(frame)
    
    out.release()

# Create temporary video file
temp_dir = tempfile.gettempdir()
video_path = os.path.join(temp_dir, "test_video.mp4")
create_test_video(video_path, num_frames=20, width=640, height=480)

ARGS = {
    "video_path": video_path,
    "num_frames": 16
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_start_end_frames Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/data_preprocess/step0_split_transition.py
code served (permissive licence) · get_code("105544ba1a7e2e90")
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 list, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

class FrameInfo:
    def __init__(self, frame_num):
        self.frame_num = frame_num

scene_list = [
    (FrameInfo(0), FrameInfo(10)),
    (FrameInfo(15), FrameInfo(25)),
    (FrameInfo(30), FrameInfo(50)),
]

ARGS = {
    "scene_list": scene_list
}
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 list, ndim 2, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_useful_frames Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/data_preprocess/step2_split_bbox_pose.py
code served (permissive licence) · get_code("0a24c9067eabcc84")
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 list, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create temporary files for the function to use
temp_dir = tempfile.mkdtemp()
json_file = os.path.join(temp_dir, "test_data.json")
video_file_path = os.path.join(temp_dir, "test_video.mp4")

# Create a test JSON file with frame data
# The function expects data with frame numbers as string keys
# Each frame should have a 'face' key with face boxes
test_data = {
    "0": {
        "face": [
            {
                "box": {
                    "x1": 10,
                    "y1": 10,
                    "x2": 100,
                    "y2": 100
                }
            }
        ]
    },
    "1": {
        "face": [
            {
                "box": {
                    "x1": 15,
                    "y1": 15,
                    "x2": 95,
                    "y2": 95
                }
            }
        ]
    },
    "2": {
        "face": [
            {
                "box": {
                    "x1": 20,
                    "y1": 20,
                    "x2": 90,
                    "y2": 90
                }
            }
        ]
    },
    "3": {
        "face": []
    },
    "4": {
        "face": []
    },
    "5": {
        "face": [
            {
                "box": {
                    "x1": 25,
                    "y1": 25,
                    "x2": 85,
                    "y2": 85
                }
            }
        ]
    },
    "6": {
        "face": [
            {
                "box": {
                    "x1": 30,
                    "y1": 30,
                    "x2": 80,
                    "y2": 80
                }
            }
        ]
    },
    "7": {
        "face": [
            {
                "box": {
                    "x1": 35,
                    "y1": 35,
                    "x2": 75,
                    "y2": 75
                }
            }
        ]
    },
    "8": {
        "face": [
            {
                "box": {
                    "x1": 40,
                    "y1": 40,
                    "x2": 70,
                    "y2": 70
                }
            }
        ]
    },
    "9": {
        "face": [
            {
                "box": {
                    "x1": 45,
                    "y1": 45,
                    "x2": 65,
                    "y2": 65
                }
            }
        ]
    }
}

# Write the test data to JSON file
with open(json_file, 'w') as f:
    json.dump(test_data, f)

# Create a dummy video file (just an empty file for cv2.VideoCapture to handle)
with open(video_file_path, 'w') as f:
    f.write("")

ARGS = {
    "json_file": json_file,
    "video_file_path": video_file_path,
    "min_valid_frames": 5,
    "tolerance": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2 — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_useful_frames Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step2_get_pure_person_clip.py
code served (permissive licence) · get_code("83dec4a87d876ee4")
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 list, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Analyze the function to understand what bbox_infos should contain
# The function expects:
# - bbox_infos: a dict where keys are string frame numbers
# - Each value should have 'face' key containing a list of face detections
# - Each face detection should have a 'box' dict with 'x1', 'x2', 'y1', 'y2' keys

# Create a sample bbox_infos dict with useful frames
bbox_infos = {
    # Segment 1: Good faces for 85 frames
    "0": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "1": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "2": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "3": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "4": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "5": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "6": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "7": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "8": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "9": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
    "10": {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]},
}

# Add more frames to reach 85+
for i in range(11, 90):
    bbox_infos[str(i)] = {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]}

# Add some frames without faces (within tolerance)
bbox_infos["91"] = {"face": []}
bbox_infos["92"] = {"face": []}
bbox_infos["93"] = {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]}

# Add more good frames for another segment
for i in range(94, 180):
    bbox_infos[str(i)] = {"face": [{"box": {"x1": 10, "x2": 50, "y1": 10, "y2": 50}}]}

# Add frames that break the segment (exceed tolerance)
bbox_infos["181"] = {"face": []}
bbox_infos["182"] = {"face": []}
bbox_infos["183"] = {"face": []}
bbox_infos["184"] = {"face": []}
bbox_infos["185"] = {"face": []}
bbox_infos["186"] = {"face": []}

ARGS = {
    "bbox_infos": bbox_infos,
    "min_valid_frames": 81,
    "tolerance": 5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
filter_by_confidence Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/data_preprocess/step3_get_refine_track.py
code served (permissive licence) · get_code("d924f2a63ea92f78")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - objects: dict with a .get(key, []) method
# - key: string key to access the dict
# - threshold: numeric value for comparison (default 0.6)
# The function filters items from objects[key] based on 'confidence' > threshold

# Create a sample objects dict with nested structure
objects = {
    "detections": [
        {"confidence": 0.9, "label": "cat"},
        {"confidence": 0.5, "label": "dog"},
        {"confidence": 0.8, "label": "bird"},
        {"confidence": 0.3, "label": "fish"},
    ],
    "other_key": [
        {"confidence": 0.7, "label": "tree"},
    ]
}

key = "detections"
threshold = 0.6

ARGS = {
    "objects": objects,
    "key": key,
    "threshold": threshold,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
filter_keywords Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step4-1_get_tag_api.py
code served (permissive licence) · get_code("3aa9a7211091e0a4")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - items: iterable of objects that support .lower() method (strings)
# - keywords: iterable/container that supports 'in' operator
# The function filters items by checking if item.lower() is not in keywords

# Create test data
items = ["Apple", "banana", "CHERRY", "date", "Elderberry"]
keywords = ["apple", "cherry", "fig"]

ARGS = {
    "items": items,
    "keywords": keywords
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_frame_indices_adjusted_for_face Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/models/dataloader.py
code served (permissive licence) · get_code("9079583c3a47cfb8")
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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Construct arguments for get_frame_indices_adjusted_for_face
valid_frames = [0, 2, 4, 6, 8]
n_frames = 10

ARGS = {
    "valid_frames": valid_frames,
    "n_frames": n_frames
}
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 list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_resize_crop_region_for_grid Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
PKU-YuanGroup/ConsisID/models/pipeline_consisid.py
code served (permissive licence) · get_code("734fd43f6aaef115")
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 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# The function takes:
# - src: a tuple of (height, width) dimensions
# - tgt_width: target width (int)
# - tgt_height: target height (int)

ARGS = {
    "src": (480, 640),           # source dimensions as (height, width)
    "tgt_width": 224,            # target width
    "tgt_height": 224            # target height
}
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 tuple, ndim 2, dtype family int — 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_valid_segments Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/models/dataloader.py
code served (permissive licence) · get_code("b28b986e34458c53")
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 list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - It takes valid_frame (a dict with 'face' and 'head' keys, each containing iterables of positions)
# - It takes tolerance (an int, defaults to 5)
# - The function unions sets from valid_frame['face'] and valid_frame['head']
# - It sorts and segments based on position differences

# Create a valid_frame dict with 'face' and 'head' keys containing position lists
valid_frame = {
    'face': [1, 2, 5, 8, 9, 10, 20, 21],
    'head': [3, 4, 11, 12, 13, 25]
}

tolerance = 5

ARGS = {
    'valid_frame': valid_frame,
    'tolerance': tolerance
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list 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
image_to_base64 Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/eval/get_naturalscore.py
code served (permissive licence) · get_code("0839fae5f1a98534")
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 str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import cv2
import base64
import numpy as np

# Create a simple image as a numpy array
# cv2.imencode expects a numpy array with shape (height, width) for grayscale
# or (height, width, 3) for BGR color
image = np.random.randint(0, 256, size=(480, 640, 3), dtype=np.uint8)

ARGS = {
    'image': image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
img2tensor Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/models/consisid_utils.py
code served (permissive licence) · get_code("490b7b3290557c78")
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 (3, 4, 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 cv2
import torch
import numpy as np

torch.manual_seed(0)

# Create a small test image as numpy array (BGR format, uint8)
# Shape: (height=4, width=5, channels=3)
test_img = np.random.randint(0, 255, size=(4, 5, 3), dtype=np.uint8)

# Create a list of test images
test_imgs_list = [
    np.random.randint(0, 255, size=(4, 5, 3), dtype=np.uint8),
    np.random.randint(0, 255, size=(4, 5, 3), dtype=np.uint8)
]

ARGS = {
    "imgs": test_img,
    "bgr2rgb": True,
    "float32": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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 (3, 4, 5) — shape (3, 4, 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
is_face_large_enough_v2 Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/data_preprocess/step2_split_bbox_pose.py
code served (permissive licence) · get_code("a3ce59e07cea71df")
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 torch

torch.manual_seed(0)

# Construct face_boxes: a list of dicts with 'box' key containing coordinates
face_boxes = [
    {
        'box': {
            'x1': 10,
            'y1': 20,
            'x2': 100,
            'y2': 150
        }
    },
    {
        'box': {
            'x1': 200,
            'y1': 250,
            'x2': 210,
            'y2': 260
        }
    }
]

threshold = 50

ARGS = {
    'face_boxes': face_boxes,
    'threshold': threshold
}
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 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
is_valid_frame Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/data_preprocess/step2_split_bbox_pose.py
code served (permissive licence) · get_code("e242ea5a02b7f13d")
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 torch
import numpy as np

torch.manual_seed(0)

# Construct frame_data with the structure expected by is_valid_frame
# The function iterates over frame_data (list of persons)
# Each person has a 'keypoints' dict with a 'visible' list/array
# It checks visible[0], visible[1], visible[2]

frame_data = [
    {
        'keypoints': {
            'visible': [0.7, 0.5, 0.8]  # visible[0] >= 0.6 is True, visible[2] >= 0.6 is True
        }
    },
    {
        'keypoints': {
            'visible': [0.3, 0.2, 0.1]  # All below 0.6
        }
    }
]

ARGS = {
    'frame_data': frame_data
}
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 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
make_inference Ran
ran; our contract draft was wrong, not the code
PKU-YuanGroup/ConsisID/util/rife_model.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from pittisl/phyt2v, is pointer only (licence: NONE) · get_code("44d67662b32e0a93")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from pittisl/phyt2v, 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.

mask_to_polygon Ran
ran, honoured the contract we drafted
PKU-YuanGroup/OpenS2V-Nexus/data_process/demo_dataloader.py
code served (permissive licence) · get_code("55841bf2feba5902")
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 list, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import cv2
import numpy as np

# Create a simple binary mask with a clear shape
# The function expects a mask that cv2.findContours can process
mask = np.zeros((100, 120), dtype=np.uint8)

# Draw a filled rectangle to create a contour
cv2.rectangle(mask, (20, 20), (80, 80), 255, -1)

ARGS = {
    "mask": mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
PKU-YuanGroup/ConsisID/util/rife_model.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from pittisl/phyt2v, is pointer only (licence: NONE) · get_code("371391555c7fdb5b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from pittisl/phyt2v, 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.

pad_np_bgr_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
PKU-YuanGroup/OpenS2V-Nexus/data_process/step1_get_bbox.py
code served (permissive licence) · get_code("faa0bfdfc22e317b")
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 numpy as np
import cv2

# Create a small BGR image (numpy array with 3 channels for BGR)
# Using a small 10x8 image to keep it tiny
np_image = np.random.randint(0, 256, (10, 8, 3), dtype=np.uint8)

ARGS = {
    'np_image': np_image,
    'scale': 1.25
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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
polygon_to_mask Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/demo_dataloader.py
code served (permissive licence) · get_code("989db0778a01d381")
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 int, shape (100, 120) 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 cv2
import numpy as np
from typing import Dict, Any, List, Tuple

# Create a simple polygon (a triangle)
polygon = [(10, 20), (50, 30), (40, 70)]

# Create an image shape (height, width)
image_shape = (100, 120)

# Construct the arguments dict
ARGS = {
    "polygon": polygon,
    "image_shape": image_shape
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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 int, shape (100, 120) — shape (100, 120) 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
process_file Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step3-0_merge_json.py
code served (permissive licence) · get_code("8310d1132ebd9370")
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 json
import os
import tempfile
import shutil

# Create a temporary directory for test files
temp_dir = tempfile.mkdtemp()

# Create a sample JSON file with data that matches what the function expects
sample_data = {
    'bbox': [[1, 2, 3, 4]],
    'word_tags': ['tag1', 'tag2'],
    'content': 'some content',
    'other_field': 'value'
}

test_filename = 'test_data.json'
test_file_path = os.path.join(temp_dir, test_filename)

with open(test_file_path, 'w') as f:
    json.dump(sample_data, f)

# Create the merged_data dict that will be populated
merged_data = {}

ARGS = {
    'filename': test_filename,
    'folder_path': temp_dir,
    'merged_data': merged_data
}
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
process_file Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step4-0_merge_json.py
code served (permissive licence) · get_code("4a34cdc1b72ef759")
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 json
import os
import tempfile

# Create a temporary directory and file for testing
temp_dir = tempfile.mkdtemp()
test_filename = 'test_data.json'
test_filepath = os.path.join(temp_dir, test_filename)

# Create a valid JSON file
test_data = {'key1': 'value1', 'key2': [1, 2, 3]}
with open(test_filepath, 'w') as f:
    json.dump(test_data, f)

# Initialize merged_data as an empty dict
merged_data = {}

ARGS = {
    'filename': test_filename,
    'folder_path': temp_dir,
    'merged_data': merged_data
}
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
resize_long_side Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/eval/get_naturalscore.py
code served (permissive licence) · get_code("351a3980dbd21561")
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 3, dtype family int, shape (341, 512, 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 cv2
import numpy as np

# Create a small test image
# Using a 3-channel RGB image with height=256, width=384 (distinct dimensions)
image = np.random.randint(0, 256, size=(256, 384, 3), dtype=np.uint8)

ARGS = {
    "image": image,
    "target_long": 512,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (341, 512, 3) — shape (341, 512, 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
resize_numpy_image_long Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/models/consisid_utils.py
code served (permissive licence) · get_code("06ccb8f5750bed65")
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 3, dtype family int, 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 numpy as np
import cv2

# Create a small test image as a numpy array
# Using a 4x3 image (height=4, width=3) with 3 channels (RGB)
image = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)

# Define arguments for the function
ARGS = {
    "image": image,
    "resize_long_edge": 768
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, 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
retrieve_timesteps Ran
ran; our contract draft was wrong, not the code
PKU-YuanGroup/ConsisID/models/pipeline_consisid.py
code served (permissive licence) · get_code("22b1f260da28f6a5")
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. 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 inspect
from typing import List, Optional, Union

torch.manual_seed(0)

class MockScheduler:
    """Mock scheduler that implements set_timesteps and has timesteps attribute."""
    
    def __init__(self, supports_timesteps=True, supports_sigmas=False):
        self.supports_timesteps = supports_timesteps
        self.supports_sigmas = supports_sigmas
        self.timesteps = torch.tensor([999, 500, 250, 0], dtype=torch.long)
        self._device = None
    
    def set_timesteps(self, num_inference_steps: Optional[int] = None, 
                      device: Optional[Union[str, torch.device]] = None,
                      timesteps: Optional[List[int]] = None,
                      sigmas: Optional[List[float]] = None,
                      **kwargs):
        """Mock set_timesteps method."""
        self._device = device
        
        if timesteps is not None:
            self.timesteps = torch.tensor(timesteps, dtype=torch.long)
        elif sigmas is not None:
            # Create timesteps from sigmas
            self.timesteps = torch.tensor([int(s * 1000) for s in sigmas], dtype=torch.long)
        elif num_inference_steps is not None:
            # Create default timesteps
            self.timesteps = torch.linspace(999, 0, num_inference_steps, dtype=torch.long)
        
        if device is not None:
            self.timesteps = self.timesteps.to(device)

# Create a basic scheduler instance
scheduler = MockScheduler(supports_timesteps=True, supports_sigmas=False)

ARGS = {
    "scheduler": scheduler,
    "num_inference_steps": 4,
    "device": "cpu",
    "timesteps": None,
    "sigmas": None,
}
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 — 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
run_aesthetic_laion Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/eval/get_aesscore.py
code served (permissive licence) · get_code("4b36c781c4d2014d")
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 (1, 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 torch.nn as nn

torch.manual_seed(0)

class AestheticModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(3, 1)
    
    def forward(self, images):
        # expects a list of images
        # each image is a tensor
        if isinstance(images, list):
            batch_size = len(images)
        else:
            batch_size = images.shape[0]
        
        # return dummy aesthetic scores
        return torch.randn(batch_size, 1)

model = AestheticModel()

# Create a small dummy image tensor (batch_size=2, channels=3, height=4, width=4)
image = torch.randn(2, 3, 4, 4)

ARGS = {
    "model": model,
    "image": image
}
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 (1, 1) — shape (1, 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
save_json Ran
ran on a synthesized input
PKU-YuanGroup/OpenS2V-Nexus/data_process/step1_get_bbox.py
code served (permissive licence) · get_code("dd06d65d58671193")
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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

def save_json(faces_info, output_path, id_list, frame_list, metadata):
    json_data = {'metadata': metadata, 'bbox': {}}
    for i, (frame, face_info) in enumerate(faces_info.items()):
        face = {}
        face['face'] = []
        bboxs = face_info['bboxs']
        kpss_x = face_info['kpss_x']
        kpss_y = face_info['kpss_y']
        det_scores = face_info['det_scores']
        face_num = len(bboxs)
        for index in range(face_num):
            box = {}
            box['x1'] = float(bboxs[index][0])
            box['y1'] = float(bboxs[index][1])
            box['x2'] = float(bboxs[index][2])
            box['y2'] = float(bboxs[index][3])
            kps_info = {}
            kps_info['x'] = kpss_x[index]
            kps_info['y'] = kpss_y[index]
            id_value = {}
            id_value['track_id'] = id_list[frame][index]
            id_value['box'] = box
            id_value['keypoints'] = kps_info
            id_value['confidence'] = float(det_scores[index])
            id_value['class'] = 0
            id_value['name'] = 'FACE'
            face['face'].append(id_value)
        json_data['bbox'][str(frame_list[i])] = face
    with open(output_path, 'w') as json_file:
        json.dump(json_data, json_file, indent=4)
    return json_data

# Create temporary output file
temp_dir = tempfile.gettempdir()
output_path = os.path.join(temp_dir, "test_output.json")

# faces_info: dict mapping frame number to face information
faces_info = {
    0: {
        'bboxs': [[10.5, 20.5, 100.5, 150.5], [110.5, 30.5, 200.5, 160.5]],
        'kpss_x': [[15.0, 25.0, 35.0, 45.0, 55.0], [115.0, 125.0, 135.0, 145.0, 155.0]],
        'kpss_y': [[22.0, 32.0, 42.0, 52.0, 62.0], [32.0, 42.0, 52.0, 62.0, 72.0]],
        'det_scores': [0.95, 0.87]
    },
    1: {
        'bboxs': [[12.0, 22.0, 102.0, 152.0]],
        'kpss_x': [[17.0, 27.0, 37.0, 47.0, 57.0]],
        'kpss_y': [[24.0, 34.0, 44.0, 54.0, 64.0]],
        'det_scores': [0.92]
    }
}

# id_list: dict mapping frame to list of track ids
id_list = {
    0: [1, 2],
    1: [1]
}

# frame_list: list of frame numbers in order
frame_list = [0, 1]

# metadata: arbitrary metadata dict
metadata = {
    'video_name': 'test_video.mp4',
    'fps': 30,
    'resolution': [1920, 1080]
}

ARGS = {
    'faces_info': faces_info,
    'output_path': output_path,
    'id_list': id_list,
    'frame_list': frame_list,
    'metadata': metadata
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to_gray Ran
ran on a synthesized input
PKU-YuanGroup/ConsisID/models/consisid_utils.py
code served (permissive licence) · get_code("b3d03bc9df04cdef")
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 4, dtype family float, shape (2, 3, 4, 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

torch.manual_seed(0)

# Create a small batch of RGB images
# Shape: (batch_size=2, channels=3, height=4, width=5)
img = torch.randn(2, 3, 4, 5)

ARGS = {
    "img": img
}
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 4, dtype family float, shape (2, 3, 4, 5) — shape (2, 3, 4, 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
call_gpt Not yet run
unverified (harvested, no recorded run)
PKU-YuanGroup/OpenS2V-Nexus/data_process/step4-1_get_tag_api.py
code served (permissive licence) · get_code("b9566bb371805bec")
How it ran

no invocation recorded.

generate_image_embeddings Not yet run
unverified (harvested, no recorded run)
PKU-YuanGroup/OpenS2V-Nexus/eval/get_nexusscore.py
code served (permissive licence) · get_code("565fde010ddcbc97")
How it ran

no invocation recorded.

get_clipscore Not yet run
unverified (harvested, no recorded run)
PKU-YuanGroup/ConsisID/eval/get_clipscore.py
code served (permissive licence) · get_code("2d051fb9d3d082bc")
How it ran

no invocation recorded.

Also present in other papers' code

Of 38 samples lifted from this paper's linked repositories, 38 carry a function identity and 0 do not. Of the 38 distinct functions with an identity, 8 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 1 the same month, 3 later) and 30 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
retrieve_timesteps 46 other papers
23 dated earlier, 2 the same month, 18 later, 1 same year, order not determinable, 2 undated
2312.04461 (2023-12)
PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding
2402.10491 (2024-02)
Make a Cheap Scaling: A Self-Cascade Diffusion Model for Higher-Resolution Adaptation
2405.18991 (2024-05)
EasyAnimate: High-Performance Video Generation Framework with Hybrid Windows Attention and Reward Backpropagation
and 43 more not named here
get_resize_crop_region_for_grid 8 other papers
6 dated earlier, 2 later
2405.18991 (2024-05)
EasyAnimate: High-Performance Video Generation Framework with Hybrid Windows Attention and Reward Backpropagation
2407.21705 (2024-07)
Tora: Trajectory-oriented Diffusion Transformer for Video Generation
2410.07659 (2024-10)
MotionAura: Generating High-Quality and Motion Consistent Videos using Discrete Diffusion
and 5 more not named here
draw_kps 3 other papers
3 dated earlier
2501.01790 (2025-01)
Ingredients: Blending Custom Photos with Video Diffusion Transformers
2502.13995 (2025-02)
FantasyID: Face Knowledge Enhanced ID-Preserving Video Generation
2503.16418 (2025-03)
InfiniteYou: Flexible Photo Recrafting While Preserving Your Identity
draw_kps 3 other papers
2 dated earlier, 1 same year, order not determinable
2401.07519 (2024-01)
InstantID: Zero-shot Identity-Preserving Generation in Seconds
2403.10983 (2024-03)
OMG: Occlusion-friendly Personalized Multi-concept Generation in Diffusion Models
Qu_CaricatureBooth_Data-Free_Interactive_Caricature_Generation_in_a_Photo_Booth_CVPR_2025_paper (2025 (year only))
CaricatureBooth: Data-Free Interactive Caricature Generation in a Photo Booth
make_inference 2 other papers
2 dated earlier
2412.00596 (2024-12)
PhyT2V: LLM-Guided Iterative Self-Refinement for Physics-Grounded Text-to-Video Generation
2503.20287 (2025-03)
InsViE-1M: Effective Instruction-based Video Editing with Elaborate Dataset Construction
mask_to_polygon 1 other paper
1 later
2608.30342 (2026-08)
CapFrame: Text-Instructed Viewpoint Grounding in 3D Gaussian Scenes via Geometric Pseudo Labels
pad_image 1 other paper
1 dated earlier
2412.00596 (2024-12)
PhyT2V: LLM-Guided Iterative Self-Refinement for Physics-Grounded Text-to-Video Generation
pad_np_bgr_image 1 other paper
1 dated earlier
2408.05939 (2024-08)
UniPortrait: A Unified Framework for Identity-Preserving Single- and Multi-Human Image Personalization

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

Subject-to-Video (S2V) generation aims to create videos that faithfully incorporate reference content, providing enhanced flexibility in the production of videos. To establish the infrastructure for S2V generation, we propose OpenS2V-Nexus, consisting of (i) OpenS2V-Eval, a fine-grained benchmark, and (ii) OpenS2V-5M, a million-scale dataset. In contrast to existing S2V benchmarks inherited from VBench that focus on global and coarse-grained assessment of generated videos, OpenS2V-Eval focuses on the model's ability to generate subject-consistent videos with natural subject appearance and identity fidelity. For these purposes, OpenS2V-Eval introduces 180 prompts from seven major categories of S2V, which incorporate both real and synthetic test data. Furthermore, to accurately align human preferences with S2V benchmarks, we propose three automatic metrics, NexusScore, NaturalScore and GmeScore, to separately quantify subject consistency, naturalness, and text relevance in generated videos. Building on this, we conduct a comprehensive evaluation of 18 representative S2V models, highlighting their strengths and weaknesses across different content. Moreover, we create the first open-source large-scale S2V generation dataset OpenS2V-5M, which consists of five million high-quality 720P subject-text-video triples. Specifically, we ensure subject-information diversity in our dataset by (1) segmenting subjects and building pairing information via cross-video associations and (2) prompting GPT-Image-1 on raw frames to synthesize multi-view representations. Through OpenS2V-Nexus, we deliver a robust infrastructure to accelerate future S2V generation research.

For agents

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

get_harvested_code_for_paper("2505.20292")
get_code_for_paper("2505.20292")
have("2505.20292")

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

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

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

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

Connect an agent — have() is free.