SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.19028 · 2025

InfoChartQA: A Benchmark for Multimodal Question Answering on Infographic Charts

arXiv · PDF · Open in the Atlas

Code that ran

19 of 20 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; 0 honoured the contract we drafted, 0 violated it and 13 have no contract verdict; 6 failures of our instrument; 1 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.19028.json · badge: /api/ran/2505.19028.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
cooldawnant/infochartqa canonical (classifier label)
classifier basis not recorded on the link
12 ran · 0 no recorded run
orionbench/orionbench canonical (classifier label)
classifier basis not recorded on the link
7 ran · 1 no recorded run
FunctionStatusWhere it lives
build_question Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/example.py
code served (permissive licence) · get_code("4c8cc106f532a2e5")
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 torch

torch.manual_seed(0)

# The function takes a 'query' parameter which is a dict
# It accesses query['question'] which should be a string
# It optionally accesses query['instructions'] which should also be a string
# The function concatenates these strings together

query = {
    'question': 'What is the capital of France?',
    'instructions': ' Please provide a detailed answer.'
}

ARGS = {
    'query': query
}
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 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
check_link Ran
ran; our contract draft was wrong, not the code
orionbench/orionbench/model_evaluation/mmdetection/.dev_scripts/check_links.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from opendatalab/MLS-BRN, is pointer only (licence: NONE) · get_code("4e2dcdfe578946a0")
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 opendatalab/MLS-BRN, 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.

check_url Ran
ran; our contract draft was wrong, not the code
orionbench/orionbench/model_evaluation/mmdetection/.dev_scripts/check_links.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from opendatalab/MLS-BRN, is pointer only (licence: NONE) · get_code("cc93fdc812eca8f7")
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 opendatalab/MLS-BRN, 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.

determine_gpus Ran
ran on a synthesized input
orionbench/orionbench/model_evaluation/mmdetection/.dev_scripts/convert_train_benchmark_script.py
code served (permissive licence) · get_code("fdef7359919a4918")
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

# The function determine_gpus takes a cfg_name string parameter
# and uses string operations (find, in) to check for patterns
# It returns a tuple of (gpus, gpus_pre_node)

ARGS = {
    'cfg_name': '8x_base_config'
}
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 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
extract_answers_from_file Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_sequence.py
code served (permissive licence) · get_code("1b6f238ba93da715")
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

# Create a temporary JSON file with sample data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_data.json")

sample_data = {
    "item_1": {
        "answer": "A, B, C",
        "question_id": "q001",
        "figure_path": "/path/to/figure1.png",
        "qtype": 1,
        "question": "What is the answer?"
    },
    "item_2": {
        "answer": "X, Y",
        "question_id": "q002",
        "figure_path": "/path/to/figure2.png",
        "qtype": 2,
        "question": "Another question?"
    },
    "item_3": {
        "answer": "Single",
        "question_id": "q003",
        "figure_path": "/path/to/figure3.png",
        "qtype": 0,
        "question": "One more?"
    }
}

with open(temp_file, 'w', encoding='utf-8') as f:
    json.dump(sample_data, f, ensure_ascii=False)

ARGS = {
    "file_path": temp_file
}
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
extract_numbers_keep_order Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_value.py
code served (permissive licence) · get_code("28a88df4a1890f0c")
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 re

def extract_numbers_keep_order(text):
    matches = []
    for m in re.finditer('-?(?:\\d+,)+\\d+', text):
        if '.' not in m.group():
            matches.append((m.start(), m.group()))
    for m in re.finditer('-?\\d+\\.\\d+', text):
        if ',' not in m.group():
            matches.append((m.start(), m.group()))
    for m in re.finditer('(?<![\\d.,])-?\\d+(?![\\d.,])', text):
        val = m.group()
        start = m.start()
        if '.' not in val and ',' not in val and all((not (start >= s and start < s + len(v)) for s, v in matches)):
            matches.append((start, val))
    matches.sort()
    return [v for _, v in matches]

# Setup code
text = "The numbers are 1,234 and 56.78 and 42 and -10,000 and 3.14 and -5"

