SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.13733 · 2024

You can't handle the (dirty) truth: Data-centric insights improve pseudo-labeling

arXiv · PDF · Open in the Atlas

Code that ran

5 of 10 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 5 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/2406.13733.json · badge: /api/ran/2406.13733.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
seedatnabeel/dips canonical (classifier label)
classifier basis: census
5 ran · 5 no recorded run
FunctionStatusWhere it lives
get_groups Ran
ran; our contract draft was wrong, not the code
seedatnabeel/dips/src/dips_selector.py
code served (permissive licence) · get_code("254a0e35017d123a")
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. 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

# Create sample data for the function
np.random.seed(0)

# confidence: array of confidence scores between 0 and 1
confidence = np.array([0.1, 0.2, 0.5, 0.8, 0.9, 0.95])

# aleatoric_uncertainty: array of uncertainty values
aleatoric_uncertainty = np.array([0.05, 0.15, 0.3, 0.1, 0.08, 0.02])

# dips_xthresh: threshold for aleatoric uncertainty
dips_xthresh = 0.2

# dips_ythresh: threshold for confidence (controls both low and high thresholds)
dips_ythresh = 0.25

ARGS = {
    "confidence": confidence,
    "aleatoric_uncertainty": aleatoric_uncertainty,
    "dips_xthresh": dips_xthresh,
    "dips_ythresh": dips_ythresh,
}
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 tuple — a tuple output has no array shape of its own; none is 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_mean_vector Ran
ran; our contract draft was wrong, not the code
seedatnabeel/dips/src/fine_method.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Kthyeon/FINE_official, is pointer only (licence: NONE) · get_code("1c1cb9610be1000c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Kthyeon/FINE_official, and GitHub detected no licence in that repository 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.

get_singular_vector Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
seedatnabeel/dips/src/fine_method.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Kthyeon/FINE_official, is pointer only (licence: NONE) · get_code("7566d840c21db4dc")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Kthyeon/FINE_official, and GitHub detected no licence in that repository 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.

run_pseudo Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
seedatnabeel/dips/src/baseline_functions.py
code served (permissive licence) · get_code("f7dcdfcab129d700")
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 numpy as np

class MockPseudoLabeling:
    """Mock Pseudo_Labeling class that mimics the expected interface"""
    def __init__(self, x_unlabeled, x_test, y_test, num_iters=10, upper_threshold=0.9, verbose=False, nest=False, seed=42):
        self.x_unlabeled = x_unlabeled
        self.x_test = x_test
        self.y_test = y_test
        self.num_iters = num_iters
        self.upper_threshold = upper_threshold
        self.verbose = verbose
        self.nest = nest
        self.seed = seed
        self.x_lab = None
        self.test_acc = np.random.rand()  # Mock accuracy
        self._artifacts = None
    
    def fit(self, x_train, y_train, dips=False, dips_metric=None, dips_xthresh=None, dips_ythresh=None, method='dips', epochs=100):
        """Mock fit method"""
        self.x_train = x_train
        self.y_train = y_train
        self.test_acc = np.random.rand() * 0.5 + 0.5  # Random accuracy between 0.5 and 1.0
        self._artifacts = {
            'indices': np.arange(len(x_train)),
            'data': x_train,
            'models': [None]
        }
    
    def get_artifacts(self):
        """Mock get_artifacts method"""
        if self._artifacts is None:
            self._artifacts = {
                'indices': np.array([]),
                'data': np.array([]),
                'models': []
            }
        return self._artifacts['indices'], self._artifacts['data'], self._artifacts['models']

# Monkey-patch the Pseudo_Labeling class in the module namespace
import sys
current_module = sys.modules[__name__]
current_module.Pseudo_Labeling = MockPseudoLabeling

# Create small numpy arrays for training/testing
np.random.seed(42)
n_train = 8
n_test = 4
n_unlabeled = 6
n_features = 4

x_train = np.random.randn(n_train, n_features).astype(np.float32)
y_train = np.random.randint(0, 2, n_train).astype(np.int32)

x_test = np.random.randn(n_test, n_features).astype(np.float32)
y_test = np.random.randint(0, 2, n_test).astype(np.int32)

x_unlabeled = np.random.randn(n_unlabeled, n_features).astype(np.float32)

# easy_train is a boolean mask selecting subset of training data
easy_train = np.array([True, True, False, True, False, False, True, False])

ARGS = {
    'x_unlabeled': x_unlabeled,
    'x_test': x_test,
    'y_test': y_test,
    'x_train': x_train,
    'y_train': y_train,
    'numIters': 3,
    'upper_threshold': 0.85,
    'nest': False,
    'seed': 42,
    'easy_train': easy_train,
    'dips_metric': 'euclidean',
    'dips_xthresh': 0.5,
    'dips_ythresh': 0.5,
    'verbose': False,
    'method': 'dips',
    'epochs': 50
}
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 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
str2num Ran
ran, honoured the contract we drafted
seedatnabeel/dips/src/data_loader.py
code served (permissive licence) · get_code("4f1fd58396f68ca4")
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.

import torch

torch.manual_seed(0)

# The function str2num takes a string s and an encoder dict
# It looks up s as a key in the encoder dict and returns the value

# Create a simple encoder dict mapping strings to numbers
encoder = {
    "zero": 0,
    "one": 1,
    "two": 2,
    "three": 3,
}

s = "one"

ARGS = {
    "s": s,
    "encoder": encoder,
}
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 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
fit_mixture Not yet run
unverified (harvested, no recorded run)
seedatnabeel/dips/src/fine_method.py
code served (permissive licence) · get_code("a1e799b0fdc8de73")
How it ran

no invocation recorded.

load_adult_dataset Not yet run
unverified (harvested, no recorded run)
seedatnabeel/dips/src/data_loader.py
code served (permissive licence) · get_code("40608a564b7d0841")
How it ran

no invocation recorded.

load_seer_cutract_dataset Not yet run
unverified (harvested, no recorded run)
seedatnabeel/dips/src/data_loader.py
code served (permissive licence) · get_code("a53953cc4e54dc20")
How it ran

no invocation recorded.

run_FlexMatch Not yet run
unverified (harvested, no recorded run)
seedatnabeel/dips/src/baseline_functions.py
code served (permissive licence) · get_code("2e496432d9245d1c")
How it ran

no invocation recorded.

run_UPS Not yet run
unverified (harvested, no recorded run)
seedatnabeel/dips/src/baseline_functions.py
code served (permissive licence) · get_code("e4250879d24e838f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 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.

FunctionAlso present inEarliest-datedOthers named
str2num 2 other papers
2 dated earlier
2206.05880 (2022-06)
Confident Sinkhorn Allocation for Pseudo-Labeling
2312.12112 (2023-12)
Curated LLM: Synergy of LLMs and Data Curation for tabular augmentation in low-data regimes
get_mean_vector 1 other paper
1 dated earlier
2102.11628 (2021-02)
FINE Samples for Learning with Noisy Labels
get_singular_vector 1 other paper
1 dated earlier
2102.11628 (2021-02)
FINE Samples for Learning with Noisy Labels

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

Pseudo-labeling is a popular semi-supervised learning technique to leverage unlabeled data when labeled samples are scarce. The generation and selection of pseudo-labels heavily rely on labeled data. Existing approaches implicitly assume that the labeled data is gold standard and 'perfect'. However, this can be violated in reality with issues such as mislabeling or ambiguity. We address this overlooked aspect and show the importance of investigating labeled data quality to improve any pseudo-labeling method. Specifically, we introduce a novel data characterization and selection framework called DIPS to extend pseudo-labeling. We select useful labeled and pseudo-labeled samples via analysis of learning dynamics. We demonstrate the applicability and impact of DIPS for various pseudo-labeling methods across an extensive range of real-world tabular and image datasets. Additionally, DIPS improves data efficiency and reduces the performance distinctions between different pseudo-labelers. Overall, we highlight the significant benefits of a data-centric rethinking of pseudo-labeling in real-world settings.

For agents

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

get_harvested_code_for_paper("2406.13733")
get_code_for_paper("2406.13733")
have("2406.13733")

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

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

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

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

Connect an agent — have() is free.