sample quality evaluation