SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1806.02711 · 2018

POTs: Protective Optimization Technologies

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 4 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/1806.02711.json · badge: /api/ran/1806.02711.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
spring-epfl/pots canonical (classifier label)
classifier basis: census
6 ran · 4 no recorded run
FunctionStatusWhere it lives
dot Ran
ran on a synthesized input
spring-epfl/pots/src/traffic_planner.py
code served (permissive licence) · get_code("cc79a25fe78db22e")
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 Tensor, ndim 0, dtype family float, 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
import numpy as np

torch.manual_seed(0)

# The function dot(x, y) performs a dot product by:
# 1. Multiplying x[0] * y[0]
# 2. Iterating through zip(x, y) and accumulating a * b
# So x and y need to be indexable and iterable sequences of numeric values

# Create two simple lists of numbers
x = [torch.tensor(1.0), torch.tensor(2.0), torch.tensor(3.0)]
y = [torch.tensor(4.0), torch.tensor(5.0), torch.tensor(6.0)]

ARGS = {
    "x": x,
    "y": y
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, 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
fast_hash Ran
ran on a synthesized input
spring-epfl/pots/src/hash.py
code served (permissive licence) · get_code("435805f423d85761")
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 xxhash
import numpy as np

# The function expects 'obj' which should be bytes-like for xxhash.update()
# Looking at the function body, it calls _hash_state.update(obj)
# xxhash.update() expects bytes or bytearray

# Create a simple numpy array and convert to bytes
obj = np.array([1, 2, 3, 4, 5], dtype=np.int32).tobytes()

ARGS = {
    "obj": obj
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, xxhash — 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_speed_delta Ran
ran on a synthesized input
spring-epfl/pots/src/traffic_planner.py
code served (permissive licence) · get_code("2b8a1f7ce8a7cead")
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 float, ndim 0, dtype family float, 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
import numpy as np

class EdgeData:
    """Stand-in class for edge_data with required attributes."""
    def __init__(self, speed_lim, length):
        self.speed_lim = speed_lim
        self.length = length

# Create edge_data with sample values
edge_data = EdgeData(
    speed_lim=60.0,  # speed limit in some unit (e.g., km/h)
    length=100.0     # length in some unit (e.g., km)
)

# target_time_delta: the desired change in travel time
target_time_delta = 5.0

ARGS = {
    "edge_data": edge_data,
    "target_time_delta": target_time_delta
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, 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_time_delta Ran
ran on a synthesized input
spring-epfl/pots/src/traffic_planner.py
code served (permissive licence) · get_code("e3313e8c8c1ea3ed")
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 float, ndim 0, dtype family float, 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
import numpy as np

class EdgeData:
    def __init__(self, speed_lim, length):
        self.speed_lim = speed_lim
        self.length = length

torch.manual_seed(0)

edge_data = EdgeData(speed_lim=45, length=1000)

ARGS = {
    "edge_data": edge_data,
    "target_speed_lim": 15
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, 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
to_numpy_data Ran
ran on a synthesized input
spring-epfl/pots/src/credit_utils.py
code served (permissive licence) · get_code("3720f86f5c68eb14")
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 Datasets. 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 attr
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split

SEED = 1

@attr.s
class Datasets:
    X = attr.ib()
    y = attr.ib()
    X_train = attr.ib()
    y_train = attr.ib()
    X_test = attr.ib()
    y_test = attr.ib()
    train_ind = attr.ib()
    test_ind = attr.ib()

def to_numpy_data(df_X, df_y, seed=SEED):
    """Convert dataframes to numpy."""
    X = df_X.values.astype('int8')
    y = df_y.values.astype('int8')
    print('Shape of X: {}. Shape of y: {}.'.format(X.shape, y.shape))
    train_ind, test_ind = train_test_split(np.arange(len(X)), test_size=0.2, random_state=seed)
    return Datasets(X=X, y=y, X_train=X[train_ind], y_train=y[train_ind], X_test=X[test_ind], y_test=y[test_ind], train_ind=train_ind, test_ind=test_ind)

# Create small dataframes with distinct shapes
df_X = pd.DataFrame(np.random.randint(0, 10, size=(10, 4)))
df_y = pd.DataFrame(np.random.randint(0, 2, size=(10, 1)))

ARGS = {
    'df_X': df_X,
    'df_y': df_y,
    'seed': SEED
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
attr, numpy, pandas, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Datasets — a Datasets output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Datasets 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
train_model Ran
ran on a synthesized input
spring-epfl/pots/src/credit_utils.py
code served (permissive licence) · get_code("bdab70950ace48ad")
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
from sklearn.linear_model import LogisticRegression

np.random.seed(0)

# Generate small synthetic data
n_samples_train = 10
n_samples_test = 5
n_features = 4

X_train = np.random.randn(n_samples_train, n_features).astype(np.float32)
y_train = np.random.randint(0, 2, n_samples_train)

X_test = np.random.randn(n_samples_test, n_features).astype(np.float32)
y_test = np.random.randint(0, 2, n_samples_test)

ARGS = {
    'X_train': X_train,
    'y_train': y_train,
    'X_test': X_test,
    'y_test': y_test,
    'verbose': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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
influence_func Not yet run
unverified (harvested, no recorded run)
spring-epfl/pots/src/influence.py
code served (permissive licence) · get_code("5244c6ec734c3f5a")
How it ran

no invocation recorded.

load_dataframes Not yet run
unverified (harvested, no recorded run)
spring-epfl/pots/src/credit_utils.py
code served (permissive licence) · get_code("e95a58ffed33fbcd")
How it ran

no invocation recorded.

lr_grad Not yet run
unverified (harvested, no recorded run)
spring-epfl/pots/src/influence.py
code served (permissive licence) · get_code("500a0a31b7b7bac6")
How it ran

no invocation recorded.

lr_hessian Not yet run
unverified (harvested, no recorded run)
spring-epfl/pots/src/influence.py
code served (permissive licence) · get_code("247c306579b69cef")
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, 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

Algorithmic fairness aims to address the economic, moral, social, and political impact that digital systems have on populations through solutions that can be applied by service providers. Fairness frameworks do so, in part, by mapping these problems to a narrow definition and assuming the service providers can be trusted to deploy countermeasures. Not surprisingly, these decisions limit fairness frameworks' ability to capture a variety of harms caused by systems. We characterize fairness limitations using concepts from requirements engineering and from social sciences. We show that the focus on algorithms' inputs and outputs misses harms that arise from systems interacting with the world; that the focus on bias and discrimination omits broader harms on populations and their environments; and that relying on service providers excludes scenarios where they are not cooperative or intentionally adversarial. We propose Protective Optimization Technologies (POTs). POTs provide means for affected parties to address the negative impacts of systems in the environment, expanding avenues for political contestation. POTs intervene from outside the system, do not require service providers to cooperate, and can serve to correct, shift, or expose harms that systems impose on populations and their environments. We illustrate the potential and limitations of POTs in two case studies: countering road congestion caused by traffic-beating applications, and recalibrating credit scoring for loan applicants.

For agents

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

get_harvested_code_for_paper("1806.02711")
get_code_for_paper("1806.02711")
have("1806.02711")

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

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

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

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

Connect an agent — have() is free.