SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.01013 · 2026

Feature-Weighted Maximum Representative Subsampling

Stefan Kramer, Tony Hauptmann

arXiv · PDF · Open in the Atlas

Code that ran

9 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2603.01013.json · badge: /api/ran/2603.01013.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
kramerlab/FeatureWeightDebiasing canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_confidence_interval Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kramerlab/FeatureWeightDebiasing/src/experiments/statistical_analysis_mrs.py
pointer only (licence: GPL-3.0) · get_code("408b2b5758373543")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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.

compute_relative_bias Ran
ran, honoured the contract we drafted
kramerlab/FeatureWeightDebiasing/src/utils/metrics.py
pointer only (licence: GPL-3.0) · get_code("6eb89e4fb0a3be38")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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.

compute_weighted_means Ran
ran, honoured the contract we drafted
kramerlab/FeatureWeightDebiasing/src/utils/metrics.py
pointer only (licence: GPL-3.0) · get_code("afde51a3e866cc5a")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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.

less_outlier_sampling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kramerlab/FeatureWeightDebiasing/src/utils/sampling.py
pointer only (licence: GPL-3.0) · get_code("38e2548e513a2ab6")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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_saved_results Ran
ran; our contract draft was wrong, not the code
kramerlab/FeatureWeightDebiasing/src/utils/data_loader.py
pointer only (licence: GPL-3.0) · get_code("da2e6b68d39d1ef3")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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.

none_or_float Ran
ran, honoured the contract we drafted
kramerlab/FeatureWeightDebiasing/src/utils/command_line_arguments.py
pointer only (licence: GPL-3.0) · get_code("f86116bcf01001fe")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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.

sample_N Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kramerlab/FeatureWeightDebiasing/src/utils/sampling.py
pointer only (licence: GPL-3.0) · get_code("3d32dfba2739d59c")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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.

sample_with_test_set Ran
ran; our contract draft was wrong, not the code
kramerlab/FeatureWeightDebiasing/src/utils/sampling.py
pointer only (licence: GPL-3.0) · get_code("6c5cdfefd6b02b33")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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_parameter Ran
ran; our contract draft was wrong, not the code
kramerlab/FeatureWeightDebiasing/src/utils/parameter.py
pointer only (licence: GPL-3.0) · get_code("7ba05eb363bd8b29")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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.

calculate_rbf_gamma Not yet run
unverified (harvested, no recorded run)
kramerlab/FeatureWeightDebiasing/src/utils/metrics.py
pointer only (licence: GPL-3.0) · get_code("f77bb0efde5b6a1c")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kramerlab/FeatureWeightDebiasing, is not in the permissive set Syntology serves inline. 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.

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, 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 10 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

In the social sciences, it is often necessary to debias studies and surveys before valid conclusions can be drawn. Debiasing algorithms enable the computational removal of bias using sample weights. However, an issue arises when only a subset of features is highly biased, while the rest is already representative. Algorithms need to strongly alter the sample distribution to manage a few highly biased features, which can in turn introduce bias into already representative variables. To address this issue, we developed a method that uses feature weights to minimize the impact of highly biased features on the computation of sample weights. Our algorithm is based on Maximum Representative Subsampling (MRS), which debiases datasets by aligning a nonrepresentative sample with a representative one through iterative removal of elements to create a representative subsample. The new algorithm, named feature-weighted MRS (FW-MRS), decreases the emphasis on highly biased features, allowing it to retain more instances for downstream tasks. The feature weights are derived from the feature importance of a domain classifier trained to differentiate between the representative and non-representative datasets. We validated FW-MRS using eight tabular datasets, each of which we artificially biased. Biased features can be important for downstream tasks, and focusing less on them could lead to a decline in generalization. For this reason, we assessed the generalization performance of FW-MRS on downstream tasks and found no statistically significant differences. Additionally, FW-MRS was applied to a real-world dataset from the social sciences. The source code is available at https://github.com/kramerlab/FeatureWeightDebiasing.

For agents

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

get_harvested_code_for_paper("2603.01013")
get_code_for_paper("2603.01013")
have("2603.01013")

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

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

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

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

Connect an agent — have() is free.