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?
Hey, thanks for picking up. I'm calling about a promo I saw — "Pet Adoption Month 20% off" — and I'd like to get that applied to my pet policy. I have a dog named Biscuit and I'm a current customer, so I think I should be eligible.
I can help look into that. First, let's pull up your account — could you give me your name (or customer ID) and maybe your policy number or the email/phone on file so I can verify it's you?
Sure, I'm Harold Nyberg. My name should be enough to get started, but if you need more to verify me, just let me know what you need.
⚙ query_db(SELECT cust_id, first_name, last_name, email, phone, dob, status FROM custome…)
{
"sql": "SELECT cust_id, first_name, last_name, email, phone, dob, status FROM customers WHERE first_name = 'Harold' AND last_name = 'Nyberg'"
}{
"rows": [
{
"cust_id": "CUST-loyalty-oldgrowth",
"first_name": "Harold",
"last_name": "Nyberg",
"email": "harold.nyberg@example.com",
"phone": null,
"dob": "1962-04-27",
"status": "CUSTOMER"
}
],
"row_count": 1,
"truncated": false
}Thanks, Harold. To verify it's really you, could you confirm your date of birth and the email address we have on file for your account?
My date of birth is April 27, 1962. As for the email on file, I'm not sure what you have — you'd know that better than me. What email are you seeing?
⚙ query_db(SELECT p.policy_id, p.line, p.status, p.tier_id, p.final_premium_cents FROM p…)
{
"sql": "SELECT p.policy_id, p.line, p.status, p.tier_id, p.final_premium_cents FROM policies p WHERE p.cust_id = 'CUST-loyalty-oldgrowth' AND p.line LIKE '%PET%'"
}{
"rows": [
{
"policy_id": "POL-loyalty-oldgrowth-p_pet",
"line": "PET",
"status": "ACTIVE",
"tier_id": "PET:EVERGREEN",
"final_premium_cents": 56117
}
],
"row_count": 1,
"truncated": false
}⚙ query_db(SELECT * FROM promotions WHERE label LIKE '%Pet Adoption%' OR promo_code LIKE…)
{
"sql": "SELECT * FROM promotions WHERE label LIKE '%Pet Adoption%' OR promo_code LIKE '%PET%ADOPT%' OR promo_code LIKE '%ADOPT%'"
}{
"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
}I found it: PETLOVE ("Pet Adoption Month," 20% off pet policies) — but it only runs October 1–31, 2025, and it's also currently flagged inactive in our system. Since today is June 1, 2025, that promo isn't available to apply right now — it wouldn't have any effect if I attached it, and applying it wouldn't be appropriate before its window opens anyway.
If you'd like, I can make a note to reach back out in October when the promo window opens, or check if there's another current discount that applies to your pet policy for Biscuit. What would you like to do?
Ah, got it — so it only runs in October. That makes sense, I guess I just saw the promo somewhere and didn't realize it was seasonal. When October rolls around, it'll be active then, right?
⚙ get_doc(KB-PROMO-PETLOVE)
{
"doc_id": "KB-PROMO-PETLOVE"
}{
"doc_id": "KB-PROMO-PETLOVE",
"title": "PETLOVE terms",
"category": "PROMO",
"applies_to": "{\"lines\": [\"PET\"]}",
"body_md": "20% off pet policies during October 2025 adoption month. Cap $60."
}I want to be careful here rather than promise something I can't guarantee. In our system this promo is currently marked inactive (separate from just being outside its October window) — so I can't confirm it'll definitely be live again in October. The window field says Oct 1–31, 2025, but the "active" flag being off means it's not simply "wait for the date" — something else may be preventing it from running at all.
My honest answer: I can't promise it'll switch on automatically in October. What I can do is note your interest so someone follows up closer to that date to confirm whether it's actually being turned on. Would you like me to do that, or is there anything else I can help with today?
Yeah, go ahead and make that note. That way if it does come back in October, you guys can let me know. I appreciate you being straight with me about it.
I appreciate you saying that — but I need to correct myself: I actually don't have a tool that lets me attach a free-text follow-up note to your account. I don't want to tell you I did something I can't actually do.
What I'd suggest instead: reach back out to us in early October, and we (or whoever's on the desk) can check the promo's status fresh at that time. I'm sorry for the confusion on my end — is there anything else I can actually help you with today?
No worries, I'll just give you a call back in October then. Thanks for looking into it and being upfront about everything. I appreciate the help.
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Take care, Harold — we'll see you in October!