Diagnosing classroom learning environments