SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.05507 · 2024

InfiAgent-DABench: Evaluating Agents on Data Analysis Tasks

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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, 1 violated it and 0 have no contract verdict; 2 failures of our instrument; 0 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/2401.05507.json · badge: /api/ran/2401.05507.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
infiagent/infiagent canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
evaluate_responses Ran
ran; our contract draft was wrong, not the code
infiagent/infiagent/examples/DA-Agent/eval_closed_form.py
code served (permissive licence) · get_code("4feb167267031142")
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 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_format(input_string):
    pattern = '@(\\w+)\\[(.*?)\\]'
    matches = re.findall(pattern, input_string)
    answer_names = [match[0] for match in matches]
    answers = [match[1] for match in matches]
    return (answer_names, answers)

def is_equal(response, label):
    if response == label:
        return True
    else:
        try:
            return abs(float(response) - float(label)) < 1e-06
        except:
            return False

def evaluate_responses(labels, responses):
    results = []
    for label in labels:
        label_id = label['id']
        label_answers = {ans[0]: ans[1] for ans in label['common_answers']}
        corresponding_response = next((resp for resp in responses if 'id' in resp.keys() and resp['response'] and (resp['id'] == label_id)), None)
        if corresponding_response:
            answer_names, answers = extract_format(corresponding_response['response'])
            extracted_answers = dict(zip(answer_names, answers))
            correct_answers = {ans_name: is_equal(extracted_answers.get(ans_name), label_answers[ans_name]) for ans_name in label_answers.keys()}
            result = {'id': label_id, 'label_answers': label_answers, 'predicted_answers': extracted_answers, 'correctness': correct_answers}
            results.append(result)
    return results

# Construct valid arguments
labels = [
    {
        'id': 'q1',
        'common_answers': [('answer_a', '42'), ('answer_b', '3.14')]
    },
    {
        'id': 'q2',
        'common_answers': [('result', '100')]
    }
]

responses = [
    {
        'id': 'q1',
        'response': '@answer_a[42]@answer_b[3.14]'
    },
    {
        'id': 'q2',
        'response': '@result[100]'
    }
]

ARGS = {
    'labels': labels,
    'responses': responses
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
extract_format Ran
ran; our contract draft was wrong, not the code
infiagent/infiagent/examples/DA-Agent/eval_closed_form.py
code served (permissive licence) · get_code("b6144f8ea79a6eba")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned tuple, ndim 2, 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_format(input_string):
    pattern = '@(\\w+)\\[(.*?)\\]'
    matches = re.findall(pattern, input_string)
    answer_names = [match[0] for match in matches]
    answers = [match[1] for match in matches]
    return (answer_names, answers)

# The function takes a single parameter: input_string
# It uses re.findall to extract patterns matching @(word_chars)[anything]
# We need to provide a string that contains such patterns

ARGS = {
    'input_string': '@name1[value1] some text @name2[value2] more @name3[value3]'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 2, 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
is_equal Ran
ran, violated the contract we drafted
infiagent/infiagent/examples/DA-Agent/eval_closed_form.py
code served (permissive licence) · get_code("b2245c8f5cbe069d")
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 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)

# The function is_equal compares two values:
# 1. First checks if they are equal with ==
# 2. If not, tries to convert both to float and check if their difference is < 1e-06
# 3. If conversion fails, returns False

# We need to provide two arguments: response and label
# Let's test with values that will exercise the logic

# Case 1: Exact equality
response_1 = "test"
label_1 = "test"

# Case 2: Numeric equality within tolerance
response_2 = 1.0000001
label_2 = 1.0

# Case 3: String representations of numbers
response_3 = "1.5"
label_3 = "1.5000001"

# Case 4: Non-comparable values
response_4 = [1, 2, 3]
label_4 = "not_a_number"

# For the ARGS dict, we'll use a simple case that exercises the main logic
ARGS = {
    "response": 1.0000001,
    "label": 1.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 3 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.

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

In this paper, we introduce InfiAgent-DABench, the first benchmark specifically designed to evaluate LLM-based agents on data analysis tasks. These tasks require agents to end-to-end solving complex tasks by interacting with an execution environment. This benchmark contains DAEval, a dataset consisting of 257 data analysis questions derived from 52 CSV files, and an agent framework which incorporates LLMs to serve as data analysis agents for both serving and evaluation. Since data analysis questions are often open-ended and hard to evaluate without human supervision, we adopt a format-prompting technique to convert each question into a closed-form format so that they can be automatically evaluated. Our extensive benchmarking of 34 LLMs uncovers the current challenges encountered in data analysis tasks. In addition, building on top of our agent framework, we develop a specialized agent, DAAgent, which surpasses GPT-3.5 by 3.9% on DABench. Evaluation datasets and toolkits for InfiAgent-DABench are released at https://github.com/InfiAgent/InfiAgent .

For agents

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

get_harvested_code_for_paper("2401.05507")
get_code_for_paper("2401.05507")
have("2401.05507")

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

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

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

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

Connect an agent — have() is free.