SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.26200 · 2026

Link recommendations: Their impact on network structure and minorities

Claudia Wagner, Antonio Ferrara, Lisette Espin-Noboa, Fariba Karimi

arXiv · PDF

Code that ran

9 of 11 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; 4 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2606.26200.json · badge: /api/ran/2606.26200.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
wanLo/fairpair canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
alanturin-g/SAFT canonical (classifier label)
classifier basis: census
3 ran · 0 no recorded run
Ambress92/MaxMinFairForwardPaths canonical (classifier label)
classifier basis: census
2 ran · 0 no recorded run
FunctionStatusWhere it lives
compute_statistical_parity_confidence_interval Ran
ran; our contract draft was wrong, not the code
alanturin-g/SAFT/uncertainty.py
pointer only (licence: NONE) · get_code("42552e21a87ba135")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanturin-g/SAFT 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.

covariance_matrix Ran
ran, honoured the contract we drafted
alanturin-g/SAFT/uncertainty.py
pointer only (licence: NONE) · get_code("5426158342d421fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanturin-g/SAFT 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.

fairPageRank Ran
ran; our contract draft was wrong, not the code
wanLo/fairpair/fairpair/rank_recovery.py
code served (permissive licence) · get_code("47c5e70e25f1ad20")
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 os
import tempfile
from pathlib import Path
import networkx as nx

# Create a temporary directory for the test
tmpdir = tempfile.mkdtemp()

# Construct a small MultiDiGraph with node attributes
G = nx.MultiDiGraph()
G.add_node(0, unpriv=True)
G.add_node(1, unpriv=False)
G.add_node(2, unpriv=True)
G.add_edge(0, 1)
G.add_edge(1, 2)
G.add_edge(2, 0)

# Create the required output files that the function expects to read
# The function will try to execute './pagerank.out' which we need to mock
sizes_path = Path(tmpdir, 'sizes.txt')
community_path = Path(tmpdir, 'out_community.txt')
graph_path = Path(tmpdir, 'out_graph.txt')
result_path = Path(tmpdir, 'out_lfpr_p_pagerank.txt')

# Pre-create the result file with dummy ranking values
with open(result_path, 'w') as f:
    f.write('0.3\n0.4\n0.3\n')

# Create a dummy pagerank.out script that does nothing (since we pre-create results)
pagerank_script = Path(tmpdir, 'pagerank.out')
with open(pagerank_script, 'w') as f:
    f.write('#!/bin/bash\n# dummy pagerank script\n')
os.chmod(pagerank_script, 0o755)

ARGS = {
    'G': G,
    'phi': 0.5,
    'path': tmpdir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — 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
remove_edges_based_on_scores Ran
ran; our contract draft was wrong, not the code
Ambress92/MaxMinFairForwardPaths/src/utils.py
code served (permissive licence) · get_code("e164f9406dc4b941")
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 DiGraph. 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 networkx as nx
import numpy as np
import copy

# Create a simple directed graph
graph_orig = nx.DiGraph()

# Add nodes
graph_orig.add_nodes_from([0, 1, 2, 3])

# Add edges
graph_orig.add_edges_from([(0, 1), (0, 2), (1, 2), (1, 3), (2, 3)])

# Create a distance dictionary with scores for each node
dist_dict = {
    0: 10.0,
    1: 5.0,
    2: 3.0,
    3: 1.0
}

ARGS = {
    "graph_orig": graph_orig,
    "dist_dict": dist_dict
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiGraph — a DiGraph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DiGraph output the recorded ndim 1 and dtype family int 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
sample_st Ran
ran; our contract draft was wrong, not the code
Ambress92/MaxMinFairForwardPaths/src/utils.py
code served (permissive licence) · get_code("fb94c9cbd2fb2eb1")
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 2, dtype family int; 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 random
import networkx as nx

# Create a simple graph with nodes
g = nx.Graph()
g.add_nodes_from([0, 1, 2, 3, 4, 5])
g.add_edges_from([(0, 1), (1, 2), (2, 3)])

ARGS = {
    'g': g,
    'k': 100,
    'seed': 42
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family int — 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
scores_to_rank Ran
ran; our contract draft was wrong, not the code
wanLo/fairpair/fairpair/metrics.py
code served (permissive licence) · get_code("44aed6dfba67fb92")
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.

from scipy import stats

# Construct valid arguments for scores_to_rank
ranking = {
    'node_a': 10.5,
    'node_b': 23.7,
    'node_c': 5.2,
    'node_d': 15.1
}

invert = True

ARGS = {
    'ranking': ranking,
    'invert': invert
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
statistical_parity Ran
ran, honoured the contract we drafted
alanturin-g/SAFT/uncertainty.py
pointer only (licence: NONE) · get_code("8bb474af7841d24b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanturin-g/SAFT 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.

syncRank Ran
ran, honoured the contract we drafted
wanLo/fairpair/fairpair/recovery_baselines.py
code served (permissive licence) · get_code("cab3aae5c332f49d")
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 1, dtype family float, shape (5,) 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
import scipy.sparse as sp

# Create a small test sparse matrix
# The function expects a sparse matrix A that will be transposed and used
# for rank synchronization analysis
N = 5
# Create a sparse matrix with some structure
row = np.array([0, 1, 2, 3, 4, 0, 1, 2])
col = np.array([1, 2, 3, 4, 0, 2, 3, 4])
data = np.array([1.0, 1.0, 1.0, 1.0, 1.0, -1.0, -1.0, -1.0])
A = sp.csr_matrix((data, (row, col)), shape=(N, N), dtype=float)

ARGS = {
    "A": A
}
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 ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) 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
syncRank_angle Ran
ran, honoured the contract we drafted
wanLo/fairpair/fairpair/recovery_baselines.py
code served (permissive licence) · get_code("3f669f8c4f8f576c")
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 1, dtype family float, shape (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
import scipy.sparse as sp

# Create a small sparse matrix for testing
# The function expects A to be a sparse matrix with shape (N, N)
# It uses: A.shape[1], A.transpose(), A[...] indexing, .sum()
N = 4
# Create a simple sparse matrix (4x4)
# Use a dense array first, then convert to sparse
dense_A = np.array([
    [0, 1, 2, 3],
    [-1, 0, 1, 2],
    [-2, -1, 0, 1],
    [-3, -2, -1, 0]
], dtype=float)

A = sp.csr_matrix(dense_A)

ARGS = {
    "A": A
}
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 ndarray, ndim 1, dtype family float, shape (4,) — shape (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
matrix_rankCentrality Not yet run
unverified (harvested, no recorded run)
wanLo/fairpair/fairpair/recovery_baselines.py
code served (permissive licence) · get_code("2e90db2e78a830cd")
How it ran

no invocation recorded.

randomRankRecovery Not yet run
unverified (harvested, no recorded run)
wanLo/fairpair/fairpair/rank_recovery.py
code served (permissive licence) · get_code("cb687c63fab860b9")
How it ran

no invocation recorded.

Also present in other papers' code

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

Modern machine learning systems have outgrown their origins as isolated predictive constructs, evolving into complex socio-technical architectures that actively mediate human opportunity. As algorithms increasingly determine access to economic and social opportunities, it has become widely recognized that these systems are deeply embedded with the structural inequalities and prejudices of their environments. The field of algorithmic fairness emerged in response to the growing recognition that models optimized for predictive accuracy can systematically disadvantage marginalized groups. Early mitigation strategies, however, rested on fragile simplifications that limited their effectiveness in complex sociotechnical environments. This thesis identifies and addresses two fundamental limitations of contemporary fairness paradigms: the reliance on deterministic point estimates for auditing and the treatment of individuals as isolated entities devoid of structural context. Furthermore, I extend my deepest gratitude to Prof. Claudia Wagner for her mentoring and support during the first years of my doctorate, and to Prof. Francesco Bonchi for his guidance and inspiration during the final years of my journey. I also want to thank all my colleagues and friends from TU Graz, GESIS, NoBias, and CENTAI, for their wonderful friendship and intellectual stimulation. A special thank you to my girlfriend, Veronica, for her endless patience while I wrote this thesis and for surviving stressful deadlines together, even a NeurIPS rebuttal during our vacation in the Maldives! Grazie mille amorino. Finally, my deepest thanks go to my family, for their unconditional support, for believing in me, and for always giving me the freedom to follow the path I chose. v * Equal contribution.

For agents

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

get_harvested_code_for_paper("2606.26200")
get_code_for_paper("2606.26200")
have("2606.26200")

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

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

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

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

Connect an agent — have() is free.