{"abstract":"A drag must originate from a group containing the criterion is violated by the widget projection.","category":"Filter interfaces","checks":10,"contract":"A filter-builder drag moves a criterion between explicit group identities, rejects descendant cycles, and retains operator grouping when flattening is unsafe. This example checks: A drag must originate from a group containing the criterion.","evaluation_group":"s3-filter-interfaces-group-reparent","failed_approach":"The attempted correction `d['criterion'] in d['target_rows']` still violates the explicit contract fixtures.","family":"s3-filter-interfaces-group-reparent-source-membership","id":"FA-25806","implementations":{"attempt":{"sha256":"0bef02c9befdad2bb73af4479cc4d760ff7f97971eca587f43271ede25860e96","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'cycle-block':(d['target'] in d['descendants'] or d['target']==d['source']), 'source-membership':(d['criterion'] in d['target_rows']), 'destination-duplicate':(d['criterion'] in d['target_rows'] and d['target']!=d['source']), 'source-removal':([x for x in d['source_rows'] if x!=d['criterion']]), 'destination-insert':(d['target_rows'][:d['index']]+[d['criterion']]+d['target_rows'][d['index']:]), 'flatten-safe':(d['source_mode']==d['target_mode'] and not d['negated'])}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False})], 2: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False})], 3: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': True})], 4: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False})], 5: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': 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":"afe85e4c59ba9ba60e0ca429cf16c1762e184c76aeca565b2a1e8d1b46562451","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'cycle-block':(d['target'] in d['descendants'] or d['target']==d['source']), 'source-membership':(True), 'destination-duplicate':(d['criterion'] in d['target_rows'] and d['target']!=d['source']), 'source-removal':([x for x in d['source_rows'] if x!=d['criterion']]), 'destination-insert':(d['target_rows'][:d['index']]+[d['criterion']]+d['target_rows'][d['index']:]), 'flatten-safe':(d['source_mode']==d['target_mode'] and not d['negated'])}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False})], 2: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False})], 3: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': True})], 4: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False})], 5: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': 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":"a927ae0d39bf0731f67f4e31256e9e27949bd1cda01a7a6a22f75caa4bc31d09","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'cycle-block':(d['target'] in d['descendants'] or d['target']==d['source']), 'source-membership':(d['criterion'] in d['source_rows']), 'destination-duplicate':(d['criterion'] in d['target_rows'] and d['target']!=d['source']), 'source-removal':([x for x in d['source_rows'] if x!=d['criterion']]), 'destination-insert':(d['target_rows'][:d['index']]+[d['criterion']]+d['target_rows'][d['index']:]), 'flatten-safe':(d['source_mode']==d['target_mode'] and not d['negated'])}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False})], 2: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False})], 3: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': True})], 4: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False})], 5: [({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['x', 'a', 'y'], 'flatten-safe': False}), ({'target': 's', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': True, 'source-membership': True, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 0, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': False}), ({'target': 'child', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': ['a'], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': True}, {'cycle-block': True, 'source-membership': False, 'destination-duplicate': True, 'source-removal': ['b'], 'destination-insert': ['a', 'a'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'and', 'negated': False}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': True}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['a', 'b'], 'target_rows': ['x', 'y'], 'index': 0, 'source_mode': 'and', 'target_mode': 'and', 'negated': True}, {'cycle-block': False, 'source-membership': True, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a', 'x', 'y'], 'flatten-safe': False}), ({'target': 'other', 'source': 's', 'descendants': ['child'], 'criterion': 'a', 'source_rows': ['b'], 'target_rows': [], 'index': 1, 'source_mode': 'and', 'target_mode': 'or', 'negated': False}, {'cycle-block': False, 'source-membership': False, 'destination-duplicate': False, 'source-removal': ['b'], 'destination-insert': ['a'], 'flatten-safe': 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-group-reparent-source-membership","generated_at":"2026-09-29T14:41:10.074012+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 source-membership projection: `d['criterion'] in d['source_rows']`.","root_cause":"The source-membership decision uses `True` instead of the stipulated group-reparent projection.","sha256":"b265c555342e5d32569d427ded4220d4fa5d9c3d06caed203def92972f389058","title":"A drag must originate from a group containing the criterion · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":44.473,"exit_code":1,"observations":[{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 0","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 1","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 2","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 3","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":true,"source-membership":true,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 4","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 5","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 6","expected":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 7","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 8","expected":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":false,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 9","expected":{"cycle-block":false,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"passed\": true}, {\"check\": \"contract fixture 1\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": false}, {\"check\": \"contract fixture 2\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": false}, {\"check\": \"contract fixture 3\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": true}, \"passed\": false}, {\"check\": \"contract fixture 4\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": false}, {\"check\": \"contract fixture 5\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 6\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 7\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"passed\": true}, {\"check\": \"contract fixture 8\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": false}, {\"check\": \"contract fixture 9\", \"actual\": {\"cycle-block\": false, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": false, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.779,"exit_code":1,"observations":[{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 0","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 1","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 2","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":true,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 3","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":true,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 4","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 5","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 6","expected":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 7","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 8","expected":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":false},{"actual":{"cycle-block":false,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 9","expected":{"cycle-block":false,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"passed\": false}, {\"check\": \"contract fixture 1\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 2\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 3\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": true}, \"passed\": true}, {\"check\": \"contract fixture 4\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": false}, {\"check\": \"contract fixture 5\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": false}, \"passed\": false}, {\"check\": \"contract fixture 6\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 7\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"passed\": false}, {\"check\": \"contract fixture 8\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": false}, {\"check\": \"contract fixture 9\", \"actual\": {\"cycle-block\": false, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": false, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":41.764,"exit_code":0,"observations":[{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 0","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 1","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 2","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":true,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 3","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":true,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 4","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 5","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["x","a","y"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 6","expected":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 7","expected":{"cycle-block":true,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":true,"source-membership":false,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"check":"contract fixture 8","expected":{"cycle-block":true,"destination-duplicate":true,"destination-insert":["a","a"],"flatten-safe":false,"source-membership":false,"source-removal":["b"]},"passed":true},{"actual":{"cycle-block":false,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"check":"contract fixture 9","expected":{"cycle-block":false,"destination-duplicate":false,"destination-insert":["a"],"flatten-safe":false,"source-membership":true,"source-removal":["b"]},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"passed\": true}, {\"check\": \"contract fixture 1\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 2\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 3\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": true}, \"passed\": true}, {\"check\": \"contract fixture 4\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 5\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"x\", \"a\", \"y\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 6\", \"actual\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": true, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 7\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": true}, \"passed\": true}, {\"check\": \"contract fixture 8\", \"actual\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": true, \"source-membership\": false, \"destination-duplicate\": true, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\", \"a\"], \"flatten-safe\": false}, \"passed\": true}, {\"check\": \"contract fixture 9\", \"actual\": {\"cycle-block\": false, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"expected\": {\"cycle-block\": false, \"source-membership\": true, \"destination-duplicate\": false, \"source-removal\": [\"b\"], \"destination-insert\": [\"a\"], \"flatten-safe\": false}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}