credit grade model