SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.02578 · 2026

DataParasite Enables Scalable and Repurposable Online Data Curation

Mengyi Sun

arXiv · PDF · Open in the Atlas

Code that ran

22 of 27 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 15 failures of our instrument; 5 no recorded run), measured 2026-11-23; 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/2601.02578.json · badge: /api/ran/2601.02578.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
emeryberger/CSrankings canonical (classifier label)
classifier basis: census
16 ran · 2 no recorded run
mengysun/DataParasite community
Papers with Code archive
6 ran · 3 no recorded run
FunctionStatusWhere it lives
TaskConfig Ran
ran on a synthesized input · constructed an object; no result was computed
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("20edabb222b20ad6")
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 an instance of its own class, TaskConfig: the run constructed the object and did not call it, so no result was computed. 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
import yaml

# Create a temporary YAML config file for TaskConfig initialization
config_data = {
    'output_schema': {
        'name': {'type': 'str'},
        'age': {'type': 'Optional[int]'},
        'score': {'type': 'Optional[float]'},
        'active': {'type': 'bool'}
    },
    'csv_column_mapping': {
        'full_name': 'name',
        'person_age': 'age'
    },
    'required_columns': ['name', 'age'],
    'prompt_system': 'You are a helpful assistant.',
    'prompt_user': 'Extract the following information.',
    'default_model': 'gpt-4o-mini'
}

# Write to a temporary file
with tempfile.NamedTemporaryFile(mode='w', suffix='.yaml', delete=False, encoding='utf-8') as f:
    yaml.dump(config_data, f)
    temp_config_path = Path(f.name)

