Diagnosis from scenarios