To prove that I could detect the types of problems I was hearing I collected small samples of audio with each type of flaw from podcasts and elsewhere.
I wrote Python functions for each type of measurement and check whilst writing the test suite - test driven development!