Part A: SQL or AI?
Classify each requirement:
- Retrieve policies expiring within 30 days.
- Calculate the exact days remaining until expiry.
- Rank expiring policies by non-renewal risk.
- Send reminders to every eligible policyholder.
- Predict which policyholder is unlikely to respond.
- Retrieve all complaints recorded in the previous 90 days.
- Predict whether recent complaint behaviour increases renewal risk.
Choose:
SQL/C# rule
ML prediction
SQL feature preparation + ML prediction
Part B: Engineer features
Convert these raw columns into possible features:
| Raw data | Engineered feature |
|---|---|
CustomerCreatedDate |
? |
| Multiple complaint rows | ? |
| Multiple claim rows | ? |
LastLoginDate |
? |
| Current and previous premium | ? |
| Multiple payment dates and due dates | ? |
PolicyType |
? |
Part C: Detect leakage
Prediction moment:
30 days before policy expiry
Classify each feature as valid or leaking:
- Claims recorded before the prediction moment
- Renewal payment date
- Complaints from the preceding 90 days
- Renewal receipt number
- Previous successful renewal count
- Result of the retention call made after scoring
- Premium amount known on the prediction date
- Final renewal status
Part D: Modify the ML.NET pipeline
Add this property:
public float CallsAnsweredLast30Days { get; set; }
Then:
- Add values to all three practice rows.
- Add the property name to
numericColumns. - Run the application.
- Confirm that the feature vector contains one additional numeric value.
Part E: Design Assessment OS features
For exam-session risk detection, complete:
Prediction moment:
TabSwitchCountLast10Minutes:
FaceMissingSecondsLast5Minutes:
MultipleFaceEventCount:
AudioAnomalyCount:
NetworkDisconnectCount:
CandidateId included as feature?:
Final reviewer decision used as:
Potential future-data leakage:
A risk score should support authorized review; it should not automatically prove malpractice.