The full file of solutions gets rather long without deduplication, particularly as some seem to be just adding useless actions to other solutions.
We have a couple of options for hashing and other limits:
Hash the full history. This will leave in most of those extras.
Hash only the locations. This is closer to what "the route" traditionally is based on, but may hide real variations in action-related traversal.
Hash only the locations and actions. This is the same as the first option, because the regular traversal is uniquely the shortest path.
Hash only the locations, but within a matching set, drop histories that are strict ordered supersets of another (i.e. if it contains the shorter path in the same order).