SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.10332 · 2024

Number it: Temporal Grounding Videos like Flipping Manga

arXiv · PDF · Open in the Atlas

Code that ran

4 of 11 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 0 have no contract verdict; 3 failures of our instrument; 7 no recorded run), measured 2026-11-23; 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/2411.10332.json · badge: /api/ran/2411.10332.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
yongliang-wu/numpro canonical (classifier label)
classifier basis: census
4 ran · 7 no recorded run
FunctionStatusWhere it lives
cal_iou Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yongliang-wu/numpro/eval/metrics_mr.py
code served (permissive licence) · get_code("72ed5b8816e4da32")
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)

# A and B represent line segments defined by [start, end] coordinates
# The function operates on numeric values, extracting indices 0 and 1
A = [2, 8]
B = [5, 12]

ARGS = {
    "A": A,
    "B": B,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
calculate_iou Ran
ran, honoured the contract we drafted
yongliang-wu/numpro/eval/metrics_mr.py
code served (permissive licence) · get_code("df30d90fba7edb3e")
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 re

def cal_iou(A, B):
    """Calculate Intersection over Union (IoU) between two segments A and B."""
    max0 = max(A[0], B[0])
    min0 = min(A[0], B[0])
    max1 = max(A[1], B[1])
    min1 = min(A[1], B[1])
    intersection = max(min1 - max0, 0)
    union = max1 - min0
    return intersection / union

def calculate_iou(response, gt_start, gt_end):
    """Extract frame numbers from response text and calculate IoU with ground truth."""
    pattern = 'from\\s*(?:frame\\s*)?(\\d+)\\s*to\\s*(?:frame\\s*)?(\\d+)'
    match = re.search(pattern, response, re.IGNORECASE)
    if match:
        start_frame = int(match.group(1)) * 2
        end_frame = int(match.group(2)) * 2
        return cal_iou([start_frame, end_frame], [gt_start, gt_end])
    return 0

ARGS = {
    "response": "The action occurs from frame 10 to frame 25",
    "gt_start": 20,
    "gt_end": 50
}
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 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
extract_patches Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yongliang-wu/numpro/longva/mm_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from HumanMLLM/LLaVA-Scissor, is pointer only (licence: NONE) · get_code("b0a851cae92754ff")
How it ran

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

video_demo Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yongliang-wu/numpro/eval/numpro_ft_mr.py
code served (permissive licence) · get_code("4974a9f271405506")
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 os
import numpy as np
from PIL import Image, ImageDraw, ImageFont
import re
import cv2
import tempfile

# Create a minimal mock model with stream_generate_until method
class MockModel:
    def stream_generate_until(self, query, gen_kwargs):
        # Simulate streaming output that yields JSON with timing info
        response_text = 'The action occurs from 5 to 15 seconds in the video.'
        json_response = json.dumps({'text': response_text})
        yield json_response.encode('utf-8')

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

# Create a minimal test video file
video_path = os.path.join(temp_dir, 'test_video.mp4')
# Create a simple video with cv2.VideoWriter
fourcc = cv2.VideoWriter_fourcc(*'mp4v')
out = cv2.VideoWriter(video_path, fourcc, 30.0, (640, 480))
# Write 60 frames (2 seconds at 30 fps)
for i in range(60):
    frame = np.zeros((480, 640, 3), dtype=np.uint8)
    frame[:, :] = [100 + i % 50, 100 + i % 50, 100 + i % 50]
    out.write(frame)
out.release()

# Create data directory structure
data_dir = os.path.join(temp_dir, 'data')
os.makedirs(data_dir, exist_ok=True)

# Copy test video to data directory
import shutil
test_video_in_data = os.path.join(data_dir, 'test_video.mp4')
shutil.copy(video_path, test_video_in_data)

# Create output temp directory for annotated video
output_temp_dir = os.path.join(temp_dir, 'output')
os.makedirs(output_temp_dir, exist_ok=True)

ARGS = {
    'model': MockModel(),
    'video_info': {
        'video': 'test_video.mp4',
        'query': 'When does the action happen?',
        'id': 'test_001',
        'start_time': 5,
        'end_time': 15,
        'duration': 60
    },
    'data_path': data_dir,
    'num_sampled_frames': 4,
    'input_format': 'Video query: {}',
    'instruction': 'Analyze the video and provide timing information.',
    'position': 'bottom_right',
    'font_size': 40,
    'color': (255, 0, 0),
    'temp_dir': output_temp_dir
}
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 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
annotate_frame_with_pil Not yet run
unverified (harvested, no recorded run)
yongliang-wu/numpro/eval/numpro_ft_hd.py
code served (permissive licence) · get_code("6e523b8746fa8eed")
How it ran

no invocation recorded.

annotate_frame_with_pil Not yet run
unverified (harvested, no recorded run)
yongliang-wu/numpro/eval/numpro_ft_mr.py
code served (permissive licence) · get_code("f00d5d67e5507265")
How it ran

no invocation recorded.

annotate_frame_with_pil Not yet run
unverified (harvested, no recorded run)
yongliang-wu/numpro/eval/qwen2_vl_7b_hd.py
code served (permissive licence) · get_code("60f0c1ec82dcb487")
How it ran

no invocation recorded.

annotate_frame_with_pil Not yet run
unverified (harvested, no recorded run)
yongliang-wu/numpro/eval/qwen2_vl_7b_mr.py
code served (permissive licence) · get_code("1eb7ede6ad3ffb28")
How it ran

no invocation recorded.

auto_pad_images Not yet run
unverified (harvested, no recorded run)
yongliang-wu/numpro/longva/mm_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from HumanMLLM/LLaVA-Scissor, is pointer only (licence: NONE) · get_code("3c8823948724e269")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HumanMLLM/LLaVA-Scissor, 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. No invocation recorded.

load_lora Not yet run
unverified (harvested, no recorded run)
yongliang-wu/numpro/eval/numpro_ft_hd.py
code served (permissive licence) · get_code("45bf4c9b636fac7a")
How it ran

no invocation recorded.

resize_and_center_crop Not yet run
unverified (harvested, no recorded run)
yongliang-wu/numpro/longva/mm_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from HumanMLLM/LLaVA-Scissor, is pointer only (licence: NONE) · get_code("c80358dff96c25ce")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HumanMLLM/LLaVA-Scissor, 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. No invocation 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 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 3 the same month, 3 later) and 5 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
extract_patches 20 other papers
3 the same month, 17 later
2411.11360 (2024-11)
CCExpert: Advancing MLLM Capability in Remote Sensing Change Captioning with Difference-Aware Integration and a Foundational Dataset
2411.14432 (2024-11)
Insight-V: Exploring Long-Chain Visual Reasoning with Multimodal Large Language Models
2411.15024 (2024-11)
DyCoke: Dynamic Compression of Tokens for Fast Video Large Language Models
and 17 more not named here
auto_pad_images 19 other papers
3 the same month, 16 later
2411.11360 (2024-11)
CCExpert: Advancing MLLM Capability in Remote Sensing Change Captioning with Difference-Aware Integration and a Foundational Dataset
2411.14432 (2024-11)
Insight-V: Exploring Long-Chain Visual Reasoning with Multimodal Large Language Models
2411.15024 (2024-11)
DyCoke: Dynamic Compression of Tokens for Fast Video Large Language Models
and 16 more not named here
resize_and_center_crop 18 other papers
3 the same month, 15 later
2411.11360 (2024-11)
CCExpert: Advancing MLLM Capability in Remote Sensing Change Captioning with Difference-Aware Integration and a Foundational Dataset
2411.14432 (2024-11)
Insight-V: Exploring Long-Chain Visual Reasoning with Multimodal Large Language Models
2411.15024 (2024-11)
DyCoke: Dynamic Compression of Tokens for Fast Video Large Language Models
and 15 more not named here

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

Repositories linked to this paper

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

Abstract

Video Large Language Models (Vid-LLMs) have made remarkable advancements in comprehending video content for QA dialogue. However, they struggle to extend this visual understanding to tasks requiring precise temporal localization, known as Video Temporal Grounding (VTG). To address this gap, we introduce Number-Prompt (NumPro), a novel method that empowers Vid-LLMs to bridge visual comprehension with temporal grounding by adding unique numerical identifiers to each video frame. Treating a video as a sequence of numbered frame images, NumPro transforms VTG into an intuitive process: flipping through manga panels in sequence. This allows Vid-LLMs to "read" event timelines, accurately linking visual content with corresponding temporal information. Our experiments demonstrate that NumPro significantly boosts VTG performance of top-tier Vid-LLMs without additional computational cost. Furthermore, fine-tuning on a NumPro-enhanced dataset defines a new state-of-the-art for VTG, surpassing previous top-performing methods by up to 6.9\% in mIoU for moment retrieval and 8.5\% in mAP for highlight detection. The code will be available at https://github.com/yongliang-wu/NumPro.

For agents

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

get_harvested_code_for_paper("2411.10332")
get_code_for_paper("2411.10332")
have("2411.10332")

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

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

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

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

Connect an agent — have() is free.