Simplify routing verification and isolate benchmark policies

This commit is contained in:
Jan Petykiewicz 2026-11-26 21:55:34 -08:00
commit ec2768853e

View file

@ -1,79 +1,81 @@
{
"generated_at": "2026-04-02T14:24:39-07:00",
"generated_at": "2026-11-26T21:47:35-08:00",
"generator": "scripts/record_frontier_trace.py",
"scenarios": [
{
"frontier_trace": [],
"metrics": {
"congestion_cache_hits": 31,
"congestion_cache_misses": 4625,
"congestion_candidate_ids": 9924,
"congestion_candidate_nets": 9979,
"congestion_candidate_precheck_hits": 2562,
"congestion_candidate_precheck_misses": 2165,
"congestion_candidate_precheck_skips": 71,
"congestion_check_calls": 4625,
"congestion_exact_pair_checks": 8122,
"congestion_grid_net_cache_hits": 2457,
"congestion_grid_net_cache_misses": 3942,
"congestion_grid_span_cache_hits": 2283,
"congestion_grid_span_cache_misses": 1948,
"congestion_cache_hits": 24,
"congestion_cache_misses": 3411,
"congestion_candidate_ids": 7213,
"congestion_candidate_nets": 7410,
"congestion_candidate_precheck_hits": 1677,
"congestion_candidate_precheck_misses": 1795,
"congestion_candidate_precheck_skips": 37,
"congestion_check_calls": 3411,
"congestion_exact_pair_checks": 5860,
"congestion_grid_net_cache_hits": 1676,
"congestion_grid_net_cache_misses": 3276,
"congestion_grid_span_cache_hits": 1517,
"congestion_grid_span_cache_misses": 1637,
"congestion_lazy_requeues": 0,
"congestion_lazy_resolutions": 0,
"congestion_net_envelope_cache_hits": 2673,
"congestion_net_envelope_cache_misses": 4139,
"congestion_presence_cache_hits": 2858,
"congestion_presence_cache_misses": 2556,
"congestion_presence_skips": 687,
"danger_map_cache_hits": 16878,
"danger_map_cache_misses": 7425,
"danger_map_lookup_calls": 24303,
"danger_map_query_calls": 7425,
"danger_map_total_ns": 212814061,
"congestion_net_envelope_cache_hits": 1801,
"congestion_net_envelope_cache_misses": 3433,
"congestion_presence_cache_hits": 1857,
"congestion_presence_cache_misses": 2075,
"congestion_presence_skips": 460,
"danger_map_cache_hits": 13605,
"danger_map_cache_misses": 6252,
"danger_map_lookup_calls": 19857,
"danger_map_query_calls": 6252,
"danger_map_total_ns": 180793966,
"dynamic_grid_rebuilds": 0,
"dynamic_path_objects_added": 471,
"dynamic_path_objects_removed": 423,
"dynamic_path_objects_added": 430,
"dynamic_path_objects_removed": 384,
"dynamic_tree_rebuilds": 0,
"guidance_bonus_applied": 11000.0,
"guidance_bonus_applied_bend90": 3500.0,
"guidance_bonus_applied_sbend": 625.0,
"guidance_bonus_applied_straight": 6875.0,
"guidance_match_moves": 176,
"guidance_match_moves_bend90": 56,
"guidance_match_moves_sbend": 10,
"guidance_match_moves_straight": 110,
"guidance_bonus_applied": 3275.0,
"guidance_bonus_applied_bend90": 1075.0,
"guidance_bonus_applied_sbend": 200.0,
"guidance_bonus_applied_straight": 2000.0,
"guidance_match_moves": 131,
"guidance_match_moves_bend90": 43,
"guidance_match_moves_sbend": 8,
"guidance_match_moves_straight": 80,
"hard_collision_cache_hits": 0,
"iteration_conflict_edges": 39,
"iteration_conflicting_nets": 36,
"iteration_conflict_edges": 40,
"iteration_conflicting_nets": 39,
"iteration_reverified_nets": 60,
"iteration_reverify_calls": 6,
"move_cache_abs_hits": 2559,
"move_cache_abs_misses": 6494,
"move_cache_rel_hits": 5872,
"move_cache_rel_misses": 622,
"moves_added": 8081,
"moves_generated": 9053,
"nets_carried_forward": 0,
"nets_reached_target": 60,
"nets_routed": 60,
"nodes_expanded": 1764,
"late_phase_capped_fallbacks": 2,
"late_phase_capped_nets": 2,
"move_cache_abs_hits": 1831,
"move_cache_abs_misses": 5516,
"move_cache_rel_hits": 4926,
"move_cache_rel_misses": 590,
"moves_added": 6594,
"moves_generated": 7347,
"nets_carried_forward": 6,
"nets_reached_target": 52,
"nets_routed": 54,
"nodes_expanded": 1408,
"pair_local_search_accepts": 2,
"pair_local_search_attempts": 2,
"pair_local_search_nodes_expanded": 68,
"pair_local_search_attempts": 3,
"pair_local_search_nodes_expanded": 42,
"pair_local_search_pairs_considered": 2,
"path_cost_calls": 0,
"pruned_closed_set": 439,
"pruned_cost": 533,
"pruned_closed_set": 414,
"pruned_cost": 339,
"pruned_hard_collision": 0,
"ray_cast_calls": 5477,
"ray_cast_calls_expand_forward": 1704,
"ray_cast_calls_expand_snap": 46,
"ray_cast_calls": 4577,
"ray_cast_calls_expand_forward": 1356,
"ray_cast_calls_expand_snap": 36,
"ray_cast_calls_other": 0,
"ray_cast_calls_straight_static": 3721,
"ray_cast_calls_straight_static": 3179,
"ray_cast_calls_visibility_build": 0,
"ray_cast_calls_visibility_query": 0,
"ray_cast_calls_visibility_tangent": 6,
"ray_cast_candidate_bounds": 305,
"ray_cast_candidate_bounds": 162,
"ray_cast_exact_geometry_checks": 0,
"refine_path_calls": 10,
"refinement_candidate_side_extents": 0,
@ -84,17 +86,17 @@
"refinement_static_bounds_checked": 0,
"refinement_windows_considered": 0,
"route_iterations": 6,
"score_component_calls": 8634,
"score_component_total_ns": 241025335,
"score_component_calls": 6958,
"score_component_total_ns": 205362623,
"static_net_tree_rebuilds": 1,
"static_raw_tree_rebuilds": 1,
"static_safe_cache_hits": 2482,
"static_safe_cache_hits": 1778,
"static_tree_rebuilds": 1,
"timeout_events": 0,
"verify_dynamic_candidate_nets": 2106,
"verify_dynamic_exact_pair_checks": 558,
"verify_path_report_calls": 190,
"verify_static_buffer_ops": 895,
"verify_dynamic_candidate_nets": 1638,
"verify_dynamic_exact_pair_checks": 507,
"verify_path_report_calls": 152,
"verify_static_buffer_ops": 699,
"visibility_builds": 0,
"visibility_corner_hits_exact": 0,
"visibility_corner_index_builds": 1,
@ -105,7 +107,7 @@
"visibility_point_queries": 0,
"visibility_tangent_candidate_corner_checks": 6,
"visibility_tangent_candidate_ray_tests": 6,
"visibility_tangent_candidate_scans": 1704,
"visibility_tangent_candidate_scans": 1356,
"warm_start_paths_built": 0,
"warm_start_paths_used": 0
},