SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.20094 · 2024

Scaling Synthetic Data Creation with 1,000,000,000 Personas

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 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 3 have no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-22; 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/2406.20094.json · badge: /api/ran/2406.20094.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
tencent-ailab/persona-hub canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
lightaime/camel community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
FunctionStatusWhere it lives
extract_thinking_from_content Ran
ran on a synthesized input
lightaime/camel/camel/models/_utils.py
code served (permissive licence) · get_code("0e072bd14de5f12c")
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 extract_thinking_from_content(content: str, reasoning_content: str | None=None) -> tuple[str, str | None]:
    """Extract ``<think>`` tags from content into reasoning_content.

    Used for both pre-processing (stripping ``<think>`` tags from
    input messages before sending to the model) and post-processing
    (extracting ``<think>`` tags from model output into the
    ``reasoning_content`` field).

    If the content contains ``<think>...</think>`` tags and
    ``reasoning_content`` is not already set, extracts the thinking
    content and returns cleaned content with the reasoning.

    Args:
        content (str): The response content that may contain
            ``<think>`` tags.
        reasoning_content (str | None): Existing reasoning content.
            If already set, no extraction is performed.
            (default: :obj:`None`)

    Returns:
        tuple[str, str | None]: A tuple of (cleaned_content,
            reasoning_content). If no extraction was needed, returns
            the original values unchanged.
    """
    if reasoning_content is not None:
        return (content, reasoning_content)
    if '<think>' not in content or '</think>' not in content:
        return (content, reasoning_content)
    think_match = re.search('<think>(.*?)</think>', content, flags=re.DOTALL)
    if think_match:
        extracted = think_match.group(1).strip()
        if extracted:
            reasoning_content = extracted
    content = re.sub('<think>.*?</think>', '', content, flags=re.DOTALL).strip()
    return (content, reasoning_content)


ARGS = {
    "content": "This is my response. <think>Here is my internal reasoning about the problem.</think> And this is the final answer.",
    "reasoning_content": None
}
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
get_logger Ran
ran on a synthesized input
lightaime/camel/camel/logger.py
code served (permissive licence) · get_code("367b8f091b18560b")
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 Logger. 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 logging

# The function get_logger only takes a single parameter: name (str)
# It simply constructs a logger name by prefixing 'camel.' to the provided name
# and returns logging.getLogger() with that name.
# No complex objects needed.

ARGS = {
    "name": "test_logger"
}
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 Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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
request_input_format Ran
ran; our contract draft was wrong, not the code
tencent-ailab/persona-hub/code/vllm_synthesize.py
pointer only (licence: NONE) · get_code("891d9c75b3579f40")
How it ran

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

set_log_file Ran
ran on a synthesized input
lightaime/camel/camel/logger.py
code served (permissive licence) · get_code("3308e397d430b6b7")
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 FileHandler. 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 logging
import os
import tempfile

# Set up logger for CAMEL if not already configured
_logger = logging.getLogger('camel')
if not _logger.handlers:
    _logger.setLevel(logging.INFO)

# Create a temporary directory for the log file
temp_dir = tempfile.mkdtemp()
log_file_path = os.path.join(temp_dir, 'test_log.txt')

ARGS = {
    'file_path': log_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 FileHandler — a FileHandler output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a FileHandler 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

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 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 4 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-22.

Repositories linked to this paper

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

Abstract

We propose a novel persona-driven data synthesis methodology that leverages various perspectives within a large language model (LLM) to create diverse synthetic data. To fully exploit this methodology at scale, we introduce Persona Hub -- a collection of 1 billion diverse personas automatically curated from web data. These 1 billion personas (~13% of the world's total population), acting as distributed carriers of world knowledge, can tap into almost every perspective encapsulated within the LLM, thereby facilitating the creation of diverse synthetic data at scale for various scenarios. By showcasing Persona Hub's use cases in synthesizing high-quality mathematical and logical reasoning problems, instructions (i.e., user prompts), knowledge-rich texts, game NPCs and tools (functions) at scale, we demonstrate persona-driven data synthesis is versatile, scalable, flexible, and easy to use, potentially driving a paradigm shift in synthetic data creation and applications in practice, which may have a profound impact on LLM research and development.

For agents

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

get_harvested_code_for_paper("2406.20094")
get_code_for_paper("2406.20094")
have("2406.20094")

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

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

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

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

Connect an agent — have() is free.