ARGS = {
    'config_path': temp_config_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pydantic, yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TaskConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TaskConfig 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
_empty_usage Ran
ran on a synthesized input
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("e3ec882bd414031c")
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

def _empty_usage() -> dict:
    """Return empty usage dict."""
    return {'input_tokens': 0, 'output_tokens': 0, 'cached_tokens': 0, 'web_search_calls': 0}

# The function _empty_usage() takes no parameters
ARGS = {}
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
compute_cost Ran
ran, honoured the contract we drafted
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("645666446aafcbfe")
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.

# Setup code for compute_cost function

# Analyze the function:
# - model: str - a model name from PRICING dict or a default
# - usage: Dict[str, int] - a dictionary with keys like 'input_tokens', 'cached_tokens', 'output_tokens', 'web_search_calls'

# The function:
# 1. Looks up model in PRICING dict
# 2. Accesses usage dict with .get() calls for various token/call counts
# 3. Performs arithmetic operations on these values

# Create valid arguments

ARGS = {
    'model': 'gpt-4o-mini',
    'usage': {
        'input_tokens': 1000000,
        'cached_tokens': 100000,
        'output_tokens': 50000,
        'web_search_calls': 5
    }
}
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
csv2dict_str_str Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/clean-scholar-links.py
pointer only (licence: NOASSERTION) · get_code("ec334c79d6814665")
How it ran

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

csv2dict_str_str Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/clean-web-pages.py
pointer only (licence: NOASSERTION) · get_code("2c1be130344cfe49")
How it ran

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

evenly_spaced_items Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
emeryberger/CSrankings/faculty_growth.py
pointer only (licence: NOASSERTION) · get_code("0dbafcb96e143c03")
How it ran

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

extract_dblp_orcids Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/build-orcid-csv.py
pointer only (licence: NOASSERTION) · get_code("de678062b7b953b8")
How it ran

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

extract_tool_usage Ran
ran; our contract draft was wrong, not the code
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("e8abfc124ec74e4a")
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
import logging
from unittest.mock import Mock

torch.manual_seed(0)

# Set up logging
logging.basicConfig(level=logging.WARNING)

# Create a mock action object with type='search'
mock_action = Mock()
mock_action.type = 'search'

# Create a mock web_search_call item
mock_search_item = Mock()
mock_search_item.type = 'web_search_call'
mock_search_item.action = mock_action

# Create another mock web_search_call item
mock_search_item_2 = Mock()
mock_search_item_2.type = 'web_search_call'
mock_search_item_2.action = mock_action

# Create a mock non-search item (should be ignored)
mock_other_item = Mock()
mock_other_item.type = 'other_type'
mock_other_item.action = None

# Create the response object with output containing mixed items
mock_response = Mock()
mock_response.output = [mock_search_item, mock_other_item, mock_search_item_2]

ARGS = {
    'response': mock_response
}
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
find_fix Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/clean-csrankings.py
pointer only (licence: NOASSERTION) · get_code("11669b54fc6c9d43")
How it ran

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

first_of_month Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/download-dblp-release.py
pointer only (licence: NOASSERTION) · get_code("98808f281e1e6ec0")
How it ran

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

institutions_match Ran
ran, violated the contract we drafted
emeryberger/CSrankings/util/build-orcid-csv.py
pointer only (licence: NOASSERTION) · get_code("399407d9534b189a")
How it ran

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

load Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/faculty_growth.py
pointer only (licence: NOASSERTION) · get_code("353b7d11e71036e2")
How it ran

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

map_pacmmod_to_conference Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/csrankings.py
pointer only (licence: NOASSERTION) · get_code("d6d3320ab1874e01")
How it ran

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

normalize_institution Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/build-orcid-csv.py
pointer only (licence: NOASSERTION) · get_code("51c1da3496b1eb13")
How it ran

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

pagecount Ran
ran, honoured the contract we drafted
emeryberger/CSrankings/util/csrankings.py
pointer only (licence: NOASSERTION) · get_code("62d9e987f9e5fb2f")
How it ran

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

parse_row_data Ran
ran; our contract draft was wrong, not the code
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("9c56a479a93e8627")
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
import numpy as np
from typing import Optional, List, Dict, Any, Type

torch.manual_seed(0)

# Construct valid arguments for parse_row_data
row = {
    'name': '  Alice  ',
    'age': '30',
    'email': '  alice@example.com  ',
    'city': 'New York'
}

mapping = {
    'name': 'user_name',
    'age': 'user_age',
    'email': 'user_email'
}

ARGS = {
    'row': row,
    'mapping': mapping
}
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 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
previous_month Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/download-dblp-release.py
pointer only (licence: NOASSERTION) · get_code("8efe785a7bc6d200")
How it ran

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

release_url Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/download-dblp-release.py
pointer only (licence: NOASSERTION) · get_code("bcaa2506ba25e096")
How it ran

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

series Ran
ran, honoured the contract we drafted
emeryberger/CSrankings/faculty_growth.py
pointer only (licence: NOASSERTION) · get_code("b79bc39259d70d3a")
How it ran

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

startpage Ran
ran, honoured the contract we drafted
emeryberger/CSrankings/util/csrankings.py
pointer only (licence: NOASSERTION) · get_code("a16f06ff4abe022b")
How it ran

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

strip_accents Ran
ran; our contract draft was wrong, not the code
emeryberger/CSrankings/util/old/split-csrankings.py
pointer only (licence: NOASSERTION) · get_code("b34f5dfa407987e8")
How it ran

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

tidy Ran
ran; our contract draft was wrong, not the code
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("ee61b20d92838358")
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
import torch.nn as nn

# Set seed for reproducibility
torch.manual_seed(0)

# The function 'tidy' takes a single parameter 'value' of type Optional[str]
# It handles None, empty strings, booleans, ints, floats, and strings
# We need to provide test cases for all these branches

ARGS = {
    "value": None  # Tests the None case which returns 'not_found'
}
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
_build_error_result Not yet run
unverified (harvested, no recorded run)
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("dd4a01022a755b82")
How it ran

no invocation recorded.

call_model Not yet run
unverified (harvested, no recorded run)
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("85d3712a61fec456")
How it ran

no invocation recorded.

csv2dict_str_str Not yet run
unverified (harvested, no recorded run)
emeryberger/CSrankings/util/count-zero-authors.py
pointer only (licence: NOASSERTION) · get_code("758f9398d0362438")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, emeryberger/CSrankings (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. No invocation recorded.

run_one Not yet run
unverified (harvested, no recorded run)
mengysun/DataParasite/src/data_parasite.py
code served (permissive licence) · get_code("1bc126c6c9079ee0")
How it ran

no invocation recorded.

sortdictionary Not yet run
unverified (harvested, no recorded run)
emeryberger/CSrankings/util/count-zero-authors.py
pointer only (licence: NOASSERTION) · get_code("ff9a6cee747f2c90")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, emeryberger/CSrankings (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. No invocation recorded.

Also present in other papers' code

Of 27 samples lifted from this paper's linked repositories, 27 carry a function identity and 0 do not. Of the 27 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 26 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
strip_accents 2 other papers
2 dated earlier
1910.06262 (2019-10)
Restoring ancient text using deep learning: a case study on Greek epigraphy
2304.01196 (2023-04)
Baize: An Open-Source Chat Model with Parameter-Efficient Tuning on Self-Chat Data

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

Many questions in computational social science rely on datasets assembled from heterogeneous online sources, a process that is often labor-intensive, costly, and difficult to reproduce. Recent advances in large language models enable agentic search and structured extraction from the web, but existing systems are frequently opaque, inflexible, or poorly suited to scientific data curation. Here we introduce DataParasite, an open-source, modular pipeline for scalable online data collection. DataParasite decomposes tabular curation tasks into independent, entity-level searches defined through lightweight configuration files and executed through a shared, task-agnostic python script. Crucially, the same pipeline can be repurposed to new tasks, including those without predefined entity lists, using only natural-language instructions. We evaluate the pipeline on multiple canonical tasks in computational social science, including faculty hiring histories, elite death events, and political career trajectories. Across tasks, DataParasite achieves high accuracy while reducing data-collection costs by an order of magnitude relative to manual curation. By lowering the technical and labor barriers to online data assembly, DataParasite provides a practical foundation for scalable, transparent, and reusable data curation in computational social science and beyond.

For agents

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

get_harvested_code_for_paper("2601.02578")
get_code_for_paper("2601.02578")
have("2601.02578")

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

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

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

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

Connect an agent — have() is free.