How can one determine when sauerkraut has gone bad?

Taste or smell don't appear to be accurate indicators.