ARGS = {
    "text": text
}
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 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
fix_list_format Ran
ran; our contract draft was wrong, not the code
orionbench/orionbench/grounded_CoT/evaluate_predictions.py
code served (permissive licence) · get_code("fb35a4fb403a10b9")
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 ast
import re
from typing import List, Optional, Any, Tuple, Dict

ARGS = {
    "item": "[hello, world, foo]"
}
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 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
fuzzy_match Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_sequence.py
code served (permissive licence) · get_code("ad68de6db9bd4905")
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.

from difflib import SequenceMatcher

ARGS = {
    "s1": "hello world",
    "s2": "hello there",
    "threshold": 0.6
}
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
fuzzy_string_match Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_str.py
code served (permissive licence) · get_code("dbdd053033f11e57")
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.

from difflib import SequenceMatcher

ARGS = {
    "answer": "hello world",
    "response": "hello there world",
    "threshold": 0.75,
    "case_sensitive": False
}
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
get_last_number Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_value.py
code served (permissive licence) · get_code("29bff60fbb90eec9")
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 re

def extract_numbers_keep_order(text):
    matches = []
    for m in re.finditer('-?(?:\\d+,)+\\d+', text):
        if '.' not in m.group():
            matches.append((m.start(), m.group()))
    for m in re.finditer('-?\\d+\\.\\d+', text):
        if ',' not in m.group():
            matches.append((m.start(), m.group()))
    for m in re.finditer('(?<![\\d.,])-?\\d+(?![\\d.,])', text):
        val = m.group()
        start = m.start()
        if '.' not in val and ',' not in val and all((not (start >= s and start < s + len(v)) for s, v in matches)):
            matches.append((start, val))
    matches.sort()
    return [v for _, v in matches]

def only_digits_and_commas(s, divide):
    res1 = False
    res2 = False
    if divide == ',':
        pattern = '^\\d{1,3}(,\\d{3})*$'
        if bool(re.fullmatch('[0-9,]+', s)):
            res1 = True
            if is_valid_thousand_separator(s, divide):
                res2 = True
    elif divide == '.':
        pattern = '^\\d{1,3}(.\\d{3})*$'
        if bool(re.fullmatch('[0-9,]+', s)):
            res1 = True
            if is_valid_thousand_separator(s, divide):
                res2 = True
    return (res1, res2)

def convert(x):
    x_str = str(x)
    if x_str.replace('.', '', 1).isdigit() or (x_str.startswith('-') and x_str[1:].replace('.', '', 1).isdigit()):
        return int(float(x)) if float(x).is_integer() else float(x)
    return x

def is_valid_thousand_separator(s, divide):
    if divide == ',':
        pattern = '^[-+]?\\d{1,3}(,\\d{3})*(\\.(\\d*))?$'
    elif divide == '.':
        pattern = '^[-+]?\\d{1,3}(.\\d{3})*(\\,(\\d*))?$'
    else:
        return False
    return bool(re.match(pattern, s))

def get_last_number(value):
    numbers = extract_numbers_keep_order(value)
    if len(numbers) == 0:
        return None
    value = numbers[-1]
    if value.count('.') > 0:
        if value.count('.') == 1:
            return convert(value)
        if only_digits_and_commas(value, '.'):
            return convert(value.replace('.', ''))
        return value
    elif value.count(',') > 0:
        if only_digits_and_commas(value, ','):
            return convert(value.replace(',', ''))
        if value.count(',') == 1:
            return convert(value.replace(',', '.'))
        return value
    return value

# Test cases for get_last_number
test_value_1 = "The price is 42 dollars"
test_value_2 = "Values: 1,234.56 and 789"
test_value_3 = "Numbers 1.234,56 at end"
test_value_4 = "Just text no numbers here"
test_value_5 = "Multiple 10 20 30"

ARGS = {
    "value": test_value_1
}
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 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
has_more_digits_than_other_chars Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/checker.py
code served (permissive licence) · get_code("b20b7cb539fda947")
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.

