{"abstract":"Only excluded facets enter the negative operand channel is violated by the widget projection.","category":"Filter interfaces","checks":10,"contract":"A facet has neutral/include/exclude states. The UI cycles neutral to include to exclude to neutral, exposes polarity, and serializes inclusion and exclusion separately. This example checks: Only excluded facets enter the negative operand channel.","contract_signature":"d","evaluation_group":"s3-filter-interfaces-tristate-facet","failed_approach":"The attempted correction `d['value'] if d['state']=='include' else None` still violates the explicit contract fixtures.","family":"s3-filter-interfaces-tristate-facet-negative-operand","id":"FA-25146","implementations":{"attempt":{"sha256":"ae72cbae05119e207be440a5e1d26eef4893bc0a2afca28fc82161330e78ed71","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'cycle':({'neutral':'include','include':'exclude','exclude':'neutral'}[d['state']]), 'negative-operand':(d['value'] if d['state']=='include' else None), 'positive-operand':(d['value'] if d['state']=='include' else None), 'exclusion-badge':('minus' if d['state']=='exclude' else ('check' if d['state']=='include' else 'none')), 'reverse-cycle':({'neutral':'exclude','include':'neutral','exclude':'include'}[d['state']]), 'negation-help':('Exclude '+d['value'] if d['state']=='include' else ('Clear '+d['value'] if d['state']=='exclude' else 'Include '+d['value']))}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'}), ({'state': 'include', 'value': 'gold'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'gold', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude gold'}), ({'state': 'exclude', 'value': 'red'}, {'cycle': 'neutral', 'negative-operand': 'red', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear red'}), ({'state': 'exclude', 'value': 'blue'}, {'cycle': 'neutral', 'negative-operand': 'blue', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear blue'}), ({'state': 'exclude', 'value': 'green'}, {'cycle': 'neutral', 'negative-operand': 'green', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear green'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'}), ({'state': 'neutral', 'value': 'red'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include red'}), ({'state': 'neutral', 'value': 'blue'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include blue'}), ({'state': 'neutral', 'value': 'green'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include green'}), ({'state': 'neutral', 'value': 'gold'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include gold'})], 2: [({'state': 'include', 'value': 'blue'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'blue', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude blue'}), ({'state': 'exclude', 'value': 'green'}, {'cycle': 'neutral', 'negative-operand': 'green', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear green'}), ({'state': 'neutral', 'value': 'green'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include green'}), ({'state': 'neutral', 'value': 'gold'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include gold'}), ({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'}), ({'state': 'include', 'value': 'green'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'green', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude green'}), ({'state': 'include', 'value': 'gold'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'gold', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude gold'}), ({'state': 'exclude', 'value': 'red'}, {'cycle': 'neutral', 'negative-operand': 'red', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear red'}), ({'state': 'exclude', 'value': 'blue'}, {'cycle': 'neutral', 'negative-operand': 'blue', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear blue'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'})], 3: [({'state': 'include', 'value': 'green'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'green', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude green'}), ({'state': 'include', 'value': 'blue'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'blue', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude blue'}), ({'state': 'exclude', 'value': 'blue'}, {'cycle': 'neutral', 'negative-operand': 'blue', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear blue'}), ({'state': 'exclude', 'value': 'green'}, {'cycle': 'neutral', 'negative-operand': 'green', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear green'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'}), ({'state': 'neutral', 'value': 'red'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include red'}), ({'state': 'neutral', 'value': 'blue'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include blue'}), ({'state': 'neutral', 'value': 'green'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include green'}), ({'state': 'neutral', 'value': 'gold'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include gold'}), ({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'})], 4: [({'state': 'include', 'value': 'gold'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'gold', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude gold'}), ({'state': 'exclude', 'value': 'red'}, {'cycle': 'neutral', 'negative-operand': 'red', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear red'}), ({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'}), ({'state': 'include', 'value': 'blue'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'blue', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude blue'}), ({'state': 'include', 'value': 'green'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'green', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude green'}), ({'state': 'exclude', 'value': 'blue'}, {'cycle': 'neutral', 'negative-operand': 'blue', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear blue'}), ({'state': 'exclude', 'value': 'green'}, {'cycle': 'neutral', 'negative-operand': 'green', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear green'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'}), ({'state': 'neutral', 'value': 'red'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include red'}), ({'state': 'neutral', 'value': 'blue'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include blue'})], 5: [({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'}), ({'state': 'neutral', 'value': 'red'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include red'}), ({'state': 'neutral', 'value': 'blue'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include blue'}), ({'state': 'neutral', 'value': 'green'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include green'}), ({'state': 'neutral', 'value': 'gold'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include gold'}), ({'state': 'include', 'value': 'blue'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'blue', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude blue'}), ({'state': 'include', 'value': 'green'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'green', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude green'}), ({'state': 'include', 'value': 'gold'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'gold', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude gold'}), ({'state': 'exclude', 'value': 'red'}, {'cycle': 'neutral', 'negative-operand': 'red', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear red'})]}\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":"3b5bba0a8fbb4b28629a141eddd0a626c32ac3a4810ec627e0c8d3c13896d388","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'cycle':({'neutral':'include','include':'exclude','exclude':'neutral'}[d['state']]), 'negative-operand':(d['value'] if d['state']!='neutral' else None), 'positive-operand':(d['value'] if d['state']=='include' else None), 'exclusion-badge':('minus' if d['state']=='exclude' else ('check' if d['state']=='include' else 'none')), 'reverse-cycle':({'neutral':'exclude','include':'neutral','exclude':'include'}[d['state']]), 'negation-help':('Exclude '+d['value'] if d['state']=='include' else ('Clear '+d['value'] if d['state']=='exclude' else 'Include '+d['value']))}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'}), ({'state': 'include', 'value': 'gold'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'gold', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude gold'}), ({'state': 'exclude', 'value': 'red'}, {'cycle': 'neutral', 'negative-operand': 'red', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear red'}), ({'state': 'exclude', 'value': 'blue'}, {'cycle': 'neutral', 'negative-operand': 'blue', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear blue'}), ({'state': 'exclude', 'value': 'green'}, {'cycle': 'neutral', 'negative-operand': 'green', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear green'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'}), ({'state': 'neutral', 'value': 'red'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include red'}), ({'state': 'neutral', 'value': 'blue'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include blue'}), ({'state': 'neutral', 'value': 'green'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include green'}), ({'state': 'neutral', 'value': 'gold'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include gold'})], 2: [({'state': 'include', 'value': 'blue'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'blue', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude blue'}), ({'state': 'exclude', 'value': 'green'}, {'cycle': 'neutral', 'negative-operand': 'green', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear green'}), ({'state': 'neutral', 'value': 'green'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include green'}), ({'state': 'neutral', 'value': 'gold'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include gold'}), ({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'}), ({'state': 'include', 'value': 'green'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'green', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude green'}), ({'state': 'include', 'value': 'gold'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'gold', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude gold'}), ({'state': 'exclude', 'value': 'red'}, {'cycle': 'neutral', 'negative-operand': 'red', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear red'}), ({'state': 'exclude', 'value': 'blue'}, {'cycle': 'neutral', 'negative-operand': 'blue', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear blue'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'})], 3: [({'state': 'include', 'value': 'green'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'green', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude green'}), ({'state': 'include', 'value': 'blue'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'blue', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude blue'}), ({'state': 'exclude', 'value': 'blue'}, {'cycle': 'neutral', 'negative-operand': 'blue', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear blue'}), ({'state': 'exclude', 'value': 'green'}, {'cycle': 'neutral', 'negative-operand': 'green', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear green'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'}), ({'state': 'neutral', 'value': 'red'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include red'}), ({'state': 'neutral', 'value': 'blue'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include blue'}), ({'state': 'neutral', 'value': 'green'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include green'}), ({'state': 'neutral', 'value': 'gold'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include gold'}), ({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'})], 4: [({'state': 'include', 'value': 'gold'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'gold', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude gold'}), ({'state': 'exclude', 'value': 'red'}, {'cycle': 'neutral', 'negative-operand': 'red', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear red'}), ({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'}), ({'state': 'include', 'value': 'blue'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'blue', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude blue'}), ({'state': 'include', 'value': 'green'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'green', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude green'}), ({'state': 'exclude', 'value': 'blue'}, {'cycle': 'neutral', 'negative-operand': 'blue', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear blue'}), ({'state': 'exclude', 'value': 'green'}, {'cycle': 'neutral', 'negative-operand': 'green', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear green'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'}), ({'state': 'neutral', 'value': 'red'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include red'}), ({'state': 'neutral', 'value': 'blue'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include blue'})], 5: [({'state': 'include', 'value': 'red'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'red', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude red'}), ({'state': 'exclude', 'value': 'gold'}, {'cycle': 'neutral', 'negative-operand': 'gold', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear gold'}), ({'state': 'neutral', 'value': 'red'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include red'}), ({'state': 'neutral', 'value': 'blue'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include blue'}), ({'state': 'neutral', 'value': 'green'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include green'}), ({'state': 'neutral', 'value': 'gold'}, {'cycle': 'include', 'negative-operand': None, 'positive-operand': None, 'exclusion-badge': 'none', 'reverse-cycle': 'exclude', 'negation-help': 'Include gold'}), ({'state': 'include', 'value': 'blue'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'blue', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude blue'}), ({'state': 'include', 'value': 'green'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'green', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude green'}), ({'state': 'include', 'value': 'gold'}, {'cycle': 'exclude', 'negative-operand': None, 'positive-operand': 'gold', 'exclusion-badge': 'check', 'reverse-cycle': 'neutral', 'negation-help': 'Exclude gold'}), ({'state': 'exclude', 'value': 'red'}, {'cycle': 'neutral', 'negative-operand': 'red', 'positive-operand': None, 'exclusion-badge': 'minus', 'reverse-cycle': 'include', 'negation-help': 'Clear red'})]}\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-tristate-facet-negative-operand","generated_at":"2026-09-29T14:41:03.961811+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.","root_cause":"The negative-operand decision uses `d['value'] if d['state']!='neutral' else None` instead of the stipulated tristate-facet projection.","sha256":"ed00578592fb17f1cfaf88c41ba5f568160dcbc04f0bfb6552b0601de6ee3ebe","title":"Only excluded facets enter the negative operand channel · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":40.831,"exit_code":1,"observations":[{"actual":{"cycle":"exclude","exclusion-badge":"check","negation-help":"Exclude red","negative-operand":"red","positive-operand":"red","reverse-cycle":"neutral"},"check":"contract fixture 0","expected":{"cycle":"exclude","exclusion-badge":"check","negation-help":"Exclude red","negative-operand":null,"positive-operand":"red","reverse-cycle":"neutral"},"passed":false},{"actual":{"cycle":"exclude","exclusion-badge":"check","negation-help":"Exclude gold","negative-operand":"gold","positive-operand":"gold","reverse-cycle":"neutral"},"check":"contract fixture 1","expected":{"cycle":"exclude","exclusion-badge":"check","negation-help":"Exclude gold","negative-operand":null,"positive-operand":"gold","reverse-cycle":"neutral"},"passed":false},{"actual":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear red","negative-operand":null,"positive-operand":null,"reverse-cycle":"include"},"check":"contract fixture 2","expected":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear red","negative-operand":"red","positive-operand":null,"reverse-cycle":"include"},"passed":false},{"actual":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear blue","negative-operand":null,"positive-operand":null,"reverse-cycle":"include"},"check":"contract fixture 3","expected":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear blue","negative-operand":"blue","positive-operand":null,"reverse-cycle":"include"},"passed":false},{"actual":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear green","negative-operand":null,"positive-operand":null,"reverse-cycle":"include"},"check":"contract fixture 4","expected":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear green","negative-operand":"green","positive-operand":null,"reverse-cycle":"include"},"passed":false},{"actual":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear gold","negative-operand":null,"positive-operand":null,"reverse-cycle":"include"},"check":"contract fixture 5","expected":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear gold","negative-operand":"gold","positive-operand":null,"reverse-cycle":"include"},"passed":false},{"actual":{"cycle":"include","exclusion-badge":"none","negation-help":"Include red","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"check":"contract fixture 6","expected":{"cycle":"include","exclusion-badge":"none","negation-help":"Include red","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"passed":true},{"actual":{"cycle":"include","exclusion-badge":"none","negation-help":"Include blue","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"check":"contract fixture 7","expected":{"cycle":"include","exclusion-badge":"none","negation-help":"Include blue","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"passed":true},{"actual":{"cycle":"include","exclusion-badge":"none","negation-help":"Include green","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"check":"contract fixture 8","expected":{"cycle":"include","exclusion-badge":"none","negation-help":"Include green","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"passed":true},{"actual":{"cycle":"include","exclusion-badge":"none","negation-help":"Include gold","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"check":"contract fixture 9","expected":{"cycle":"include","exclusion-badge":"none","negation-help":"Include gold","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"cycle\": \"exclude\", \"negative-operand\": \"red\", \"positive-operand\": \"red\", \"exclusion-badge\": \"check\", \"reverse-cycle\": \"neutral\", \"negation-help\": \"Exclude red\"}, \"expected\": {\"cycle\": \"exclude\", \"negative-operand\": null, \"positive-operand\": \"red\", \"exclusion-badge\": \"check\", \"reverse-cycle\": \"neutral\", \"negation-help\": \"Exclude red\"}, \"passed\": false}, {\"check\": \"contract fixture 1\", \"actual\": {\"cycle\": \"exclude\", \"negative-operand\": \"gold\", \"positive-operand\": \"gold\", \"exclusion-badge\": \"check\", \"reverse-cycle\": \"neutral\", \"negation-help\": \"Exclude gold\"}, \"expected\": {\"cycle\": \"exclude\", \"negative-operand\": null, \"positive-operand\": \"gold\", \"exclusion-badge\": \"check\", \"reverse-cycle\": \"neutral\", \"negation-help\": \"Exclude gold\"}, \"passed\": false}, {\"check\": \"contract fixture 2\", \"actual\": {\"cycle\": \"neutral\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear red\"}, \"expected\": {\"cycle\": \"neutral\", \"negative-operand\": \"red\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear red\"}, \"passed\": false}, {\"check\": \"contract fixture 3\", \"actual\": {\"cycle\": \"neutral\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear blue\"}, \"expected\": {\"cycle\": \"neutral\", \"negative-operand\": \"blue\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear blue\"}, \"passed\": false}, {\"check\": \"contract fixture 4\", \"actual\": {\"cycle\": \"neutral\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear green\"}, \"expected\": {\"cycle\": \"neutral\", \"negative-operand\": \"green\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear green\"}, \"passed\": false}, {\"check\": \"contract fixture 5\", \"actual\": {\"cycle\": \"neutral\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear gold\"}, \"expected\": {\"cycle\": \"neutral\", \"negative-operand\": \"gold\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear gold\"}, \"passed\": false}, {\"check\": \"contract fixture 6\", \"actual\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include red\"}, \"expected\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include red\"}, \"passed\": true}, {\"check\": \"contract fixture 7\", \"actual\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include blue\"}, \"expected\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include blue\"}, \"passed\": true}, {\"check\": \"contract fixture 8\", \"actual\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include green\"}, \"expected\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include green\"}, \"passed\": true}, {\"check\": \"contract fixture 9\", \"actual\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include gold\"}, \"expected\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include gold\"}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.725,"exit_code":1,"observations":[{"actual":{"cycle":"exclude","exclusion-badge":"check","negation-help":"Exclude red","negative-operand":"red","positive-operand":"red","reverse-cycle":"neutral"},"check":"contract fixture 0","expected":{"cycle":"exclude","exclusion-badge":"check","negation-help":"Exclude red","negative-operand":null,"positive-operand":"red","reverse-cycle":"neutral"},"passed":false},{"actual":{"cycle":"exclude","exclusion-badge":"check","negation-help":"Exclude gold","negative-operand":"gold","positive-operand":"gold","reverse-cycle":"neutral"},"check":"contract fixture 1","expected":{"cycle":"exclude","exclusion-badge":"check","negation-help":"Exclude gold","negative-operand":null,"positive-operand":"gold","reverse-cycle":"neutral"},"passed":false},{"actual":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear red","negative-operand":"red","positive-operand":null,"reverse-cycle":"include"},"check":"contract fixture 2","expected":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear red","negative-operand":"red","positive-operand":null,"reverse-cycle":"include"},"passed":true},{"actual":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear blue","negative-operand":"blue","positive-operand":null,"reverse-cycle":"include"},"check":"contract fixture 3","expected":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear blue","negative-operand":"blue","positive-operand":null,"reverse-cycle":"include"},"passed":true},{"actual":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear green","negative-operand":"green","positive-operand":null,"reverse-cycle":"include"},"check":"contract fixture 4","expected":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear green","negative-operand":"green","positive-operand":null,"reverse-cycle":"include"},"passed":true},{"actual":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear gold","negative-operand":"gold","positive-operand":null,"reverse-cycle":"include"},"check":"contract fixture 5","expected":{"cycle":"neutral","exclusion-badge":"minus","negation-help":"Clear gold","negative-operand":"gold","positive-operand":null,"reverse-cycle":"include"},"passed":true},{"actual":{"cycle":"include","exclusion-badge":"none","negation-help":"Include red","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"check":"contract fixture 6","expected":{"cycle":"include","exclusion-badge":"none","negation-help":"Include red","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"passed":true},{"actual":{"cycle":"include","exclusion-badge":"none","negation-help":"Include blue","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"check":"contract fixture 7","expected":{"cycle":"include","exclusion-badge":"none","negation-help":"Include blue","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"passed":true},{"actual":{"cycle":"include","exclusion-badge":"none","negation-help":"Include green","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"check":"contract fixture 8","expected":{"cycle":"include","exclusion-badge":"none","negation-help":"Include green","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"passed":true},{"actual":{"cycle":"include","exclusion-badge":"none","negation-help":"Include gold","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"check":"contract fixture 9","expected":{"cycle":"include","exclusion-badge":"none","negation-help":"Include gold","negative-operand":null,"positive-operand":null,"reverse-cycle":"exclude"},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"cycle\": \"exclude\", \"negative-operand\": \"red\", \"positive-operand\": \"red\", \"exclusion-badge\": \"check\", \"reverse-cycle\": \"neutral\", \"negation-help\": \"Exclude red\"}, \"expected\": {\"cycle\": \"exclude\", \"negative-operand\": null, \"positive-operand\": \"red\", \"exclusion-badge\": \"check\", \"reverse-cycle\": \"neutral\", \"negation-help\": \"Exclude red\"}, \"passed\": false}, {\"check\": \"contract fixture 1\", \"actual\": {\"cycle\": \"exclude\", \"negative-operand\": \"gold\", \"positive-operand\": \"gold\", \"exclusion-badge\": \"check\", \"reverse-cycle\": \"neutral\", \"negation-help\": \"Exclude gold\"}, \"expected\": {\"cycle\": \"exclude\", \"negative-operand\": null, \"positive-operand\": \"gold\", \"exclusion-badge\": \"check\", \"reverse-cycle\": \"neutral\", \"negation-help\": \"Exclude gold\"}, \"passed\": false}, {\"check\": \"contract fixture 2\", \"actual\": {\"cycle\": \"neutral\", \"negative-operand\": \"red\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear red\"}, \"expected\": {\"cycle\": \"neutral\", \"negative-operand\": \"red\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear red\"}, \"passed\": true}, {\"check\": \"contract fixture 3\", \"actual\": {\"cycle\": \"neutral\", \"negative-operand\": \"blue\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear blue\"}, \"expected\": {\"cycle\": \"neutral\", \"negative-operand\": \"blue\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear blue\"}, \"passed\": true}, {\"check\": \"contract fixture 4\", \"actual\": {\"cycle\": \"neutral\", \"negative-operand\": \"green\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear green\"}, \"expected\": {\"cycle\": \"neutral\", \"negative-operand\": \"green\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear green\"}, \"passed\": true}, {\"check\": \"contract fixture 5\", \"actual\": {\"cycle\": \"neutral\", \"negative-operand\": \"gold\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear gold\"}, \"expected\": {\"cycle\": \"neutral\", \"negative-operand\": \"gold\", \"positive-operand\": null, \"exclusion-badge\": \"minus\", \"reverse-cycle\": \"include\", \"negation-help\": \"Clear gold\"}, \"passed\": true}, {\"check\": \"contract fixture 6\", \"actual\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include red\"}, \"expected\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include red\"}, \"passed\": true}, {\"check\": \"contract fixture 7\", \"actual\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include blue\"}, \"expected\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include blue\"}, \"passed\": true}, {\"check\": \"contract fixture 8\", \"actual\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include green\"}, \"expected\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include green\"}, \"passed\": true}, {\"check\": \"contract fixture 9\", \"actual\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include gold\"}, \"expected\": {\"cycle\": \"include\", \"negative-operand\": null, \"positive-operand\": null, \"exclusion-badge\": \"none\", \"reverse-cycle\": \"exclude\", \"negation-help\": \"Include gold\"}, \"passed\": true}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}