SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1912.01054 · 2019

The state of the art in kidney and kidney tumor segmentation in contrast-enhanced CT imaging: Results of the KiTS19 Challenge

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 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 7 have no contract verdict; 3 failures of our instrument; 2 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/1912.01054.json · badge: /api/ran/1912.01054.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
neheller/kits19 canonical (classifier label)
classifier basis: classifier_2025
3 ran · 1 no recorded run
neheller/kits23 community (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
FunctionStatusWhere it lives
class_to_color Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
neheller/kits19/starter_code/visualize.py
pointer only (licence: NOASSERTION) · get_code("4a23dbf77a743d3c")
How it ran

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

construct_HEC_from_segmentation Ran
ran on a synthesized input
neheller/kits23/kits23/evaluation/generate_bool_masks_for_hec.py
code served (permissive licence) · get_code("9240b6b7b2761ddf")
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 3, dtype family float, shape (2, 3, 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

# Create a small integer segmentation array
# Values represent class labels for each voxel
segmentation = np.array([
    [[0, 1, 2, 0],
     [1, 2, 0, 1],
     [2, 0, 1, 2]],
    [[1, 1, 0, 2],
     [0, 2, 1, 0],
     [2, 1, 0, 1]]
], dtype=int)

# Test with single label
label = 1

ARGS = {
    "segmentation": segmentation,
    "label": label
}
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 3, dtype family float, shape (2, 3, 4) — shape (2, 3, 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
dice Ran
ran on a synthesized input
neheller/kits23/kits23/evaluation/dice.py
code served (permissive licence) · get_code("1a17806678ca8f05")
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 float64, ndim 0, 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 numpy as np

# Create two small boolean numpy arrays for prediction and reference
# The function uses these to compute the DICE coefficient

# prediction: a boolean array where True is foreground, False is background
prediction = np.array([
    [True, False, True, False],
    [False, True, True, False],
    [True, True, False, False]
], dtype=bool)

# reference: another boolean array for ground truth
reference = np.array([
    [True, True, False, False],
    [False, True, False, False],
    [True, False, False, True]
], dtype=bool)

ARGS = {
    "prediction": prediction,
    "reference": reference
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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_all_region_dirs Ran
ran; our contract draft was wrong, not the code
neheller/kits23/kits23/annotation/import.py
code served (permissive licence) · get_code("43a77d4e597eba9a")
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 tempfile
from pathlib import Path

# Create a temporary directory to act as case_dir
temp_dir = tempfile.TemporaryDirectory()
case_dir = Path(temp_dir.name)

# Create some subdirectories to simulate regions
(case_dir / "region_1").mkdir(exist_ok=True)
(case_dir / "region_2").mkdir(exist_ok=True)
(case_dir / "region_3").mkdir(exist_ok=True)

ARGS = {
    "case_dir": case_dir
}
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
get_containing_box Ran
ran on a synthesized input
neheller/kits23/kits23/annotation/postprocessing.py
code served (permissive licence) · get_code("12c8b682acd24055")
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 numpy as np

# Construct valid arguments for get_containing_box
# The function expects:
# - dln: a dict with 'annotations' key containing a list of annotation dicts
# - shape: a tuple/list representing (zdim, ydim, xdim)

dln = {
    'annotations': [
        {
            'frame': 5,
            'spatial_payload': [[10.5, 20.3], [15.2, 25.8]],
            'line_size': 2.0
        },
        {
            'frame': 8,
            'spatial_payload': [[12.1, 22.5], [18.9, 28.3]],
            'line_size': 2.5
        },
        {
            'frame': 12,
            'spatial_payload': [[11.0, 21.0], [16.5, 26.5]],
            'line_size': 1.8
        }
    ]
}

shape = (100, 80, 120)  # (zdim, ydim, xdim) - distinct sizes for clarity

ARGS = {
    'dln': dln,
    'shape': shape
}
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 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
get_destination Ran
ran on a synthesized input
neheller/kits23/kits23/download.py
code served (permissive licence) · get_code("b0973b9338c86372")
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 PosixPath. 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 pathlib import Path

# The function uses case_id as a string identifier and create as a boolean flag
# case_id is used in path construction (DST_PTH / case_id / 'imaging.nii.gz')
# create is used in a conditional to determine if parent directories should be made

case_id = "test_case_001"
create = False

ARGS = {
    "case_id": case_id,
    "create": create,
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
get_remote_url Ran
ran on a synthesized input
neheller/kits23/kits23/download.py
code served (permissive licence) · get_code("44eebce10845c4a1")
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

ARGS = {
    'case_num': 42
}
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
hu_to_grayscale Ran
ran, violated the contract we drafted
neheller/kits19/starter_code/visualize.py
pointer only (licence: NOASSERTION) · get_code("12eb45f376014626")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, neheller/kits19 (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_json Ran
ran on a synthesized input
neheller/kits23/kits23/annotation/postprocessing.py
code served (permissive licence) · get_code("6993351600481a61")
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
from pathlib import Path
import tempfile

# Create a temporary JSON file
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name) / "test.json"

test_data = {"key": "value", "number": 42, "list": [1, 2, 3]}
with open(temp_path, "w") as f:
    json.dump(test_data, f)

ARGS = {
    "json_path": temp_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
overlay Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
neheller/kits19/starter_code/visualize.py
pointer only (licence: NOASSERTION) · get_code("2e997871890c547b")
How it ran

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

write_json Ran
ran on a synthesized input
neheller/kits23/kits23/annotation/postprocessing.py
code served (permissive licence) · get_code("049ea387d81bd955")
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 int, ndim 0, dtype family int, 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 pathlib import Path
import tempfile
import json

# Create a temporary directory and file path for the test
temp_dir = tempfile.mkdtemp()
json_path = Path(temp_dir) / "test_output.json"

# Create sample data that is JSON-serializable
data = {
    "name": "test",
    "values": [1, 2, 3, 4, 5],
    "nested": {
        "key": "value",
        "number": 42,
        "float": 3.14
    }
}

ARGS = {
    "json_path": json_path,
    "data": data
}
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 int, ndim 0, dtype family int, 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_destination Not yet run
unverified (harvested, no recorded run)
neheller/kits19/starter_code/get_imaging.py
pointer only (licence: NOASSERTION) · get_code("a24add5a2359c955")
How it ran

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

get_region_dir Not yet run
unverified (harvested, no recorded run)
neheller/kits23/kits23/annotation/import.py
code served (permissive licence) · get_code("443e438692d931d4")
How it ran

no invocation recorded.

Also present in other papers' code

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

FunctionAlso present inEarliest-datedOthers named
class_to_color 1 other paper
1 dated earlier
1904.00445 (2019-04)
The KiTS19 Challenge Data: 300 Kidney Tumor Cases with Clinical Context, CT Semantic Segmentations, and Surgical Outcomes
get_all_region_dirs 1 other paper
1 later
2307.01984 (2023-07)
The KiTS21 Challenge: Automatic segmentation of kidneys, renal tumors, and renal cysts in corticomedullary-phase CT
get_destination 1 other paper
1 dated earlier
1904.00445 (2019-04)
The KiTS19 Challenge Data: 300 Kidney Tumor Cases with Clinical Context, CT Semantic Segmentations, and Surgical Outcomes
get_region_dir 1 other paper
1 later
2307.01984 (2023-07)
The KiTS21 Challenge: Automatic segmentation of kidneys, renal tumors, and renal cysts in corticomedullary-phase CT
hu_to_grayscale 1 other paper
1 dated earlier
1904.00445 (2019-04)
The KiTS19 Challenge Data: 300 Kidney Tumor Cases with Clinical Context, CT Semantic Segmentations, and Surgical Outcomes
overlay 1 other paper
1 dated earlier
1904.00445 (2019-04)
The KiTS19 Challenge Data: 300 Kidney Tumor Cases with Clinical Context, CT Semantic Segmentations, and Surgical Outcomes

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

There is a large body of literature linking anatomic and geometric characteristics of kidney tumors to perioperative and oncologic outcomes. Semantic segmentation of these tumors and their host kidneys is a promising tool for quantitatively characterizing these lesions, but its adoption is limited due to the manual effort required to produce high-quality 3D segmentations of these structures. Recently, methods based on deep learning have shown excellent results in automatic 3D segmentation, but they require large datasets for training, and there remains little consensus on which methods perform best. The 2019 Kidney and Kidney Tumor Segmentation challenge (KiTS19) was a competition held in conjunction with the 2019 International Conference on Medical Image Computing and Computer Assisted Intervention (MICCAI) which sought to address these issues and stimulate progress on this automatic segmentation problem. A training set of 210 cross sectional CT images with kidney tumors was publicly released with corresponding semantic segmentation masks. 106 teams from five continents used this data to develop automated systems to predict the true segmentation masks on a test set of 90 CT images for which the corresponding ground truth segmentations were kept private. These predictions were scored and ranked according to their average So rensen-Dice coefficient between the kidney and tumor across all 90 cases. The winning team achieved a Dice of 0.974 for kidney and 0.851 for tumor, approaching the inter-annotator performance on kidney (0.983) but falling short on tumor (0.923). This challenge has now entered an "open leaderboard" phase where it serves as a challenging benchmark in 3D semantic segmentation.

For agents

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

get_harvested_code_for_paper("1912.01054")
get_code_for_paper("1912.01054")
have("1912.01054")

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

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

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

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

Connect an agent — have() is free.