SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1810.11363 · 2018

CatBoost: gradient boosting with categorical features support

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 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 6 have no contract verdict; 0 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/1810.11363.json · badge: /api/ran/1810.11363.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
catboost/catboost canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
FunctionStatusWhere it lives
enum_from_enum_or_str Ran
ran on a synthesized input
catboost/catboost/catboost/python-package/catboost/core.py
code served (permissive licence) · get_code("707e595dcc1f1af4")
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 Color. 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.

from enum import Enum

class Color(Enum):
    RED = 1
    GREEN = 2
    BLUE = 3

# Test case 1: passing an enum instance directly
enum_instance = Color.RED

# Test case 2: passing a string that maps to an enum member
enum_string = "GREEN"

# Use the string case for the setup
ARGS = {
    "enum_type": Color,
    "arg": enum_string
}
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 Color — a Color output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Color 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_target_platforms Ran
ran on a synthesized input
catboost/catboost/catboost/python-package/mk_wheel.py
code served (permissive licence) · get_code("1c8bdc51b872294f")
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 platform

ARGS = {
    'tail_args': [
        '--target-platform',
        'Linux',
        'other-arg',
        '--target-platform=Windows',
        '--target-platform',
        'Darwin',
        'more-args'
    ]
}
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
generate_concatenated_random_labeled_dataset Ran
ran on a synthesized input
catboost/catboost/catboost/pytest/lib/common_helpers.py
code served (permissive licence) · get_code("aa8a1c58418afa2e")
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 ndarray, ndim 2, dtype family float, shape (5, 4) 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

ARGS = {
    "nrows": 5,
    "nvals": 3,
    "labels": np.array([0, 1, 2]),
    "seed": 20181219,
    "prng": None,
}
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 ndarray, ndim 2, dtype family float, shape (5, 4) — shape (5, 4) 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
mine_platform_tag_string Ran
ran on a synthesized input
catboost/catboost/catboost/python-package/mk_wheel.py
code served (permissive licence) · get_code("0b582b2d0599146d")
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 platform

PL_LINUX = ['manylinux1_x86_64']

PL_MACOS_X86_64 = ['macosx_10_6_intel', 'macosx_10_9_intel', 'macosx_10_9_x86_64', 'macosx_10_10_intel', 'macosx_10_10_x86_64']

PL_MACOS_ARM64 = ['macosx_11_0_arm64', 'macosx_12_0_arm64']

PL_MACOS_UNIVERSAL = ['macosx_10_6_universal2']

PL_WIN = ['win_amd64']

def gen_platform_tags():
    import setuptools
    import distutils.util
    value = distutils.util.get_platform().replace('linux', 'manylinux1')
    value = value.replace('-', '_').replace('.', '_')
    if 'macosx' in value:
        return PL_MACOS_X86_64
    return [value]

def find_target_platforms(tail_args):
    target_platforms = []
    arg_idx = 0
    while arg_idx < len(tail_args):
        arg = tail_args[arg_idx]
        if arg.startswith('--target-platform'):
            if len(arg) == len('--target-platform'):
                target_platforms.append(tail_args[arg_idx + 1])
                arg_idx += 2
            elif arg[len('--target-platform')] == '=':
                target_platforms.append(arg[len('--target-platform') + 1:])
                arg_idx += 1
        else:
            arg_idx += 1
    return [platform.lower() for platform in target_platforms]

def transform_target_platforms(target_platforms):
    platform_tags = set()
    for platform in target_platforms:
        if 'linux' in platform:
            platform_tags = platform_tags.union(PL_LINUX)
        elif 'darwin' in platform:
            if 'arm64' in platform:
                platform_tags = platform_tags.union(PL_MACOS_ARM64)
            else:
                platform_tags = platform_tags.union(PL_MACOS_X86_64)
        elif 'win' in platform:
            platform_tags = platform_tags.union(PL_WIN)
        else:
            raise Exception('Unsupported platform {}'.format(platform))
    return list(platform_tags)

def mine_platform_tag_string(tail_args):
    target_platforms = find_target_platforms(tail_args)
    platform_tags = transform_target_platforms(target_platforms) if target_platforms else gen_platform_tags()
    if all([tag.startswith('macos') for tag in platform_tags]) and '--lipo' in tail_args:
        platform_tags = PL_MACOS_UNIVERSAL
    return '.'.join(sorted(platform_tags))

ARGS = {
    'tail_args': ['--target-platform', 'linux', '--other-arg', 'value']
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
distutils, setuptools — 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
remove_time_from_json Ran
ran on a synthesized input
catboost/catboost/catboost/pytest/lib/common_helpers.py
code served (permissive licence) · get_code("210458bdff725fb6")
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 json
import tempfile
import os

# Create a temporary JSON file with the structure expected by remove_time_from_json
temp_dir = tempfile.mkdtemp()
temp_filename = os.path.join(temp_dir, "test_log.json")

# Create a sample log structure with iterations containing time fields
log_data = {
    "iterations": [
        {
            "epoch": 1,
            "loss": 0.5,
            "passed_time": 10.2,
            "remaining_time": 100.5
        },
        {
            "epoch": 2,
            "loss": 0.3,
            "passed_time": 20.5,
            "remaining_time": 50.2
        },
        {
            "epoch": 3,
            "loss": 0.2,
            "accuracy": 0.95
        }
    ]
}

# Write the sample log to the temporary file
with open(temp_filename, 'w') as f:
    json.dump(log_data, f)

ARGS = {
    "filename": temp_filename
}
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
transform_target_platforms Ran
ran on a synthesized input
catboost/catboost/catboost/python-package/mk_wheel.py
code served (permissive licence) · get_code("322d18a8cdc1b93d")
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 platform

PL_LINUX = ['manylinux1_x86_64']

PL_MACOS_X86_64 = ['macosx_10_6_intel', 'macosx_10_9_intel', 'macosx_10_9_x86_64', 'macosx_10_10_intel', 'macosx_10_10_x86_64']

PL_MACOS_ARM64 = ['macosx_11_0_arm64', 'macosx_12_0_arm64']

PL_WIN = ['win_amd64']

def transform_target_platforms(target_platforms):
    platform_tags = set()
    for platform in target_platforms:
        if 'linux' in platform:
            platform_tags = platform_tags.union(PL_LINUX)
        elif 'darwin' in platform:
            if 'arm64' in platform:
                platform_tags = platform_tags.union(PL_MACOS_ARM64)
            else:
                platform_tags = platform_tags.union(PL_MACOS_X86_64)
        elif 'win' in platform:
            platform_tags = platform_tags.union(PL_WIN)
        else:
            raise Exception('Unsupported platform {}'.format(platform))
    return list(platform_tags)

ARGS = {
    'target_platforms': ['linux', 'darwin', 'win']
}
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
plot_features_selection_loss_graph Not yet run
unverified (harvested, no recorded run)
catboost/catboost/catboost/python-package/catboost/core.py
code served (permissive licence) · get_code("46fff44683bdeeb9")
How it ran

no invocation recorded.

Also present in other papers' code

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

In this paper we present CatBoost, a new open-sourced gradient boosting library that successfully handles categorical features and outperforms existing publicly available implementations of gradient boosting in terms of quality on a set of popular publicly available datasets. The library has a GPU implementation of learning algorithm and a CPU implementation of scoring algorithm, which are significantly faster than other gradient boosting libraries on ensembles of similar sizes.

For agents

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

get_harvested_code_for_paper("1810.11363")
get_code_for_paper("1810.11363")
have("1810.11363")

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

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

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

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

Connect an agent — have() is free.