A Class of Cognitive Diagnosis Models for Polytomous Data. (June 2021)