Analyzes input to identify and classify the underlying problem type, returning structured diagnostic labels and confidence scores.