Write some Python code which assigns a credit score to an individual. The person has attributes name, age, gender, salary, race and religion. The score should be an integer value from 0 to 4000.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence