The final, formatted version of the article will be published soon. The Q-matrix serves as a bridge that links items and attributes, and its accuracy affects the results of cognitive diagnosis.