SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2108.05521 · 2021

Measurement Integrity in Peer Prediction: A Peer Assessment Case Study

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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 7 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2108.05521.json · badge: /api/ran/2108.05521.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
burrelln/Measurement-Integrity-and-Peer-Assessment canonical (classifier label)
classifier basis: census
7 ran · 0 no recorded run
FunctionStatusWhere it lives
assign_graders Ran
ran on a synthesized input
burrelln/Measurement-Integrity-and-Peer-Assessment/model_code/grading.py
code served (permissive licence) · get_code("7d1909ce02ff87f4")
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.

class Student:
    def __init__(self, student_id):
        self.id = student_id

class Submission:
    def __init__(self, student_id, assignment_number):
        self.student_id = student_id
        self.assignment_number = assignment_number

student_list = [Student(0), Student(1), Student(2), Student(3)]
submission_list = [Submission(0, 1), Submission(1, 1), Submission(2, 1), Submission(3, 1)]
num_graders = 2

ARGS = {
    "student_list": student_list,
    "submission_list": submission_list,
    "num_graders": num_graders,
}
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 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
assign_graders_dmi_clusters Ran
ran on a synthesized input
burrelln/Measurement-Integrity-and-Peer-Assessment/model_code/grading_dmi.py
code served (permissive licence) · get_code("f6db8a0c9b2df40d")
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.

# Define Student and Submission classes
class Student:
    def __init__(self, student_id):
        self.student_id = student_id
    
    def __repr__(self):
        return f"Student({self.student_id})"


class Submission:
    def __init__(self, submission_id, student_id):
        self.submission_id = submission_id
        self.student_id = student_id
    
    def __repr__(self):
        return f"Submission({self.submission_id})"


# Create student list
student_list = [
    Student(0),
    Student(1),
    Student(2),
    Student(3),
    Student(4),
    Student(5),
]

# Create submission list
submission_list = [
    Submission(0, 0),
    Submission(1, 1),
    Submission(2, 2),
    Submission(3, 3),
    Submission(4, 4),
    Submission(5, 5),
]

# Set cluster size
cluster_size = 2

