{"abstract":"A negated group advertises its polarity is violated by the widget projection.","category":"Filter interfaces","checks":10,"contract":"Filter groups summarize direct children with explicit all/any combination and a negation badge, retaining empty-group state without inventing operands. This example checks: A negated group advertises its polarity.","contract_signature":"d","evaluation_group":"s3-filter-interfaces-group-summary","failed_approach":"The attempted correction `'not '` still violates the explicit contract fixtures.","family":"s3-filter-interfaces-group-summary-negation-label","id":"FA-24996","implementations":{"attempt":{"sha256":"5807ace5253fbd501aebf7b107a829e78d545ee30b47ace885aeb40fd4a9fa56","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'join-label':('all' if d['mode']=='and' else 'any'), 'negation-label':('not '), 'direct-count':(len(d['children'])), 'active-count':(sum(x['enabled'] for x in d['children'])), 'empty-summary':('empty' if not d['children'] else 'configured'), 'parentheses':(len(d['children'])>1 and d['mode']!=d['parent'])}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'mode': 'and', 'parent': 'and', 'negated': True, 'children': []}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False})], 2: [({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': []}, {'join-label': 'any', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': []}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': []}, {'join-label': 'any', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': []}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False})], 3: [({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False})], 4: [({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': []}, {'join-label': 'any', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': []}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': []}, {'join-label': 'all', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': []}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': []}, {'join-label': 'all', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False})], 5: [({'mode': 'and', 'parent': 'or', 'negated': True, 'children': []}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': 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":"0771d510769a3127c29f593ea24c382e290d6d04ad78f5014901b346b014cbdb","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    return {'join-label':('all' if d['mode']=='and' else 'any'), 'negation-label':(''), 'direct-count':(len(d['children'])), 'active-count':(sum(x['enabled'] for x in d['children'])), 'empty-summary':('empty' if not d['children'] else 'configured'), 'parentheses':(len(d['children'])>1 and d['mode']!=d['parent'])}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'mode': 'and', 'parent': 'and', 'negated': True, 'children': []}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False})], 2: [({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': []}, {'join-label': 'any', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': []}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': []}, {'join-label': 'any', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': []}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False})], 3: [({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False})], 4: [({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': []}, {'join-label': 'any', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': []}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'any', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': []}, {'join-label': 'all', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': []}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': []}, {'join-label': 'all', 'negation-label': '', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 0, 'empty-summary': 'configured', 'parentheses': False})], 5: [({'mode': 'and', 'parent': 'or', 'negated': True, 'children': []}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 0, 'active-count': 0, 'empty-summary': 'empty', 'parentheses': False}), ({'mode': 'or', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'and', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': False, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': '', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': False}), ({'mode': 'and', 'parent': 'or', 'negated': True, 'children': [{'leaves': 1, 'enabled': True}, {'leaves': 2, 'enabled': False}]}, {'join-label': 'all', 'negation-label': 'not ', 'direct-count': 2, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': True}), ({'mode': 'or', 'parent': 'and', 'negated': False, 'children': [{'leaves': 3, 'enabled': True}]}, {'join-label': 'any', 'negation-label': '', 'direct-count': 1, 'active-count': 1, 'empty-summary': 'configured', 'parentheses': 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-summary-negation-label","generated_at":"2026-09-29T14:41:02.612082+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 negation-label decision uses `''` instead of the stipulated group-summary projection.","sha256":"5422d02b27f7d9e797b960671014adb013048c20d09b73f589a20933c3fb6604","title":"A negated group advertises its polarity · 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.696,"exit_code":1,"observations":[{"actual":{"active-count":0,"direct-count":0,"empty-summary":"empty","join-label":"all","negation-label":"not ","parentheses":false},"check":"contract fixture 0","expected":{"active-count":0,"direct-count":0,"empty-summary":"empty","join-label":"all","negation-label":"not ","parentheses":false},"passed":true},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":false},"check":"contract fixture 1","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":false},"passed":false},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":false},"check":"contract fixture 2","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":false},"passed":true},{"actual":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":false},"check":"contract fixture 3","expected":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":false},"passed":false},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":true},"check":"contract fixture 4","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":true},"passed":false},{"actual":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":false},"check":"contract fixture 5","expected":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":false},"passed":true},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":true},"check":"contract fixture 6","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":true},"passed":true},{"actual":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"any","negation-label":"not ","parentheses":false},"check":"contract fixture 7","expected":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"any","negation-label":"","parentheses":false},"passed":false},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"any","negation-label":"not ","parentheses":true},"check":"contract fixture 8","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"any","negation-label":"","parentheses":true},"passed":false},{"actual":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"any","negation-label":"not ","parentheses":false},"check":"contract fixture 9","expected":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"any","negation-label":"not ","parentheses":false},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 0, \"active-count\": 0, \"empty-summary\": \"empty\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 0, \"active-count\": 0, \"empty-summary\": \"empty\", \"parentheses\": false}, \"passed\": true}, {\"check\": \"contract fixture 1\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": false}, {\"check\": \"contract fixture 2\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": true}, {\"check\": \"contract fixture 3\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": false}, {\"check\": \"contract fixture 4\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"passed\": false}, {\"check\": \"contract fixture 5\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": true}, {\"check\": \"contract fixture 6\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"passed\": true}, {\"check\": \"contract fixture 7\", \"actual\": {\"join-label\": \"any\", \"negation-label\": \"not \", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"any\", \"negation-label\": \"\", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": false}, {\"check\": \"contract fixture 8\", \"actual\": {\"join-label\": \"any\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"expected\": {\"join-label\": \"any\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"passed\": false}, {\"check\": \"contract fixture 9\", \"actual\": {\"join-label\": \"any\", \"negation-label\": \"not \", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"any\", \"negation-label\": \"not \", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":37.837,"exit_code":1,"observations":[{"actual":{"active-count":0,"direct-count":0,"empty-summary":"empty","join-label":"all","negation-label":"","parentheses":false},"check":"contract fixture 0","expected":{"active-count":0,"direct-count":0,"empty-summary":"empty","join-label":"all","negation-label":"not ","parentheses":false},"passed":false},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":false},"check":"contract fixture 1","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":false},"passed":true},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":false},"check":"contract fixture 2","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":false},"passed":false},{"actual":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":false},"check":"contract fixture 3","expected":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":false},"passed":true},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":true},"check":"contract fixture 4","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":true},"passed":true},{"actual":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":false},"check":"contract fixture 5","expected":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":false},"passed":false},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"","parentheses":true},"check":"contract fixture 6","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"all","negation-label":"not ","parentheses":true},"passed":false},{"actual":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"any","negation-label":"","parentheses":false},"check":"contract fixture 7","expected":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"any","negation-label":"","parentheses":false},"passed":true},{"actual":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"any","negation-label":"","parentheses":true},"check":"contract fixture 8","expected":{"active-count":1,"direct-count":2,"empty-summary":"configured","join-label":"any","negation-label":"","parentheses":true},"passed":true},{"actual":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"any","negation-label":"","parentheses":false},"check":"contract fixture 9","expected":{"active-count":1,"direct-count":1,"empty-summary":"configured","join-label":"any","negation-label":"not ","parentheses":false},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"contract fixture 0\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 0, \"active-count\": 0, \"empty-summary\": \"empty\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 0, \"active-count\": 0, \"empty-summary\": \"empty\", \"parentheses\": false}, \"passed\": false}, {\"check\": \"contract fixture 1\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": true}, {\"check\": \"contract fixture 2\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": false}, {\"check\": \"contract fixture 3\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": true}, {\"check\": \"contract fixture 4\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"passed\": true}, {\"check\": \"contract fixture 5\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": false}, {\"check\": \"contract fixture 6\", \"actual\": {\"join-label\": \"all\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"expected\": {\"join-label\": \"all\", \"negation-label\": \"not \", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"passed\": false}, {\"check\": \"contract fixture 7\", \"actual\": {\"join-label\": \"any\", \"negation-label\": \"\", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"any\", \"negation-label\": \"\", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": true}, {\"check\": \"contract fixture 8\", \"actual\": {\"join-label\": \"any\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"expected\": {\"join-label\": \"any\", \"negation-label\": \"\", \"direct-count\": 2, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": true}, \"passed\": true}, {\"check\": \"contract fixture 9\", \"actual\": {\"join-label\": \"any\", \"negation-label\": \"\", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"expected\": {\"join-label\": \"any\", \"negation-label\": \"not \", \"direct-count\": 1, \"active-count\": 1, \"empty-summary\": \"configured\", \"parentheses\": false}, \"passed\": false}], \"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."}}