SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2004.12537 · 2020

Towards Data-Efficient Learning: A Benchmark for COVID-19 CT Lung and Infection Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

1 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, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 2 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/2004.12537.json · badge: /api/ran/2004.12537.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
JunMa11/COVID-19-CT-Seg-Benchmark community (classifier label)
classifier basis not recorded on the link
1 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_surface_distances Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JunMa11/COVID-19-CT-Seg-Benchmark/utils/SurfaceDice.py
code served (permissive licence) · get_code("c2cde84212a0d024")
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
import scipy.ndimage

# Create minimal valid arguments for compute_surface_distances
# The function signature appears to be cut off, but based on the code visible,
# it likely takes a mask/volume and computes surface distances

# Create a small binary 3D volume (mask)
mask_pred = np.zeros((4, 4, 4), dtype=np.uint8)
mask_pred[1:3, 1:3, 1:3] = 1  # Small cube of 1s

mask_gt = np.zeros((4, 4, 4), dtype=np.uint8)
mask_gt[1:3, 1:3, 1:3] = 1  # Same reference mask

# Create spacing for voxel dimensions
spacing_mm = (1.0, 1.0, 1.0)

ARGS = {
    'mask_pred': mask_pred,
    'mask_gt': mask_gt,
    'spacing_mm': spacing_mm,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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_average_surface_distance Not yet run
unverified (harvested, no recorded run)
JunMa11/COVID-19-CT-Seg-Benchmark/utils/SurfaceDice.py
code served (permissive licence) · get_code("f9b271f523aab805")
How it ran

no invocation recorded.

compute_robust_hausdorff Not yet run
unverified (harvested, no recorded run)
JunMa11/COVID-19-CT-Seg-Benchmark/utils/SurfaceDice.py
code served (permissive licence) · get_code("28e7a6e0eb50b7a0")
How it ran

no invocation recorded.

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, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 0 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
compute_average_surface_distance 4 other papers
4 later
2306.02416 (2023-06)
Training Like a Medical Resident: Context-Prior Learning Toward Universal Medical Image Segmentation
2308.05862 (2023-08)
Unleashing the Strengths of Unlabeled Data in Pan-cancer Abdominal Organ Quantification: the FLARE22 Challenge
2309.03906 (2023-09)
A-Eval: A Benchmark for Cross-Dataset Evaluation of Abdominal Multi-Organ Segmentation
and 1 more not named here
compute_robust_hausdorff 4 other papers
4 later
2306.02416 (2023-06)
Training Like a Medical Resident: Context-Prior Learning Toward Universal Medical Image Segmentation
2308.05862 (2023-08)
Unleashing the Strengths of Unlabeled Data in Pan-cancer Abdominal Organ Quantification: the FLARE22 Challenge
2309.03906 (2023-09)
A-Eval: A Benchmark for Cross-Dataset Evaluation of Abdominal Multi-Organ Segmentation
and 1 more not named here
compute_surface_distances 3 other papers
3 later
2308.05862 (2023-08)
Unleashing the Strengths of Unlabeled Data in Pan-cancer Abdominal Organ Quantification: the FLARE22 Challenge
2309.03906 (2023-09)
A-Eval: A Benchmark for Cross-Dataset Evaluation of Abdominal Multi-Organ Segmentation
2403.07332 (2024-03)
LKM-UNet: Large Kernel Vision Mamba UNet for Medical Image Segmentation

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

Purpose: Accurate segmentation of lung and infection in COVID-19 CT scans plays an important role in the quantitative management of patients. Most of the existing studies are based on large and private annotated datasets that are impractical to obtain from a single institution, especially when radiologists are busy fighting the coronavirus disease. Furthermore, it is hard to compare current COVID-19 CT segmentation methods as they are developed on different datasets, trained in different settings, and evaluated with different metrics. Methods: To promote the development of data-efficient deep learning methods, in this paper, we built three benchmarks for lung and infection segmentation based on 70 annotated COVID-19 cases, which contain current active research areas, e.g., few-shot learning, domain generalization, and knowledge transfer. For a fair comparison among different segmentation methods, we also provide standard training, validation and testing splits, evaluation metrics and, the corresponding code. Results: Based on the state-of-the-art network, we provide more than 40 pre-trained baseline models, which not only serve as out-of-the-box segmentation tools but also save computational time for researchers who are interested in COVID-19 lung and infection segmentation. We achieve average Dice Similarity Coefficient (DSC) scores of 97.3\%, 97.7\%, and 67.3\% and average Normalized Surface Dice (NSD) scores of 90.6\%, 91.4\%, and 70.0\% for left lung, right lung, and infection, respectively. Conclusions: To the best of our knowledge, this work presents the first data-efficient learning benchmark for medical image segmentation and the largest number of pre-trained models up to now. All these resources are publicly available, and our work lays the foundation for promoting the development of deep learning methods for efficient COVID-19 CT segmentation with limited data.

For agents

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

get_harvested_code_for_paper("2004.12537")
get_code_for_paper("2004.12537")
have("2004.12537")

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

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

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

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

Connect an agent — have() is free.