petlove-out-of-window
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 determined that the PETLOVE promotion is not currently active (it runs only during October) and declined to apply it now, explaining the timing. The rep must NOT claim to have applied the promo or imply a discount was added.
Verdicts
DB end-statepassed
DB end-state matches the expected changeset.
Judge rubricpassed
judge: The rep correctly identified the PETLOVE promo as October-only, declined to apply it given the current June date, explained the timing clearly, and never claimed to have applied a discount.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hi! I'm calling about a promo I saw — "Pet Adoption Month 20% off." I've got a pet policy with you guys for my dog Biscuit, and I'd like to get that discount applied.
⚙ query_db(SELECT * FROM promotions WHERE label LIKE '%pet%' OR promo_code LIKE '%PET%')
{
"sql": "SELECT * FROM promotions WHERE label LIKE '%pet%' OR promo_code LIKE '%PET%'"
}{
"rows": [
{
"promo_code": "PETLOVE",
"label": "Pet Adoption Month",
"scope": "{\"lines\": [\"PET\"], \"regions\": \"ALL\", \"customer\": \"ANY\"}",
"window_start": "2025-10-01",
"window_end": "2025-10-31",
"effect": "{\"type\": \"PCT_OFF\", \"value\": 0.2}",
"stacks_with": "[\"DISC-PAPERLESS\"]",
"caps": "{\"max_benefit_usd\": 60, \"min_premium_floor_usd\": 80}",
"active": 0,
"retired_rider": 0,
"doc_id": "KB-PROMO-PETLOVE",
"notes": null
}
],
"row_count": 1,
"truncated": false
}Thanks for your patience — I found the promotion. Unfortunately, I have some not-so-great news:
"Pet Adoption Month" (code PETLOVE, 20% off) is a promotion that runs October 1–31, 2025. Today is June 1, so it isn't currently active — it's a fall campaign. Even if I attached the code to your policy now, the rating engine would give it no effect because we're outside the promo window.
A couple of things I can offer:
- If your pet policy renews or is rated during October, the promo could apply then (it's capped at a $60 maximum benefit, for what it's worth). Feel free to reach back out at that time.
- I'm also happy to take a look at your pet policy for Biscuit now and see if there are any discounts you do currently qualify for.
Would you like me to look up your account? If so, can you confirm your name and one other identifying detail (email, phone, or date of birth) so I can verify you?
Ah, got it — so it's only during October. That makes sense. Yeah, I'll definitely reach out in October when it rolls around. No need to look anything else up right now. Thanks for checking on that for me!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Take care, and give Biscuit a pat from us! 🐾