diff --git a/tools/pathing_data/canonical-live-cases.json b/tools/pathing_data/canonical-live-cases.json index f59f9606..152e2349 100644 --- a/tools/pathing_data/canonical-live-cases.json +++ b/tools/pathing_data/canonical-live-cases.json @@ -25,7 +25,7 @@ } }, { - "case_id": "ceiling-headhitter-sprint-mm12-gap3-ceil1p8125", + "case_id": "ceiling-headhitter-sprint-mm12-gap3-ceil2p0", "bucket_id": "ceiling:headhitter:sprint:boundary", "family": "ceiling", "subfamily": "headhitter", @@ -36,7 +36,7 @@ "world_recipe_id": "ceiling-headhitter", "gap_blocks": 3, "delta_y": 0.0, - "ceiling_height": 1.8125, + "ceiling_height": 2.0, "wall_width": null, "start": { "x": 100.5, diff --git a/tools/pathing_theory/canonical.py b/tools/pathing_theory/canonical.py index fe568aef..ac6ac906 100644 --- a/tools/pathing_theory/canonical.py +++ b/tools/pathing_theory/canonical.py @@ -38,6 +38,10 @@ def _select_boundary_case( for case in reachable: if case.gap_blocks == preferred_gap: return case + if family == "ceiling" and subfamily == "headhitter": + for case in reachable: + if case.gap_blocks == 3 and case.ceiling_height == 2.0: + return case return reachable[0]