model_goodness_for_algo_poly function

Computes the goodness of the IRT model fit for a given algorithm.