# Analyze the function to understand what it needs
# The function takes a single parameter 's' which can be:
# - an int or float (returns True immediately)
# - a string that gets processed character by character

# Test cases should cover:
# 1. An integer
# 2. A float
# 3. A string with more digits than other characters
# 4. A string with more other characters than digits

# Since the function only takes one parameter 's', we need to provide valid test values

# Case 1: Integer input
test_int = 42

# Case 2: Float input
test_float = 3.14

# Case 3: String with more digits than other chars (e.g., "123abc" has 3 digits, 3 others - equal)
# Let's use "12345ab" which has 5 digits and 2 other chars
test_string_more_digits = "12345ab"

# Case 4: String with more other chars than digits
test_string_more_others = "hello1"

# For this exercise, we'll pick one representative test case
# Let's use a string that has more digits than other characters
s = "12345xy"

ARGS = {
    "s": s
}
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
is_sequence_valid Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_sequence.py
code served (permissive licence) · get_code("a51282a3ec6078f1")
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
from typing import List, Union, Hashable

# Set seed for reproducibility
torch.manual_seed(0)

# Construct arguments for is_sequence_valid function
ARGS = {
    "sequence": ["apple", "banana", "cherry", "date"],
    "case_sensitive": False,
    "strip_spaces": True,
    "fuzzy_duplicates": False,
    "fuzzy_threshold": 0.6
}
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
is_string_match Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_str.py
code served (permissive licence) · get_code("3c2a6db01c13dd65")
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.

# Setup code for is_string_match function

ARGS = {
    "answer": "hello",
    "response": "hello world",
    "case_sensitive": False
}
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
load_predictions Ran
ran; our contract draft was wrong, not the code
orionbench/orionbench/grounded_CoT/evaluate_predictions.py
code served (permissive licence) · get_code("36667e7b107acaec")
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

# Create a temporary JSON file with sample predictions
temp_dir = tempfile.mkdtemp()
file_path = os.path.join(temp_dir, "predictions.json")

sample_predictions = {
    "predictions": [
        {"id": 1, "label": "positive", "score": 0.95},
        {"id": 2, "label": "negative", "score": 0.32},
        {"id": 3, "label": "neutral", "score": 0.67}
    ],
    "metadata": {
        "model": "test_model",
        "timestamp": "2024-01-01"
    }
}

with open(file_path, 'w', encoding='utf-8') as f:
    json.dump(sample_predictions, f)

