AntiPattern
A* G-Score Miscalculation
a-star-g-score-miscalculation
A* search fails because g-scores are computed or compared incorrectly, often due to misuse of closed-set equality (equals/hashCode) and path-length semantics, causing ties, odd target paths, and inefficient or incorrect routing decisions.