{"method":"Strict separation re-solve of the published topology; exact circular-area continuation from zero to 9.95e-7; contact-specific official polygon-deficit corrections; mixed-integer six-decimal polishing of positions and angles with endpoint containment and a free enclosing center. Two independent randomized fresh starts used the same homotopy.","seed":22007,"official_valid":true,"official_score":"2.94852695","official_score_full":2.948526950912552,"solution":[{"x":0.545425,"y":0.67215,"theta":-0.570778},{"x":1.135484,"y":-1.23874,"theta":2.227365},{"x":-0.584124,"y":-0.217653,"theta":-1.671787},{"x":1.843118,"y":0.631801,"theta":-0.722762},{"x":0.278186,"y":1.928675,"theta":2.264578},{"x":-0.723715,"y":1.809349,"theta":3.126118},{"x":-1.624637,"y":1.076193,"theta":-2.992325},{"x":-0.56981,"y":0.785952,"theta":-1.682231},{"x":0.032918,"y":1.724683,"theta":-0.877015},{"x":1.261991,"y":1.484613,"theta":0.453135},{"x":-1.944933,"y":-0.121111,"theta":-2.464295},{"x":-1.573106,"y":-1.149938,"theta":-1.641622},{"x":1.049635,"y":-2.567295,"theta":1.95895},{"x":-0.789401,"y":-1.781407,"theta":-0.792106},{"x":1.811166,"y":-0.718041,"theta":-0.914204}],"solution_json":"[\n  {\n    \"x\": 0.545425,\n    \"y\": 0.67215,\n    \"theta\": -0.570778\n  },\n  {\n    \"x\": 1.135484,\n    \"y\": -1.23874,\n    \"theta\": 2.227365\n  },\n  {\n    \"x\": -0.584124,\n    \"y\": -0.217653,\n    \"theta\": -1.671787\n  },\n  {\n    \"x\": 1.843118,\n    \"y\": 0.631801,\n    \"theta\": -0.722762\n  },\n  {\n    \"x\": 0.278186,\n    \"y\": 1.928675,\n    \"theta\": 2.264578\n  },\n  {\n    \"x\": -0.723715,\n    \"y\": 1.809349,\n    \"theta\": 3.126118\n  },\n  {\n    \"x\": -1.624637,\n    \"y\": 1.076193,\n    \"theta\": -2.992325\n  },\n  {\n    \"x\": -0.56981,\n    \"y\": 0.785952,\n    \"theta\": -1.682231\n  },\n  {\n    \"x\": 0.032918,\n    \"y\": 1.724683,\n    \"theta\": -0.877015\n  },\n  {\n    \"x\": 1.261991,\n    \"y\": 1.484613,\n    \"theta\": 0.453135\n  },\n  {\n    \"x\": -1.944933,\n    \"y\": -0.121111,\n    \"theta\": -2.464295\n  },\n  {\n    \"x\": -1.573106,\n    \"y\": -1.149938,\n    \"theta\": -1.641622\n  },\n  {\n    \"x\": 1.049635,\n    \"y\": -2.567295,\n    \"theta\": 1.95895\n  },\n  {\n    \"x\": -0.789401,\n    \"y\": -1.781407,\n    \"theta\": -0.792106\n  },\n  {\n    \"x\": 1.811166,\n    \"y\": -0.718041,\n    \"theta\": -0.914204\n  }\n]\n","solution_sha256":"cefac3368caae7f9dea0c4cdc0e87d869f3a9bd76ba75292b1cd4b7fff7c8fb9","mec":{"x":-0.0001819080616875258,"y":0.00013448997007248039,"radius":2.948526950912552},"max_pair_area":9.997822348073144e-07,"max_pair_area_kind":"official 4096-arc-point Shapely polygons, after rounding","max_pair_indices":[13,2],"max_containment_excess":1.98507876802978e-13,"inherited_baseline":{"official_valid":true,"official_score":"2.94852695","official_score_full":2.948526950912552,"solution":[{"x":0.545425,"y":0.67215,"theta":-0.570778},{"x":1.135484,"y":-1.23874,"theta":2.227365},{"x":-0.584124,"y":-0.217653,"theta":-1.671787},{"x":1.843118,"y":0.631801,"theta":-0.722762},{"x":0.278186,"y":1.928675,"theta":2.264578},{"x":-0.723715,"y":1.809349,"theta":3.126118},{"x":-1.624637,"y":1.076193,"theta":-2.992325},{"x":-0.56981,"y":0.785952,"theta":-1.682231},{"x":0.032918,"y":1.724683,"theta":-0.877015},{"x":1.261991,"y":1.484613,"theta":0.453135},{"x":-1.944933,"y":-0.121111,"theta":-2.464295},{"x":-1.573106,"y":-1.149938,"theta":-1.641622},{"x":1.049635,"y":-2.567295,"theta":1.95895},{"x":-0.789401,"y":-1.781407,"theta":-0.792106},{"x":1.811166,"y":-0.718041,"theta":-0.914204}],"source":"Requester BASELINE and hash-verified after-published input","retained":true},"best_new_score":2.9485269509125525,"best_new_score_8":"2.94852695","best_new_solution":[{"x":0.545417,"y":0.672155,"theta":-0.570778},{"x":1.135476,"y":-1.238735,"theta":2.227365},{"x":-0.584132,"y":-0.217648,"theta":-1.671787},{"x":1.84311,"y":0.631806,"theta":-0.722762},{"x":0.278178,"y":1.92868,"theta":2.264578},{"x":-0.723723,"y":1.809354,"theta":3.126117},{"x":-1.624645,"y":1.076198,"theta":-2.992325},{"x":-0.569818,"y":0.785957,"theta":-1.682231},{"x":0.03291,"y":1.724688,"theta":-0.877015},{"x":1.261983,"y":1.484618,"theta":0.453135},{"x":-1.944941,"y":-0.121106,"theta":-2.464295},{"x":-1.573114,"y":-1.149933,"theta":-1.641622},{"x":1.049627,"y":-2.56729,"theta":1.95895},{"x":-0.789409,"y":-1.781402,"theta":-0.792106},{"x":1.811158,"y":-0.718036,"theta":-0.914212}],"best_new_note":"A baseline-derived grid variant ties the inherited radius to eight decimals. It shifts every center by (-8e-6,+5e-6), changes theta[5] by -1e-6 and theta[14] by -8e-6. This is not a new record.","best_fresh_score":3.049568873569378,"best_fresh_score_8":"3.04956887","best_fresh_solution":[{"x":0.270043,"y":-2.031701,"theta":-1.245156},{"x":-1.079533,"y":-0.094318,"theta":3.492244},{"x":2.036043,"y":0.195561,"theta":-2.88032},{"x":0.304317,"y":1.051106,"theta":2.412414},{"x":2.255578,"y":-1.792272,"theta":2.470156},{"x":1.898675,"y":2.166772,"theta":-2.290345},{"x":-1.687462,"y":1.231352,"theta":0.598518},{"x":2.042337,"y":0.17202,"theta":0.261273},{"x":-1.999039,"y":0.452297,"theta":-3.314754},{"x":-0.061617,"y":0.033655,"theta":-2.306376},{"x":-1.899325,"y":-0.770257,"theta":-2.107137},{"x":0.387475,"y":-0.936648,"theta":-0.775419},{"x":1.045731,"y":0.380124,"theta":2.83582},{"x":-1.308846,"y":-1.57723,"theta":-0.939097},{"x":-0.097668,"y":2.04724,"theta":1.580366}],"strict_radius":2.9486819093371306,"strict_witness":{"official_valid":true,"official_score":"2.94868191","official_score_full":2.9486819093371306,"mec":[-5.507653552983339e-07,-3.848655347152636e-07,2.9486819093371306],"max_pair_area":0.0,"max_pair_indices":[14,13],"max_containment_excess":9.85878045867139e-14,"solution":[{"x":0.21001,"y":-0.839844,"theta":-2.785474},{"x":-1.672651,"y":-0.164871,"theta":0.012854},{"x":0.176204,"y":0.597847,"theta":2.396732},{"x":-0.601166,"y":-1.853635,"theta":-2.937275},{"x":1.375634,"y":-1.380214,"theta":0.050794},{"x":1.881546,"y":-0.507093,"theta":0.911226},{"x":1.835789,"y":0.653634,"theta":1.076359},{"x":0.970478,"y":-0.015935,"theta":2.386258},{"x":1.359435,"y":-1.061581,"theta":-3.090799},{"x":0.429826,"y":-1.900687,"theta":-1.761366},{"x":1.07026,"y":1.628466,"theta":1.604399},{"x":0.024077,"y":1.948532,"theta":2.42703},{"x":-2.683866,"y":0.701134,"theta":-0.25553},{"x":-0.951501,"y":1.70059,"theta":-3.00722},{"x":-1.661686,"y":-1.017921,"theta":-3.128739}],"solution_json":"[\n  {\n    \"x\": 0.21001,\n    \"y\": -0.839844,\n    \"theta\": -2.785474\n  },\n  {\n    \"x\": -1.672651,\n    \"y\": -0.164871,\n    \"theta\": 0.012854\n  },\n  {\n    \"x\": 0.176204,\n    \"y\": 0.597847,\n    \"theta\": 2.396732\n  },\n  {\n    \"x\": -0.601166,\n    \"y\": -1.853635,\n    \"theta\": -2.937275\n  },\n  {\n    \"x\": 1.375634,\n    \"y\": -1.380214,\n    \"theta\": 0.050794\n  },\n  {\n    \"x\": 1.881546,\n    \"y\": -0.507093,\n    \"theta\": 0.911226\n  },\n  {\n    \"x\": 1.835789,\n    \"y\": 0.653634,\n    \"theta\": 1.076359\n  },\n  {\n    \"x\": 0.970478,\n    \"y\": -0.015935,\n    \"theta\": 2.386258\n  },\n  {\n    \"x\": 1.359435,\n    \"y\": -1.061581,\n    \"theta\": -3.090799\n  },\n  {\n    \"x\": 0.429826,\n    \"y\": -1.900687,\n    \"theta\": -1.761366\n  },\n  {\n    \"x\": 1.07026,\n    \"y\": 1.628466,\n    \"theta\": 1.604399\n  },\n  {\n    \"x\": 0.024077,\n    \"y\": 1.948532,\n    \"theta\": 2.42703\n  },\n  {\n    \"x\": -2.683866,\n    \"y\": 0.701134,\n    \"theta\": -0.25553\n  },\n  {\n    \"x\": -0.951501,\n    \"y\": 1.70059,\n    \"theta\": -3.00722\n  },\n  {\n    \"x\": -1.661686,\n    \"y\": -1.017921,\n    \"theta\": -3.128739\n  }\n]\n","solution_sha256":"c334fddeef7dc77d27861cd194783897a4650cfd6da9f9797305d54da08a2d18","boundary_indices":[3,4,5,6,9,10,11,12,13,14],"min_pair_gap":1.064544186135663e-07,"pair":[2,0],"separating_normal_angle":-0.7789162545440783,"max_exact_pair_area":0.0,"pair_count":105,"description":"Rounded unit-semicircle witness for the published topology with zero intersection area: all 105 separating-axis clearances are positive. This is an analytic floating-point certificate, not an interval-arithmetic proof."},"structure":{"full_disk_pairs":[],"sliding_seams":[{"pair":[4,8],"opposite_angle_error":3.464102069410249e-07,"flat_line_offset":4.730659698137796e-07,"slide":0.3190127393816369,"projected_seam_length":1.6809872606183631},{"pair":[1,14],"opposite_angle_error":2.365358979374911e-05,"flat_line_offset":1.698724709248145e-05,"slide":0.8530378733892379,"projected_seam_length":1.1469621266107621}],"boundary_indices":[3,4,5,6,9,10,11,12,13,14],"interior_indices":[0,1,2,7,8],"minimum_nonidentity_rotation_match_error":0.4477473169686398,"minimum_reflection_match_error":1.9424349842156228,"index_base":0,"description":"No full disks. Two staggered, nearly opposing flat-edge seams, pairs (4,8) and (1,14), join semicircles with different centers. Ten pieces are within 3e-6 of the container boundary: nine expose their circular arcs; piece 12 points inward and puts both diameter endpoints on the boundary. Five pieces are interior. The ring is irregular, with no nonidentity rotation or reflection at 2e-5 matching tolerance. Indices are zero-based.","boundary_tolerance":3e-06},"scorer_check":{"seed":2163888770,"pair_cases":286,"random_pairs":200,"threshold_pairs":80,"degenerate_pairs":6,"mec_cases":36,"max_area_diff":1.8073516783179144e-07,"validity_disagreements":1,"mismatches":[{"kind":"threshold","exact":1.0005070405078031e-06,"official":9.993823519420723e-07,"a":[0.0,0.0,-0.744489],"b":[1.315623,-0.106913,-0.792332]}],"max_radius_diff":7.7982065249671e-13,"baseline_exact_max_area":1.001372692186614e-06,"baseline_mec":[-0.00018190806173000278,0.00013448996991963225,2.948526950912699]},"runs":[{"seed":22007,"start_kind":"baseline strict solve, 2e-6 clearance margin","minutes":0.22290632200116914,"attempts":1,"valid_count":1,"best_radius":2.948684798795865,"score_kind":"official rounded, positive analytic separation","errors":[]},{"seed":2061357866,"start_kind":"baseline","minutes":0.6054162427317351,"attempts":11,"valid_count":9,"best_radius":2.9485290045788313,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["2 rounded candidates rejected by official overlap validation.","5 SLSQP exits were not successful; only official-valid rounded candidates counted."]},{"seed":398001843,"start_kind":"fresh","minutes":0.6501759101481487,"attempts":11,"valid_count":4,"best_radius":3.0583297060993275,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["7 rounded candidates rejected by official overlap validation.","5 SLSQP exits were not successful; only official-valid rounded candidates counted."]},{"seed":2962013621,"start_kind":"fresh","minutes":0.56931424944972,"attempts":11,"valid_count":10,"best_radius":3.049568873569378,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["1 rounded candidates rejected by official overlap validation.","3 SLSQP exits were not successful; only official-valid rounded candidates counted."]},{"seed":194598871,"start_kind":"baseline-area-and-grid","minutes":6.68024703967385,"attempts":33,"valid_count":5,"best_radius":2.948528952720186,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["28 rounded candidates rejected by official overlap validation.","1 SLSQP exits were not successful; only official-valid rounded candidates counted.","MILP status counts (0 optimal, 1 time limit, 2 infeasible): {\"0\": 16, \"1\": 12}","Initial maximum-distance linearization did not constrain the two active diameter endpoints separately; official validation guarded retention. Replaced by separate endpoint constraints in later runs."]},{"seed":2431934547,"start_kind":"baseline-area-and-grid","minutes":6.778419788647443,"attempts":30,"valid_count":4,"best_radius":2.9485273625356943,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["26 rounded candidates rejected by official overlap validation.","3 SLSQP exits were not successful; only official-valid rounded candidates counted.","MILP status counts (0 optimal, 1 time limit, 2 infeasible): {\"0\": 15, \"1\": 10}"]},{"seed":3385957660,"start_kind":"baseline-official-area-integer-cut-polish","minutes":6.844859428913333,"attempts":33,"valid_count":13,"best_radius":2.94852744397972,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["20 rounded candidates rejected by official overlap validation.","MILP status counts (0 optimal, 1 time limit, 2 infeasible): {\"0\": 6, \"1\": 27}"]},{"seed":672649951,"start_kind":"baseline-official-area-grid-free-container-center","minutes":6.622545132165154,"attempts":202,"valid_count":0,"best_radius":null,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["MILP status counts (0 optimal, 1 time limit, 2 infeasible): {\"1\": 65, \"2\": 137}"]},{"seed":3019891402,"start_kind":"baseline-official-area-grid-free-container-center","minutes":6.619585805999425,"attempts":202,"valid_count":0,"best_radius":null,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["MILP status counts (0 optimal, 1 time limit, 2 infeasible): {\"1\": 63, \"2\": 139}"]},{"seed":978048707,"start_kind":"baseline-official-area-grid-free-container-center","minutes":6.610436106915586,"attempts":46,"valid_count":0,"best_radius":null,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["5 rounded candidates rejected by official overlap validation.","MILP status counts (0 optimal, 1 time limit, 2 infeasible): {\"1\": 46}"]},{"seed":1088088940,"start_kind":"baseline-official-area-grid-free-container-center","minutes":6.633604294566127,"attempts":46,"valid_count":0,"best_radius":null,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["7 rounded candidates rejected by official overlap validation.","MILP status counts (0 optimal, 1 time limit, 2 infeasible): {\"1\": 46}"]},{"seed":2061357866,"start_kind":"baseline-official-area-grid-free-container-center","minutes":6.710470471096536,"attempts":48,"valid_count":1,"best_radius":2.9485269509125525,"score_kind":"unmodified official validate_and_score after six-decimal rounding; inherited incumbent excluded","errors":["1 rounded candidates rejected by official overlap validation.","MILP status counts (0 optimal, 1 time limit, 2 infeasible): {\"1\": 42, \"2\": 6}"]},{"seed":22007,"start_kind":"baseline strict-margin continuation to zero","minutes":0.1909002322315549,"attempts":5,"valid_count":4,"best_radius":2.9486810286537515,"score_kind":"official rounded; these rounded trials had negative clearance and are not strict witnesses","errors":["4 non-success SLSQP exits; exact zero-area feasibility was checked separately."]},{"seed":22007,"start_kind":"unbounded zero-margin diagnostic","minutes":null,"attempts":1,"valid_count":0,"best_radius":null,"score_kind":"rejected optimization diagnostic, no retained result","errors":["SLSQP diverged (container objective about 592.97; minimum constraint about -262.26). Elapsed duration was not logged."]},{"seed":3732648625,"start_kind":"strict witness: randomized rigid rotations/translations before rounding","minutes":0.44223803381901233,"attempts":20000,"valid_count":4574,"best_radius":2.9486819093371306,"score_kind":"valid_count counts positive analytic-clearance screens; improving witnesses were officially scored after rounding","errors":[]}],"homotopy_path":[{"stage":"strict","official_valid":true,"official_score":2.9486846819676407,"optimizer_success":false},{"stage":"area-1e-10","official_valid":true,"official_score":2.9486803877060894,"optimizer_success":false},{"stage":"area-1e-09","official_valid":true,"official_score":2.9486786214369896,"optimizer_success":false},{"stage":"area-1e-08","official_valid":true,"official_score":2.9486714980535407,"optimizer_success":false},{"stage":"area-1e-07","official_valid":true,"official_score":2.9486438341478447,"optimizer_success":true},{"stage":"area-3e-07","official_valid":true,"official_score":2.9486078324490177,"optimizer_success":true},{"stage":"area-6e-07","official_valid":false,"official_score":null,"optimizer_success":true},{"stage":"area-9e-07","official_valid":true,"official_score":2.948536862529852,"optimizer_success":true},{"stage":"area-9.5e-07","official_valid":true,"official_score":2.9485317605272052,"optimizer_success":true},{"stage":"area-9.8e-07","official_valid":true,"official_score":2.9485290045788313,"optimizer_success":false},{"stage":"area-9.95e-07","official_valid":false,"official_score":null,"optimizer_success":true}],"repo_commit":"78a78626f098cd236f3a09bb2cb242f72951599d","source_urls":["https://www.paradigm.xyz/puzzles/packing/about","https://github.com/benedictbrady/shape-packing-challenge","https://raw.githubusercontent.com/benedictbrady/shape-packing-challenge/78a78626f098cd236f3a09bb2cb242f72951599d/README.md","https://raw.githubusercontent.com/benedictbrady/shape-packing-challenge/78a78626f098cd236f3a09bb2cb242f72951599d/src/semicircle_packing/config.py","https://raw.githubusercontent.com/benedictbrady/shape-packing-challenge/78a78626f098cd236f3a09bb2cb242f72951599d/src/semicircle_packing/geometry.py","https://raw.githubusercontent.com/benedictbrady/shape-packing-challenge/78a78626f098cd236f3a09bb2cb242f72951599d/src/semicircle_packing/scoring.py","https://raw.githubusercontent.com/benedictbrady/shape-packing-challenge/78a78626f098cd236f3a09bb2cb242f72951599d/run.py"],"input_provenance":[{"name":"after-published","sha256":"89ffaa96cbc8f60cbce1ebe7c61e0bfac270d013b5aff71bc9d5c7da1a374161","use":"baseline coordinates and inherited provenance"},{"name":"after-penalty-lbfgs","sha256":"bb9fa2b781a052c7a2751ba869c6d0adb055af032b1f2809b31141c6353bee5f","use":"prior results and failure modes inspected as data"},{"name":"after-annealing","sha256":"8f979bb6b01c9cb949349334957d1beb220831ee63038857fcf71b73cecf3e47","use":"prior results and failure modes inspected as data"},{"name":"after-basin-hopping","sha256":"40fa4cfa3e5c2c82ecb82f7f28c5ad17771cf455cee37836c53b34061b47cb70","use":"prior results and failure modes inspected as data"},{"name":"after-hand-built","sha256":"38ed7fda0807c52d4aa6d2612f5a07cef42a050f7328558fe682b867207d3d08","use":"analytic support/area/MEC code adapted and checked locally"}],"derived_seeds":[2163888770,2061357866,398001843,2962013621,194598871,2431934547,3385957660,3732648625,672649951,3019891402,978048707,1088088940],"seed_derivation":"numpy.random.default_rng(22007).integers(0,2**32,size=12); first seed for scorer checks, subsequent seeds as listed in runs. Baseline-only solves are deterministic; seed 2061357866 was reused in the final archival grid pass.","plot_svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"-3.15 -3.48 6.3 6.68\" width=\"700\" height=\"742\" role=\"img\" aria-label=\"Fifteen unit semicircles, official radius 2.94852695\"><rect x=\"-3.15\" y=\"-3.48\" width=\"6.3\" height=\"6.68\" fill=\"white\"/><text x=\"0\" y=\"-3.23\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\".18\">Official radius 2.94852695</text><g transform=\"scale(1,-1)\" stroke=\"#334155\" stroke-width=\".012\"><circle cx=\"0\" cy=\"0\" r=\"2.948526950913\" fill=\"none\" stroke=\"#b91c1c\" stroke-width=\".022\"/><path d=\"M 0.005320024 -0.169465377 A 1 1 0 0 1 1.085893792 1.513496397 Z\" fill=\"#f0c38e\"/><path d=\"M 1.927757289 -0.628471964 A 1 1 0 0 1 0.343574527 -1.849277016 Z\" fill=\"#f0c38e\"/><path d=\"M -1.578846867 -0.116968399 A 1 1 0 0 1 0.410962683 -0.318606581 Z\" fill=\"#f0c38e\"/><path d=\"M 1.181841266 -0.118315133 A 1 1 0 0 1 2.504758550 1.381648153 Z\" fill=\"#a5d0e5\"/><path d=\"M 1.047201238 2.567989734 A 1 1 0 0 1 -0.490465422 1.289091286 Z\" fill=\"#a5d0e5\"/><path d=\"M -0.708059056 2.809094780 A 1 1 0 0 1 -0.739007128 0.809334240 Z\" fill=\"#a5d0e5\"/><path d=\"M -1.773169061 2.064938763 A 1 1 0 0 1 -1.475741122 0.087178257 Z\" fill=\"#a5d0e5\"/><path d=\"M -1.563425671 0.897021700 A 1 1 0 0 1 0.424169487 0.674613320 Z\" fill=\"#f0c38e\"/><path d=\"M -0.735733644 1.085099552 A 1 1 0 0 1 0.801933460 2.363997468 Z\" fill=\"#f0c38e\"/><path d=\"M 1.699959202 0.585399447 A 1 1 0 0 1 0.824386614 2.383557573 Z\" fill=\"#a5d0e5\"/><path d=\"M -2.571440552 0.658023604 A 1 1 0 0 1 -1.318061632 -0.900514584 Z\" fill=\"#a5d0e5\"/><path d=\"M -2.570417002 -1.079306015 A 1 1 0 0 1 -0.575431182 -1.220838965 Z\" fill=\"#a5d0e5\"/><path d=\"M 1.975426343 -2.188949406 A 1 1 0 0 1 0.124207473 -2.945909574 Z\" fill=\"#a5d0e5\"/><path d=\"M -1.501053086 -2.483889242 A 1 1 0 0 1 -0.077385098 -1.079193738 Z\" fill=\"#a5d0e5\"/><path d=\"M 1.019270966 -1.328596752 A 1 1 0 0 1 2.603424851 -0.107754228 Z\" fill=\"#a5d0e5\"/></g><text x=\"0.9027314\" y=\"-0.4427178\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">0</text><text x=\"0.8766111\" y=\"0.9027109\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">1</text><text x=\"-0.6267297\" y=\"0.6400251\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">2</text><text x=\"2.1615921\" y=\"-0.3509435\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">3</text><text x=\"0.0069857\" y=\"-2.2548334\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">4</text><text x=\"-1.1478823\" y=\"-1.8157817\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">5</text><text x=\"-2.0441359\" y=\"-1.0129443\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">6</text><text x=\"-0.6168231\" y=\"-0.3640498\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">7</text><text x=\"0.3044820\" y=\"-1.3982556\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">8</text><text x=\"1.6437421\" y=\"-1.6702750\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">9</text><text x=\"-2.2754729\" y=\"0.3872125\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">10</text><text x=\"-1.6029574\" y=\"1.5734085\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">11</text><text x=\"0.8891900\" y=\"2.1746008\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">12</text><text x=\"-0.4911427\" y=\"2.0836438\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">13</text><text x=\"2.0704107\" y=\"1.0543329\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"sans-serif\" font-size=\".15\">14</text><text x=\"0\" y=\"3.13\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\".12\">Blue: boundary ring. Orange: interior. Labels start at zero.</text></svg>","reproducible_source":"from math import acos, atan2, cos, hypot, pi, sin, sqrt\nimport numpy as np\ntry:\n from numba import njit\nexcept ImportError:\n def njit(**_options):\n  return lambda function: function\n@njit(cache=True)\ndef _h(nx, ny, ax, ay):\n if nx * ax + ny * ay >= 0:\n  return 1.0\n return abs(nx * ay - ny * ax)\n@njit(cache=True)\ndef _gap_normal(a, b):\n dx, dy = (b[0] - a[0], b[1] - a[1])\n ax, ay = (cos(a[2]), sin(a[2]))\n bx, by = (-cos(b[2]), -sin(b[2]))\n best, best_x, best_y = (-1e+100, 1.0, 0.0)\n for nx, ny in ((-ax, -ay), (-bx, -by)):\n  g = dx * nx + dy * ny - _h(nx, ny, ax, ay) - _h(nx, ny, bx, by)\n  if g > best:\n   best, best_x, best_y = (g, nx, ny)\n for i in range(-1, 2):\n  for j in range(-1, 2):\n   x, y = (dx + i * ay + j * by, dy - i * ax - j * bx)\n   norm = sqrt(x * x + y * y)\n   if norm == 0:\n    continue\n   nx, ny = (x / norm, y / norm)\n   g = dx * nx + dy * ny - _h(nx, ny, ax, ay) - _h(nx, ny, bx, by)\n   if g > best:\n    best, best_x, best_y = (g, nx, ny)\n return (best, best_x, best_y)\n@njit(cache=True)\ndef separation(a, b):\n value, nx, ny = _gap_normal(a, b)\n return (value, atan2(ny, nx))\n@njit(cache=True)\ndef gap(a, b):\n return _gap_normal(a, b)[0]\n@njit(cache=True)\ndef farthest(a, x, y):\n dx, dy = (a[0] - x, a[1] - y)\n nx, ny = (cos(a[2]), sin(a[2]))\n d = hypot(dx, dy)\n if dx * nx + dy * ny >= 0:\n  if d == 0:\n   return (a[0] + nx, a[1] + ny)\n  return (a[0] + dx / d, a[1] + dy / d)\n sign = 1.0 if dy * nx - dx * ny >= 0 else -1.0\n return (a[0] - sign * ny, a[1] + sign * nx)\n@njit(cache=True)\ndef _candidate(a, x, y, r, best):\n if r >= best[2] or r < 1.0 - 1e-12 or (not np.isfinite(r)):\n  return best\n actual = r\n for piece in a:\n  px, py = farthest(piece, x, y)\n  distance = hypot(px - x, py - y)\n  if distance > r + 1e-10:\n   return best\n  actual = max(actual, distance)\n if actual < best[2]:\n  return (x, y, actual)\n return best\n@njit(cache=True)\ndef _mec(a):\n contacts = np.empty((len(a) * 3, 3))\n for i in range(len(a)):\n  x, y, theta = a[i]\n  tx, ty = (-sin(theta), cos(theta))\n  contacts[3 * i] = (x, y, 1.0)\n  contacts[3 * i + 1] = (x + tx, y + ty, 0.0)\n  contacts[3 * i + 2] = (x - tx, y - ty, 0.0)\n best = (0.0, 0.0, 1.0 + max(np.sqrt(a[:, 0] ** 2 + a[:, 1] ** 2)))\n for i in range(len(contacts)):\n  x, y, w = contacts[i]\n  best = _candidate(a, x, y, w, best)\n  for j in range(i):\n   jx, jy, v = contacts[j]\n   dx, dy, dw = (jx - x, jy - y, v - w)\n   d = hypot(dx, dy)\n   if d < 1e-14:\n    continue\n   r = (d + w + v) / 2\n   best = _candidate(a, x + dx * (r - w) / d, y + dy * (r - w) / d, r, best)\n   for k in range(j):\n    kx, ky, u = contacts[k]\n    ex, ey, ew = (kx - x, ky - y, u - w)\n    det = dx * ey - dy * ex\n    if abs(det) < 1e-13:\n     continue\n    first = (dx * dx + dy * dy - dw * dw) / 2\n    second = (ex * ex + ey * ey - ew * ew) / 2\n    px, py = ((first * ey - dy * second) / det, (dx * second - first * ex) / det)\n    qx, qy = ((dw * ey - dy * ew) / det, (dx * ew - dw * ex) / det)\n    qa, qb, qc = (qx * qx + qy * qy - 1, 2 * (px * qx + py * qy), px * px + py * py)\n    if abs(qa) < 1e-14:\n     if abs(qb) > 1e-14:\n      t = -qc / qb\n      best = _candidate(a, x + px + t * qx, y + py + t * qy, w + t, best)\n     continue\n    disc = qb * qb - 4 * qa * qc\n    if disc < 0:\n     continue\n    root = sqrt(disc)\n    numerator = (-qb - root if qb >= 0 else -qb + root) / 2\n    t1 = numerator / qa\n    t2 = qc / numerator if numerator != 0 else t1\n    for t in (t1, t2):\n     if t >= max(0.0, dw, ew) - 1e-12:\n      best = _candidate(a, x + px + t * qx, y + py + t * qy, w + t, best)\n return best\ndef mec(placements):\n a = np.asarray(placements, dtype=float).copy()\n origin = a[:, :2].mean(axis=0)\n a[:, :2] -= origin\n x, y, radius = _mec(a)\n return (x + origin[0], y + origin[1], radius)\n@njit(cache=True)\ndef _parts(a, b):\n dx, dy = (a[0] - b[0], a[1] - b[1])\n t, nx, ny = (a[2], cos(b[2]), sin(b[2]))\n start, end = (t - pi / 2, t + pi / 2)\n cuts = [start, end]\n d = hypot(dx, dy)\n for x, y, offset in ((dx, dy, -d * d / 2), (nx, ny, -dx * nx - dy * ny)):\n  norm = hypot(x, y)\n  if norm > 1e-15 and abs(offset) < norm:\n   angle = atan2(y, x)\n   delta = acos(offset / norm)\n   for root in (angle - delta, angle + delta):\n    q = start + (root - start) % (2 * pi)\n    if start < q < end:\n     cuts.append(q)\n cuts.sort()\n result = 0.0\n for i in range(len(cuts) - 1):\n  l, r = (cuts[i], cuts[i + 1])\n  m = (l + r) / 2\n  x, y = (dx + cos(m), dy + sin(m))\n  if x * x + y * y <= 1 + 1e-13 and x * nx + y * ny >= -1e-13:\n   weight = 0.5 if d < 1e-14 else 1.0\n   result += weight * (r - l + a[0] * (sin(r) - sin(l)) - a[1] * (cos(r) - cos(l)))\n vx, vy = (sin(t), -cos(t))\n px, py = (dx - vx, dy - vy)\n dot = px * vx + py * vy\n perpendicular = px * vy - py * vx\n if abs(perpendicular) >= 1:\n  return result\n half = sqrt(1 - perpendicular ** 2)\n lo, hi = (max(0.0, -dot - half), min(2.0, -dot + half))\n slope, height = (vx * nx + vy * ny, px * nx + py * ny)\n weight = 1.0\n if slope > 1e-14:\n  lo = max(lo, -height / slope)\n elif slope < -1e-14:\n  hi = min(hi, -height / slope)\n elif height < -1e-14:\n  return result\n elif abs(height) <= 1e-14 and cos(t - b[2]) > 0:\n  weight = 0.5\n return result + weight * max(0.0, hi - lo) * (a[0] * vy - a[1] * vx)\n@njit(cache=True)\ndef ia(a, b):\n if gap(a, b) >= -1e-14:\n  return 0.0\n local_a = np.array([0.0, 0.0, a[2]])\n local_b = np.array([b[0] - a[0], b[1] - a[1], b[2]])\n return max(0.0, (_parts(local_a, local_b) + _parts(local_b, local_a)) / 2)\ndef rounded(placements):\n return np.array([[round(float(value), 6) for value in a] for a in placements])\nimport json, time, sys\nfrom pathlib import Path\nimport numpy as np\nfrom scipy.optimize import minimize\nfrom numba import njit\nfrom semicircle_packing.geometry import Semicircle, semicircle_polygon\nfrom semicircle_packing.scoring import validate_and_score\nROOT = Path(__file__).resolve().parent\nPAIRS = np.array([(i, j) for i in range(15) for j in range(i)], dtype=np.int64)\ndef rows(a):\n return [dict(zip(('x', 'y', 'theta'), map(float, r))) for r in a]\ndef arr(s):\n return np.array([[s[k] for k in ('x', 'y', 'theta')] for s in s], float)\ndef official(a):\n a = rounded(a)\n r = validate_and_score([Semicircle(*x) for x in a])\n return dict(valid=r.valid, score=r.score, mec=r.mec, errors=r.errors, solution=rows(a))\ndef save(name, d):\n ROOT.joinpath(name + '.json').write_text(json.dumps(d, indent=2) + '\\n')\n@njit(cache=True)\ndef constraints(z, allow, pw, sc, margin):\n a = z[:45].reshape(15, 3)\n r = z[45]\n out = np.empty(150)\n for k in range(105):\n  i, j = PAIRS[k]\n  g = gap(a[i], a[j])\n  if allow > 0 and g < 0:\n   area = ia(a[i], a[j])\n   out[k] = sc[k] * (allow ** pw[k] - area ** pw[k])\n  else:\n   out[k] = g - margin + (sc[k] * allow ** pw[k] if allow > 0 else 0.0)\n for i in range(15):\n  x, y, t = a[i]\n  d2 = x * x + y * y\n  d = np.sqrt(d2)\n  dot = x * np.cos(t) + y * np.sin(t)\n  cross = -x * np.sin(t) + y * np.cos(t)\n  arc = d if dot >= 0 else cross * cross / d if d > 0 else 0.0\n  out[105 + 3 * i] = r - np.sqrt(d2 + 1 + 2 * cross)\n  out[106 + 3 * i] = r - np.sqrt(d2 + 1 - 2 * cross)\n  out[107 + 3 * i] = r - np.sqrt(d2 + 1 + 2 * arc)\n return out\n@njit(cache=True)\ndef jac(z, allow, pw, sc, margin):\n h = 2e-08\n out = np.empty((150, 46))\n for j in range(46):\n  u = z.copy()\n  v = z.copy()\n  u[j] += h\n  v[j] -= h\n  out[:, j] = (constraints(u, allow, pw, sc, margin) - constraints(v, allow, pw, sc, margin)) / (2 * h)\n return out\ndef solve(a, allow=0.0, margin=0.0, maxiter=500, pw=None, sc=None):\n c = mec(a)\n a = a.copy()\n a[:, :2] -= c[:2]\n if pw is None:\n  pw = np.full(105, 2 / 3)\n if sc is None:\n  sc = np.ones(105)\n z = np.r_[a.ravel(), c[2] + 1e-06]\n args = (allow, pw, sc, margin)\n r = minimize(lambda z: z[45], z, jac=lambda z: np.r_[np.zeros(45), 1.0], method='SLSQP', constraints=[dict(type='ineq', fun=lambda z: constraints(z, *args), jac=lambda z: jac(z, *args))], options=dict(maxiter=maxiter, ftol=2e-12, disp=False))\n return (r.x[:45].reshape(15, 3), dict(success=bool(r.success), message=r.message, nit=int(r.nit), radius=float(r.x[45]), min_constraint=float(min(constraints(r.x, *args)))))\ndef calibration(a):\n pw = np.full(105, 2 / 3)\n sc = np.ones(105)\n for k, (i, j) in enumerate(PAIRS):\n  g, phi = separation(a[i], a[j])\n  n = np.array([np.cos(phi), np.sin(phi)])\n  if g > 0.05:\n   continue\n  vals = []\n  for d in [1e-05, 2e-05]:\n   b = a[j].copy()\n   b[:2] -= (g + d) * n\n   vals.append(ia(a[i], b))\n  if min(vals) > 1e-16:\n   exponent = np.log(vals[1] / vals[0]) / np.log(2)\n   exponent = float(np.clip(exponent, 1.0, 2.0))\n   pw[k] = 1 / exponent\n   sc[k] = 1e-05 / vals[0] ** pw[k]\n return (pw, sc)\ndef repair(a, target=1e-06):\n center = mec(a)\n a = a.copy()\n a[:, :2] -= center[:2]\n delta = np.array([ia(a[i], a[j]) for i, j in PAIRS]) - areas(a)\n limits = np.maximum(target + delta, 1e-14)\n offsets = np.r_[sc * (limits ** pw - target ** pw), np.zeros(45)]\n z = np.r_[a.ravel(), center[2]]\n args = (target, pw, sc, 0.0)\n res = minimize(lambda z: z[45], z, jac=lambda z: np.r_[np.zeros(45), 1.0], method='SLSQP', constraints=[dict(type='ineq', fun=lambda z: constraints(z, *args) + offsets, jac=lambda z: jac(z, *args))], options=dict(maxiter=500, ftol=1e-13))\n return (res.x[:45].reshape(15, 3), dict(success=bool(res.success), nit=int(res.nit), radius=float(res.x[45]), min_constraint=float(min(constraints(res.x, *args) + offsets))))\ndef areas(a):\n p = [semicircle_polygon(Semicircle(*x)) for x in a]\n return np.array([p[i].intersection(p[j]).area if np.linalg.norm(a[i, :2] - a[j, :2]) < 2.01 else 0.0 for i, j in PAIRS])\ndef linear(z, origin, indices=None):\n a = z[:45].reshape(15, 3)\n args = (1e-06, pw, sc, 0.0)\n zz = z[:46].copy()\n aa = zz[:45].reshape(15, 3)\n aa[:, :2] -= z[46:48]\n g = constraints(zz, *args)\n JJ = jac(zz, *args)\n J = np.column_stack((JJ, -JJ[:, 0:45:3].sum(axis=1), -JJ[:, 1:45:3].sum(axis=1)))\n J[:105, 46:] = 0\n pa = areas(a)\n ea = np.array([ia(a[i], a[j]) for i, j in PAIRS])\n tol = np.maximum(1e-06 + ea - pa - 3e-12, 1e-14)\n for k, (i, j) in enumerate(PAIRS):\n  if gap(a[i], a[j]) <= 0:\n   g[k] = sc[k] * (tol[k] ** pw[k] - ea[k] ** pw[k])\n  if pa[k] > 5e-07 and abs(np.sin(a[i, 2] - a[j, 2])) < 0.05:\n   g[k] = sc[k] * ((1e-06 - 3e-12) ** pw[k] - pa[k] ** pw[k])\n   J[k] = 0\n   for p in [i, j]:\n    for v in range(3):\n     h = 1e-09\n     plus = a[p].copy()\n     minus = a[p].copy()\n     plus[v] += h\n     minus[v] -= h\n     other = semicircle_polygon(Semicircle(*a[j if p == i else i]))\n     ap = semicircle_polygon(Semicircle(*plus)).intersection(other).area\n     am = semicircle_polygon(Semicircle(*minus)).intersection(other).area\n     J[k, 3 * p + v] = -sc[k] * pw[k] * pa[k] ** (pw[k] - 1) * (ap - am) / (2 * h)\n b = -g * 1000000.0 + J @ ((z - origin) * 1000000.0)\n if indices is not None:\n  return (J[indices], b[indices])\n return (J, b)\nfrom scipy.optimize import milp, Bounds, LinearConstraint\nif __name__ == '__main__':\n mode, seed, filename = sys.argv[1:4]\n seed = int(seed)\n rng = np.random.default_rng(seed)\n start = time.monotonic()\n a = arr(json.loads(Path(filename).read_text()))\n budget = float(sys.argv[4]) if len(sys.argv) > 4 else 420.0\n def keep(q, tag):\n  r = official(q)\n  print(tag, r['score'], r['errors'], flush=True)\n  if r['valid']:\n   name = 'reproduced-' + str(seed) + '-' + tag\n   save(name, r)\n  return r\n if mode in ['homotopy', 'fresh']:\n  if mode == 'fresh':\n   rad = 2.4 * np.sqrt(rng.random(15))\n   phi = rng.uniform(-np.pi, np.pi, 15)\n   a = np.column_stack((rad * np.cos(phi), rad * np.sin(phi), rng.uniform(-np.pi, np.pi, 15)))\n  a, info = solve(a, margin=2e-06, maxiter=700)\n  keep(a, 'strict')\n  save('reproduced-' + str(seed) + '-strict-full', dict(unrounded=a.tolist(), info=info))\n  pw, sc = calibration(a)\n  for limit in [1e-10, 1e-09, 1e-08, 1e-07, 3e-07, 6e-07, 9e-07, 9.5e-07, 9.8e-07, 9.95e-07]:\n   if time.monotonic() - start > budget - 20:\n    break\n   a, info = solve(a, allow=limit, maxiter=700, pw=pw, sc=sc)\n   keep(a, 'area-' + str(limit))\n  save('reproduced-' + str(seed) + '-continuous', dict(unrounded=a.tolist()))\n elif mode == 'polish':\n  baseline = a.copy()\n  best = official(a)\n  a = np.array(json.loads(Path(sys.argv[5]).read_text())['unrounded'])\n  pw, sc = calibration(a)\n  for _ in range(5):\n   a, info = repair(a)\n  base = a.copy()\n  pw, sc = calibration(base)\n  k = 0\n  while time.monotonic() - start < budget - 25:\n   a = base.copy() if k else baseline.copy()\n   if k:\n    phi = rng.uniform(-np.pi, np.pi)\n    co, si = (np.cos(phi), np.sin(phi))\n    a[:, :2] = a[:, :2] @ np.array([[co, si], [-si, co]])\n    a[:, 2] += phi\n    a[:, 2] = (a[:, 2] + np.pi) % (2 * np.pi) - np.pi\n    a[:, :2] += rng.uniform(-5e-07, 5e-07, 2)\n   a = rounded(a)\n   c = mec(a)\n   origin = np.r_[a.ravel(), c[2], c[:2]]\n   J, b = linear(origin, origin)\n   span = 10 if k % 3 else 30\n   for cut in range(5):\n    secs = min(8, budget - (time.monotonic() - start) - 5)\n    if secs < 1:\n     break\n    res = milp(np.r_[rng.normal(0, 1e-08, 45), 1.0, 0.0, 0.0], integrality=np.r_[np.ones(45), np.zeros(3)], bounds=Bounds(np.r_[np.full(45, -span), -10.0, -20.0, -20.0], np.r_[np.full(45, span), min(10.0, (best['score'] - origin[45]) * 1000000.0 - 0.001), 20.0, 20.0]), constraints=LinearConstraint(J, b, np.full(len(b), np.inf)), options=dict(time_limit=secs, mip_rel_gap=1e-05))\n    if res.x is None:\n     break\n    z = origin + res.x * 1e-06\n    z[:45] = origin[:45] + np.rint(res.x[:45]) * 1e-06\n    q = z[:45].reshape(15, 3)\n    r = keep(q, str(k) + '-' + str(cut))\n    if r['valid']:\n     if r['score'] < best['score']:\n      best = r\n     break\n    pa = areas(q)\n    bad = np.r_[np.flatnonzero(pa > 1e-06 - 3e-12), np.arange(105, 150)]\n    JJ, bb = linear(z, origin, bad)\n    J = np.vstack((J, JJ))\n    b = np.r_[b, bb]\n   k += 1\n   save('reproduced-' + str(seed) + '-best', best)\n elif mode == 'score':\n  print(json.dumps(official(a)))\n  print('exact MEC', mec(rounded(a)))\n  print('minimum clearance', min((gap(rounded(a)[i], rounded(a)[j]) for i, j in PAIRS)))\n","reproducible_source_sha256":"9054eb38b2ebb8bf3c8c79a05ad10236514f6a8b81456ffee749bd15a0dd519c","reproducible_source_characters":13918,"commands":["git clone https://github.com/benedictbrady/shape-packing-challenge official","git -C official checkout 78a78626f098cd236f3a09bb2cb242f72951599d","(cd official && uv sync && uv run python run.py)","uv pip install --python official/.venv/bin/python scipy==1.18.1 numba==0.68.1","python3 - <<'PY'\nimport json,pathlib\nd=json.loads(pathlib.Path('result.json').read_text())\npathlib.Path('reproduce.py').write_text(d['reproducible_source'])\npathlib.Path('solution.json').write_text(d['solution_json'])\npathlib.Path('baseline.json').write_text(json.dumps(d['inherited_baseline']['solution']))\npathlib.Path('strict.json').write_text(d['strict_witness']['solution_json'])\npathlib.Path('packing.svg').write_text(d['plot_svg'])\nPY","OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 official/.venv/bin/python reproduce.py score 22007 solution.json","OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 timeout 460 official/.venv/bin/python reproduce.py homotopy 2061357866 baseline.json 420","OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 timeout 460 official/.venv/bin/python reproduce.py fresh 398001843 baseline.json 420","OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 timeout 460 official/.venv/bin/python reproduce.py fresh 2962013621 baseline.json 420","OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 timeout 460 official/.venv/bin/python reproduce.py polish 978048707 baseline.json 420 reproduced-2061357866-continuous.json","official/.venv/bin/python reproduce.py score 22007 strict.json","uv run --project official python official/run.py solution.json --save-plot packing.png"],"reproduction_check":{"source_characters":13918,"area_equivalence_cases":25,"max_area_difference":0.0,"grid_matrix_shape":[150,48],"repair":{"success":false,"nit":135,"radius":2.9485265495011355,"min_constraint":-1.7148984955723306e-12},"baseline_official_score":2.948526950912552},"verification":{"sample_official_score":"3.500000","fresh_clone":true,"official_source_modified":false,"offline_uv_sync":true,"final_validator":"unmodified validate_and_score called directly in a separate process, with Python round(value,6) applied first","official_cli_score":"2.948527","official_full_precision":2.948526950912552,"second_agent_rerun":false,"second_agent_gap":"No agent-delegation tool was available. The independent-process rerun in a second clean clone is not an independent-agent review.","source_check":"The consolidated source scored the fallback correctly, matched 25 analytic area checks exactly, built the 150-by-48 grid model, and executed polygon-offset repair. A partial homotopy smoke run reached 9e-7; its longer continuation was terminated with exit 143. Older intermediate prototypes are described in runs, not separately embedded."},"notes":["No improvement over the inherited published packing. Returned fallback is below the rounded target 2.94853, but reproduces an existing result rather than setting a new record.","The true circular maximum intersection area of the inherited fallback is 1.001372692186614e-6, above 1e-6. The official inscribed polygons give 9.997822348073144e-7 and accept it; official scoring decides.","Strict radius 2.9486819093371306 belongs to the included rounded zero-area witness. The approximate zero-margin continuous objective 2.94868077481736 had a negative constraint residual and is not used as a strict witness.","The official-area continuous objective was about 2.9485265495. Its rounded placements failed validation, so it is not reported as an attained score.","The new archival grid tie is separated from the inherited fallback and the fresh-start results. Differences at floating-point roundoff are not claimed as improvements.","Every retained score uses six-decimal x,y,theta. Search used changing positions and angles; no uniform scaling substitute was used. All search commands had time limits below eight minutes; runs overlapped in wall time.","Plot and exact solution text are embedded because this item permits only result.json and sources.json as delivered files. No submission, signing-in, or messaging occurred."]}
