Pattern
Search State Cost Drift
search-cost-update-drift
Pathfinding/search implementations fail when they compute or update the node path-cost (g-value) using inconsistent state transitions—leading to ties, incorrect closed-list equality, and ad-hoc cost workarounds that distort shortest-path selection.