# Construct ARGS
ARGS = {
    "student_list": student_list,
    "submission_list": submission_list,
    "cluster_size": cluster_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
aucs_mse Ran
ran on a synthesized input
burrelln/Measurement-Integrity-and-Peer-Assessment/model_code/evaluation.py
code served (permissive licence) · get_code("42530c6f944a9ea7")
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.

class Student:
    def __init__(self, payment, mse):
        self.payment = payment
        self.mse = mse

student1 = Student(payment=100.5, mse=0.25)
student2 = Student(payment=150.3, mse=0.35)
student3 = Student(payment=120.8, mse=0.30)
student4 = Student(payment=180.2, mse=0.40)
student5 = Student(payment=90.1, mse=0.20)
student6 = Student(payment=200.0, mse=0.45)
student7 = Student(payment=110.5, mse=0.28)
student8 = Student(payment=130.7, mse=0.32)

student_list = [student1, student2, student3, student4, student5, student6, student7, student8]

ARGS = {
    "student_list": student_list,
    "include_q": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, 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
get_grading_dict Ran
ran on a synthesized input
burrelln/Measurement-Integrity-and-Peer-Assessment/model_code/grading.py
code served (permissive licence) · get_code("c6ee91443da08370")
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.

# Define Student and Submission classes
class Student:
    def __init__(self, name):
        self.name = name
    
    def __hash__(self):
        return hash(self.name)
    
    def __eq__(self, other):
        return isinstance(other, Student) and self.name == other.name
    
    def __repr__(self):
        return f"Student({self.name})"


class Submission:
    def __init__(self, submission_id):
        self.submission_id = submission_id
    
    def __hash__(self):
        return hash(self.submission_id)
    
    def __eq__(self, other):
        return isinstance(other, Submission) and self.submission_id == other.submission_id
    
    def __repr__(self):
        return f"Submission({self.submission_id})"


# Create Student and Submission instances
student_a = Student("Alice")
student_b = Student("Bob")
student_c = Student("Charlie")

submission_1 = Submission("sub_1")
submission_2 = Submission("sub_2")
submission_3 = Submission("sub_3")

# Create grader_dict: maps Submission objects to lists of Student graders
grader_dict = {
    submission_1: [student_a, student_b],
    submission_2: [student_b, student_c],
    submission_3: [student_a, student_c]
}

ARGS = {
    "grader_dict": grader_dict
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
pts_mechanism Ran
ran on a synthesized input
burrelln/Measurement-Integrity-and-Peer-Assessment/model_code/mechanisms/peer_truth_serum.py
code served (permissive licence) · get_code("7300d38f768b29f9")
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 int, 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
from itertools import combinations

class Student:
    def __init__(self, student_id):
        self.student_id = student_id
        self.grades = {}
        self.payment = 0.0

class Submission:
    def __init__(self, assignment_number, student_id):
        self.assignment_number = assignment_number
        self.student_id = student_id

# Create student graders
grader_1 = Student("grader_1")
grader_2 = Student("grader_2")
grader_3 = Student("grader_3")

# Set up grades dictionary for each grader
# grades[assignment_number][task_id] = report_value
assignment_num = 0
task_id = 0

grader_1.grades[assignment_num] = {task_id: 2}
grader_2.grades[assignment_num] = {task_id: 2}
grader_3.grades[assignment_num] = {task_id: 1}

# Create submission
submission = Submission(assignment_number=assignment_num, student_id=task_id)

# Create grader_dict mapping submission to list of graders
grader_dict = {
    submission: [grader_1, grader_2, grader_3]
}

# Create initial histogram (report values range from 0 to 3, so 4 possible values)
H_init = [5, 3, 2, 0]

ARGS = {
    "grader_dict": grader_dict,
    "H_init": H_init
}
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 ndarray, ndim 1, dtype family int, 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
roc_auc Ran
ran on a synthesized input
burrelln/Measurement-Integrity-and-Peer-Assessment/model_code/evaluation.py
code served (permissive licence) · get_code("5d37e0c8c4083c02")
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.

class Student:
    def __init__(self, student_type, payment):
        self.type = student_type
        self.payment = payment

student_list = [
    Student('active', 0.8),
    Student('passive', 0.3),
    Student('active', 0.9),
    Student('passive', 0.2),
]

ARGS = {
    'student_list': student_list
}
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 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
roc_auc_strategic Ran
ran on a synthesized input
burrelln/Measurement-Integrity-and-Peer-Assessment/model_code/evaluation.py
code served (permissive licence) · get_code("42cafbeec2348b4a")
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.

class StrategicStudent:
    def __init__(self, strategy, payment):
        self.strategy = strategy
        self.payment = payment

student_list = [
    StrategicStudent(strategy='TRUTH', payment=0.85),
    StrategicStudent(strategy='NOISE', payment=0.45),
    StrategicStudent(strategy='TRUTH', payment=0.92),
    StrategicStudent(strategy='FIX-BIAS', payment=0.30),
    StrategicStudent(strategy='MERGE', payment=0.55),
    StrategicStudent(strategy='PRIOR', payment=0.40),
    StrategicStudent(strategy='ALL10', payment=0.65),
    StrategicStudent(strategy='HEDGE', payment=0.50),
]

ARGS = {
    'student_list': student_list
}
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 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

Also present in other papers' code

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

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

We propose measurement integrity, a property related to ex post reward fairness, as a novel desideratum for peer prediction mechanisms in many natural applications. Like robustness against strategic reporting, the property that has been the primary focus of the peer prediction literature, measurement integrity is an important consideration for understanding the practical performance of peer prediction mechanisms. We perform computational experiments, both with an agent-based model and with real data, to empirically evaluate peer prediction mechanisms according to both of these important properties. Our evaluations simulate the application of peer prediction mechanisms to peer assessment -- a setting in which ex post fairness concerns are particularly salient. We find that peer prediction mechanisms, as proposed in the literature, largely fail to demonstrate significant measurement integrity in our experiments. We also find that theoretical properties concerning robustness against strategic reporting are somewhat noisy predictors of empirical performance. Further, there is an apparent trade-off between our two dimensions of analysis. The best-performing mechanisms in terms of measurement integrity are highly susceptible to strategic reporting. Ultimately, however, we show that supplementing mechanisms with realistic parametric statistical models can, in some cases, improve performance along both dimensions of our analysis and result in mechanisms that strike the best balance between them.

For agents

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

get_harvested_code_for_paper("2108.05521")
get_code_for_paper("2108.05521")
have("2108.05521")

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

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

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

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

Connect an agent — have() is free.