Two-Sided PLL Recognition
Guide by Mark Rivers.
Once you've identified the case, the AUF direction is usually obvious from the visible faces. For the trickier cases, these hints disambiguate. Which exact AUF you do still depends on the algorithm you use.