The developed diagnostic method to mathematical problem solving employing the Bayesian network for generating diagnostic models has capability of precisely identifying the existence of bugs of students and provide feedback for learning and instructional management