FAILURE MAP
← Case archive

FA-55126 / Astronomical coordinate conventions / Open access

Interferometer baseline reversal: Cross-hand reversal handles only one feed ordering · case 01

The adapter reports an incorrect polarization while other fields remain valid.

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

ROOT CAUSE

Cross-hand reversal handles only one feed ordering. Faulty expression: d['pol']

THE FAILURE

Cross-hand reversal handles only one feed ordering. Faulty expression: d['pol']

Unsuccessful approach: A partial convention repair still uses 'YX' if d['pol']=='XY' else d['pol']

Case contract

A visibility row reversed from antenna a,b to b,a must negate its uvw vector, conjugate complex visibility, transpose cross-hand labels, negate geometric delay, and exchange antenna-based phases. The real-valued weight is attached to a sample, not to antenna order. Output fields are defined by: antennas = [d['b'],d['a']]; uvw = [-x for x in d['uvw']]; visibility = [d['re'],-d['im']]; polarization = d['pol'][::-1]; geometric_delay = -d['delay']; phase_difference = d['pa']-d['pb']

Why this case matters

Catalog, detector, sky-coordinate, and spectroscopy adapters must preserve the association between numeric coordinates and their declared reference conventions.

1 / The failure

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

N = 1
observations = []
def solve(d):
    return {'antennas': [d['b'],d['a']], 'uvw': [-x for x in d['uvw']], 'visibility': [d['re'],-d['im']], 'polarization': d['pol'], 'geometric_delay': -d['delay'], 'phase_difference': d['pa']-d['pb']}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = {1: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 7, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [7, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})], 2: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 8, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [8, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})], 3: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 9, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [9, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})], 4: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 10, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [10, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})], 5: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 11, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [11, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})]}
for i, (record, expected) in enumerate(fixtures[N]):
    check('astronomical fixture %s' % i, solve(record), expected)
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
astronomical fixture 0{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'XY', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Failed
astronomical fixture 1{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'XY', 'uvw': [0, 0, 0], 'visibility': [7, 0]}{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [0, 0, 0], 'visibility': [7, 0]}Failed
astronomical fixture 2{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'XY', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Failed
astronomical fixture 3{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -9, 'polarization': 'XX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -9, 'polarization': 'XX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Passed
astronomical fixture 4{'antennas': [5, 2], 'geometric_delay': 4, 'phase_difference': -7, 'polarization': 'YY', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [5, 2], 'geometric_delay': 4, 'phase_difference': -7, 'polarization': 'YY', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Passed
astronomical fixture 5{'antennas': [1, 8], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'XY', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [1, 8], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Failed

SHA-256 / 59d34af9b446e5c05b3631b15a7f729931d59abaf79de0b914cb562bfbe0eb92

2 / The unsuccessful fix

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

N = 1
observations = []
def solve(d):
    return {'antennas': [d['b'],d['a']], 'uvw': [-x for x in d['uvw']], 'visibility': [d['re'],-d['im']], 'polarization': 'YX' if d['pol']=='XY' else d['pol'], 'geometric_delay': -d['delay'], 'phase_difference': d['pa']-d['pb']}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = {1: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 7, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [7, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 7, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [7, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})], 2: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 8, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [8, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 8, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [8, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})], 3: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 9, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [9, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 9, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [9, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})], 4: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 10, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [10, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 10, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [10, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})], 5: [({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [0, 0, 0], 're': 11, 'im': 0, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [0, 0, 0], 'visibility': [11, 0], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'YX', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'XY', 'geometric_delay': -8, 'phase_difference': -7}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'XX', 'delay': 8, 'pa': 0, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'XX', 'geometric_delay': -8, 'phase_difference': -9}), ({'a': 2, 'b': 5, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'YY', 'delay': -4, 'pa': 2, 'pb': 9, 'weight': 4}, {'antennas': [5, 2], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'YY', 'geometric_delay': 4, 'phase_difference': -7}), ({'a': 8, 'b': 1, 'uvw': [2, -3, 4], 're': 11, 'im': 3, 'pol': 'XY', 'delay': 8, 'pa': 2, 'pb': 9, 'weight': 0}, {'antennas': [1, 8], 'uvw': [-2, 3, -4], 'visibility': [11, -3], 'polarization': 'YX', 'geometric_delay': -8, 'phase_difference': -7})]}
for i, (record, expected) in enumerate(fixtures[N]):
    check('astronomical fixture %s' % i, solve(record), expected)
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
astronomical fixture 0{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Passed
astronomical fixture 1{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [0, 0, 0], 'visibility': [7, 0]}{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [0, 0, 0], 'visibility': [7, 0]}Passed
astronomical fixture 2{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'XY', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Failed
astronomical fixture 3{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -9, 'polarization': 'XX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [5, 2], 'geometric_delay': -8, 'phase_difference': -9, 'polarization': 'XX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Passed
astronomical fixture 4{'antennas': [5, 2], 'geometric_delay': 4, 'phase_difference': -7, 'polarization': 'YY', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [5, 2], 'geometric_delay': 4, 'phase_difference': -7, 'polarization': 'YY', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Passed
astronomical fixture 5{'antennas': [1, 8], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}{'antennas': [1, 8], 'geometric_delay': -8, 'phase_difference': -7, 'polarization': 'YX', 'uvw': [-2, 3, -4], 'visibility': [7, -3]}Passed

SHA-256 / cb505392dfedc1ebfbce06064ac74028928abdbcdd496a1c891c03ac7c747925

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

Explicitly stipulated finite algebraic adapter; no standards conformance, physical accuracy, or production-library claim. Inputs are the documented finite valid model domain. 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:45:54.910789+00:00.

Case digest / 37c7c3882c7de557090451808fa3300e620fc953eadf53c26df4f5070e2787fd