You have logical problems with your code. There is no condition that breaks from the while loop, and provide clearer comments.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence