{"abstract":"At dusk the rows face east, away from the setting sun.","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.","contract_signature":"ideal, sun_el, am, wake_el, east_lim, west_lim","evaluation_group":"w2-solar_tracker_geometry-dawn-dusk-parking","failed_approach":"Using the east limit magnitude parks at the wrong angle on asymmetric trackers.","family":"w2-solar_tracker_geometry-dawn-dusk-parking-dusk-parking-side","id":"FA-93816","implementations":{"attempt":{"sha256":"87d7d2a1eb3f66bac43f3eebf13df2e68d5bde52ee070adfe3c4307920fa3f03","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(east_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: dusk parking side', [-20, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [-20, 2, False, 3, 45, 60], [60.0, 'dusk']],\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: dusk parking side', [70, 0, False, 3, 45, 60], [60.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [-50, 0, False, 3, 55, 60], [60.0, 'dusk']],\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: dusk parking side', [55, 0, False, 3, 55, 50], [50.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [45, 0, False, 5, 45, 60], [60.0, 'dusk']],\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: dusk parking side', [-50, 0, False, 3, 55, 50], [50.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [-20, 3, False, 5, 45, 50], [50.0, 'dusk']],\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: dusk parking side', [-70, 2, False, 3, 45, 60], [60.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [0, 2, False, 3, 50, 60], [60.0, 'dusk']],\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":"47d972782f271da6e6982789d6f58e4c5b155a720d72d6dc83993c1d4d098e27","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: dusk parking side', [-20, 2, False, 5, 50, 60], [60.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [-20, 2, False, 3, 45, 60], [60.0, 'dusk']],\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: dusk parking side', [70, 0, False, 3, 45, 60], [60.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [-50, 0, False, 3, 55, 60], [60.0, 'dusk']],\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: dusk parking side', [55, 0, False, 3, 55, 50], [50.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [45, 0, False, 5, 45, 60], [60.0, 'dusk']],\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: dusk parking side', [-50, 0, False, 3, 55, 50], [50.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [-20, 3, False, 5, 45, 50], [50.0, 'dusk']],\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: dusk parking side', [-70, 2, False, 3, 45, 60], [60.0, 'dusk']],\n  ['regression: dusk parking side (partial repair)', [0, 2, False, 3, 50, 60], [60.0, 'dusk']],\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-dusk-parking-side","generated_at":"2026-09-29T14:51:58.706819+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.","root_cause":"The dusk park angle has the wrong sign.","sha256":"b47c477c108dec96b003f8dc47b20df93eca5e41f0850d578ba95d45d9b9b61d","title":"Dawn and dusk parking positions: dusk parking side · 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":41.571,"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":[50.0,"dusk"],"check":"normal: evening park","expected":[60.0,"dusk"],"passed":false},{"actual":[50.0,"dusk"],"check":"regression: dusk parking side","expected":[60.0,"dusk"],"passed":false},{"actual":[45.0,"dusk"],"check":"regression: dusk parking side (partial repair)","expected":[60.0,"dusk"],"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\": [50.0, \"dusk\"], \"expected\": [60.0, \"dusk\"], \"passed\": false}, {\"check\": \"regression: dusk parking side\", \"actual\": [50.0, \"dusk\"], \"expected\": [60.0, \"dusk\"], \"passed\": false}, {\"check\": \"regression: dusk parking side (partial repair)\", \"actual\": [45.0, \"dusk\"], \"expected\": [60.0, \"dusk\"], \"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.246,"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":false},{"actual":[-60.0,"dusk"],"check":"regression: dusk parking side","expected":[60.0,"dusk"],"passed":false},{"actual":[-60.0,"dusk"],"check":"regression: dusk parking side (partial repair)","expected":[60.0,"dusk"],"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\": false}, {\"check\": \"regression: dusk parking side\", \"actual\": [-60.0, \"dusk\"], \"expected\": [60.0, \"dusk\"], \"passed\": false}, {\"check\": \"regression: dusk parking side (partial repair)\", \"actual\": [-60.0, \"dusk\"], \"expected\": [60.0, \"dusk\"], \"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"}},"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."}}