{"method":"Adaptive wide basin hopping on a boundary-labelled contact graph archive. Contact-connected perturbations and annealed uphill acceptance, fixed-radius L-BFGS-B repair, exact-support SLSQP compression, circular area allowance iteration and official microgrid validation. Also used a confined integer-grid polish on the best warm topology.","seeds":{"master":33103,"derivation":"One uint32 from each child of SeedSequence(33103).spawn(8): the first four for warm-best, warm-alt, fresh-a and fresh-b; the fifth for lattice-best; the sixth and seventh for additional fresh runs. The eighth child seeds warm-hot. The master seeds lattice-refined.","run_seeds":{"fresh-a":2315130672,"fresh-b":1887544639,"fresh-c":323377242,"fresh-d":2488896389,"lattice-best":4100336642,"lattice-refined":33103,"warm-alt":856451291,"warm-best":132410492,"warm-hot":1813710003}},"published_full_radius":2.948526950912552,"published_5dp_radius":2.94853,"record_beaten":false,"official_valid":true,"official_score_full":2.948526950912552,"official_score_8dp":"2.94852695","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":"[{\"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}]\n","solution_sha256":"cc8856d525e25c6149ff24f323a0b45676888a2855b6ae7fd425b927053fc3bd","mec":{"cx":-0.0001819080616875258,"cy":0.00013448997007248039,"radius":2.948526950912552},"max_pair_area":9.997822348073144e-07,"max_pair_area_pair":[2,13],"max_pair_area_kind":"Official 4096-point inscribed-polygon intersection","inherited_baseline":{"score":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}]},"best_new":{"score":2.9485275887783664,"solution":[{"x":0.545424,"y":0.672151,"theta":-0.570779},{"x":1.135483,"y":-1.238739,"theta":2.227365},{"x":-0.584126,"y":-0.217651,"theta":-1.671789},{"x":1.843118,"y":0.631802,"theta":-0.722763},{"x":0.278185,"y":1.928677,"theta":2.264578},{"x":-0.723716,"y":1.809351,"theta":3.126118},{"x":-1.624638,"y":1.076195,"theta":-2.992325},{"x":-0.569811,"y":0.785954,"theta":-1.682231},{"x":0.032917,"y":1.724685,"theta":-0.877015},{"x":1.26199,"y":1.484615,"theta":0.453134},{"x":-1.944934,"y":-0.12111,"theta":-2.464296},{"x":-1.573107,"y":-1.149937,"theta":-1.641622},{"x":1.049633,"y":-2.567295,"theta":1.958949},{"x":-0.789402,"y":-1.781406,"theta":-0.792106},{"x":1.811165,"y":-0.718041,"theta":-0.914204}]},"best_fresh":{"score":2.9659937146857023,"solution":[{"x":0.803845,"y":-0.799766,"theta":1.504245},{"x":0.711425,"y":1.832759,"theta":0.668335},{"x":-0.61595,"y":1.867013,"theta":0.668077},{"x":-1.457551,"y":1.319347,"theta":1.774609},{"x":2.569511,"y":1.093037,"theta":-2.739394},{"x":1.813748,"y":-0.758582,"theta":0.187128},{"x":-1.179552,"y":-0.543231,"theta":1.380815},{"x":1.250847,"y":1.149557,"theta":-2.473257},{"x":-1.956279,"y":0.1952,"theta":2.01338},{"x":-0.62908,"y":-0.649087,"theta":-1.760778},{"x":-1.794973,"y":-0.801998,"theta":-2.457081},{"x":0.996021,"y":-1.814728,"theta":1.29973},{"x":0.848149,"y":-1.773633,"theta":-1.841863},{"x":-0.764187,"y":0.441584,"theta":0.810668},{"x":-0.963449,"y":-2.620855,"theta":1.218521}]},"strict_radius":{"score":2.94868451649399,"solution":[{"x":0.550926,"y":0.667773,"theta":-0.578736},{"x":1.126096,"y":-1.247739,"theta":2.219599},{"x":-0.585628,"y":-0.213327,"theta":-1.679712},{"x":1.848325,"y":0.617306,"theta":-0.730533},{"x":0.293349,"y":1.926478,"theta":2.257534},{"x":-0.709568,"y":1.814906,"theta":3.117973},{"x":-1.616209,"y":1.088687,"theta":-3.000086},{"x":-0.563593,"y":0.790227,"theta":-1.690175},{"x":0.046632,"y":1.724201,"theta":-0.884059},{"x":1.27383,"y":1.474696,"theta":0.44537},{"x":-1.945789,"y":-0.106181,"theta":-2.472038},{"x":-1.581914,"y":-1.137945,"theta":-1.649408},{"x":1.02999,"y":-2.575628,"theta":1.951215},{"x":-0.803005,"y":-1.775543,"theta":-0.800473},{"x":1.805871,"y":-0.732257,"theta":-0.921994}],"max_exact_area":0.0,"minimum_pair_gap":9.566680059247545e-07},"structure":{"full_disk_pairs":[],"full_pair_thresholds":{"center_distance":0.0001,"antiparallel_error_rad":0.001},"seams":[{"pieces":[4,8],"angular_departure_from_antiparallel_rad":3.464102071859543e-07,"chordwise_center_offset":0.3190127393816369,"center_normal_offset":4.730659698137796e-07,"shared_projected_length":1.6809872606183631,"chord_direction_rad":0.6937813267948966,"midpoint_distance_from_mec":1.8331715405931421},{"pieces":[1,14],"angular_departure_from_antiparallel_rad":2.365358979350418e-05,"chordwise_center_offset":0.8530378733892379,"center_normal_offset":1.698724709248145e-05,"shared_projected_length":1.1469621266107621,"chord_direction_rad":0.6565923267948965,"midpoint_distance_from_mec":1.7688227056721781}],"flat_edges":"Each flat edge is a unit-radius diameter segment. The listed offset seams run inside the packing. A diameter on the enclosing boundary can touch via an endpoint.","boundary_within_2e_6":[{"piece":3,"slack":3.784370372628132e-08,"feature":"arc interior"},{"piece":4,"slack":2.241884189402299e-08,"feature":"arc interior"},{"piece":5,"slack":-1.9984014443252818e-14,"feature":"arc interior"},{"piece":6,"slack":2.6063290903266534e-07,"feature":"arc interior"},{"piece":9,"slack":9.798350619760754e-08,"feature":"arc interior"},{"piece":10,"slack":-1.98507876802978e-13,"feature":"arc interior"},{"piece":11,"slack":8.910491322566827e-08,"feature":"arc interior"},{"piece":12,"slack":7.930753564977522e-08,"feature":"diameter endpoint"},{"piece":13,"slack":1.0850962484099114e-07,"feature":"arc interior"},{"piece":14,"slack":-1.638689184346731e-13,"feature":"arc interior"}],"interior":[0,1,2,7,8],"curved_side_faces_mec":[1,7,8,12],"near_saturated_overlap_pairs":28,"symmetry":{"nontrivial_rotation":false,"reason":"The uniquely outermost full-disk center is off the MEC center and must be fixed by any symmetry.","outermost_center_piece":12,"reflection":false,"max_nearest_center_residual_for_forced_reflection":0.8530385793779124}},"runs":[{"seed":2315130672,"start":"fresh","seconds":1170.7789240814745,"attempts":1798,"valid_count":123,"best":{"score":2.98051347460799,"solution":[{"x":1.310944,"y":-0.236997,"theta":2.664389},{"x":1.248574,"y":1.537366,"theta":1.823843},{"x":-1.760577,"y":0.907085,"theta":-3.088879},{"x":-0.678601,"y":2.071846,"theta":-0.453442},{"x":-0.806824,"y":1.80872,"theta":2.688151},{"x":-0.088645,"y":1.191576,"theta":-1.31775},{"x":2.063221,"y":-0.959189,"theta":-2.93979},{"x":-1.569695,"y":-1.213055,"theta":-0.813481},{"x":1.944208,"y":-0.377471,"theta":0.201803},{"x":1.233901,"y":-1.549168,"theta":-2.335793},{"x":-2.667865,"y":-0.875189,"theta":0.316987},{"x":-0.613176,"y":-0.78237,"theta":0.115989},{"x":-0.336505,"y":-2.787512,"theta":1.450659},{"x":1.865832,"y":0.664156,"theta":1.352505},{"x":-1.714112,"y":0.026446,"theta":0.052714}]},"uphill":235,"archive_returns":449,"block_moves":1276,"grid_draws":10800,"errors":[],"archive_signatures":64,"label":"fresh-a"},{"seed":1887544639,"start":"fresh","seconds":1170.6521324953064,"attempts":1795,"valid_count":114,"best":{"score":2.9659937146857023,"solution":[{"x":0.803845,"y":-0.799766,"theta":1.504245},{"x":0.711425,"y":1.832759,"theta":0.668335},{"x":-0.61595,"y":1.867013,"theta":0.668077},{"x":-1.457551,"y":1.319347,"theta":1.774609},{"x":2.569511,"y":1.093037,"theta":-2.739394},{"x":1.813748,"y":-0.758582,"theta":0.187128},{"x":-1.179552,"y":-0.543231,"theta":1.380815},{"x":1.250847,"y":1.149557,"theta":-2.473257},{"x":-1.956279,"y":0.1952,"theta":2.01338},{"x":-0.62908,"y":-0.649087,"theta":-1.760778},{"x":-1.794973,"y":-0.801998,"theta":-2.457081},{"x":0.996021,"y":-1.814728,"theta":1.29973},{"x":0.848149,"y":-1.773633,"theta":-1.841863},{"x":-0.764187,"y":0.441584,"theta":0.810668},{"x":-0.963449,"y":-2.620855,"theta":1.218521}]},"uphill":216,"archive_returns":448,"block_moves":1283,"grid_draws":7680,"errors":[],"archive_signatures":64,"label":"fresh-b"},{"seed":323377242,"start":"fresh","seconds":390.1468432270922,"attempts":404,"valid_count":70,"best":{"score":2.995215864110572,"solution":[{"x":0.3263,"y":-0.23486,"theta":0.481425},{"x":-1.702148,"y":-0.314989,"theta":0.112622},{"x":-0.51358,"y":-1.92644,"theta":-3.028971},{"x":0.587729,"y":-1.906689,"theta":-0.420055},{"x":-1.181669,"y":1.607651,"theta":2.787284},{"x":1.497799,"y":-1.318137,"theta":0.178082},{"x":1.38099,"y":1.521511,"theta":-1.967442},{"x":-0.678107,"y":-0.471757,"theta":0.112622},{"x":0.510143,"y":-2.080401,"theta":2.721538},{"x":-1.603487,"y":-1.187314,"theta":-3.028971},{"x":-2.791737,"y":0.42133,"theta":-0.14979},{"x":1.955931,"y":-0.393983,"theta":0.862635},{"x":0.027785,"y":1.995022,"theta":2.196964},{"x":1.189966,"y":1.60152,"theta":1.174151},{"x":-0.61892,"y":1.527286,"theta":-0.944629}]},"uphill":37,"archive_returns":101,"block_moves":299,"grid_draws":6720,"errors":[],"archive_signatures":64,"label":"fresh-c"},{"seed":2488896389,"start":"fresh","seconds":390.03444912517443,"attempts":492,"valid_count":60,"best":{"score":2.9968750874892045,"solution":[{"x":-0.988265,"y":-2.646619,"theta":1.213423},{"x":-1.314898,"y":1.502848,"theta":2.932564},{"x":1.824013,"y":-0.812704,"theta":-1.736881},{"x":-1.032997,"y":1.062872,"theta":-0.739169},{"x":0.878015,"y":0.473205,"theta":-2.147196},{"x":-0.588157,"y":-0.886947,"theta":1.733844},{"x":0.872784,"y":1.669234,"theta":-2.788401},{"x":0.830911,"y":-1.815791,"theta":-1.567611},{"x":1.597473,"y":1.198161,"theta":-0.674204},{"x":-1.903538,"y":0.603367,"theta":-2.52612},{"x":1.989326,"y":0.173472,"theta":-0.781592},{"x":-0.189834,"y":1.987831,"theta":2.402424},{"x":-1.817669,"y":-0.826794,"theta":-2.309648},{"x":0.81632,"y":1.822397,"theta":0.353192},{"x":-0.175896,"y":-0.819126,"theta":-1.407748}]},"uphill":61,"archive_returns":123,"block_moves":335,"grid_draws":4880,"errors":[],"archive_signatures":64,"label":"fresh-d"},{"seed":4100336642,"start":"fallback.json","seconds":411.76764422794804,"attempts":108,"valid_count":45,"best":{"score":2.9485275887783664,"solution":[{"x":0.545424,"y":0.672151,"theta":-0.570779},{"x":1.135483,"y":-1.238739,"theta":2.227365},{"x":-0.584126,"y":-0.217651,"theta":-1.671789},{"x":1.843118,"y":0.631802,"theta":-0.722763},{"x":0.278185,"y":1.928677,"theta":2.264578},{"x":-0.723716,"y":1.809351,"theta":3.126118},{"x":-1.624638,"y":1.076195,"theta":-2.992325},{"x":-0.569811,"y":0.785954,"theta":-1.682231},{"x":0.032917,"y":1.724685,"theta":-0.877015},{"x":1.26199,"y":1.484615,"theta":0.453134},{"x":-1.944934,"y":-0.12111,"theta":-2.464296},{"x":-1.573107,"y":-1.149937,"theta":-1.641622},{"x":1.049633,"y":-2.567295,"theta":1.958949},{"x":-0.789402,"y":-1.781406,"theta":-0.792106},{"x":1.811165,"y":-0.718041,"theta":-0.914204}]},"label":"lattice-best"},{"seed":33103,"start":"fallback.json","seconds":419.139602528885,"attempts":49,"valid_count":0,"best":null,"label":"lattice-refined"},{"seed":856451291,"start":"best_fresh_solution.json","seconds":1172.5928788827732,"attempts":1780,"valid_count":72,"best":{"score":2.952482802522132,"solution":[{"x":0.112092,"y":0.860371,"theta":2.655077},{"x":0.229894,"y":-1.938901,"theta":-2.289215},{"x":1.906075,"y":-0.423162,"theta":-0.579912},{"x":1.248446,"y":-1.50119,"theta":-1.461595},{"x":0.22607,"y":-0.607354,"theta":-2.320956},{"x":-0.805325,"y":1.778662,"theta":3.047138},{"x":1.468567,"y":1.286661,"theta":1.755612},{"x":1.743418,"y":-0.671478,"theta":2.561681},{"x":-1.684872,"y":-0.017464,"theta":0.094864},{"x":0.214436,"y":1.940671,"theta":1.875258},{"x":1.920155,"y":0.353826,"theta":1.679998},{"x":-1.765806,"y":0.833137,"theta":-3.046728},{"x":0.871686,"y":0.157816,"theta":2.970895},{"x":-0.768285,"y":-1.794973,"theta":3.128828},{"x":-2.597188,"y":-0.985784,"theta":0.362761}]},"uphill":287,"archive_returns":445,"block_moves":1288,"grid_draws":6400,"errors":[],"archive_signatures":64,"label":"warm-alt"},{"seed":132410492,"start":"fallback.json","seconds":780.7624240689911,"attempts":1443,"valid_count":44,"best":{"score":2.9485283144693164,"solution":[{"x":-0.739952,"y":0.449285,"theta":1.136283},{"x":1.073057,"y":1.293482,"theta":-2.348712},{"x":0.295156,"y":-0.548946,"theta":0.035385},{"x":-0.876293,"y":1.740365,"theta":0.984386},{"x":-1.642231,"y":1.048731,"theta":2.160407},{"x":-1.69416,"y":-0.962591,"theta":-1.449992},{"x":-0.845377,"y":-1.75559,"theta":-1.285319},{"x":-0.70108,"y":-0.671128,"theta":0.024547},{"x":-1.712845,"y":-0.201573,"theta":0.830266},{"x":-1.948479,"y":0.013812,"theta":-2.311327},{"x":0.384374,"y":-1.91024,"theta":-0.757239},{"x":1.353148,"y":-1.402053,"theta":0.065445},{"x":2.400957,"y":1.388966,"theta":-2.617128},{"x":1.872264,"y":-0.539805,"theta":0.914979},{"x":0.465372,"y":1.892139,"theta":0.792881}]},"uphill":232,"archive_returns":360,"block_moves":1046,"grid_draws":2960,"errors":[],"archive_signatures":64,"label":"warm-best"},{"seed":1813710003,"start":"alt-archive-best.json","seconds":390.14011910697445,"attempts":821,"valid_count":35,"best":{"score":2.9524824382733503,"solution":[{"x":0.187447,"y":0.620369,"theta":2.383859},{"x":0.335993,"y":-1.923355,"theta":-1.812359},{"x":1.938598,"y":-0.232433,"theta":-1.617111},{"x":1.546538,"y":-1.191808,"theta":-1.692716},{"x":0.165949,"y":-0.851625,"theta":-2.592177},{"x":-0.879587,"y":1.743134,"theta":-3.065934},{"x":1.151624,"y":1.57669,"theta":1.524482},{"x":1.697754,"y":0.779738,"theta":-2.498777},{"x":-1.682637,"y":-0.088472,"theta":0.137031},{"x":0.107572,"y":1.949517,"theta":2.352104},{"x":1.875711,"y":0.542122,"theta":0.642815},{"x":-1.799356,"y":0.75796,"theta":-3.004561},{"x":0.879878,"y":-0.102711,"theta":-2.907989},{"x":-0.691934,"y":-1.825763,"theta":-2.984241},{"x":-2.553323,"y":-1.094391,"theta":0.404928}]},"uphill":136,"archive_returns":205,"block_moves":602,"grid_draws":2720,"errors":[],"archive_signatures":64,"label":"warm-hot"}],"rounding_diagnostics":[{"seed":132410492,"start":"unrounded area-constrained local polish of BEST","seconds":340.04651559283957,"attempts":1448,"valid_count":0,"best":null,"label":"center-cont","center_domains":4907606},{"seed":856451291,"start":"fallback.json","seconds":400.10336542269215,"attempts":1506,"valid_count":0,"best":null,"label":"center-dedup","center_domains":3925528},{"seed":4100336642,"start":"fallback.json","seconds":410.0770374452695,"attempts":1359,"valid_count":0,"best":null,"label":"center-lattice","center_domains":3533378},{"seed":33103,"start":"fallback.json","seconds":415.29675867501646,"attempts":4954,"valid_count":0,"best":null,"label":"quantized-best"},{"seed":2315130672,"start":"fallback.json","seconds":415.03506943630055,"attempts":3434,"valid_count":134,"best":{"score":2.948526950912552,"solution":[{"x":0.545607,"y":0.672016,"theta":-0.570778},{"x":1.135666,"y":-1.238874,"theta":2.227365},{"x":-0.583942,"y":-0.217787,"theta":-1.671787},{"x":1.8433,"y":0.631667,"theta":-0.722762},{"x":0.278368,"y":1.928541,"theta":2.264578},{"x":-0.723533,"y":1.809215,"theta":3.126118},{"x":-1.624455,"y":1.076059,"theta":-2.992325},{"x":-0.569628,"y":0.785818,"theta":-1.682231},{"x":0.0331,"y":1.724549,"theta":-0.877015},{"x":1.262173,"y":1.484479,"theta":0.453135},{"x":-1.944751,"y":-0.121245,"theta":-2.464295},{"x":-1.572924,"y":-1.150072,"theta":-1.641622},{"x":1.049817,"y":-2.567429,"theta":1.95895},{"x":-0.789219,"y":-1.781541,"theta":-0.792106},{"x":1.811348,"y":-0.718175,"theta":-0.914204}]},"label":"quantized-biased"}],"scorer_checks":{"pair_cases":250,"pair_disagreements":0,"pair_disagreement_details":[],"max_abs_area_difference":1.8838154169920074e-07,"mec_cases":50,"max_radius_diff":8.046896482483135e-12,"baseline_exact_vs_polygon_threshold_disagreements":[{"pair":[3,1],"exact_area":1.0013726919055888e-06,"polygon_area":9.995940255022126e-07},{"pair":[8,7],"exact_area":1.0001613965516382e-06,"polygon_area":9.990352164717346e-07},{"pair":[9,3],"exact_area":1.000720521587839e-06,"polygon_area":9.995983747504644e-07},{"pair":[9,8],"exact_area":1.000816950297691e-06,"polygon_area":9.996957770875647e-07},{"pair":[11,2],"exact_area":1.0007704081341218e-06,"polygon_area":9.996466942501982e-07},{"pair":[13,1],"exact_area":1.0003480671490206e-06,"polygon_area":9.985677175080471e-07}],"rounded_before_all_checks":true,"tight_analytic":{"arc_flat":{"cases":25,"max_area_formula_error":1.0581813203458523e-16,"threshold_disagreements":0},"coincident_disks":{"cases":25,"max_area_formula_error":2.220446049250313e-16,"threshold_disagreements":0},"arc_arc":{"cases":25,"max_area_formula_error":5.880712583561376e-15,"threshold_disagreements":0}},"support_random_cases":128,"support_sign_disagreements":0,"support_gradient_max_abs_error":9.74584413171442e-10,"official_cli_rounding_match":true,"rounding_fixture_reproduces_baseline":true,"pair_case_split":{"random":200,"tight":50,"seed":23005},"mec_case_split":{"random":40,"near_rounded_best":10,"seed":23005},"additional_tight_case_seed":33103,"embedded_source_smoke":{"official_valid_count":2,"first_hop_best":2.9485288157758722},"sample_score_6dp":"3.500000","sample_valid":true,"official_commit":"78a78626f098cd236f3a09bb2cb242f72951599d","official_test_suite_passed":31,"method":"Circular boundaries are clipped at analytic circle/line intersections and integrated by Green’s theorem. The enclosing circle is bracketed by an MEC on sampled boundary points and its exact farthest-point radius, refining until the bracket is under 3e-11.","area_difference":"Official arcs are inscribed polygonal chords. Their intersections underestimate circular intersections. The six BEST pairs listed above straddle 1e-6. All retained solutions were validated using the official polygons.","verification":"Pinned initial clone and a separate clean pinned checkout. Final output rescored in the latter with the CLI and its loader and scoring API.","max_containment_excess":1.98507876802978e-13,"selected_analytic":{"score":2.948526950912552,"radius":2.9485269509127683,"center":[-0.00018190806167295293,0.00013448997011464292],"abs_mec_radius_difference":2.162714451969805e-13,"max_exact_overlap_area":1.0013726919055888e-06,"max_exact_overlap_pair":[3,1],"min_support_gap":-0.00099411014117734}},"executable_source":"import os\nos.environ['OPENBLAS_NUM_THREADS']='1'\nos.environ['OMP_NUM_THREADS']='1'\nimport json,math,time,sys,hashlib\nfrom pathlib import Path\nimport numpy as np\nfrom numba import njit\nfrom scipy.optimize import minimize\nfrom semicircle_packing.geometry import Semicircle,semicircle_polygon\nfrom semicircle_packing.scoring import validate_and_score,compute_mec\nPI=math.pi\nROOT=Path(__file__).resolve().parent\nPAIRS=np.array([(i,j) for i in range(15) for j in range(i)],dtype=np.int64)\n@njit(cache=True)\ndef pair(a,b):\n ua=np.array([math.cos(a[2]),math.sin(a[2])]);va=np.array([-ua[1],ua[0]])\n ub=np.array([math.cos(b[2]),math.sin(b[2])]);vb=np.array([-ub[1],ub[0]])\n d=a[:2]-b[:2];dirs=np.empty((13,2));dirs[0]=-d;k=1\n for s in [-1.,1.]:dirs[k]=-d+s*vb;k+=1\n for s in [-1.,1.]:dirs[k]=-d-s*va;k+=1\n for s in [-1.,1.]:\n  for t in [-1.,1.]:dirs[k]=-d-s*va+t*vb;k+=1\n dirs[9]=ua;dirs[10]=-ua;dirs[11]=ub;dirs[12]=-ub\n best=1e30;grad=np.zeros(6);normal=np.zeros(2)\n for k in range(13):\n  n=dirs[k];dn=math.sqrt(n[0]*n[0]+n[1]*n[1])\n  if dn<1e-14:continue\n  n=n/dn;v=np.array([-n[1],n[0]])\n  aa=np.dot(n,ua)>=0;bb=np.dot(n,ub)<=0\n  sa=1. if np.dot(n,va)>=0 else -1.;sb=1. if np.dot(-n,vb)>=0 else -1.\n  ha=1. if aa else abs(np.dot(n,va));hb=1. if bb else abs(np.dot(n,vb))\n  f=np.dot(d,n)+ha+hb\n  if f<best:\n   best=f;normal=n.copy();grad[:2]=-n;grad[3:5]=n\n   grad[2]=0. if aa else sa*np.dot(n,ua)\n   grad[5]=0. if bb else -sb*np.dot(n,ub)\n   fp=np.dot(d,v)+(0. if aa else sa*np.dot(v,va))-(0. if bb else sb*np.dot(v,vb))\n   if k==9 or k==10:grad[2]-=fp\n   if k==11 or k==12:grad[5]-=fp\n return -best,grad,normal\n@njit(cache=True)\ndef far(a):\n u=np.array([math.cos(a[2]),math.sin(a[2])]);v=np.array([-u[1],u[0]])\n c=a[:2];d=math.sqrt(np.dot(c,c));g=np.zeros(3)\n if np.dot(c,u)>=0 and d>1e-14:g[:2]=c/d;return d+1.,g\n s=1. if np.dot(c,v)>=0 else -1.;w=c+s*v;d=math.sqrt(np.dot(w,w))\n g[:2]=w/d;g[2]=-s*np.dot(w,u)/d\n return d,g\n@njit(cache=True)\ndef constraints(z,allow):\n a=z[:45].reshape((15,3));r=z[45];g=np.empty(120);j=np.zeros((120,46))\n for k in range(105):\n  i,l=PAIRS[k];q,d,n=pair(a[i],a[l]);g[k]=q+allow[k]\n  j[k,3*i:3*i+3]=d[:3];j[k,3*l:3*l+3]=d[3:]\n for i in range(15):\n  q,d=far(a[i]);g[105+i]=r-q;j[105+i,3*i:3*i+3]=-d;j[105+i,45]=1.\n return g,j\n@njit(cache=True)\ndef inside(p,b):\n v=p-b[:2]\n return np.dot(v,v)<=1.+2e-13 and v[0]*math.cos(b[2])+v[1]*math.sin(b[2])>=-2e-13\n@njit(cache=True)\ndef boundary(a,b):\n lo=a[2]-PI/2;hi=a[2]+PI/2;cuts=[lo,hi];d=b[:2]-a[:2];dd=math.sqrt(np.dot(d,d))\n if dd>1e-12 and dd<2.:\n  h=math.acos(dd/2);ph=math.atan2(d[1],d[0])\n  for ang in [ph-h,ph+h]:\n   q=lo+(ang-lo)%(2*PI)\n   if lo<q<hi:cuts.append(q)\n ub=np.array([math.cos(b[2]),math.sin(b[2])]);h=np.dot(d,ub)\n if abs(h)<1.:\n  ph=b[2];v=math.acos(h)\n  for ang in [ph-v,ph+v]:\n   q=lo+(ang-lo)%(2*PI)\n   if lo<q<hi:cuts.append(q)\n cuts.sort();total=0.\n for k in range(len(cuts)-1):\n  x,y=cuts[k],cuts[k+1];t=(x+y)/2\n  p=a[:2]+np.array([math.cos(t),math.sin(t)])\n  if inside(p,b):total+=(y-x+a[0]*(math.sin(y)-math.sin(x))-a[1]*(math.cos(y)-math.cos(x)))/2\n v=np.array([-math.sin(a[2]),math.cos(a[2])]);w=a[:2]-b[:2]\n wv=np.dot(w,v);disc=wv*wv+1.-np.dot(w,w)\n if disc>0:\n  h=math.sqrt(disc);l=max(-1.,-wv-h);r=min(1.,-wv+h)\n  q=np.dot(v,ub);t=np.dot(w,ub)\n  if abs(q)<1e-14:\n   if t< -1e-13:r=l\n  elif q>0:l=max(l,-t/q)\n  else:r=min(r,-t/q)\n  if r>l:total+=(l-r)*(a[0]*v[1]-a[1]*v[0])/2\n return total\n@njit(cache=True)\ndef area(a,b):\n if np.sum((a[:2]-b[:2])**2)>4.:return 0.\n if np.sum((a[:2]-b[:2])**2)<1e-24:\n  t=abs((a[2]-b[2]+PI)%(2*PI)-PI);return (PI-t)/2\n x=a.copy();y=b.copy();y[:2]-=x[:2];x[:2]=0.\n return max(0.,boundary(x,y)+boundary(y,x))\n@njit(cache=True)\ndef point_mec(p):\n c=np.zeros(2);r=-1.\n for i in range(len(p)):\n  if np.linalg.norm(p[i]-c)<=r+1e-12:continue\n  c=p[i].copy();r=0.\n  for j in range(i):\n   if np.linalg.norm(p[j]-c)<=r+1e-12:continue\n   c=(p[i]+p[j])/2;r=np.linalg.norm(p[i]-c)\n   for k in range(j):\n    if np.linalg.norm(p[k]-c)<=r+1e-12:continue\n    u=p[j]-p[i];v=p[k]-p[i];det=2*(u[0]*v[1]-u[1]*v[0])\n    if abs(det)>1e-18:\n     uu=np.dot(u,u);vv=np.dot(v,v)\n     c=p[i]+np.array([uu*v[1]-vv*u[1],u[0]*vv-v[0]*uu])/det;r=np.linalg.norm(p[i]-c)\n    else:\n     for h,l in [(i,j),(i,k),(j,k)]:\n      rr=np.linalg.norm(p[h]-p[l])/2\n      if rr>r:c=(p[h]+p[l])/2;r=rr\n return c,r\ndef own_mec(a):\n ts=np.linspace(-PI/2,PI/2,17);ang=a[:,2,None]+ts\n p=(a[:,None,:2]+np.stack([np.cos(ang),np.sin(ang)],axis=2)).reshape((-1,2))\n rng=np.random.default_rng(971)\n for it in range(80):\n  c,r=point_mec(p[rng.permutation(len(p))]);extra=[];upper=r\n  for s in a:\n   t=s.copy();t[:2]-=c;d,g=far(t);upper=max(upper,d)\n   if d>r+2e-12:extra.append(c+d*g[:2])\n  if upper-r<3e-11:return np.r_[c,upper]\n  p=np.vstack([p,np.array(extra)])\n raise RuntimeError('MEC bounds did not converge')\ndef objects(a):return [dict(zip(['x','y','theta'],[round(float(t),6) for t in s])) for s in a]\ndef arr(d):return np.array([[s[k] for k in ['x','y','theta']] for s in d])\ndef official(a):\n d=objects(a);v=validate_and_score([Semicircle(**q) for q in d]);return d,v\ndef load(path):return arr(json.loads(Path(path).read_text()))\ndef save(path,obj):\n p=Path(path);q=p.with_suffix('.tmp');q.write_text(json.dumps(obj,indent=2)+'\\n');q.replace(p)\nclass Con:\n def __init__(self,allow):self.allow=allow;self.z=None\n def get(self,z):\n  if self.z is None or not np.array_equal(z,self.z):self.z=z.copy();self.g,self.j=constraints(z,self.allow)\n  return self.g,self.j\n def fun(self,z):return self.get(z)[0]\n def jac(self,z):return self.get(z)[1]\ndef local(a,R,fixed=True,allow=None,steps=150):\n if allow is None:allow=np.zeros(105)\n c=Con(allow);z=np.r_[a.ravel(),R]\n if fixed:\n  def f(x):\n   g,j=c.get(np.r_[x,R]);v=np.minimum(g,0.);return np.dot(v,v),2*v@j[:,:45]\n  q=minimize(f,z[:45],jac=True,method='L-BFGS-B',options={'maxiter':steps,'ftol':1e-14,'gtol':2e-8,'maxls':30});z[:45]=q.x\n q=minimize(lambda x:x[45],z,jac=lambda x:np.r_[np.zeros(45),1.],method='SLSQP',constraints={'type':'ineq','fun':c.fun,'jac':c.jac},bounds=[(None,None)]*45+[(2.73,5.)],options={'maxiter':steps,'ftol':3e-11})\n g=c.fun(q.x);return q.x[:45].reshape((15,3)),q.x[45],float(g.min()),q.success\n@njit(cache=True)\ndef allowances(a,target=9.85e-7,correction=np.zeros(105)):\n out=np.zeros(105)\n for k in range(105):\n  i,j=PAIRS[k];g,_,n=pair(a[i],a[j])\n  if g>.02:continue\n  l=0.;r=.01\n  for it in range(25):\n   m=(l+r)/2;b=a[j].copy();b[:2]-=(g+m)*n\n   if area(a[i],b)>target+correction[k]:r=m\n   else:l=m\n  out[k]=l\n return out\n@njit(cache=True)\ndef exact_areas(a):\n return np.array([area(a[i],a[j]) for i,j in PAIRS])\n\ndef contacts(a,R):\n adj=[[] for _ in a]\n for i,j in PAIRS:\n  if pair(a[i],a[j])[0]<.003:\n   adj[i].append(j)\n   adj[j].append(i)\n return adj,[int(R-far(q)[0]<.003) for q in a]\n\ndef graph_key(adj,bound):\n labels=list(map(str,bound))\n signature=[tuple(sorted(labels))]\n for _ in range(4):\n  labels=[hashlib.sha256(repr((labels[i],sorted(labels[j] for j in ns))).encode()).hexdigest()[:16]\n          for i,ns in enumerate(adj)]\n  signature.append(tuple(sorted(labels)))\n return hashlib.sha256(repr(signature).encode()).hexdigest()[:20]\n\ndef grid(a,rng,count,ceiling):\n # Use analytic area as a screen. Two complete inscribed polygons\n # together omit at most pi^3/(6*4095^2) < 3.1e-7 of circular area.\n c=a.copy()\n c[:,:2]-=own_mec(c)[:2]\n candidates=[]\n for _ in range(count):\n  t=rng.uniform(-PI,PI);u,v=math.cos(t),math.sin(t);x=c.copy()\n  x[:,:2]=c[:,:2]@np.array([[u,v],[-v,u]])+rng.uniform(-.5e-6,.5e-6,2)\n  x[:,2]=(c[:,2]+t+PI)%(2*PI)-PI\n  x=arr(objects(x))\n  # Fixed-center radius is a cheap upper bound for prioritizing the grid.\n  upper=max(far(q)[0] for q in x)\n  if upper>ceiling+2e-6:continue\n  areas=exact_areas(x)\n  if areas.max()>1.31e-6:continue\n  candidates.append((upper,x,areas))\n valid=0;best=None\n for _,x,areas in sorted(candidates,key=lambda v:v[0]):\n  r=own_mec(x)[2]\n  if r>=ceiling:continue\n  polys={}\n  for k in np.flatnonzero(areas>1e-6-1e-12):\n   i,j=PAIRS[k]\n   for l in (i,j):\n    if l not in polys:polys[l]=semicircle_polygon(Semicircle(*x[l]))\n   if polys[i].intersection(polys[j]).area>1e-6:break\n  else:\n   d,v=official(x)\n   if v.valid:\n    valid+=1;ceiling=v.score;best=(d,v)\n return best,valid\n\ndef run(seed,start,seconds,label,resume=False):\n rng=np.random.default_rng(seed);beg=time.monotonic();end=beg+seconds\n path=ROOT/'work'/f'{label}.json'\n a=(np.c_[rng.uniform(-2.4,2.4,(15,2)),rng.uniform(-PI,PI,15)]\n    if start=='fresh' else load(start))\n a[:,:2]-=own_mec(a)[:2]\n state=a.copy();R=own_mec(a)[2];archive={};best=strict=None\n attempts=valid_count=uphill=returns=grid_draws=0\n errors=[];stale=0;last=beg;time_before=0.;block_moves=0\n if resume:\n  old=json.loads(path.read_text());rng.bit_generator.state=old['rng']\n  state=np.array(old['state']);R=old['state_radius'];archive={\n   k:[v[0],np.array(v[1]),v[2]] for k,v in old['archive'].items()}\n  best=old['best'];strict=old['strict_radius'];attempts=old['attempts']\n  valid_count=old['valid_count'];uphill=old['uphill'];returns=old['archive_returns']\n  grid_draws=old['grid_draws'];stale=old['stale'];time_before=old['seconds']\n  errors=old['errors'];block_moves=old['block_moves']\n def checkpoint():\n  save(path,dict(seed=seed,start=start,seconds=time_before+time.monotonic()-beg,\n       attempts=attempts,valid_count=valid_count,best=best,strict_radius=strict,\n       uphill=uphill,archive_returns=returns,grid_draws=grid_draws,stale=stale,\n       errors=errors,block_moves=block_moves,state=state.tolist(),state_radius=R,\n       rng=rng.bit_generator.state,\n       archive={k:[r,b.tolist(),n] for k,(r,b,n) in archive.items()}))\n def retain(result):\n  nonlocal best,valid_count\n  if result is None:return\n  d,v=result\n  if not v.valid:return\n  valid_count+=1\n  if best is None or v.score<best['score']:\n   best=dict(score=v.score,solution=d)\n   print(label,'best',repr(v.score),'attempt',attempts,flush=True)\n   checkpoint()\n checkpoint()\n try:\n  while time.monotonic()<end:\n   attempts+=1\n   try:\n    if archive and attempts%4==0:\n     choices=list(archive.values())\n     weights=np.array([math.exp(-(r-min(x[0] for x in choices))/.065)/math.sqrt(1+n)\n                       for r,_,n in choices])\n     entry=choices[rng.choice(len(choices),p=weights/weights.sum())]\n     R,state=entry[:2];entry[2]+=1;returns+=1\n    b=state.copy()\n    if attempts>1:\n     amp=float(np.clip(.055*(1+stale/5)**.65,.055,.53)*rng.uniform(.7,1.4))\n     adj,_=contacts(state,R);pick=[int(rng.integers(15))]\n     count=int(rng.integers(2,10))\n     if rng.random()<.72:\n      block_moves+=1\n      while len(pick)<count:\n       edge=sorted(set(j for i in pick for j in adj[i])-set(pick))\n       if not edge:break\n       pick.append(int(rng.choice(edge)))\n      b[pick]+=rng.normal(0,amp,(1,3))\n     else:pick=rng.choice(15,count,replace=False)\n     b[pick]+=rng.normal(0,amp,(len(pick),3))\n     if stale>6 and rng.random()<.25:\n      i,j=rng.choice(15,2,replace=False);b[[i,j],2]=b[[j,i],2]\n    target=3.45 if attempts==1 and start=='fresh' else max(2.945,R-.015)\n    if label=='warm-hot' and stale>24:target=R+.06\n    b,r,g,_=local(b,target,True,steps=130)\n    stale+=1\n    if g>=-2e-8:\n     key=graph_key(*contacts(b,r))\n     if key not in archive or r<archive[key][0]-1e-6:\n      n=archive[key][2] if key in archive else 0\n      if key not in archive:stale=max(0,stale-3)\n      archive[key]=[r,b.copy(),n]\n      if len(archive)>64:\n       worst=max(archive,key=lambda k:archive[k][0]);del archive[worst]\n     else:archive[key][2]+=1\n     T=min(.09,.009+.0025*stale)\n     if r<=R or rng.random()<math.exp(-(r-R)/T):\n      uphill+=int(r>R+1e-7);state,R=b.copy(),r\n     if strict is None or r<strict['score']-1e-6:\n      w,_,slack,_=local(b,r,False,np.full(105,-2e-6),100)\n      w=arr(objects(w))\n      if slack>=-2e-8 and exact_areas(w).max()<1e-12:\n       d,v=official(w)\n       if v.valid and (strict is None or v.score<strict['score']):\n        strict=dict(score=v.score,solution=d,max_exact_area=float(exact_areas(w).max()))\n      retain(official(b))\n     ceiling=best['score'] if best else 5.\n     if r<ceiling+.0014:\n      # Re-estimate pair tolerances from circular areas and the measured\n      # inscribed-polygon deficit, then verify every retained grid point.\n      for _ in range(2):\n       corr=np.zeros(105)\n       if attempts>1:\n        ps=[semicircle_polygon(Semicircle(*q)) for q in b]\n        areas=exact_areas(b)\n        for k in np.flatnonzero(areas>1e-8):\n         i,j=PAIRS[k];corr[k]=max(0.,areas[k]-ps[i].intersection(ps[j]).area)\n       al=allowances(b,rng.uniform(.97,.9999)*1e-6,corr)\n       b,r,_,_=local(b,r,False,al,100)\n      result,count=grid(b,rng,80,ceiling)\n      grid_draws+=80\n      valid_count+=count-int(result is not None)\n      if result is not None:stale=0;retain(result)\n   except (ValueError,RuntimeError,FloatingPointError) as error:\n    errors.append(repr(error))\n   if time.monotonic()-last>=55:checkpoint();last=time.monotonic()\n finally:checkpoint()\n\ndef lattice(seed,start,seconds,label):\n from scipy.optimize import Bounds,LinearConstraint,milp\n rng=np.random.default_rng(seed);beg=time.monotonic();last=beg\n b=load(start);d,v=official(b);assert v.valid\n refine=label!='lattice-best'\n path=ROOT/'work'/f'{label}.json';best=None;attempts=valid=0\n def checkpoint():\n  save(path,dict(seed=seed,start=start,seconds=time.monotonic()-beg,\n       attempts=attempts,valid_count=valid,best=best))\n try:\n  while time.monotonic()-beg<seconds:\n   attempts+=1\n   cx,cy,r=own_mec(b);center=np.array([cx,cy])\n   areas=exact_areas(b);ps=[semicircle_polygon(Semicircle(*q)) for q in b]\n   rows=[];rhs=[]\n   for k in np.flatnonzero(areas>1e-8):\n    i,j=PAIRS[k];g=np.zeros(48);h=2e-8\n    for l,m in [(i,j),(j,i)]:\n     for s in range(3):\n      p=b[l].copy();p[s]+=h;q=b[l].copy();q[s]-=h\n      g[3*l+s]=(area(p,b[m])-area(q,b[m]))/(2*h)\n    scale=max(np.linalg.norm(g),1e-4)\n    rows.append(g/scale)\n    rhs.append((rng.uniform(.9988,1.)*1e-6-ps[i].intersection(ps[j]).area)/(scale*1e-6))\n   for i,q in enumerate(b):\n    q=q.copy();q[:2]-=center;axes=[far(q)]\n    if refine:\n     u=np.array([math.cos(q[2]),math.sin(q[2])]);v=np.array([-u[1],u[0]])\n     for sign in (-1,1):\n      w=q[:2]+sign*v;t=np.linalg.norm(w)\n      axes.append((t,np.r_[w/t,-sign*np.dot(w,u)/t]))\n    for t,g in axes:\n     row=np.zeros(48);row[3*i:3*i+3]=g;row[45:47]=-g[:2];row[47]=-1\n     rows.append(row);rhs.append((r-t)*1e6)\n   lim=np.full(48,float(rng.choice([2,3,5,8,12])));lim[45:]=20.\n   if attempts%3==1:\n    for k in np.flatnonzero(areas>1e-8):\n     i,j=PAIRS[k]\n     if abs((b[i,2]-b[j,2])%(2*PI)-PI)<.001:lim[[3*i+2,3*j+2]]=0.\n   obj=np.r_[rng.normal(0,.0003,45),0.,0.,1.]\n   if refine and attempts%4==1:\n    lp=milp(obj,bounds=Bounds(-lim,lim),constraints=LinearConstraint(rows,-np.inf,rhs))\n    if lp.x is not None:\n     q=b+lp.x[:45].reshape(15,3)*1e-6\n     w,n=grid(q,rng,1200,best['score'] if best else r)\n     valid+=n\n     if w:\n      d,v=w;best=dict(score=v.score,solution=d);b=arr(d);checkpoint();continue\n   result=milp(obj,integrality=np.r_[np.ones(45),np.zeros(3)],\n               bounds=Bounds(-lim,np.r_[lim[:-1],-.004] if refine else lim),constraints=LinearConstraint(rows,-np.inf,rhs),\n               options={'time_limit':8. if refine else 3.})\n   if result.x is not None:\n    x=b+np.rint(result.x[:45]).reshape(15,3)*1e-6\n    d,v=official(x)\n    if v.valid:\n     valid+=1\n     if best is None or v.score<best['score']:\n      best=dict(score=v.score,solution=d);checkpoint()\n      print(label,'best',repr(v.score),attempts,flush=True)\n     if v.score<=r or (attempts%9==0 and v.score<r+1e-7):b=arr(d)\n   if time.monotonic()-last>=55:checkpoint();last=time.monotonic()\n finally:checkpoint()\n\nif __name__=='__main__':\n if sys.argv[4].startswith('lattice'):lattice(int(sys.argv[1]),sys.argv[2],float(sys.argv[3]),sys.argv[4])\n else:run(int(sys.argv[1]),sys.argv[2],float(sys.argv[3]),sys.argv[4],len(sys.argv)>5)\n","plot_svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 660 695\" role=\"img\"><title>15 unit semicircles, radius 2.94852695</title><rect width=\"660\" height=\"695\" fill=\"#fafafa\"/><text x=\"330\" y=\"36\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"22\" fill=\"#17252c\">15 unit semicircles · R = 2.94852695</text><path d=\"M330.505402 371.099211 A95 95 0 0 0 433.159910 211.217842Z\" fill=\"#d4e7ec\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"415.49189\" y=\"316.77000\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">0</text><path d=\"M513.136942 414.704837 A95 95 0 0 0 362.639580 530.681317Z\" fill=\"#cad9eb\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"413.47216\" y=\"445.00942\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">1</text><path d=\"M180.009548 366.111998 A95 95 0 0 0 369.041455 385.267625Z\" fill=\"#d4e7ec\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"270.49274\" y=\"419.48600\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">2</text><path d=\"M442.274920 366.239938 A95 95 0 0 0 567.952062 223.743425Z\" fill=\"#cad9eb\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"535.11276\" y=\"325.45003\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">3</text><path d=\"M429.484118 111.040975 A95 95 0 0 0 283.405785 232.536328Z\" fill=\"#d4e7ec\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"330.86698\" y=\"145.03532\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">4</text><path d=\"M262.734390 88.135996 A95 95 0 0 0 259.794323 278.113247Z\" fill=\"#cad9eb\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"221.26915\" y=\"186.50566\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">5</text><path d=\"M161.548939 158.830817 A95 95 0 0 0 189.804593 346.718066Z\" fill=\"#d4e7ec\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"136.12156\" y=\"262.72300\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">6</text><path d=\"M181.474561 269.782939 A95 95 0 0 0 370.296101 290.911735Z\" fill=\"#cad9eb\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"271.43716\" y=\"324.09924\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">7</text><path d=\"M260.105304 251.915543 A95 95 0 0 0 406.183679 130.420241Z\" fill=\"#d4e7ec\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"358.72245\" y=\"225.92123\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">8</text><path d=\"M491.496124 299.387053 A95 95 0 0 0 408.316728 128.562031Z\" fill=\"#cad9eb\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"485.86959\" y=\"200.46309\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">9</text><path d=\"M85.713148 292.487758 A95 95 0 0 0 204.784145 440.548885Z\" fill=\"#d4e7ec\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"114.07788\" y=\"395.58590\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">10</text><path d=\"M85.810385 457.534071 A95 95 0 0 0 275.334038 470.979702Z\" fill=\"#cad9eb\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"177.74155\" y=\"508.15660\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">11</text><path d=\"M517.665503 562.950194 A95 95 0 0 0 341.799710 634.861409Z\" fill=\"#d4e7ec\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"414.59340\" y=\"565.88142\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">12</text><path d=\"M187.399957 590.969478 A95 95 0 0 0 322.648416 457.523405Z\" fill=\"#cad9eb\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"283.11810\" y=\"556.71980\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">13</text><path d=\"M426.830742 481.216691 A95 95 0 0 0 577.325361 365.236652Z\" fill=\"#d4e7ec\" stroke=\"#34566a\" stroke-width=\"1.2\"/><text x=\"526.49490\" y=\"458.90975\" text-anchor=\"middle\" font-family=\"sans-serif\" font-size=\"13\" fill=\"#17252c\">14</text><circle cx=\"330\" cy=\"355\" r=\"280.1100603\" fill=\"none\" stroke=\"#b3342b\" stroke-width=\"2\"/></svg>","seed_inputs":{"BEST":{"score":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}]},"ALT":{"score":2.954218129951988,"solution":[{"x":0.581074,"y":-0.045086,"theta":-5.306156},{"x":-1.749544,"y":-0.870668,"theta":2.977815},{"x":0.07457,"y":-0.909613,"theta":-0.265724},{"x":-0.880475,"y":-1.744629,"theta":-2.878746},{"x":-0.660484,"y":-0.413433,"theta":2.143101},{"x":1.408713,"y":1.354436,"theta":1.986781},{"x":1.860464,"y":-0.598031,"theta":0.362737},{"x":0.198015,"y":-1.94416,"theta":-1.167302},{"x":-0.577897,"y":1.58478,"theta":-1.137015},{"x":1.895302,"y":0.476232,"theta":1.162872},{"x":1.160662,"y":-1.572206,"theta":0.118762},{"x":0.197968,"y":1.944165,"theta":-4.278607},{"x":0.002047,"y":-1.176086,"theta":2.875868},{"x":-1.949909,"y":0.1297,"theta":1.968292},{"x":-1.793892,"y":2.123524,"theta":-0.869346}]},"ALT_ARCHIVE":{"score":2.9524830673236333,"solution":[{"x":-0.562972,"y":-0.321012,"theta":-1.516874},{"x":1.08009,"y":1.626528,"theta":0.570098},{"x":-1.24634,"y":1.502939,"theta":0.76536},{"x":-0.301595,"y":1.929049,"theta":0.689744},{"x":0.465781,"y":0.732018,"theta":-0.209721},{"x":-0.561703,"y":-1.869941,"theta":-0.683471},{"x":-1.92065,"y":-0.351135,"theta":-2.376233},{"x":-1.768301,"y":0.602917,"theta":-0.116326},{"x":1.281537,"y":-1.093965,"theta":2.519492},{"x":-1.419874,"y":-1.340205,"theta":-1.548613},{"x":-1.733848,"y":0.897754,"theta":3.025267},{"x":0.783616,"y":-1.788333,"theta":-0.6221},{"x":-0.567599,"y":0.680129,"theta":-0.525541},{"x":1.758612,"y":0.848217,"theta":-0.601781},{"x":2.605527,"y":-0.963524,"theta":2.787389}]}},"strategy_table":[{"strategy":"Adaptive wide contact-graph archive and terminal polish","inherited_score":2.948526950912552,"warm_new_score":2.9485275887783664,"best_fresh_score":2.9659937146857023,"selected_score":2.948526950912552}],"handed_inputs":[{"input":"after-basin-small","sha256":"d364c8376db2aab396a0bfb93ae356699c8c6e7b65ce9cffe0f4a8a130e1e475","reported_selected":2.948526950912552,"reported_new":2.9485298229650656,"reported_fresh":3.0192761772071766},{"input":"after-basin-wide","sha256":"65d0dfda56244b1f735392b9542deb46a3c1801f0e1f951805870f15b9cf0e04","reported_selected":2.948526950912552,"reported_new":2.9485285423028933,"reported_fresh":2.954218129951988},{"input":"after-pi-flips","sha256":"1dfd6d27bb05cc0eae2bed1141efaf0db204b6fafae8fcafd28fe9fb015e7028","reported_selected":2.948526950912552,"reported_new":2.9485289368486356,"reported_fresh":3.0102905672615603},{"input":"after-reinsert-block","sha256":"41cc231da369479fd5f47ff4c9036ce63196bc0e1ede0097b4fc6e1039a3b52b","reported_selected":2.948526950912552,"reported_new":2.948526950912552,"reported_fresh":3.297901422227196},{"input":"after-reinsert-one","sha256":"7444ca1f0ef7f516148b1568cb99847991ff0e36a97bf91d46eda4151ab922c4","reported_selected":2.948526950912552,"reported_new":2.9485410237249945,"reported_fresh":3.0303876728689625},{"input":"after-relaxed-rings","sha256":"6f15bebddde2e90c3d54f3630dfa30b0807a8775f333ece0219e395d79ca4436","reported_selected":2.948526950912552,"reported_new":null,"reported_fresh":null},{"input":"after-sliding-pairs","sha256":"612f701bca774ebc8599a9c145da5a4055f8e63f74ec26b8688bb19b7c021d5d","reported_selected":"2.948526950912552","reported_new":null,"reported_fresh":"6.45338247"}],"environment_versions":{"python":"3.12.3","numpy":"2.5.5","scipy":"1.18.1","numba":"0.68.1","shapely":"2.2.0","uv":"0.13.10"},"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/run.py","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"],"commands":["git clone https://github.com/benedictbrady/shape-packing-challenge official; git -C official checkout --detach 78a78626f098cd236f3a09bb2cb242f72951599d","cd official && uv sync && uv run python run.py","Download the standalone uv GNU/Linux release to scratch if needed, and put its binary on PATH. The clean scorer requires only its uv project.","cd official && uv pip install scipy==1.18.1 numba==0.68.1","In scratch extract executable_source to archive_final.py, seed_inputs.BEST.solution to fallback.json, seed_inputs.ALT.solution to best_fresh_solution.json, seed_inputs.ALT_ARCHIVE.solution to alt-archive-best.json, and make a work directory. Run from scratch with the official project virtual environment Python.","timeout 448s official/.venv/bin/python archive_final.py 2315130672 fresh 390 fresh-a","timeout 448s official/.venv/bin/python archive_final.py 1887544639 fresh 390 fresh-b","timeout 448s official/.venv/bin/python archive_final.py 323377242 fresh 390 fresh-c","timeout 448s official/.venv/bin/python archive_final.py 2488896389 fresh 390 fresh-d","timeout 448s official/.venv/bin/python archive_final.py 4100336642 fallback.json 410 lattice-best","timeout 448s official/.venv/bin/python archive_final.py 33103 fallback.json 415 lattice-refined","timeout 448s official/.venv/bin/python archive_final.py 856451291 best_fresh_solution.json 390 warm-alt","timeout 448s official/.venv/bin/python archive_final.py 132410492 fallback.json 390 warm-best","timeout 448s official/.venv/bin/python archive_final.py 1813710003 alt-archive-best.json 390 warm-hot","timeout 448s official/.venv/bin/python archive_final.py 2315130672 fresh 390 fresh-a resume","timeout 448s official/.venv/bin/python archive_final.py 2315130672 fresh 390 fresh-a resume","timeout 448s official/.venv/bin/python archive_final.py 1887544639 fresh 390 fresh-b resume","timeout 448s official/.venv/bin/python archive_final.py 1887544639 fresh 390 fresh-b resume","timeout 448s official/.venv/bin/python archive_final.py 856451291 best_fresh_solution.json 390 warm-alt resume","timeout 448s official/.venv/bin/python archive_final.py 856451291 best_fresh_solution.json 390 warm-alt resume","timeout 448s official/.venv/bin/python archive_final.py 132410492 fallback.json 390 warm-best resume","git clone https://github.com/benedictbrady/shape-packing-challenge verify; git -C verify checkout --detach 78a78626f098cd236f3a09bb2cb242f72951599d","cd verify && uv sync --offline && uv run --offline pytest && uv run --offline python run.py ../selected.json --save-plot ../official-plot.svg","Extract solution_json verbatim as selected.json for this command. The embedded plot_svg is a compact analytic-arc plot with the same scorer result."],"notes":["No submission or sign-in. Candidate scores all apply to the accompanying six-decimal object arrays. Piece indices are zero-based.","The supplied nominal five-decimal comparison is 2.94853. The stricter record comparator is the supplied full score 2.948526950912552.","The search did not improve the full published radius. The selected packing ties the published score even though its unrounded value is numerically below 2.94853.","Duration and attempt counts for resumed runs are cumulative. Valid counts record successful official checks, including repeated packings. Grid draws rejected by the cheap screens are counted separately from hops.","The auxiliary rounding diagnostics record fixed-center and circle-intersection lattice probes. The embedded search code covers the archive hops and the retained integer polish. A translated inherited array still ties the record and is excluded from the new basin score.","Archive signatures use four rounds of sorted neighborhood refinement with wall-contact vertex labels. Signatures are a heuristic for identifying repeated basins.","The warm-hot run starts from a checkpoint improvement of ALT and temporarily expands the repair radius on prolonged stagnation.","Fresh runs began from independent random placements with no inherited archive. ALT is a warm start in this item even though the previous worker found it in a fresh run.","The selected packing has two offset seams and many contacts near the overlap limit. In this basin changes below a coordinate rounding step can trade an enclosing-circle gain against a rounded overlap violation.","The strict witness, when present, was rounded after imposing 2e-6 separating clearance and checked for circular overlap to numerical precision.","Borrowed and checked support, area integration, enclosing-circle refinement and repair primitives from the hash-pinned basin-wide handoff. No prior search entry point was executed.","The source is embedded so the solution, scorer evidence and search code travel in the two named JSON files. Third-party tool installations were used in scratch only.","Independent agent execution was unavailable. The final array was rerun in a separate pristine checkout using the official scorer and plot command."]}
