Cognitive Diagnosis Revisited