Problem
Business Context
American Family Insurance - Colorado collects customer feedback from post-claim surveys, call-center notes, email responses, and mobile app comments. The marketing analytics team wants an NLP pipeline that scores sentiment reliably so they can identify friction in the claims experience and track brand perception by touchpoint.
Data
You are given a historical dataset of approximately 420,000 feedback records from the last 18 months across AmFam Colorado channels. Text is mostly English, with about 7% Spanish and occasional insurance-specific abbreviations (e.g., "FNOL," "adjuster," "deductible," "total loss"). Feedback length ranges from 5 to 900 characters, with a median of 110 characters. Labels are available for 120,000 records and follow a 3-class distribution: positive (52%), neutral (28%), negative (20%). Some records contain personally identifiable information and policy references.
Success Criteria
A strong solution should achieve macro-F1 ≥ 0.82, negative-class recall ≥ 0.88, and produce batch scores fast enough to process daily feedback within 30 minutes. Outputs should support dashboarding by channel, product line, and claim stage.
Constraints
- Data must remain in AmFam Colorado's secure environment
- Inference should be efficient enough for daily batch scoring on modest GPU or CPU resources
- The approach should handle class imbalance, short texts, and domain-specific vocabulary
- The solution should be explainable enough for marketing and customer-experience stakeholders
Requirements
- Build a 3-class sentiment classifier for customer feedback.
- Define a preprocessing pipeline for noisy insurance text, multilingual records, and PII removal.
- Implement a modern Python solution, including tokenization, training, and evaluation.
- Compare at least one lightweight baseline against a transformer-based model.
- Describe how you would monitor drift and sentiment shifts after deployment.
- Explain how predictions would be aggregated into reporting for AmFam Colorado stakeholders.
Practicing as: Data Scientist interview at Abercrombie and FitchHi, I'll play your Abercrombie and Fitch interviewer for the Data Scientist role. Candidates describe these interviews as mostly positive and on the easier side, so expect me to be friendly and conversational. Take your time with the question above and answer like we're in the room.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

