AntiPattern
Incorrect A* G-Score Semantics
astar-gscore-miscomputed
A* fails because g-values are computed or compared using the wrong semantics and/or faulty node identity, so the open/closed sets misbehave and multiple candidates tie, producing odd paths or forcing workarounds like custom cost metrics.