{"abstract":"Redo restores the first future filter snapshot is violated by the widget projection.","category":"Filter interfaces","checks":10,"contract":"Each filter edit transaction records before and after snapshots. Undo/redo moves whole constraint snapshots and does not resurrect history after a new branch edit. This example checks: Redo restores the first future filter snapshot.","evaluation_group":"s3-filter-interfaces-filter-undo","failed_approach":"The attempted correction `[] if not d['future'] else d['future'][0]` still violates the explicit contract fixtures.","family":"s3-filter-interfaces-filter-undo-redo-snapshot","id":"FA-25691","implementations":{"attempt":{"sha256":"377a661fd2be74c46c7fe50dddf821cdc7084694288782476f8aac18cf3ef1a0","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'undo-snapshot':(d['history'][-1] if d['history'] else d['current']), 'undo-tail':(d['history'][:-1]), 'redo-snapshot':([] if not d['future'] else d['future'][0]), 'branch-future':([] if d['new_edit'] else d['future']), 'noop-history':(d['history'] if set(d['next'])==set(d['current']) else d['history']+[d['current']]), 'undo-available':(bool(d['history']) and not d['applying'])}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False})], 2: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['b']], 'undo-available': True})], 3: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 4: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': True}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False})], 5: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False})]}\nfor index, (data, expected) in enumerate(fixtures[N]):\n    check(\"contract fixture \" + str(index), solve(data), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"10f9f11cc21d54d43ab39b4b878ba7f0d661814a0461c9e67a1979964db12082","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'undo-snapshot':(d['history'][-1] if d['history'] else d['current']), 'undo-tail':(d['history'][:-1]), 'redo-snapshot':(d['future'][-1] if d['future'] else d['current']), 'branch-future':([] if d['new_edit'] else d['future']), 'noop-history':(d['history'] if set(d['next'])==set(d['current']) else d['history']+[d['current']]), 'undo-available':(bool(d['history']) and not d['applying'])}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False})], 2: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['b']], 'undo-available': True})], 3: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 4: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': True}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False})], 5: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False})]}\nfor index, (data, expected) in enumerate(fixtures[N]):\n    check(\"contract fixture \" + str(index), solve(data), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"fixed":{"sha256":"667768b791d5f786974219cc34c1be2a7c3071cb0e87e270f660e44afd49ea26","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'undo-snapshot':(d['history'][-1] if d['history'] else d['current']), 'undo-tail':(d['history'][:-1]), 'redo-snapshot':(d['future'][0] if d['future'] else d['current']), 'branch-future':([] if d['new_edit'] else d['future']), 'noop-history':(d['history'] if set(d['next'])==set(d['current']) else d['history']+[d['current']]), 'undo-available':(bool(d['history']) and not d['applying'])}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False})], 2: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['b']], 'undo-available': True})], 3: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x']], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 4: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a']], 'undo-available': True}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b']], 'undo-available': True}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': False}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': True}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False})], 5: [({'history': [], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': False}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a']], 'undo-available': False}), ({'history': [['a']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['b', 'a'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b']], 'undo-available': False}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False}), ({'history': [], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False})]}\nfor index, (data, expected) in enumerate(fixtures[N]):\n    check(\"contract fixture \" + str(index), solve(data), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"Deterministic bounded UI-state model only; no browser, query engine, network, or production-standard conformance is claimed. 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.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"s3-filter-interfaces-filter-undo-redo-snapshot","generated_at":"2026-09-29T14:41:09.029740+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Filter-widget state and serialization must preserve user constraints while the view changes.","repair":"Implement the declared redo-snapshot projection: `d['future'][0] if d['future'] else d['current']`.","root_cause":"The redo-snapshot decision uses `d['future'][-1] if d['future'] else d['current']` instead of the stipulated filter-undo projection.","sha256":"1ac7001652fec42568163a33d89ef52bbe8594e246b66c191146745545ec229b","title":"Redo restores the first future filter snapshot · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":44.171,"exit_code":1,"observations":[{"actual":{"branch-future":[["x"],["y"]],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 0","expected":{"branch-future":[["x"],["y"]],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[],"redo-snapshot":[],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 1","expected":{"branch-future":[],"noop-history":[],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":false},{"actual":{"branch-future":[],"noop-history":[["a","b"]],"redo-snapshot":[],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 2","expected":{"branch-future":[],"noop-history":[["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":false},{"actual":{"branch-future":[["x"]],"noop-history":[["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 3","expected":{"branch-future":[["x"]],"noop-history":[["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 4","expected":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":[],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 5","expected":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":false},{"actual":{"branch-future":[],"noop-history":[["a"],["a","b"]],"redo-snapshot":[],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 6","expected":{"branch-future":[],"noop-history":[["a"],["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":false},{"actual":{"branch-future":[["x"]],"noop-history":[["a"],["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 7","expected":{"branch-future":[["x"]],"noop-history":[["a"],["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 8","expected":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":[],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"check":"contract fixture 9","expected":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"], [\"y\"]], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"], [\"y\"]], \"noop-history\": [], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 1\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"passed\": false}, {\"check\": \"contract fixture 2\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [], \"branch-future\": [], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"passed\": false}, {\"check\": \"contract fixture 3\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 4\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 5\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"passed\": false}, {\"check\": \"contract fixture 6\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": false}, {\"check\": \"contract fixture 7\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 8\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 9\", \"actual\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"]], \"undo-available\": false}, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.308,"exit_code":1,"observations":[{"actual":{"branch-future":[["x"],["y"]],"noop-history":[],"redo-snapshot":["y"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 0","expected":{"branch-future":[["x"],["y"]],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":false},{"actual":{"branch-future":[],"noop-history":[],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 1","expected":{"branch-future":[],"noop-history":[],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 2","expected":{"branch-future":[],"noop-history":[["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[["x"]],"noop-history":[["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 3","expected":{"branch-future":[["x"]],"noop-history":[["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[],"redo-snapshot":["y"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 4","expected":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":false},{"actual":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 5","expected":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"],["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 6","expected":{"branch-future":[],"noop-history":[["a"],["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[["x"]],"noop-history":[["a"],["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 7","expected":{"branch-future":[["x"]],"noop-history":[["a"],["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["y"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 8","expected":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":false},{"actual":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"check":"contract fixture 9","expected":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"y\"], \"branch-future\": [[\"x\"], [\"y\"]], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"], [\"y\"]], \"noop-history\": [], \"undo-available\": false}, \"passed\": false}, {\"check\": \"contract fixture 1\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 2\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 3\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 4\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"y\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"passed\": false}, {\"check\": \"contract fixture 5\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 6\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 7\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 8\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"y\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"passed\": false}, {\"check\": \"contract fixture 9\", \"actual\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"]], \"undo-available\": false}, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":41.016,"exit_code":0,"observations":[{"actual":{"branch-future":[["x"],["y"]],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 0","expected":{"branch-future":[["x"],["y"]],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 1","expected":{"branch-future":[],"noop-history":[],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 2","expected":{"branch-future":[],"noop-history":[["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[["x"]],"noop-history":[["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 3","expected":{"branch-future":[["x"]],"noop-history":[["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 4","expected":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 5","expected":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"],["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 6","expected":{"branch-future":[],"noop-history":[["a"],["a","b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[["x"]],"noop-history":[["a"],["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 7","expected":{"branch-future":[["x"]],"noop-history":[["a"],["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 8","expected":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"check":"contract fixture 9","expected":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"], [\"y\"]], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"], [\"y\"]], \"noop-history\": [], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 1\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 2\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 3\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 4\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 5\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 6\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 7\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"]], \"noop-history\": [[\"a\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 8\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"noop-history\": [[\"a\"]], \"undo-available\": false}, \"passed\": true}, {\"check\": \"contract fixture 9\", \"actual\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"]], \"undo-available\": false}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}