SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.17058 · CVPR · 2023

Panoptic Video Scene Graph Generation

Bo Li, Chen Change Loy, Ziwei Liu, Kaiyang Zhou, Xiangtai Li, Jingkang Yang, Wenxuan Peng, Wayne Zhang, Liangyu Chen, Zheng Ma, Zujin Guo

arXiv · PDF · Open in the Atlas

Code that ran

11 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 8 failures of our instrument; 0 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/2311.17058.json · badge: /api/ran/2311.17058.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
lilydaytoy/pvsgannotation canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
lilydaytoy/openpvsg canonical (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
Jingkang50/OpenPVSG community
Papers with Code archive
2 ran · 0 no recorded run
FunctionStatusWhere it lives
PositionalEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
Jingkang50/OpenPVSG/models/relation_head/transformer.py
pointer only (licence: NOASSERTION) · get_code("b95785cc82d9f984")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Jingkang50/OpenPVSG (NOASSERTION). 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.

TemporalTransformer Ran
ran on a synthesized input · constructed an object; no result was computed
Jingkang50/OpenPVSG/models/relation_head/transformer.py
pointer only (licence: NOASSERTION) · get_code("fb45c2faa0f143c9")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Jingkang50/OpenPVSG (NOASSERTION). 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.

change Ran
ran; our contract draft was wrong, not the code
lilydaytoy/pvsgannotation/programs/replace_id.py
code served (permissive licence) · get_code("38a50154b10bd119")
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 torch

torch.manual_seed(0)

# Construct a valid data dict that matches the function's expectations
data = {
    'instances': [
        {
            'className': 'Model',
            'attributes': [
                {'name': 'weight'},
                {'name': 'bias'}
            ]
        },
        {
            'className': 'Layer',
            'attributes': [
                {'name': 'activation'},
                {'name': 'dropout'}
            ]
        }
    ]
}

old_str = 'Model-weight'
new_str = 'Model-bias'

ARGS = {
    'old_str': old_str,
    'new_str': new_str,
    'data': data
}
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 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
decompose_string Ran
ran; our contract draft was wrong, not the code
lilydaytoy/pvsgannotation/programs/replace_id.py
code served (permissive licence) · get_code("3311f1b80773be4a")
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 numpy as np

torch.manual_seed(0)

# The function decompose_string takes a string parameter 's'
# It splits the string on '-' into two parts: className and attrName
# We need to provide a valid string that contains exactly one '-'

s = "MyClass-myAttribute"

ARGS = {
    "s": s
}
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 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_color_by_luminance Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lilydaytoy/pvsgannotation/programs/generate_rel_chart.py
code served (permissive licence) · get_code("eeccef779d19f4b8")
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 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 expects rgb_color to be indexable with 3 elements (indices 0, 1, 2)
# representing red, green, and blue color values
# Values should be in range 0-255 for typical RGB colors

rgb_color = (100, 150, 200)

ARGS = {
    "rgb_color": rgb_color
}
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 1, 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_video_metadata Ran
ran; our contract draft was wrong, not the code
lilydaytoy/pvsgannotation/programs/pvsg_data_parsing.py
code served (permissive licence) · get_code("ca586d1e88ea819a")
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 tempfile
import shutil
from pathlib import Path
from PIL import Image
import os

# Create a temporary directory structure with test images
temp_dir = tempfile.mkdtemp()
image_root = temp_dir
vid_folder = Path(image_root) / "test_video"
vid_folder.mkdir(parents=True, exist_ok=True)

# Create a few test PNG images
for i in range(3):
    img = Image.new('RGB', (640, 480), color=(73, 109, 137))
    img.save(str(vid_folder / f"frame_{i:04d}.png"))

ARGS = {
    "vid": "test_video",
    "image_root": image_root
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — 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
get_video_metadata Ran
ran; our contract draft was wrong, not the code
lilydaytoy/pvsgannotation/programs/pvsg_vps_parsing.py
code served (permissive licence) · get_code("3d553264c1369157")
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 tempfile
from pathlib import Path
from PIL import Image
import os

# Create temporary directory structure with test image
temp_dir = tempfile.mkdtemp()
data_dir = os.path.join(temp_dir, 'data')
images_dir = os.path.join(data_dir, 'images')
vid_folder = os.path.join(images_dir, 'test_video')
os.makedirs(vid_folder, exist_ok=True)

# Create a simple test PNG image
test_image = Image.new('RGB', (640, 480), color='red')
test_image.save(os.path.join(vid_folder, 'frame_001.png'))
test_image.save(os.path.join(vid_folder, 'frame_002.png'))
test_image.save(os.path.join(vid_folder, 'frame_003.png'))

ARGS = {
    'vid': 'test_video',
    'image_root': images_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — 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
instance_decode Ran
ran; our contract draft was wrong, not the code
lilydaytoy/pvsgannotation/programs/pvsg_data_parsing.py
code served (permissive licence) · get_code("a8a7d6ec1d225dd8")
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 numpy as np

# Analyze the function:
# - code: needs to be convertible to int (numeric type)
# - indexes2cates: a dict where keys are string class_ids and values are categories
#   The function does: indexes2cates[str(class_id)] where class_id = code % 1000

# Create a valid indexes2cates dictionary
# class_id will be code % 1000, so we need entries for various class_ids
indexes2cates = {
    "0": "category_0",
    "1": "category_1",
    "5": "category_5",
    "42": "category_42",
    "999": "category_999",
}

# Create valid test codes
# code = 0 should return (None, None)
# code > 0: class_id = code % 1000, attribute_id = code // 1000
# Let's use code = 5042 as an example:
#   class_id = 5042 % 1000 = 42 (exists in indexes2cates)
#   attribute_id = 5042 // 1000 = 5

code = 5042

ARGS = {
    "code": code,
    "indexes2cates": indexes2cates,
}
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 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
normalize_rgb Ran
ran, violated the contract we drafted
lilydaytoy/pvsgannotation/programs/generate_rel_chart.py
code served (permissive licence) · get_code("b6fdea56d2bc5ad4")
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

torch.manual_seed(0)

# The function normalize_rgb takes a color tuple/list with 3 RGB values (0-255)
# and divides each by 255 to normalize to 0-1 range
color = (128, 200, 75)

ARGS = {
    "color": color
}
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
overlay Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lilydaytoy/pvsgannotation/programs/img2video_overlay_mask.py
code served (permissive licence) · get_code("b446b2f8b8d6488b")
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, 5, 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

# Create a small RGB image (3 channels, height 4, width 5)
image = np.random.randint(0, 256, size=(4, 5, 3), dtype=np.uint8)

# Create a mask with object IDs (0 is background, 1 and 2 are objects)
mask = np.array([
    [0, 0, 1, 1, 2],
    [0, 1, 1, 2, 2],
    [0, 1, 1, 2, 2],
    [0, 0, 1, 2, 2]
], dtype=np.int32)

# Define colors for each object (object_id 0 is background, skip)
# We need at least 3 rows since object_ids go up to 2
colors = np.array([
    [255, 0, 0],      # object_id 1: red
    [0, 255, 0],      # object_id 2: green
    [0, 0, 255]       # extra: blue (unused but safe)
])

cscale = 1
alpha = 0.4

ARGS = {
    "image": image,
    "mask": mask,
    "colors": colors,
    "cscale": cscale,
    "alpha": alpha
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — 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, 5, 3) — shape (4, 5, 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
preprocess_panoptic_gt_split_th_st Ran
ran; our contract draft was wrong, not the code
lilydaytoy/openpvsg/models/mask2former/mask2former_head_split_focal.py
pointer only (licence: NONE); the stored copy get_code serves, from jingkang50/openpvsg, is pointer only (licence: NOASSERTION) · get_code("9fc317bb1ed0030e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lilydaytoy/openpvsg 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.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 9 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
preprocess_panoptic_gt_split_th_st 2 other papers
1 later, 1 undated
2405.10305 (2024-05)
4D Panoptic Scene Graph Generation
openreview_nljvkUyZRy
SegPVSG: Panoptic Video Scene Graph Generation via Temporal Focusing and Generative Augmentation

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

https://github.com/Jingkang50/OpenPVSG Frame 0000 Frame 0008 Frame 0042 Frame 0066 Frame 0104 Frame 0155 Frame 0194 Frame 0027 Frame 0360 Frame 0087 also provide a variety of baseline methods and share useful design practices for future work.

For agents

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

get_harvested_code_for_paper("2311.17058")
get_code_for_paper("2311.17058")
have("2311.17058")

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

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

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

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

Connect an agent — have() is free.