what is a diagnostic essay