A* is better. If you switch to to using JUST edge weight for f_score, it finds a non-optimal path. If you leave it as is, it will seek towards the target, which means it's broken. Need to fiddle with F-score or usage of f-score.