A federal judge in Illinois ruled against the city of Chicago in a discrimination suit this week, concluding that evidence showed that it allegedly discriminated against an applicant for the fire department, whose conditional job offer was revoked following a mental health screening.