{"abstract":"Trackers with unequal stops are clamped with the limits swapped.","category":"Solar tracker geometry","checks":7,"contract":"sun_el < 0: [0.0, 'night']. 0 <= sun_el < wake_el: park facing the low sun, [-east_lim, 'dawn'] in the morning (am true) or [west_lim, 'dusk'] in the evening. Otherwise track the ideal angle clamped to the asymmetric limits [-east_lim, west_lim] ('track'). Angles are floats.","evaluation_group":"w2-solar_tracker_geometry-dawn-dusk-parking","failed_approach":"Using the east limit on both sides cuts the west range.","family":"w2-solar_tracker_geometry-dawn-dusk-parking-asymmetric-tracking-limits","id":"FA-93821","implementations":{"attempt":{"sha256":"0a2c54e89cf36d75b70c9b6150d6933e8d5939d48bff919e3cfee273cb25aa48","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(ideal, sun_el, am, wake_el, east_lim, west_lim):\n    if sun_el < 0:\n        return [0.0, 'night']\n    if sun_el < wake_el:\n        if am:\n            return [-float(east_lim), 'dawn']\n        return [float(west_lim), 'dusk']\n    return [float(max(-east_lim, min(east_lim, ideal))), 'track']\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 20, True, 3, 55, 50], [50.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [55, 5, True, 5, 50, 60],\n   [55.0, 'track']],\n  ['control 1', [45, 5, False, 3, 45, 50], [45.0, 'track']],\n  ['control 2', [55, 3, True, 3, 50, 50], [50.0, 'track']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [-50, 3, False, 3, 45, 50], [-45.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 20, False, 5, 50, 60],\n   [60.0, 'track']],\n  ['control 1', [70, 5, False, 3, 50, 50], [50.0, 'track']],\n  ['control 2', [0, -6, True, 3, 50, 60], [0.0, 'night']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 3, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 20, False, 3, 45, 60],\n   [60.0, 'track']],\n  ['control 1', [0, 8, True, 5, 55, 50], [0.0, 'track']],\n  ['control 2', [-20, 0, False, 5, 55, 50], [50.0, 'dusk']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 5, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 3, True, 3, 45, 50],\n   [50.0, 'track']],\n  ['control 1', [-20, 3, False, 3, 45, 50], [-20.0, 'track']],\n  ['control 2', [45, -6, False, 5, 55, 60], [0.0, 'night']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 3, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [55, 8, False, 5, 45, 60],\n   [55.0, 'track']],\n  ['control 1', [55, 0, True, 5, 45, 60], [-45.0, 'dawn']],\n  ['control 2', [-70, -6, True, 5, 55, 50], [0.0, 'night']]]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), 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":"efaafcf65f989705b2991efdcd42181489d263a99ee9e773c4d8dc0eefc8d4a5","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(ideal, sun_el, am, wake_el, east_lim, west_lim):\n    if sun_el < 0:\n        return [0.0, 'night']\n    if sun_el < wake_el:\n        if am:\n            return [-float(east_lim), 'dawn']\n        return [float(west_lim), 'dusk']\n    return [float(max(-west_lim, min(east_lim, ideal))), 'track']\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 20, True, 3, 55, 50], [50.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [55, 5, True, 5, 50, 60],\n   [55.0, 'track']],\n  ['control 1', [45, 5, False, 3, 45, 50], [45.0, 'track']],\n  ['control 2', [55, 3, True, 3, 50, 50], [50.0, 'track']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [-50, 3, False, 3, 45, 50], [-45.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 20, False, 5, 50, 60],\n   [60.0, 'track']],\n  ['control 1', [70, 5, False, 3, 50, 50], [50.0, 'track']],\n  ['control 2', [0, -6, True, 3, 50, 60], [0.0, 'night']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 3, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 20, False, 3, 45, 60],\n   [60.0, 'track']],\n  ['control 1', [0, 8, True, 5, 55, 50], [0.0, 'track']],\n  ['control 2', [-20, 0, False, 5, 55, 50], [50.0, 'dusk']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 5, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 3, True, 3, 45, 50],\n   [50.0, 'track']],\n  ['control 1', [-20, 3, False, 3, 45, 50], [-20.0, 'track']],\n  ['control 2', [45, -6, False, 5, 55, 60], [0.0, 'night']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 3, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [55, 8, False, 5, 45, 60],\n   [55.0, 'track']],\n  ['control 1', [55, 0, True, 5, 45, 60], [-45.0, 'dawn']],\n  ['control 2', [-70, -6, True, 5, 55, 50], [0.0, 'night']]]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), 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":"7923baaba6266bea088253f510b973a5551b2e94d4ca36b09864818252f76049","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(ideal, sun_el, am, wake_el, east_lim, west_lim):\n    if sun_el < 0:\n        return [0.0, 'night']\n    if sun_el < wake_el:\n        if am:\n            return [-float(east_lim), 'dawn']\n        return [float(west_lim), 'dusk']\n    return [float(max(-east_lim, min(west_lim, ideal))), 'track']\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 20, True, 3, 55, 50], [50.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [55, 5, True, 5, 50, 60],\n   [55.0, 'track']],\n  ['control 1', [45, 5, False, 3, 45, 50], [45.0, 'track']],\n  ['control 2', [55, 3, True, 3, 50, 50], [50.0, 'track']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [-50, 3, False, 3, 45, 50], [-45.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 20, False, 5, 50, 60],\n   [60.0, 'track']],\n  ['control 1', [70, 5, False, 3, 50, 50], [50.0, 'track']],\n  ['control 2', [0, -6, True, 3, 50, 60], [0.0, 'night']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 3, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 20, False, 3, 45, 60],\n   [60.0, 'track']],\n  ['control 1', [0, 8, True, 5, 55, 50], [0.0, 'track']],\n  ['control 2', [-20, 0, False, 5, 55, 50], [50.0, 'dusk']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 5, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [70, 3, True, 3, 45, 50],\n   [50.0, 'track']],\n  ['control 1', [-20, 3, False, 3, 45, 50], [-20.0, 'track']],\n  ['control 2', [45, -6, False, 5, 55, 60], [0.0, 'night']]],\n [['boundary: sun exactly on horizon', [-70, 0, True, 5, 50, 60], [-50.0, 'dawn']],\n  ['boundary: sun exactly at wake elevation', [-50, 5, True, 5, 50, 60], [-50.0, 'track']],\n  ['normal: evening park', [55, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: asymmetric tracking limits', [70, 8, True, 3, 55, 60], [60.0, 'track']],\n  ['regression: asymmetric tracking limits (partial repair)', [55, 8, False, 5, 45, 60],\n   [55.0, 'track']],\n  ['control 1', [55, 0, True, 5, 45, 60], [-45.0, 'dawn']],\n  ['control 2', [-70, -6, True, 5, 55, 50], [0.0, 'night']]]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), 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 stipulated toy contract for teaching; no claim of conformance with any standard, vendor protocol or production controller. 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":"w2-solar_tracker_geometry-dawn-dusk-parking-asymmetric-tracking-limits","generated_at":"2026-09-29T14:51:58.718041+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Single-axis and dual-axis solar trackers turn a sun direction into actuator commands; a sign, frame or limit mistake points a whole plant away from the sun or into a mechanical stop.","repair":"Clamp to [-east_lim, west_lim].","root_cause":"The east and west limits are applied to the wrong sides.","sha256":"e25b733fa3ff561c8cad24a866970e49ef6fd4f43ba29626ddc249bc89d8cf37","title":"Dawn and dusk parking positions: asymmetric tracking limits · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.626,"exit_code":1,"observations":[{"actual":[-50.0,"dawn"],"check":"boundary: sun exactly on horizon","expected":[-50.0,"dawn"],"passed":true},{"actual":[-50.0,"track"],"check":"boundary: sun exactly at wake elevation","expected":[-50.0,"track"],"passed":true},{"actual":[60.0,"dusk"],"check":"normal: evening park","expected":[60.0,"dusk"],"passed":true},{"actual":[55.0,"track"],"check":"regression: asymmetric tracking limits","expected":[50.0,"track"],"passed":false},{"actual":[50.0,"track"],"check":"regression: asymmetric tracking limits (partial repair)","expected":[55.0,"track"],"passed":false},{"actual":[45.0,"track"],"check":"control 1","expected":[45.0,"track"],"passed":true},{"actual":[50.0,"track"],"check":"control 2","expected":[50.0,"track"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"boundary: sun exactly on horizon\", \"actual\": [-50.0, \"dawn\"], \"expected\": [-50.0, \"dawn\"], \"passed\": true}, {\"check\": \"boundary: sun exactly at wake elevation\", \"actual\": [-50.0, \"track\"], \"expected\": [-50.0, \"track\"], \"passed\": true}, {\"check\": \"normal: evening park\", \"actual\": [60.0, \"dusk\"], \"expected\": [60.0, \"dusk\"], \"passed\": true}, {\"check\": \"regression: asymmetric tracking limits\", \"actual\": [55.0, \"track\"], \"expected\": [50.0, \"track\"], \"passed\": false}, {\"check\": \"regression: asymmetric tracking limits (partial repair)\", \"actual\": [50.0, \"track\"], \"expected\": [55.0, \"track\"], \"passed\": false}, {\"check\": \"control 1\", \"actual\": [45.0, \"track\"], \"expected\": [45.0, \"track\"], \"passed\": true}, {\"check\": \"control 2\", \"actual\": [50.0, \"track\"], \"expected\": [50.0, \"track\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.202,"exit_code":1,"observations":[{"actual":[-50.0,"dawn"],"check":"boundary: sun exactly on horizon","expected":[-50.0,"dawn"],"passed":true},{"actual":[-50.0,"track"],"check":"boundary: sun exactly at wake elevation","expected":[-50.0,"track"],"passed":true},{"actual":[60.0,"dusk"],"check":"normal: evening park","expected":[60.0,"dusk"],"passed":true},{"actual":[55.0,"track"],"check":"regression: asymmetric tracking limits","expected":[50.0,"track"],"passed":false},{"actual":[50.0,"track"],"check":"regression: asymmetric tracking limits (partial repair)","expected":[55.0,"track"],"passed":false},{"actual":[45.0,"track"],"check":"control 1","expected":[45.0,"track"],"passed":true},{"actual":[50.0,"track"],"check":"control 2","expected":[50.0,"track"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"boundary: sun exactly on horizon\", \"actual\": [-50.0, \"dawn\"], \"expected\": [-50.0, \"dawn\"], \"passed\": true}, {\"check\": \"boundary: sun exactly at wake elevation\", \"actual\": [-50.0, \"track\"], \"expected\": [-50.0, \"track\"], \"passed\": true}, {\"check\": \"normal: evening park\", \"actual\": [60.0, \"dusk\"], \"expected\": [60.0, \"dusk\"], \"passed\": true}, {\"check\": \"regression: asymmetric tracking limits\", \"actual\": [55.0, \"track\"], \"expected\": [50.0, \"track\"], \"passed\": false}, {\"check\": \"regression: asymmetric tracking limits (partial repair)\", \"actual\": [50.0, \"track\"], \"expected\": [55.0, \"track\"], \"passed\": false}, {\"check\": \"control 1\", \"actual\": [45.0, \"track\"], \"expected\": [45.0, \"track\"], \"passed\": true}, {\"check\": \"control 2\", \"actual\": [50.0, \"track\"], \"expected\": [50.0, \"track\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":44.736,"exit_code":0,"observations":[{"actual":[-50.0,"dawn"],"check":"boundary: sun exactly on horizon","expected":[-50.0,"dawn"],"passed":true},{"actual":[-50.0,"track"],"check":"boundary: sun exactly at wake elevation","expected":[-50.0,"track"],"passed":true},{"actual":[60.0,"dusk"],"check":"normal: evening park","expected":[60.0,"dusk"],"passed":true},{"actual":[50.0,"track"],"check":"regression: asymmetric tracking limits","expected":[50.0,"track"],"passed":true},{"actual":[55.0,"track"],"check":"regression: asymmetric tracking limits (partial repair)","expected":[55.0,"track"],"passed":true},{"actual":[45.0,"track"],"check":"control 1","expected":[45.0,"track"],"passed":true},{"actual":[50.0,"track"],"check":"control 2","expected":[50.0,"track"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"boundary: sun exactly on horizon\", \"actual\": [-50.0, \"dawn\"], \"expected\": [-50.0, \"dawn\"], \"passed\": true}, {\"check\": \"boundary: sun exactly at wake elevation\", \"actual\": [-50.0, \"track\"], \"expected\": [-50.0, \"track\"], \"passed\": true}, {\"check\": \"normal: evening park\", \"actual\": [60.0, \"dusk\"], \"expected\": [60.0, \"dusk\"], \"passed\": true}, {\"check\": \"regression: asymmetric tracking limits\", \"actual\": [50.0, \"track\"], \"expected\": [50.0, \"track\"], \"passed\": true}, {\"check\": \"regression: asymmetric tracking limits (partial repair)\", \"actual\": [55.0, \"track\"], \"expected\": [55.0, \"track\"], \"passed\": true}, {\"check\": \"control 1\", \"actual\": [45.0, \"track\"], \"expected\": [45.0, \"track\"], \"passed\": true}, {\"check\": \"control 2\", \"actual\": [50.0, \"track\"], \"expected\": [50.0, \"track\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}