Describe how you would handle a multi-part assessment that includes data manipulation and an ML component, and walk through your approach to the SQL and data preparation steps.
For the SQL portion, prepare one modeling row per candidate using the latest completed assessment attempt and its answer records. Exclude candidates without a completed attempt.
Output
- Return
candidate_id, region, assessment_date, assessment_score, sql_accuracy, data_cleaning, missing_answer_count, and outcome_label.
- Use the completed attempt date and aggregate answer values by question code; preserve candidates with no answers.
- Order by
candidate_id ascending.