test: tune theory headhitter case selection

This commit is contained in:
BruceChen 2026-04-14 11:13:55 +00:00
parent 84a452d5c9
commit 51a96da662
2 changed files with 6 additions and 2 deletions

View file

@ -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,

View file

@ -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]