{"abstract":"Reactive export quadrants are charged to the import register.","category":"Power metering accounting","checks":6,"contract":"Rows [active, reactive] are signed interval energies. Return positive reactive energy only from strictly positive active-import rows. Active zero belongs to no import quadrant. This is an explicit simplified quadrant tariff.","contract_signature":"rows","evaluation_group":"model-9101926a3f1f59b6","failed_approach":"Including nonnegative active power still assigns zero-active intervals to the import quadrant.","family":"z-power_metering-reactive-quadrant","id":"FA-12276","implementations":{"attempt":{"sha256":"c32230a48237711744d11d14382f9c4e63993a0628a0dbe2637ad2e61a99a35b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rows):\n    return sum(max(q,0) for p,q in rows if p>=0)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('export quadrant excluded', solve([[-N,4*N]]),0)\ncheck('zero active excluded', solve([[0,4*N]]),0)\ncheck('import inductive included', solve([[N,4*N]]),4*N)\ncheck('negative reactive excluded', solve([[N,-4*N]]),0)\ncheck('mixed quadrants', solve([[N,N],[-N,N],[0,N],[N,-N]]),N)\ncheck('empty', solve([]),0)\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":"756f80451dbda130be0a7d77c4d4654bab170bd47f941e6c32881f0ff2b3d0af","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rows):\n    return sum(max(q,0) for p,q in rows)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('export quadrant excluded', solve([[-N,4*N]]),0)\ncheck('zero active excluded', solve([[0,4*N]]),0)\ncheck('import inductive included', solve([[N,4*N]]),4*N)\ncheck('negative reactive excluded', solve([[N,-4*N]]),0)\ncheck('mixed quadrants', solve([[N,N],[-N,N],[0,N],[N,-N]]),N)\ncheck('empty', solve([]),0)\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":"Simplified integer-energy accounting model; no hardware protocol, legal tariff, measurement uncertainty, or live grid behavior is represented. 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":"z-power_metering-reactive-quadrant","generated_at":"2026-09-29T14:38:55.521403+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Meter settlement depends on explicit register and tariff policies; this controlled model makes that policy observable.","root_cause":"Reactive sign alone is used without the active-power quadrant.","sha256":"19065ca31d222ce499b0a407a987f52dc2f80f71f1572aac9709a73660390c0e","title":"Reactive export quadrants are charged to the import register · 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":39.742,"exit_code":1,"observations":[{"actual":0,"check":"export quadrant excluded","expected":0,"passed":true},{"actual":4,"check":"zero active excluded","expected":0,"passed":false},{"actual":4,"check":"import inductive included","expected":4,"passed":true},{"actual":0,"check":"negative reactive excluded","expected":0,"passed":true},{"actual":2,"check":"mixed quadrants","expected":1,"passed":false},{"actual":0,"check":"empty","expected":0,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"export quadrant excluded\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"zero active excluded\", \"actual\": 4, \"expected\": 0, \"passed\": false}, {\"check\": \"import inductive included\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"negative reactive excluded\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"mixed quadrants\", \"actual\": 2, \"expected\": 1, \"passed\": false}, {\"check\": \"empty\", \"actual\": 0, \"expected\": 0, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.413,"exit_code":1,"observations":[{"actual":4,"check":"export quadrant excluded","expected":0,"passed":false},{"actual":4,"check":"zero active excluded","expected":0,"passed":false},{"actual":4,"check":"import inductive included","expected":4,"passed":true},{"actual":0,"check":"negative reactive excluded","expected":0,"passed":true},{"actual":3,"check":"mixed quadrants","expected":1,"passed":false},{"actual":0,"check":"empty","expected":0,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"export quadrant excluded\", \"actual\": 4, \"expected\": 0, \"passed\": false}, {\"check\": \"zero active excluded\", \"actual\": 4, \"expected\": 0, \"passed\": false}, {\"check\": \"import inductive included\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"negative reactive excluded\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"mixed quadrants\", \"actual\": 3, \"expected\": 1, \"passed\": false}, {\"check\": \"empty\", \"actual\": 0, \"expected\": 0, \"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."}}