FA-66246 / Aviation weight and balance / Open access
Oil added when it was already in the engine · case 01
Weighings done with full oil show the oil counted twice, and drained weighings show none.
ROOT CAUSE
The oil correction condition is inverted.
VERIFIED REPAIR
Add full oil only when it was drained before weighing.
Unsuccessful approach: Adding oil whenever a quantity is listed double-counts oil for undrained weighings.
Case contract
Input {'scales':[[position, reading lb, tare lb, arm]],'unusable_gal','fuel_arm','oil_qt','oil_arm','oil_drained'}. Aircraft weighed defueled, so unusable fuel (6.0 lb/gal) is added; full oil (1.875 lb per quart) is added only if the oil was drained for weighing. Return [basic empty weight r1, arm r2].
Why this case matters
A weighing report derives basic empty weight from net scale readings, then adjusts for fluids to the defined empty-weight configuration.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
w = 0.0
m = 0.0
for pos, reading, tare, arm in x['scales']:
net = reading - tare
w += net
m += net * arm
uf = x['unusable_gal'] * 6.0
w += uf
m += uf * x['fuel_arm']
if not x['oil_drained']:
ow = x['oil_qt'] * 1.875
w += ow
m += ow * x['oil_arm']
return [round(w, 1), round(m / w, 2)]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1657.0, 46.85]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1642.0, 47.4]], ['heavy tare chocks', {'scales': [['nose', 500.0, 41.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2223.2, 59.09]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 91.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1496.0, 21.66]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1633.0, 46.86]], ['sampled case 1', {'scales': [['a', 1000.1, 34.9, 44.2], ['b', 1008.2, 17.4, 160.1], ['c', 1163.7, 11.1, 128.8]], 'unusable_gal': 4.6, 'fuel_arm': 49.0, 'oil_qt': 7.0, 'oil_arm': -5.3, 'oil_drained': False}, [3136.2, 111.95]], ['sampled case 2', {'scales': [['a', 422.2, 11.5, 138.0], ['b', 841.0, 27.2, 36.1], ['c', 445.3, 30.0, 91.0]], 'unusable_gal': 4.0, 'fuel_arm': 38.2, 'oil_qt': 7.0, 'oil_arm': -10.7, 'oil_drained': True}, [1676.9, 74.32]], ['sampled case 3', {'scales': [['a', 420.1, 2.5, 211.4], ['b', 699.8, 35.2, 56.2], ['c', 1010.7, 32.1, 150.2]], 'unusable_gal': 0.7, 'fuel_arm': 33.6, 'oil_qt': 8.0, 'oil_arm': -11.9, 'oil_drained': True}, [2080.0, 131.05]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1658.0, 46.85]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1643.0, 47.41]], ['heavy tare chocks', {'scales': [['nose', 500.0, 42.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2222.2, 59.11]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 92.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1497.0, 21.78]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 9.0, 'oil_arm': -14.0, 'oil_drained': True}, [1635.9, 46.8]], ['sampled case 1', {'scales': [['a', 209.0, 36.3, 1.9], ['b', 1031.8, 6.6, 35.6], ['c', 836.8, 6.6, 4.5]], 'unusable_gal': 5.6, 'fuel_arm': 36.8, 'oil_qt': 9.0, 'oil_arm': -30.7, 'oil_drained': False}, [2061.7, 20.27]], ['sampled case 2', {'scales': [['a', 161.8, 14.1, 203.6], ['b', 1096.4, 24.1, 42.9], ['c', 1188.6, 38.1, 45.0]], 'unusable_gal': 3.1, 'fuel_arm': 32.3, 'oil_qt': 10.0, 'oil_arm': -33.0, 'oil_drained': True}, [2407.8, 53.09]], ['sampled case 3', {'scales': [['a', 570.2, 4.5, 117.2], ['b', 466.2, 0.5, 18.5], ['c', 732.8, 32.6, 102.0]], 'unusable_gal': 1.1, 'fuel_arm': 41.1, 'oil_qt': 11.0, 'oil_arm': -27.4, 'oil_drained': True}, [1758.8, 83.03]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1659.0, 46.86]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1644.0, 47.41]], ['heavy tare chocks', {'scales': [['nose', 500.0, 43.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2221.2, 59.13]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 93.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1498.0, 21.91]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 10.0, 'oil_arm': -14.0, 'oil_drained': True}, [1638.8, 46.73]], ['sampled case 1', {'scales': [['a', 1119.6, 30.2, 155.2], ['b', 917.6, 8.6, 162.8], ['c', 346.2, 25.9, 160.8]], 'unusable_gal': 2.9, 'fuel_arm': 32.7, 'oil_qt': 5.0, 'oil_arm': -29.3, 'oil_drained': True}, [2345.5, 157.26]], ['sampled case 2', {'scales': [['a', 238.5, 26.8, 26.6], ['b', 996.7, 12.2, 100.6], ['c', 640.1, 19.7, 96.5]], 'unusable_gal': 4.8, 'fuel_arm': 49.4, 'oil_qt': 9.0, 'oil_arm': -2.1, 'oil_drained': False}, [1845.4, 89.93]], ['sampled case 3', {'scales': [['a', 356.4, 5.4, 59.0], ['b', 680.4, 31.1, 173.8], ['c', 1099.1, 31.6, 114.7]], 'unusable_gal': 2.8, 'fuel_arm': 36.7, 'oil_qt': 5.0, 'oil_arm': -6.0, 'oil_drained': True}, [2094.0, 122.52]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1660.0, 46.87]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1645.0, 47.42]], ['heavy tare chocks', {'scales': [['nose', 500.0, 44.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2220.2, 59.15]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 94.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1499.0, 22.03]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 11.0, 'oil_arm': -14.0, 'oil_drained': True}, [1641.6, 46.67]], ['sampled case 1', {'scales': [['a', 265.1, 30.9, 27.6], ['b', 430.8, 39.1, 1.5], ['c', 941.9, 13.3, 25.9]], 'unusable_gal': 1.8, 'fuel_arm': 34.2, 'oil_qt': 9.0, 'oil_arm': -17.3, 'oil_drained': True}, [1582.2, 19.71]], ['sampled case 2', {'scales': [['a', 1082.3, 8.0, 3.0], ['b', 860.6, 5.8, 182.4], ['c', 204.5, 33.3, 145.0]], 'unusable_gal': 2.2, 'fuel_arm': 38.1, 'oil_qt': 8.0, 'oil_arm': -12.6, 'oil_drained': False}, [2113.5, 87.28]], ['sampled case 3', {'scales': [['a', 128.4, 13.3, 62.8], ['b', 1160.7, 25.9, 219.6], ['c', 114.4, 29.0, 44.2]], 'unusable_gal': 5.2, 'fuel_arm': 50.0, 'oil_qt': 10.0, 'oil_arm': -31.5, 'oil_drained': False}, [1366.5, 191.56]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1661.0, 46.87]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1646.0, 47.43]], ['heavy tare chocks', {'scales': [['nose', 500.0, 45.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2219.2, 59.16]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 95.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1500.0, 22.16]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 12.0, 'oil_arm': -14.0, 'oil_drained': True}, [1644.5, 46.61]], ['sampled case 1', {'scales': [['a', 197.7, 24.6, 204.9], ['b', 255.4, 23.8, 17.0], ['c', 414.4, 28.3, 205.0]], 'unusable_gal': 4.9, 'fuel_arm': 35.4, 'oil_qt': 6.0, 'oil_arm': -13.9, 'oil_drained': False}, [820.2, 145.81]], ['sampled case 2', {'scales': [['a', 456.6, 5.2, 115.6], ['b', 456.8, 15.4, 142.9], ['c', 235.6, 28.5, 24.6]], 'unusable_gal': 1.8, 'fuel_arm': 30.9, 'oil_qt': 9.0, 'oil_arm': -23.6, 'oil_drained': False}, [1110.7, 108.66]], ['sampled case 3', {'scales': [['a', 368.2, 39.1, 22.1], ['b', 1151.8, 5.7, 143.2], ['c', 467.9, 24.2, 111.6]], 'unusable_gal': 2.1, 'fuel_arm': 49.7, 'oil_qt': 10.0, 'oil_arm': -27.5, 'oil_drained': False}, [1931.5, 114.7]]]]
for label, args, expected in fixtures[N-1]:
check(label, solve(args), 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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| defueled oil drained | [1642.0, 47.4] | [1657.0, 46.85] | Failed |
| defueled oil full | [1657.0, 46.85] | [1642.0, 47.4] | Failed |
| heavy tare chocks | [2212.0, 59.45] | [2223.2, 59.09] | Failed |
| tailwheel aircraft | [1518.5, 20.89] | [1496.0, 21.66] | Failed |
| no unusable fuel | [1618.0, 47.42] | [1633.0, 46.86] | Failed |
| sampled case 1 | [3149.3, 111.46] | [3136.2, 111.95] | Failed |
| sampled case 2 | [1663.8, 74.99] | [1676.9, 74.32] | Failed |
| sampled case 3 | [2065.0, 132.09] | [2080.0, 131.05] | Failed |
SHA-256 / e526463d00fad229307a21ed39c0d1088ed81c5fda06dec6768ba5d903c56dac
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
w = 0.0
m = 0.0
for pos, reading, tare, arm in x['scales']:
net = reading - tare
w += net
m += net * arm
uf = x['unusable_gal'] * 6.0
w += uf
m += uf * x['fuel_arm']
if x['oil_qt'] > 0:
ow = x['oil_qt'] * 1.875
w += ow
m += ow * x['oil_arm']
return [round(w, 1), round(m / w, 2)]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1657.0, 46.85]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1642.0, 47.4]], ['heavy tare chocks', {'scales': [['nose', 500.0, 41.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2223.2, 59.09]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 91.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1496.0, 21.66]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1633.0, 46.86]], ['sampled case 1', {'scales': [['a', 1000.1, 34.9, 44.2], ['b', 1008.2, 17.4, 160.1], ['c', 1163.7, 11.1, 128.8]], 'unusable_gal': 4.6, 'fuel_arm': 49.0, 'oil_qt': 7.0, 'oil_arm': -5.3, 'oil_drained': False}, [3136.2, 111.95]], ['sampled case 2', {'scales': [['a', 422.2, 11.5, 138.0], ['b', 841.0, 27.2, 36.1], ['c', 445.3, 30.0, 91.0]], 'unusable_gal': 4.0, 'fuel_arm': 38.2, 'oil_qt': 7.0, 'oil_arm': -10.7, 'oil_drained': True}, [1676.9, 74.32]], ['sampled case 3', {'scales': [['a', 420.1, 2.5, 211.4], ['b', 699.8, 35.2, 56.2], ['c', 1010.7, 32.1, 150.2]], 'unusable_gal': 0.7, 'fuel_arm': 33.6, 'oil_qt': 8.0, 'oil_arm': -11.9, 'oil_drained': True}, [2080.0, 131.05]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1658.0, 46.85]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1643.0, 47.41]], ['heavy tare chocks', {'scales': [['nose', 500.0, 42.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2222.2, 59.11]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 92.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1497.0, 21.78]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 9.0, 'oil_arm': -14.0, 'oil_drained': True}, [1635.9, 46.8]], ['sampled case 1', {'scales': [['a', 209.0, 36.3, 1.9], ['b', 1031.8, 6.6, 35.6], ['c', 836.8, 6.6, 4.5]], 'unusable_gal': 5.6, 'fuel_arm': 36.8, 'oil_qt': 9.0, 'oil_arm': -30.7, 'oil_drained': False}, [2061.7, 20.27]], ['sampled case 2', {'scales': [['a', 161.8, 14.1, 203.6], ['b', 1096.4, 24.1, 42.9], ['c', 1188.6, 38.1, 45.0]], 'unusable_gal': 3.1, 'fuel_arm': 32.3, 'oil_qt': 10.0, 'oil_arm': -33.0, 'oil_drained': True}, [2407.8, 53.09]], ['sampled case 3', {'scales': [['a', 570.2, 4.5, 117.2], ['b', 466.2, 0.5, 18.5], ['c', 732.8, 32.6, 102.0]], 'unusable_gal': 1.1, 'fuel_arm': 41.1, 'oil_qt': 11.0, 'oil_arm': -27.4, 'oil_drained': True}, [1758.8, 83.03]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1659.0, 46.86]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1644.0, 47.41]], ['heavy tare chocks', {'scales': [['nose', 500.0, 43.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2221.2, 59.13]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 93.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1498.0, 21.91]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 10.0, 'oil_arm': -14.0, 'oil_drained': True}, [1638.8, 46.73]], ['sampled case 1', {'scales': [['a', 1119.6, 30.2, 155.2], ['b', 917.6, 8.6, 162.8], ['c', 346.2, 25.9, 160.8]], 'unusable_gal': 2.9, 'fuel_arm': 32.7, 'oil_qt': 5.0, 'oil_arm': -29.3, 'oil_drained': True}, [2345.5, 157.26]], ['sampled case 2', {'scales': [['a', 238.5, 26.8, 26.6], ['b', 996.7, 12.2, 100.6], ['c', 640.1, 19.7, 96.5]], 'unusable_gal': 4.8, 'fuel_arm': 49.4, 'oil_qt': 9.0, 'oil_arm': -2.1, 'oil_drained': False}, [1845.4, 89.93]], ['sampled case 3', {'scales': [['a', 356.4, 5.4, 59.0], ['b', 680.4, 31.1, 173.8], ['c', 1099.1, 31.6, 114.7]], 'unusable_gal': 2.8, 'fuel_arm': 36.7, 'oil_qt': 5.0, 'oil_arm': -6.0, 'oil_drained': True}, [2094.0, 122.52]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1660.0, 46.87]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1645.0, 47.42]], ['heavy tare chocks', {'scales': [['nose', 500.0, 44.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2220.2, 59.15]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 94.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1499.0, 22.03]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 11.0, 'oil_arm': -14.0, 'oil_drained': True}, [1641.6, 46.67]], ['sampled case 1', {'scales': [['a', 265.1, 30.9, 27.6], ['b', 430.8, 39.1, 1.5], ['c', 941.9, 13.3, 25.9]], 'unusable_gal': 1.8, 'fuel_arm': 34.2, 'oil_qt': 9.0, 'oil_arm': -17.3, 'oil_drained': True}, [1582.2, 19.71]], ['sampled case 2', {'scales': [['a', 1082.3, 8.0, 3.0], ['b', 860.6, 5.8, 182.4], ['c', 204.5, 33.3, 145.0]], 'unusable_gal': 2.2, 'fuel_arm': 38.1, 'oil_qt': 8.0, 'oil_arm': -12.6, 'oil_drained': False}, [2113.5, 87.28]], ['sampled case 3', {'scales': [['a', 128.4, 13.3, 62.8], ['b', 1160.7, 25.9, 219.6], ['c', 114.4, 29.0, 44.2]], 'unusable_gal': 5.2, 'fuel_arm': 50.0, 'oil_qt': 10.0, 'oil_arm': -31.5, 'oil_drained': False}, [1366.5, 191.56]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1661.0, 46.87]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1646.0, 47.43]], ['heavy tare chocks', {'scales': [['nose', 500.0, 45.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2219.2, 59.16]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 95.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1500.0, 22.16]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 12.0, 'oil_arm': -14.0, 'oil_drained': True}, [1644.5, 46.61]], ['sampled case 1', {'scales': [['a', 197.7, 24.6, 204.9], ['b', 255.4, 23.8, 17.0], ['c', 414.4, 28.3, 205.0]], 'unusable_gal': 4.9, 'fuel_arm': 35.4, 'oil_qt': 6.0, 'oil_arm': -13.9, 'oil_drained': False}, [820.2, 145.81]], ['sampled case 2', {'scales': [['a', 456.6, 5.2, 115.6], ['b', 456.8, 15.4, 142.9], ['c', 235.6, 28.5, 24.6]], 'unusable_gal': 1.8, 'fuel_arm': 30.9, 'oil_qt': 9.0, 'oil_arm': -23.6, 'oil_drained': False}, [1110.7, 108.66]], ['sampled case 3', {'scales': [['a', 368.2, 39.1, 22.1], ['b', 1151.8, 5.7, 143.2], ['c', 467.9, 24.2, 111.6]], 'unusable_gal': 2.1, 'fuel_arm': 49.7, 'oil_qt': 10.0, 'oil_arm': -27.5, 'oil_drained': False}, [1931.5, 114.7]]]]
for label, args, expected in fixtures[N-1]:
check(label, solve(args), 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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| defueled oil drained | [1657.0, 46.85] | [1657.0, 46.85] | Passed |
| defueled oil full | [1657.0, 46.85] | [1642.0, 47.4] | Failed |
| heavy tare chocks | [2223.2, 59.09] | [2223.2, 59.09] | Passed |
| tailwheel aircraft | [1518.5, 20.89] | [1496.0, 21.66] | Failed |
| no unusable fuel | [1633.0, 46.86] | [1633.0, 46.86] | Passed |
| sampled case 1 | [3149.3, 111.46] | [3136.2, 111.95] | Failed |
| sampled case 2 | [1676.9, 74.32] | [1676.9, 74.32] | Passed |
| sampled case 3 | [2080.0, 131.05] | [2080.0, 131.05] | Passed |
SHA-256 / 0a7faab200e8cb1fcd4b66fc65cfcd5e810f31ab8956c428d4ef08309b316afb
3 / The verified repair
Exit 0"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
w = 0.0
m = 0.0
for pos, reading, tare, arm in x['scales']:
net = reading - tare
w += net
m += net * arm
uf = x['unusable_gal'] * 6.0
w += uf
m += uf * x['fuel_arm']
if x['oil_drained']:
ow = x['oil_qt'] * 1.875
w += ow
m += ow * x['oil_arm']
return [round(w, 1), round(m / w, 2)]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1657.0, 46.85]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1642.0, 47.4]], ['heavy tare chocks', {'scales': [['nose', 500.0, 41.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2223.2, 59.09]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 91.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1496.0, 21.66]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 616.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1633.0, 46.86]], ['sampled case 1', {'scales': [['a', 1000.1, 34.9, 44.2], ['b', 1008.2, 17.4, 160.1], ['c', 1163.7, 11.1, 128.8]], 'unusable_gal': 4.6, 'fuel_arm': 49.0, 'oil_qt': 7.0, 'oil_arm': -5.3, 'oil_drained': False}, [3136.2, 111.95]], ['sampled case 2', {'scales': [['a', 422.2, 11.5, 138.0], ['b', 841.0, 27.2, 36.1], ['c', 445.3, 30.0, 91.0]], 'unusable_gal': 4.0, 'fuel_arm': 38.2, 'oil_qt': 7.0, 'oil_arm': -10.7, 'oil_drained': True}, [1676.9, 74.32]], ['sampled case 3', {'scales': [['a', 420.1, 2.5, 211.4], ['b', 699.8, 35.2, 56.2], ['c', 1010.7, 32.1, 150.2]], 'unusable_gal': 0.7, 'fuel_arm': 33.6, 'oil_qt': 8.0, 'oil_arm': -11.9, 'oil_drained': True}, [2080.0, 131.05]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1658.0, 46.85]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1643.0, 47.41]], ['heavy tare chocks', {'scales': [['nose', 500.0, 42.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2222.2, 59.11]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 92.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1497.0, 21.78]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 617.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 9.0, 'oil_arm': -14.0, 'oil_drained': True}, [1635.9, 46.8]], ['sampled case 1', {'scales': [['a', 209.0, 36.3, 1.9], ['b', 1031.8, 6.6, 35.6], ['c', 836.8, 6.6, 4.5]], 'unusable_gal': 5.6, 'fuel_arm': 36.8, 'oil_qt': 9.0, 'oil_arm': -30.7, 'oil_drained': False}, [2061.7, 20.27]], ['sampled case 2', {'scales': [['a', 161.8, 14.1, 203.6], ['b', 1096.4, 24.1, 42.9], ['c', 1188.6, 38.1, 45.0]], 'unusable_gal': 3.1, 'fuel_arm': 32.3, 'oil_qt': 10.0, 'oil_arm': -33.0, 'oil_drained': True}, [2407.8, 53.09]], ['sampled case 3', {'scales': [['a', 570.2, 4.5, 117.2], ['b', 466.2, 0.5, 18.5], ['c', 732.8, 32.6, 102.0]], 'unusable_gal': 1.1, 'fuel_arm': 41.1, 'oil_qt': 11.0, 'oil_arm': -27.4, 'oil_drained': True}, [1758.8, 83.03]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1659.0, 46.86]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1644.0, 47.41]], ['heavy tare chocks', {'scales': [['nose', 500.0, 43.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2221.2, 59.13]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 93.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1498.0, 21.91]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 618.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 10.0, 'oil_arm': -14.0, 'oil_drained': True}, [1638.8, 46.73]], ['sampled case 1', {'scales': [['a', 1119.6, 30.2, 155.2], ['b', 917.6, 8.6, 162.8], ['c', 346.2, 25.9, 160.8]], 'unusable_gal': 2.9, 'fuel_arm': 32.7, 'oil_qt': 5.0, 'oil_arm': -29.3, 'oil_drained': True}, [2345.5, 157.26]], ['sampled case 2', {'scales': [['a', 238.5, 26.8, 26.6], ['b', 996.7, 12.2, 100.6], ['c', 640.1, 19.7, 96.5]], 'unusable_gal': 4.8, 'fuel_arm': 49.4, 'oil_qt': 9.0, 'oil_arm': -2.1, 'oil_drained': False}, [1845.4, 89.93]], ['sampled case 3', {'scales': [['a', 356.4, 5.4, 59.0], ['b', 680.4, 31.1, 173.8], ['c', 1099.1, 31.6, 114.7]], 'unusable_gal': 2.8, 'fuel_arm': 36.7, 'oil_qt': 5.0, 'oil_arm': -6.0, 'oil_drained': True}, [2094.0, 122.52]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1660.0, 46.87]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1645.0, 47.42]], ['heavy tare chocks', {'scales': [['nose', 500.0, 44.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2220.2, 59.15]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 94.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1499.0, 22.03]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 619.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 11.0, 'oil_arm': -14.0, 'oil_drained': True}, [1641.6, 46.67]], ['sampled case 1', {'scales': [['a', 265.1, 30.9, 27.6], ['b', 430.8, 39.1, 1.5], ['c', 941.9, 13.3, 25.9]], 'unusable_gal': 1.8, 'fuel_arm': 34.2, 'oil_qt': 9.0, 'oil_arm': -17.3, 'oil_drained': True}, [1582.2, 19.71]], ['sampled case 2', {'scales': [['a', 1082.3, 8.0, 3.0], ['b', 860.6, 5.8, 182.4], ['c', 204.5, 33.3, 145.0]], 'unusable_gal': 2.2, 'fuel_arm': 38.1, 'oil_qt': 8.0, 'oil_arm': -12.6, 'oil_drained': False}, [2113.5, 87.28]], ['sampled case 3', {'scales': [['a', 128.4, 13.3, 62.8], ['b', 1160.7, 25.9, 219.6], ['c', 114.4, 29.0, 44.2]], 'unusable_gal': 5.2, 'fuel_arm': 50.0, 'oil_qt': 10.0, 'oil_arm': -31.5, 'oil_drained': False}, [1366.5, 191.56]]], [['defueled oil drained', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': True}, [1661.0, 46.87]], ['defueled oil full', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 4.0, 'fuel_arm': 46.0, 'oil_qt': 8.0, 'oil_arm': -14.0, 'oil_drained': False}, [1646.0, 47.43]], ['heavy tare chocks', {'scales': [['nose', 500.0, 45.0, 20.0], ['left', 900.0, 35.0, 70.0], ['right', 905.0, 35.0, 70.0]], 'unusable_gal': 3.0, 'fuel_arm': 48.0, 'oil_qt': 6.0, 'oil_arm': -10.0, 'oil_drained': True}, [2219.2, 59.16]], ['tailwheel aircraft', {'scales': [['left', 700.0, 0.0, 10.0], ['right', 698.0, 0.0, 10.0], ['tail', 95.0, 5.0, 210.0]], 'unusable_gal': 2.0, 'fuel_arm': 30.0, 'oil_qt': 12.0, 'oil_arm': -30.0, 'oil_drained': False}, [1500.0, 22.16]], ['no unusable fuel', {'scales': [['nose', 410.0, 12.0, 15.0], ['left', 620.0, 8.0, 58.0], ['right', 620.0, 8.0, 58.0]], 'unusable_gal': 0.0, 'fuel_arm': 46.0, 'oil_qt': 12.0, 'oil_arm': -14.0, 'oil_drained': True}, [1644.5, 46.61]], ['sampled case 1', {'scales': [['a', 197.7, 24.6, 204.9], ['b', 255.4, 23.8, 17.0], ['c', 414.4, 28.3, 205.0]], 'unusable_gal': 4.9, 'fuel_arm': 35.4, 'oil_qt': 6.0, 'oil_arm': -13.9, 'oil_drained': False}, [820.2, 145.81]], ['sampled case 2', {'scales': [['a', 456.6, 5.2, 115.6], ['b', 456.8, 15.4, 142.9], ['c', 235.6, 28.5, 24.6]], 'unusable_gal': 1.8, 'fuel_arm': 30.9, 'oil_qt': 9.0, 'oil_arm': -23.6, 'oil_drained': False}, [1110.7, 108.66]], ['sampled case 3', {'scales': [['a', 368.2, 39.1, 22.1], ['b', 1151.8, 5.7, 143.2], ['c', 467.9, 24.2, 111.6]], 'unusable_gal': 2.1, 'fuel_arm': 49.7, 'oil_qt': 10.0, 'oil_arm': -27.5, 'oil_drained': False}, [1931.5, 114.7]]]]
for label, args, expected in fixtures[N-1]:
check(label, solve(args), 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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| defueled oil drained | [1657.0, 46.85] | [1657.0, 46.85] | Passed |
| defueled oil full | [1642.0, 47.4] | [1642.0, 47.4] | Passed |
| heavy tare chocks | [2223.2, 59.09] | [2223.2, 59.09] | Passed |
| tailwheel aircraft | [1496.0, 21.66] | [1496.0, 21.66] | Passed |
| no unusable fuel | [1633.0, 46.86] | [1633.0, 46.86] | Passed |
| sampled case 1 | [3136.2, 111.95] | [3136.2, 111.95] | Passed |
| sampled case 2 | [1676.9, 74.32] | [1676.9, 74.32] | Passed |
| sampled case 3 | [2080.0, 131.05] | [2080.0, 131.05] | Passed |
SHA-256 / ed65fe476ff1cec3dc6308e33be49fc733439afa4cdd54ac846bbf416621aeeb
Verification & scope
A deterministic toy loading model with stipulated constants; it is not an approved aircraft flight manual procedure and makes no claim of regulatory conformance. 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:47:41.501497+00:00.
Case digest / 8108c8c21bf9e3a9ff2b6bf292c7fa668e0d802910535372a31a38c4bd72a410