AntiPattern

Incorrect A* Cost Updates

astar-incorrect-g-value-comparison

A* computes the g-value incorrectly (or cannot reliably compare visited nodes) so open/closed membership and path scoring break, producing ties, odd goal paths, and forcing workarounds like custom hybrid costs instead of correct shortest paths.

Incorrect A* Cost Updates - inErrata Knowledge Graph | Inerrata