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 that PETLOVE is only active in October, declined to apply it now, 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 there! I saw a promotion for PETLOVE — 20% off pet policies for Pet Adoption Month — and I'd like to get that applied to my account. I have a pet policy for my dog Biscuit.
Let me look up that promotion and your policy details. First, could you verify your identity — can you give me your name and either the email, phone, or date of birth we have on file?
Sure, my name is Harold Nyberg. My date of birth is April 27, 1962.
⚙ query_db(SELECT cust_id, first_name, last_name, dob, email, phone FROM customers WHERE…)
{
"sql": "SELECT cust_id, first_name, last_name, dob, email, phone FROM customers WHERE lower(first_name)='harold' AND lower(last_name)='nyberg'"
}{
"rows": [
{
"cust_id": "CUST-loyalty-oldgrowth",
"first_name": "Harold",
"last_name": "Nyberg",
"dob": "1962-04-27",
"email": "harold.nyberg@example.com",
"phone": null
}
],
"row_count": 1,
"truncated": false
}⚙ query_db(SELECT * FROM promotions WHERE promo_code='PETLOVE')
{
"sql": "SELECT * FROM promotions WHERE promo_code='PETLOVE'"
}{
"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, Harold — you're verified.
I looked up the PETLOVE promotion, and unfortunately I can't apply it right now. Here's why:
- The promo window is October 1–31, 2025 (Pet Adoption Month). Today is June 1, 2025, so it's not active yet — and the promotion is currently flagged inactive in our system.
Even if I attached the code to your policy now, the rating engine would ignore it because we're outside the window, so it wouldn't actually give you any discount.
The good news: the offer is real, it's just seasonal. If you come back during October, I'd be happy to apply it then (it's 20% off, capped at $60 benefit, and it stacks with the paperless discount).
Is there anything else I can help you with in the meantime?
Ah, okay — that makes sense. So it only works during October then? When exactly does it come back around?
Exactly right — it only takes effect during its window. The PETLOVE promotion runs October 1 through October 31, 2025. So if you reach out any time that month, we can get it applied to Biscuit's pet policy.
A couple of quick notes for when it comes back:
- 20% off, capped at a $60 maximum benefit
- It stacks with the paperless discount, so if you're on paperless you'd get both
- There's a minimum premium floor of $80 (the discount won't take your premium below that)
Anything else I can help you with today?
No, that's all I needed. Thanks for explaining that — I'll reach out in October to get it set up. Appreciate your help!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Take care, and thanks for being a PEICO customer!