ARGS = {
    "file_path": file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
multiple_choice_checker Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_multiple.py
code served (permissive licence) · get_code("fcf8f6cd8a2cd9b4")
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 numpy as np
import random

def parse_multi_choice_response(response, all_choices, index2ans):
    """
    Parse the prediction from the generated response.
    Return the predicted index e.g., A, B, C, D.
    """
    for char in [',', '.', '!', '?', ';', ':', "'"]:
        response = response.strip(char)
    response = ' ' + response + ' '
    index_ans = True
    ans_with_brack = False
    candidates = []
    for choice in all_choices:
        if f'({choice})' in response:
            candidates.append(choice)
            ans_with_brack = True
    if len(candidates) == 0:
        for choice in all_choices:
            if f' {choice} ' in response:
                candidates.append(choice)
    if len(candidates) == 0 and len(response.split()) > 5:
        for index, ans in index2ans.items():
            if ans.lower() in response.lower():
                candidates.append(index)
                index_ans = False
    if len(candidates) == 0:
        pred_index = 'None' + str(random.randint(0, 255))
    elif len(candidates) > 1:
        start_indexes = []
        if index_ans:
            if ans_with_brack:
                for can in candidates:
                    index = response.rfind(f'({can})')
                    start_indexes.append(index)
            else:
                for can in candidates:
                    index = response.rfind(f' {can} ')
                    start_indexes.append(index)
        else:
            for can in candidates:
                index = response.lower().rfind(index2ans[can].lower())
                start_indexes.append(index)
        pred_index = candidates[np.argmax(start_indexes)]
    else:
        pred_index = candidates[0]
    return pred_index

def multiple_choice_checker(gt: str, pred: str) -> bool:
    if len(pred) > 50:
        pred = pred[-10:]
    pred = pred.split(',')
    gt = gt.upper().split(',')
    jury = set([parse_multi_choice_response(_, ['A', 'B', 'C', 'D'], {}) for _ in pred])
    std = set([parse_multi_choice_response(_, ['A', 'B', 'C', 'D'], {}) for _ in gt])
    return jury == std

ARGS = {
    'gt': 'A,B',
    'pred': 'The answer is (A), (B)'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
only_digits_and_commas Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_value.py
code served (permissive licence) · get_code("1e56ccd851128c34")
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 is_valid_thousand_separator(s, divide):
    if divide == ',':
        pattern = '^[-+]?\\d{1,3}(,\\d{3})*(\\.(\\d*))?$'
    elif divide == '.':
        pattern = '^[-+]?\\d{1,3}(.\\d{3})*(\\,(\\d*))?$'
    else:
        return False
    return bool(re.match(pattern, s))

def only_digits_and_commas(s, divide):
    res1 = False
    res2 = False
    if divide == ',':
        pattern = '^\\d{1,3}(,\\d{3})*$'
        if bool(re.fullmatch('[0-9,]+', s)):
            res1 = True
            if is_valid_thousand_separator(s, divide):
                res2 = True
    elif divide == '.':
        pattern = '^\\d{1,3}(.\\d{3})*$'
        if bool(re.fullmatch('[0-9,]+', s)):
            res1 = True
            if is_valid_thousand_separator(s, divide):
                res2 = True
    return (res1, res2)

ARGS = {
    "s": "1,234,567",
    "divide": ","
}
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
parse_multi_choice_response Ran
ran on a synthesized input
cooldawnant/infochartqa/eval/compare_multiple.py
code served (permissive licence) · get_code("d86d4c52f0d2788b")
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 numpy as np
import random

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

# Define the arguments for parse_multi_choice_response
response = "The answer is (B) because it makes sense."
all_choices = ['A', 'B', 'C', 'D']
index2ans = {
    'A': 'First option',
    'B': 'Second option',
    'C': 'Third option',
    'D': 'Fourth option'
}

ARGS = {
    'response': response,
    'all_choices': all_choices,
    'index2ans': index2ans
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
parse_to_list Ran
ran; our contract draft was wrong, not the code
orionbench/orionbench/grounded_CoT/evaluate_predictions.py
code served (permissive licence) · get_code("af8755d4fa414194")
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 ast
from typing import List, Optional

def parse_to_list(text: str) -> Optional[List[str]]:
    """
    Parses text to a list of strings if possible; strips quotes and whitespace.
    """
    if not isinstance(text, str):
        return None
    try:
        parsed = ast.literal_eval(text)
    except Exception:
        return None
    if isinstance(parsed, list):
        return [str(x).strip(" '") for x in parsed]
    return None


ARGS = {
    "text": "['hello', 'world', 'test']"
}
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 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
process_model_info Ran
ran; our contract draft was wrong, not the code
orionbench/orionbench/model_evaluation/mmdetection/.dev_scripts/convert_test_benchmark_script.py
code served (permissive licence) · get_code("3175ca3b1ec8c7b9")
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 os.path as osp

# Analyze what process_model_info needs:
# - model_info: dict with 'config' and 'checkpoint' keys (both strings with .strip() called)
# - work_dir: string parameter (though it's overwritten in the function)

model_info = {
    'config': '  /path/to/config_file.py  ',  # Has whitespace to test .strip()
    'checkpoint': '  /path/to/checkpoint.pth  '  # Has whitespace to test .strip()
}

work_dir = '/some/work/directory'

ARGS = {
    'model_info': model_info,
    'work_dir': work_dir
}
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
check_path Not yet run
unverified (harvested, no recorded run)
orionbench/orionbench/model_evaluation/mmdetection/.dev_scripts/check_links.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from opendatalab/MLS-BRN, is pointer only (licence: NONE) · get_code("fd08138d4bde9cfa")
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 opendatalab/MLS-BRN, 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 3 the same month, 0 later) and 12 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
check_link 9 other papers
9 dated earlier
1906.07155 (2019-06)
MMDetection: Open MMLab Detection Toolbox and Benchmark
2204.02136 (2022-04)
Overcoming Catastrophic Forgetting in Incremental Object Detection via Elastic Response Distillation
2209.09841 (2022-09)
Exploring Inconsistent Knowledge Distillation for Object Detection with Data Augmentation
and 6 more not named here
check_path 9 other papers
9 dated earlier
1906.07155 (2019-06)
MMDetection: Open MMLab Detection Toolbox and Benchmark
2204.02136 (2022-04)
Overcoming Catastrophic Forgetting in Incremental Object Detection via Elastic Response Distillation
2209.09841 (2022-09)
Exploring Inconsistent Knowledge Distillation for Object Detection with Data Augmentation
and 6 more not named here
check_url 9 other papers
9 dated earlier
1906.07155 (2019-06)
MMDetection: Open MMLab Detection Toolbox and Benchmark
2204.02136 (2022-04)
Overcoming Catastrophic Forgetting in Incremental Object Detection via Elastic Response Distillation
2209.09841 (2022-09)
Exploring Inconsistent Knowledge Distillation for Object Detection with Data Augmentation
and 6 more not named here
process_model_info 3 other papers
3 dated earlier
2204.02136 (2022-04)
Overcoming Catastrophic Forgetting in Incremental Object Detection via Elastic Response Distillation
2212.07784 (2022-12)
RTMDet: An Empirical Study of Designing Real-Time Object Detectors
2401.02361 (2024-01)
An Open and Comprehensive Pipeline for Unified Object Grounding and Detection
fix_list_format 2 other papers
1 dated earlier, 1 the same month
2504.05506 (2025-04)
ChartQAPro: A More Diverse and Challenging Benchmark for Chart Question Answering
2505.18668 (2025-05)
ChartGalaxy: A Dataset for Infographic Chart Understanding and Generation
load_predictions 2 other papers
1 dated earlier, 1 the same month
2504.05506 (2025-04)
ChartQAPro: A More Diverse and Challenging Benchmark for Chart Question Answering
2505.18668 (2025-05)
ChartGalaxy: A Dataset for Infographic Chart Understanding and Generation
parse_to_list 2 other papers
1 dated earlier, 1 the same month
2504.05506 (2025-04)
ChartQAPro: A More Diverse and Challenging Benchmark for Chart Question Answering
2505.18668 (2025-05)
ChartGalaxy: A Dataset for Infographic Chart Understanding and Generation
determine_gpus 1 other paper
1 dated earlier
2212.07784 (2022-12)
RTMDet: An Empirical Study of Designing Real-Time Object Detectors

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

Understanding infographic charts with design-driven visual elements (e.g., pictograms, icons) requires both visual recognition and reasoning, posing challenges for multimodal large language models (MLLMs). However, existing visual-question answering benchmarks fall short in evaluating these capabilities of MLLMs due to the lack of paired plain charts and visual-element-based questions. To bridge this gap, we introduce InfoChartQA, a benchmark for evaluating MLLMs on infographic chart understanding. It includes 5,642 pairs of infographic and plain charts, each sharing the same underlying data but differing in visual presentations. We further design visual-element-based questions to capture their unique visual designs and communicative intent. Evaluation of 20 MLLMs reveals a substantial performance decline on infographic charts, particularly for visual-element-based questions related to metaphors. The paired infographic and plain charts enable fine-grained error analysis and ablation studies, which highlight new opportunities for advancing MLLMs in infographic chart understanding. We release InfoChartQA at https://github.com/CoolDawnAnt/InfoChartQA.

For agents

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

get_harvested_code_for_paper("2505.19028")
get_code_for_paper("2505.19028")
have("2505.19028")

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

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

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

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

Connect an agent — have() is free.