FAILURE MAP
← Case archive

FA-100121 / Preference pair construction / Open access

Preference pairs: disagreeing annotations are collapsed to a winner · case 01

disagreeing annotations are collapsed to a winner.

Verified by executionVariant 1 · 6 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

The constructor trusts the first vote and ignores contradictory annotations that follow.

THE FAILURE

The constructor trusts the first vote and ignores contradictory annotations that follow.

Unsuccessful approach: Using a floor-half agreement threshold still accepts a two-vote split as decisive.

Case contract

Rows are [chosen,rejected] votes for one pair. Return that orientation only if every vote agrees; empty or conflicting votes return None.

Why this case matters

A small deterministic preference-data transform makes pair semantics inspectable without a training framework.

1 / The failure

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(votes):
    return votes[0] if votes else None
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
a='a'+str(N); b='b'+str(N)
check('unanimous',solve([[a,b],[a,b],[a,b]]),[a,b])
check('split vote',solve([[a,b],[b,a]]),None)
check('minority reversal',solve([[a,b],[a,b],[b,a]]),None)
check('empty',solve([]),None)
check('single vote',solve([[a,b]]),[a,b])
check('reverse unanimous',solve([[b,a],[b,a]]),[b,a])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
unanimous['a1', 'b1']['a1', 'b1']Passed
split vote['a1', 'b1']NoneFailed
minority reversal['a1', 'b1']NoneFailed
emptyNoneNonePassed
single vote['a1', 'b1']['a1', 'b1']Passed
reverse unanimous['b1', 'a1']['b1', 'a1']Passed

SHA-256 / 25118df9b5e3a1f87d87c0419b950044d3082b71359db98c2344fd6e3bd3da46

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(votes):
    return votes[0] if votes and votes.count(votes[0])>=len(votes)//2 else None
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
a='a'+str(N); b='b'+str(N)
check('unanimous',solve([[a,b],[a,b],[a,b]]),[a,b])
check('split vote',solve([[a,b],[b,a]]),None)
check('minority reversal',solve([[a,b],[a,b],[b,a]]),None)
check('empty',solve([]),None)
check('single vote',solve([[a,b]]),[a,b])
check('reverse unanimous',solve([[b,a],[b,a]]),[b,a])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
unanimous['a1', 'b1']['a1', 'b1']Passed
split vote['a1', 'b1']NoneFailed
minority reversal['a1', 'b1']NoneFailed
emptyNoneNonePassed
single vote['a1', 'b1']['a1', 'b1']Passed
reverse unanimous['b1', 'a1']['b1', 'a1']Passed

SHA-256 / d44f4943f4fa4fda6bf61801185834b278c27c8336da3cdf966b95de95e673a6

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 6 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.

Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.

Member access is invitation-based. Sign in with your invited account to inspect the repair.

Sign in to the archive ↗

Verification & scope

These are explicit toy record contracts; they do not claim compatibility with a trainer or improved model behavior. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.

Observations recorded using Python 3.12.14 at 2026-09-30T16:48:32.170436+00:00.

Case digest / 0157a8238ada2c0b4880972f5fa1919ad19cdc14b5de6fd77ecec9792a139b62