Brew purity does correlate to better endings, of which (ignoring falling in the cauldron too early) there are three. One from knocking a lot of wrong ingredients in, one for only some wrong ingredients, and the last for minimal or no wrong ingredients.