{"abstract":"A new criterion edit invalidates only the branched redo history 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: A new criterion edit invalidates only the branched redo history.","evaluation_group":"s3-filter-interfaces-filter-undo","failed_approach":"The attempted correction `[]` still violates the explicit contract fixtures.","family":"s3-filter-interfaces-filter-undo-branch-future","id":"FA-25696","implementations":{"attempt":{"sha256":"1e1660b2db2a21f02949d8c37c721f593c9f4f0a746654f2efc637eb3877870f","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':([]), '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']], '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': [], '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': [], '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'], ['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}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 2: [({'history': [], 'future': [['x']], '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': [], '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': [], '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': [['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}), ({'history': [['a'], ['b']], 'future': [['x']], '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})], 3: [({'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': [['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': [], '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': ['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}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 4: [({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'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': [], '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': ['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': ['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': [['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']], '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":"6af8f365c92e9b93d5b7395d8d9b9555dd5d492d3b64cedc5bd2960eafb3cbc9","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':(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']], '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': [], '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': [], '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'], ['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}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 2: [({'history': [], 'future': [['x']], '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': [], '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': [], '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': [['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}), ({'history': [['a'], ['b']], 'future': [['x']], '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})], 3: [({'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': [['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': [], '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': ['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}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 4: [({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'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': [], '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': ['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': ['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': [['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']], '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":"306b863157ea3dc95eb9446f4734dc9a010470b974c0abec025af15c0d1d7a26","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']], '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': [], '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': [], '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'], ['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}), ({'history': [['a'], ['b']], 'future': [], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['a', 'b'], 'branch-future': [], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 2: [({'history': [], 'future': [['x']], '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': [], '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': [], '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': [['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}), ({'history': [['a'], ['b']], 'future': [['x']], '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})], 3: [({'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': [['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': [], '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': ['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}), ({'history': [['a'], ['b']], 'future': [['x'], ['y']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': False, 'applying': True}, {'undo-snapshot': ['b'], 'undo-tail': [['a']], 'redo-snapshot': ['x'], 'branch-future': [['x'], ['y']], 'noop-history': [['a'], ['b'], ['a', 'b']], 'undo-available': False})], 4: [({'history': [], 'future': [['x']], 'current': ['a', 'b'], 'next': ['c'], 'new_edit': True, 'applying': True}, {'undo-snapshot': ['a', 'b'], 'undo-tail': [], 'redo-snapshot': ['x'], 'branch-future': [], 'noop-history': [['a', 'b']], 'undo-available': False}), ({'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': [], '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': ['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': ['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': [['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']], '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-branch-future","generated_at":"2026-09-29T14:41:09.072507+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 branch-future projection: `[] if d['new_edit'] else d['future']`.","root_cause":"The branch-future decision uses `d['future']` instead of the stipulated filter-undo projection.","sha256":"c4ef52a7207e1f3fddb58972bf8a5b256e38f2179f4c8a770de9e4ff12600a0e","title":"A new criterion edit invalidates only the branched redo history · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.969,"exit_code":1,"observations":[{"actual":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 0","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","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 1","expected":{"branch-future":[["x"]],"noop-history":[["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"passed":false},{"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":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 3","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 4","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 5","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":[],"noop-history":[["a"],["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 6","expected":{"branch-future":[["x"]],"noop-history":[["a"],["a","b"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"passed":false},{"actual":{"branch-future":[],"noop-history":[["a"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 7","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 8","expected":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"],["b"],["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"],["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\": [\"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 1\", \"actual\": {\"undo-snapshot\": [\"a\", \"b\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"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\": false}, {\"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\": [], \"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 4\", \"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 5\", \"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 6\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [], \"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\": false}, {\"check\": \"contract fixture 7\", \"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 8\", \"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}, {\"check\": \"contract fixture 9\", \"actual\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.352,"exit_code":1,"observations":[{"actual":{"branch-future":[["x"]],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 0","expected":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"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 1","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":[["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"],["y"]],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 3","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 4","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 5","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 6","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":[["x"],["y"]],"noop-history":[["a"]],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a"],"undo-tail":[]},"check":"contract fixture 7","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 8","expected":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"],["b"],["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"],["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\": [\"x\"], \"branch-future\": [[\"x\"]], \"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 1\", \"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 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\"], [\"y\"]], \"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 4\", \"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 5\", \"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 6\", \"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 7\", \"actual\": {\"undo-snapshot\": [\"a\"], \"undo-tail\": [], \"redo-snapshot\": [\"x\"], \"branch-future\": [[\"x\"], [\"y\"]], \"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 8\", \"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}, {\"check\": \"contract fixture 9\", \"actual\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":45.22,"exit_code":0,"observations":[{"actual":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 0","expected":{"branch-future":[],"noop-history":[],"redo-snapshot":["x"],"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 1","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":[["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":[],"noop-history":[],"redo-snapshot":["x"],"undo-available":false,"undo-snapshot":["a","b"],"undo-tail":[]},"check":"contract fixture 3","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 4","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 5","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 6","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 7","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 8","expected":{"branch-future":[],"noop-history":[["a"],["b"]],"redo-snapshot":["a","b"],"undo-available":false,"undo-snapshot":["b"],"undo-tail":[["a"]]},"passed":true},{"actual":{"branch-future":[],"noop-history":[["a"],["b"],["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"],["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\": [], \"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 1\", \"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 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\": [], \"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 4\", \"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 5\", \"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 6\", \"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 7\", \"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 8\", \"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}, {\"check\": \"contract fixture 9\", \"actual\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"], [\"a\", \"b\"]], \"undo-available\": false}, \"expected\": {\"undo-snapshot\": [\"b\"], \"undo-tail\": [[\"a\"]], \"redo-snapshot\": [\"a\", \"b\"], \"branch-future\": [], \"noop-history\": [[\"a\"], [\"b\"], [\"a\", \"b\"]], \"undo-available\": false}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}