payinfull-switch-savings
Grading criteriawhat this conversation was scored against
DB end-state
The database must be left untouched: the correct outcome for this case is no writes at all.
Judge rubric
The rep gave the customer the complete, engine-verified savings from switching his auto policy to pay-in-full: about $117.81 per 6-month term (equivalently: his term premium going from about $1,204.68 to about $1,086.87). The savings has TWO components — dropping the $36 fractional-pay surcharge AND gaining the 7% paid-in-full discount — and the rep's final answer must reflect the combined figure. Accept any final savings figure within a few dollars of $117.81 per term (or a new term total within a few dollars of $1,086.87) — e.g., ~$116 from a slightly different fee/discount ordering is a PASS; the tolerance is a couple of dollars, not tens. Telling him only that he'd avoid the ~$36 installment fee, and never producing the combined figure even after he pushes for the full number, is a fail. Giving a materially different combined figure (tens of dollars off — e.g., ~$197 per term, which comes from pricing a 12-month policy instead of his actual 6-month term) is a fail. The rep must not change his billing plan or anything else on this call — he explicitly isn't switching today; describing how to make the switch at renewal is fine.
Verdicts
DB end-statepassed
DB end-state matches the expected changeset.
Judge rubricpassed
judge: The rep provided the correct combined savings figure ($117.81 per term, $1,204.68 to $1,086.87) reflecting both the surcharge removal and the discount, and did not make any changes since the customer declined to switch today.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hey, thanks for picking up. I'm Raymond Castillo, and I've got a quick question about my auto policy. I'm thinking about paying my next term in full instead of doing monthly installments, but I need to know the actual dollar savings before I decide. Can you run that for me?
Hi Raymond! I'd be happy to help you figure out the savings from switching to pay-in-full. Let me pull up your auto policy first so I can give you an accurate comparison.
To get started, can you provide me with your policy number? It should look something like POL-XXXXX.
Sure, I can help with that. My old account number is EVG4471Q2 — I'm not sure if that's the current policy number format, but that's what I have on file.
⚙ query_db(SELECT cust_id, first_name, last_name, email, phone FROM customers WHERE lega…)
{
"sql": "SELECT cust_id, first_name, last_name, email, phone FROM customers WHERE legacy_acct = 'EVG4471Q2'"
}{
"rows": [
{
"cust_id": "CUST-legacy-mismatch",
"first_name": "Raymond",
"last_name": "Castillo",
"email": "raymond.castillo@example.com",
"phone": null
}
],
"row_count": 1,
"truncated": false
}⚙ query_db(SELECT policy_id, line, status, effective_date, expiration_date, billing_plan…)
{
"sql": "SELECT policy_id, line, status, effective_date, expiration_date, billing_plan FROM policies WHERE cust_id = 'CUST-legacy-mismatch' AND line = 'AUTO'"
}{
"error": "sql_error",
"detail": "no such column: billing_plan"
}⚙ query_db(SELECT policy_id, line, status, effective_date, expiration_date FROM policies…)
{
"sql": "SELECT policy_id, line, status, effective_date, expiration_date FROM policies WHERE cust_id = 'CUST-legacy-mismatch' AND line = 'AUTO'"
}{
"rows": [
{
"policy_id": "POL-legacy-mismatch-p_auto",
"line": "AUTO",
"status": "ACTIVE",
"effective_date": "2025-02-20",
"expiration_date": "2025-08-20"
}
],
"row_count": 1,
"truncated": false
}⚙ price_check(POL-legacy-mismatch-p_auto)
{
"policy_id": "POL-legacy-mismatch-p_auto"
}{
"as_of": "2025-02-20",
"facts": {
"line": "AUTO",
"tier": "PINE",
"region": "R-SW",
"state": "TX",
"term_months": 6,
"peico_risk": 616,
"age": 50,
"billing_plan": "INSTALLMENTS",
"autopay": false,
"paperless": false,
"loyalty_tier": "Sprout",
"status": "CUSTOMER",
"has_bundle": false,
"active_lines": 1,
"is_new_first_policy": false,
"promo_code": null,
"coverages": [],
"driver_age": 50,
"annual_miles": 16000,
"vehicle_age": 7,
"incidents_5yr": 2,
"exposure_count": 1
},
"base_premium_cents": 120468,
"final_premium_cents": 120468,
"breakdown": [
{
"step": "BASE",
"code": "base",
"detail": "base_rate $900",
"factor": null,
"amount_cents": null,
"running_cents": 90000
},
{
"step": "BASE",
"code": "tier:PINE",
"detail": "tier factor ×1.0",
"factor": 1,
"amount_cents": null,
"running_cents": 90000
},
{
"step": "BASE",
"code": "region:R-SW",
"detail": "region factor ×1.12",
"factor": 1.12,
"amount_cents": null,
"running_cents": 100800
},
{
"step": "BASE",
"code": "term",
"detail": "6mo proration ×0.5",
"factor": 0.5,
"amount_cents": null,
"running_cents": 50400
},
{
"step": "RISK",
"code": "factor:driver_age",
"detail": "driver_age=50 ×1.0",
"factor": 1,
"amount_cents": null,
"running_cents": 50400
},
{
"step": "RISK",
"code": "factor:risk_score",
"detail": "risk_score=616 ×1.22",
"factor": 1.22,
"amount_cents": null,
"running_cents": 61488
},
{
"step": "RISK",
"code": "factor:annual_miles",
"detail": "annual_miles=16000 ×1.2",
"factor": 1.2,
"amount_cents": null,
"running_cents": 73786
},
{
"step": "RISK",
"code": "factor:vehicle_age",
"detail": "vehicle_age=7 ×1.0",
"factor": 1,
"amount_cents": null,
"running_cents": 73786
},
{
"step": "RISK",
"code": "factor:incidents_5yr",
"detail": "incidents_5yr=2 ×1.55",
"factor": 1.55,
"amount_cents": null,
"running_cents": 114368
},
{
"step": "FEES",
"code": "policy_fee",
"detail": "+ policy fee",
"factor": null,
"amount_cents": 2500,
"running_cents": 116868
},
{
"step": "FEES",
"code": "installment",
"detail": "+ fractional-pay surcharge",
"factor": null,
"amount_cents": 3600,
"running_cents": 120468
}
]
}⚙ quote({"line":"AUTO","tier":"PINE","region":"R-SW","state":"TX","term_months":6,"pe…)
{
"facts": {
"line": "AUTO",
"tier": "PINE",
"region": "R-SW",
"state": "TX",
"term_months": 6,
"peico_risk": 616,
"age": 50,
"billing_plan": "PAY_IN_FULL",
"autopay": false,
"paperless": false,
"loyalty_tier": "Sprout",
"status": "CUSTOMER",
"has_bundle": false,
"active_lines": 1,
"is_new_first_policy": false,
"promo_code": null,
"coverages": [],
"driver_age": 50,
"annual_miles": 16000,
"vehicle_age": 7,
"incidents_5yr": 2,
"exposure_count": 1
},
"as_of": "2025-02-20"
}{
"as_of": "2025-02-20",
"base_premium_cents": 116868,
"final_premium_cents": 108687,
"breakdown": [
{
"step": "BASE",
"code": "base",
"detail": "base_rate $900",
"factor": null,
"amount_cents": null,
"running_cents": 90000
},
{
"step": "BASE",
"code": "tier:PINE",
"detail": "tier factor ×1.0",
"factor": 1,
"amount_cents": null,
"running_cents": 90000
},
{
"step": "BASE",
"code": "region:R-SW",
"detail": "region factor ×1.12",
"factor": 1.12,
"amount_cents": null,
"running_cents": 100800
},
{
"step": "BASE",
"code": "term",
"detail": "6mo proration ×0.5",
"factor": 0.5,
"amount_cents": null,
"running_cents": 50400
},
{
"step": "RISK",
"code": "factor:driver_age",
"detail": "driver_age=50 ×1.0",
"factor": 1,
"amount_cents": null,
"running_cents": 50400
},
{
"step": "RISK",
"code": "factor:risk_score",
"detail": "risk_score=616 ×1.22",
"factor": 1.22,
"amount_cents": null,
"running_cents": 61488
},
{
"step": "RISK",
"code": "factor:annual_miles",
"detail": "annual_miles=16000 ×1.2",
"factor": 1.2,
"amount_cents": null,
"running_cents": 73786
},
{
"step": "RISK",
"code": "factor:vehicle_age",
"detail": "vehicle_age=7 ×1.0",
"factor": 1,
"amount_cents": null,
"running_cents": 73786
},
{
"step": "RISK",
"code": "factor:incidents_5yr",
"detail": "incidents_5yr=2 ×1.55",
"factor": 1.55,
"amount_cents": null,
"running_cents": 114368
},
{
"step": "FEES",
"code": "policy_fee",
"detail": "+ policy fee",
"factor": null,
"amount_cents": 2500,
"running_cents": 116868
},
{
"step": "DISCOUNT",
"code": "PAID_IN_FULL",
"detail": "−7%",
"factor": 0.9299999999999999,
"amount_cents": null,
"running_cents": 108687
}
]
}Excellent news, Raymond! Here's the breakdown of your savings:
Current Premium (INSTALLMENTS): $1,204.68
- This includes a $36 fractional-pay surcharge
Premium if you Switch to PAY_IN_FULL: $1,086.87
- This includes a 7% paid-in-full discount instead
Your Savings: $117.81 per term
That's a solid savings by paying the full premium upfront! The 7% discount more than covers the installment surcharge you're currently paying.
Would you like me to go ahead and make that change to your policy?
Perfect — that's exactly what I needed. So I'd save $117.81 every term by paying in full. That's clear math, and I appreciate it. I'm not ready to switch anything today, but I'll definitely think it over before my renewal comes up. Thanks for running those numbers for me.
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Have a great day!