FA-6091 / Linear algebra / Open access
Two dimensional affine transform · case 01
The homogeneous translation column is omitted.
ROOT CAUSE
The homogeneous translation column is omitted.
THE FAILURE
The homogeneous translation column is omitted.
Unsuccessful approach: Translation is applied before scaling instead of after the linear map.
Case contract
Integer matrix/vector entries, rectangular rows, compatible multiplication dimensions, and square matrices for determinant, trace, inverse, symmetry and characteristic-polynomial operations. Rational matrix outputs are reduced Fraction strings. m is a 2 by 3 affine matrix and p has length two; implicit homogeneous coordinate is one. Exact operational definition: [m[i][0]*p[0]+m[i][1]*p[1]+m[i][2] for i in range(2)]
Why this case matters
Small exact fixtures expose this error without platform timing, external services, or probabilistic observations. Linear algebra results depend on the stated convention.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
import calendar
import statistics
import itertools
from fractions import Fraction
from datetime import date, datetime, timedelta, timezone
from decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR
N = 1
observations = []
def solve(m, p):
return [m[i][0]*p[0]+m[i][1]*p[1] for i in range(2)]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1: ([[2, 0, 3], [0, 2, 4]], [1, 1])', solve(*([[2, 0, 3], [0, 2, 4]], [1, 1])), [5, 6])
check('fixture 2: ([[1, 0, 2], [0, 1, 3]], [0, 0])', solve(*([[1, 0, 2], [0, 1, 3]], [0, 0])), [2, 3])
check('fixture 3: ([[0, -1, 0], [1, 0, 0]], [2, 3])', solve(*([[0, -1, 0], [1, 0, 0]], [2, 3])), [-3, 2])
check('fixture 4: ([[1, 0, 0], [0, 1, 0]], [4, 5])', solve(*([[1, 0, 0], [0, 1, 0]], [4, 5])), [4, 5])
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1: ([[2, 0, 3], [0, 2, 4]], [1, 1]) | [2, 2] | [5, 6] | Failed |
| fixture 2: ([[1, 0, 2], [0, 1, 3]], [0, 0]) | [0, 0] | [2, 3] | Failed |
| fixture 3: ([[0, -1, 0], [1, 0, 0]], [2, 3]) | [-3, 2] | [-3, 2] | Passed |
| fixture 4: ([[1, 0, 0], [0, 1, 0]], [4, 5]) | [4, 5] | [4, 5] | Passed |
SHA-256 / ac4c78576d6e2a926db8f0f7feae164aa77632914bea8380be1fefbaa75c9bc1
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
import calendar
import statistics
import itertools
from fractions import Fraction
from datetime import date, datetime, timedelta, timezone
from decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR
N = 1
observations = []
def solve(m, p):
return [m[i][0]*(p[0]+m[i][2])+m[i][1]*p[1] for i in range(2)]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1: ([[2, 0, 3], [0, 2, 4]], [1, 1])', solve(*([[2, 0, 3], [0, 2, 4]], [1, 1])), [5, 6])
check('fixture 2: ([[1, 0, 2], [0, 1, 3]], [0, 0])', solve(*([[1, 0, 2], [0, 1, 3]], [0, 0])), [2, 3])
check('fixture 3: ([[0, -1, 0], [1, 0, 0]], [2, 3])', solve(*([[0, -1, 0], [1, 0, 0]], [2, 3])), [-3, 2])
check('fixture 4: ([[1, 0, 0], [0, 1, 0]], [4, 5])', solve(*([[1, 0, 0], [0, 1, 0]], [4, 5])), [4, 5])
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1: ([[2, 0, 3], [0, 2, 4]], [1, 1]) | [8, 2] | [5, 6] | Failed |
| fixture 2: ([[1, 0, 2], [0, 1, 3]], [0, 0]) | [2, 0] | [2, 3] | Failed |
| fixture 3: ([[0, -1, 0], [1, 0, 0]], [2, 3]) | [-3, 2] | [-3, 2] | Passed |
| fixture 4: ([[1, 0, 0], [0, 1, 0]], [4, 5]) | [4, 5] | [4, 5] | Passed |
SHA-256 / 6825188cdf5d60a9bcb042157f024a018d798841628fd9cbe52ff96898d73b2f
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 4 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
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-29T14:37:57.366641+00:00.
Case digest / d57a00c925ea88a7628baeafd6e6f27288dffc21c5702c25d9fdd89e6bacdc73