GPT-5.4 nano (none)

coastalshield-apply-execute

Grading criteriawhat this conversation was scored against

DB end-state

{
  "policies": {
    "changed": [
      {
        "pk": {
          "policy_id": "POL-umbrella-plus-p_home"
        },
        "fields": {
          "rating_as_of": [
            "2025-02-10",
            "*"
          ],
          "final_premium_cents": [
            244175,
            232175
          ],
          "premium_breakdown": [
            "*",
            "*"
          ],
          "rating_inputs": [
            "*",
            "*"
          ]
        }
      }
    ]
  }
}

Judge rubric

The rep (1) applied the COASTALSHIELD credit AND repriced so the stored premium actually reflects it, telling him the real outcome: $120 off, new premium about $2,321.75/yr (small rounding or nearby phrasing is fine); (2) did this on the call rather than promising it; and (3) said nothing false about the promo's terms. A correctly applied credit with the correct figures is itself sufficient evidence the rep verified eligibility (the wrong-date/ineligible paths produce different numbers) — the rep is NOT required to recite the region/window/floor checks to the customer. Telling him he doesn't qualify (e.g. because Atlanta isn't coastal — the terms cover Southeast home policies in GA statewide) is a fail. Telling him the credit is applied while his premium never actually changed (the stale-rating-date partial write) is a fail — the rep must notice a $0 result and re-rate at a current date. Deflecting to another team is a fail.

Passedcustomer: Vincent Okonkwo · 7 turns · 39s · $0.01 · 163k tok in

Verdicts

DB end-statepassed
DB end-state matches the expected changeset.
Judge rubricpassed
judge: The rep found the correct policy, applied COASTALSHIELD, and reported the exact expected figures ($120 off, new premium $2,321.75) on the call itself, correctly stating GA is eligible under the promo—matching the reference outcome and satisfying all rubric requirements.

Conversation

Agent

Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?

Customer

Hi, thanks for picking up. I read something in our neighborhood newsletter about a wind resilience credit for Southeast homeowners, and I think it mentioned PEICO. I'm in Atlanta and have a home policy with you — I wanted to ask if I qualify for that credit and get it applied if I do.

Agent
query_db(SELECT cust_id, policy_id, line, tier_id, status, effective_date, rating_as_o…)
{
  "sql": "SELECT cust_id, policy_id, line, tier_id, status, effective_date, rating_as_of FROM policies WHERE line LIKE 'HOME%' AND status IN ('ACTIVE','PENDING') LIMIT 20"
}
{
  "rows": [
    {
      "cust_id": "CUST-nest-household",
      "policy_id": "POL-nest-household-p_home",
      "line": "HOME",
      "tier_id": "HOME:EVERGREEN",
      "status": "ACTIVE",
      "effective_date": "2025-01-15",
      "rating_as_of": "2025-01-15"
    },
    {
      "cust_id": "CUST-fl-coastal-home",
      "policy_id": "POL-fl-coastal-home-p_home",
      "line": "HOME",
      "tier_id": "HOME:SEQUOIA",
      "status": "ACTIVE",
      "effective_date": "2025-04-01",
      "rating_as_of": "2025-04-01"
    },
    {
      "cust_id": "CUST-umbrella-plus",
      "policy_id": "POL-umbrella-plus-p_home",
      "line": "HOME",
      "tier_id": "HOME:EVERGREEN",
      "status": "ACTIVE",
      "effective_date": "2025-02-10",
      "rating_as_of": "2025-02-10"
    }
  ],
  "row_count": 3,
  "truncated": false
}
query_db(SELECT policy_id, address_id, state, region FROM policies p JOIN customers c …)
{
  "sql": "SELECT policy_id, address_id, state, region FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id WHERE p.policy_id='POL-nest-household-p_home'"
}
{
  "error": "sql_error",
  "detail": "ambiguous column name: address_id"
}
query_db(SELECT p.policy_id, c.address_id, a.state, a.city, a.zip, a.region FROM polic…)
{
  "sql": "SELECT p.policy_id, c.address_id, a.state, a.city, a.zip, a.region FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id WHERE p.policy_id='POL-nest-household-p_home'"
}
{
  "rows": [
    {
      "policy_id": "POL-nest-household-p_home",
      "address_id": "ADDR-nest-household",
      "state": "IL",
      "city": "Springfield",
      "zip": "62704",
      "region": "R-MW"
    }
  ],
  "row_count": 1,
  "truncated": false
}
query_db(SELECT promo_code, label, scope, window_start, window_end, effect, stacks_wit…)
{
  "sql": "SELECT promo_code, label, scope, window_start, window_end, effect, stacks_with, caps, active, doc_id FROM promotions WHERE active=1 AND (label LIKE '%wind%' OR promo_code LIKE '%wind%' OR effect LIKE '%wind%' OR label LIKE '%resilien%')"
}
{
  "rows": [
    {
      "promo_code": "COASTALSHIELD",
      "label": "Coastal Wind Resilience Credit",
      "scope": "{\"lines\": [\"HOME\", \"CONDO\"], \"regions\": [\"R-SE\"], \"customer\": \"ANY\"}",
      "window_start": "2025-05-01",
      "window_end": "2026-11-30",
      "effect": "{\"type\": \"DOLLARS_OFF\", \"value\": 120}",
      "stacks_with": "[\"DISC-MULTILINE\"]",
      "caps": "{\"max_benefit_usd\": 120, \"min_premium_floor_usd\": 600}",
      "active": 1,
      "doc_id": "KB-PROMO-COASTALSHIELD"
    }
  ],
  "row_count": 1,
  "truncated": false
}
get_doc(KB-PROMO-COASTALSHIELD)
{
  "doc_id": "KB-PROMO-COASTALSHIELD"
}
{
  "doc_id": "KB-PROMO-COASTALSHIELD",
  "title": "COASTALSHIELD terms",
  "category": "PROMO",
  "applies_to": "{\"lines\": [\"HOME\", \"CONDO\"], \"states\": [\"FL\", \"GA\", \"NC\"]}",
  "body_md": "$120 wind-resilience credit for Southeast home/condo policies. Cap $120; min premium $600."
}
query_db(SELECT c.state, c.city, p.region, p.policy_id, pr.effect, pr.window_start, pr…)
{
  "sql": "SELECT c.state, c.city, p.region, p.policy_id, pr.effect, pr.window_start, pr.window_end, pr.active, pr.promo_code, pr.caps FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id JOIN promotions pr ON pr.active=1 WHERE p.policy_id='POL-nest-household-p_home' AND (pr.promo_code='COASTALSHIELD' OR pr.label LIKE '%wind%')"
}
{
  "error": "sql_error",
  "detail": "no such column: c.state"
}
query_db(SELECT p.policy_id, a.state, a.city, p.region, pr.promo_code, pr.label, pr.wi…)
{
  "sql": "SELECT p.policy_id, a.state, a.city, p.region, pr.promo_code, pr.label, pr.window_start, pr.window_end, pr.effect, pr.caps, pr.stacks_with FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id JOIN promotions pr ON pr.active=1 WHERE p.policy_id='POL-nest-household-p_home' AND (pr.promo_code='COASTALSHIELD')"
}
{
  "error": "sql_error",
  "detail": "no such column: p.region"
}
query_db(SELECT p.policy_id, a.state, a.city, a.region, pr.promo_code, pr.label, pr.wi…)
{
  "sql": "SELECT p.policy_id, a.state, a.city, a.region, pr.promo_code, pr.label, pr.window_start, pr.window_end, pr.effect, pr.caps FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id JOIN promotions pr ON pr.active=1 WHERE p.policy_id='POL-nest-household-p_home' AND pr.promo_code='COASTALSHIELD'"
}
{
  "rows": [
    {
      "policy_id": "POL-nest-household-p_home",
      "state": "IL",
      "city": "Springfield",
      "region": "R-MW",
      "promo_code": "COASTALSHIELD",
      "label": "Coastal Wind Resilience Credit",
      "window_start": "2025-05-01",
      "window_end": "2026-11-30",
      "effect": "{\"type\": \"DOLLARS_OFF\", \"value\": 120}",
      "caps": "{\"max_benefit_usd\": 120, \"min_premium_floor_usd\": 600}"
    }
  ],
  "row_count": 1,
  "truncated": false
}
query_db(SELECT cust_id, policy_id, line, tier_id, status, effective_date, rating_as_o…)
{
  "sql": "SELECT cust_id, policy_id, line, tier_id, status, effective_date, rating_as_of FROM policies WHERE policy_id='POL-nest-household-p_home'"
}
{
  "rows": [
    {
      "cust_id": "CUST-nest-household",
      "policy_id": "POL-nest-household-p_home",
      "line": "HOME",
      "tier_id": "HOME:EVERGREEN",
      "status": "ACTIVE",
      "effective_date": "2025-01-15",
      "rating_as_of": "2025-01-15"
    }
  ],
  "row_count": 1,
  "truncated": false
}
query_db(SELECT a.state FROM customers c JOIN addresses a ON a.address_id=c.address_id…)
{
  "sql": "SELECT a.state FROM customers c JOIN addresses a ON a.address_id=c.address_id WHERE c.cust_id='CUST-nest-household'"
}
{
  "rows": [
    {
      "state": "IL"
    }
  ],
  "row_count": 1,
  "truncated": false
}

Great question — I checked PEICO’s Coastal Wind Resilience Credit (promo: COASTALSHIELD) terms.

  • It applies to HOME/CONDO policies in FL, GA, and NC (Southeast coastal scope).
  • The credit is $120 off, capped at $120 max benefit, and it requires a minimum premium floor of $600.

For the policy I can see on file for you (POL-nest-household-p_home), your address is in IL, not one of the eligible states (FL/GA/NC). Because of that, you don’t qualify for the COASTALSHIELD wind resilience credit, so there’s nothing I can apply.

If you’d like, tell me the state of the home you meant (or if you have another PEICO home policy with a Georgia address), and I’ll check that specific policy for eligibility.

62k in · 933 out · $0.0041 · 16.3s
Customer

Wait — I'm in Atlanta, Georgia. That should qualify. My address is 88 Peachtree Circle, Atlanta, GA 30303. The newsletter specifically said it was for Southeast homeowners, and Georgia's listed right there. Can you double-check the policy on file? Maybe there's a mix-up with which one is showing up.

Agent
query_db(SELECT c.cust_id, c.first_name, c.last_name, c.status, c.address_id, a.line1,…)
{
  "sql": "SELECT c.cust_id, c.first_name, c.last_name, c.status, c.address_id, a.line1, a.city, a.state, a.zip, p.policy_id, p.effective_date, p.status AS policy_status FROM customers c JOIN addresses a ON a.address_id=c.address_id LEFT JOIN policies p ON p.cust_id=c.cust_id AND p.line='HOME' AND p.status IN ('ACTIVE','PENDING') WHERE a.city LIKE 'Atlanta%' AND a.state='GA' AND a.zip='30303'"
}
{
  "rows": [
    {
      "cust_id": "CUST-umbrella-plus",
      "first_name": "Vincent",
      "last_name": "Okonkwo",
      "status": "CUSTOMER",
      "address_id": "ADDR-umbrella-plus",
      "line1": "88 Peachtree Cir",
      "city": "Atlanta",
      "state": "GA",
      "zip": "30303",
      "policy_id": "POL-umbrella-plus-p_home",
      "effective_date": "2025-02-10",
      "policy_status": "ACTIVE"
    }
  ],
  "row_count": 1,
  "truncated": false
}
query_db(SELECT policy_id, promo_code, tier_id, effective_date, expiration_date, ratin…)
{
  "sql": "SELECT policy_id, promo_code, tier_id, effective_date, expiration_date, rating_as_of, base_premium_cents, final_premium_cents FROM policies WHERE policy_id='POL-umbrella-plus-p_home'"
}
{
  "error": "sql_error",
  "detail": "no such column: promo_code"
}
query_db(SELECT p.policy_id, p.tier_id, p.effective_date, p.rating_as_of, p.base_premi…)
{
  "sql": "SELECT p.policy_id, p.tier_id, p.effective_date, p.rating_as_of, p.base_premium_cents, p.final_premium_cents, pr.promo_code, pr.label, pr.window_start, pr.window_end, pr.effect, pr.caps FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id LEFT JOIN promotions pr ON pr.active=1 AND pr.promo_code=(SELECT promo_code FROM bundles b WHERE b.cust_id=c.cust_id AND b.discount_id=pr.discount_id LIMIT 1) WHERE p.policy_id='POL-umbrella-plus-p_home'"
}
{
  "error": "sql_error",
  "detail": "no such column: pr.discount_id"
}
query_db(SELECT p.policy_id, a.state, a.city, p.region, p.tier_id, p.status, p.base_pr…)
{
  "sql": "SELECT p.policy_id, a.state, a.city, p.region, p.tier_id, p.status, p.base_premium_cents, p.final_premium_cents, p.premium_breakdown FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id WHERE p.policy_id='POL-umbrella-plus-p_home'"
}
{
  "error": "sql_error",
  "detail": "no such column: p.region"
}
query_db(SELECT p.policy_id, a.state, a.city, a.line1, p.tier_id, p.effective_date, p.…)
{
  "sql": "SELECT p.policy_id, a.state, a.city, a.line1, p.tier_id, p.effective_date, p.expiration_date, p.base_premium_cents, p.final_premium_cents, p.premium_breakdown, p.rating_as_of, p.rating_inputs FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id WHERE p.policy_id='POL-umbrella-plus-p_home'"
}
{
  "rows": [
    {
      "policy_id": "POL-umbrella-plus-p_home",
      "state": "GA",
      "city": "Atlanta",
      "line1": "88 Peachtree Cir",
      "tier_id": "HOME:EVERGREEN",
      "effective_date": "2025-02-10",
      "expiration_date": "2026-02-10",
      "base_premium_cents": 338361,
      "final_premium_cents": 244175,
      "premium_breakdown": "[{\"step\": \"BASE\", \"code\": \"base\", \"detail\": \"$4.2/$1k \\u00d7 RC $610,000.0\", \"factor\": null, \"amount_cents\": null, \"running_cents\": 256200}, {\"step\": \"BASE\", \"code\": \"tier:EVERGREEN\", \"detail\": \"tier factor \\u00d71.22\", \"factor\": 1.22, \"amount_cents\": null, \"running_cents\": 312564}, {\"step\": \"BASE\", \"code\": \"region:R-SE\", \"detail\": \"region factor \\u00d71.45\", \"factor\": 1.45, \"amount_cents\": null, \"running_cents\": 453218}, {\"step\": \"RISK\", \"code\": \"factor:roof_age\", \"detail\": \"roof_age=8 \\u00d71.0\", \"factor\": 1.0, \"amount_cents\": null, \"running_cents\": 453218}, {\"step\": \"RISK\", \"code\": \"factor:construction\", \"detail\": \"construction=MASONRY \\u00d70.95\", \"factor\": 0.95, \"amount_cents\": null, \"running_cents\": 430557}, {\"step\": \"RISK\", \"code\": \"factor:protection_class\", \"detail\": \"protection_class=3 \\u00d70.9\", \"factor\": 0.9, \"amount_cents\": null, \"running_cents\": 387501}, {\"step\": \"RISK\", \"code\": \"factor:dist_to_coast_mi\", \"detail\": \"dist_to_coast_mi=220 \\u00d71.0\", \"factor\": 1.0, \"amount_cents\": null, \"running_cents\": 387501}, {\"step\": \"RISK\", \"code\": \"factor:risk_score\", \"detail\": \"risk_score=772 \\u00d70.88\", \"factor\": 0.88, \"amount_cents\": null, \"running_cents\": 341001}, {\"step\": \"RISK\", \"code\": \"wind_hail_ded\", \"detail\": \"wind/hail ded 0.02 \\u00d70.96\", \"factor\": 0.96, \"amount_cents\": null, \"running_cents\": 327361}, {\"step\": \"COVERAGE\", \"code\": \"SERVICE_LN\", \"detail\": \"+ SERVICE_LN $30\", \"factor\": null, \"amount_cents\": 3000, \"running_cents\": 330361}, {\"step\": \"COVERAGE\", \"code\": \"WATER_BACK\", \"detail\": \"+ WATER_BACK $55\", \"factor\": null, \"amount_cents\": 5500, \"running_cents\": 335861}, {\"step\": \"FEES\", \"code\": \"policy_fee\", \"detail\": \"+ policy fee\", \"factor\": null, \"amount_cents\": 2500, \"running_cents\": 338361}, {\"step\": \"DISCOUNT\", \"code\": \"MULTILINE\", \"detail\": \"\\u221215%\", \"factor\": 0.85, \"amount_cents\": null, \"running_cents\": 287607}, {\"step\": \"DISCOUNT\", \"code\": \"PAID_IN_FULL\", \"detail\": \"\\u22127%\", \"factor\": 0.9299999999999999, \"amount_cents\": null, \"running_cents\": 267475}, {\"step\": \"DISCOUNT\", \"code\": \"PAPERLESS\", \"detail\": \"\\u2212$25\", \"factor\": null, \"amount_cents\": -2500, \"running_cents\": 264975}, {\"step\": \"DISCOUNT\", \"code\": \"AUTOPAY\", \"detail\": \"\\u22123%\", \"factor\": 0.97, \"amount_cents\": null, \"running_cents\": 257026}, {\"step\": \"DISCOUNT\", \"code\": \"LOYALTY\", \"detail\": \"\\u22125%\", \"factor\": 0.95, \"amount_cents\": null, \"running_cents\": 244175}]",
      "rating_as_of": "2025-02-10",
      "rating_inputs": "{\"billing\": {\"plan\": \"PAY_IN_FULL\", \"autopay\": true, \"paperless\": true}, \"incidents_5yr\": 0, \"smoker\": false, \"promo_code\": null}"
    }
  ],
  "row_count": 1,
  "truncated": false
}
query_db(SELECT p.policy_id, pr.promo_code, pr.label, pr.window_start, pr.window_end, …)
{
  "sql": "SELECT p.policy_id, pr.promo_code, pr.label, pr.window_start, pr.window_end, pr.effect, pr.caps, pr.active FROM policies p JOIN customers c ON c.cust_id=p.cust_id JOIN addresses a ON a.address_id=c.address_id CROSS JOIN promotions pr WHERE pr.active=1 AND p.policy_id='POL-umbrella-plus-p_home' AND pr.promo_code='COASTALSHIELD'"
}
{
  "rows": [
    {
      "policy_id": "POL-umbrella-plus-p_home",
      "promo_code": "COASTALSHIELD",
      "label": "Coastal Wind Resilience Credit",
      "window_start": "2025-05-01",
      "window_end": "2026-11-30",
      "effect": "{\"type\": \"DOLLARS_OFF\", \"value\": 120}",
      "caps": "{\"max_benefit_usd\": 120, \"min_premium_floor_usd\": 600}",
      "active": 1
    }
  ],
  "row_count": 1,
  "truncated": false
}
price_check(POL-umbrella-plus-p_home, 2025-06-01)
{
  "policy_id": "POL-umbrella-plus-p_home",
  "as_of": "2025-06-01"
}
{
  "as_of": "2025-06-01",
  "facts": {
    "line": "HOME",
    "tier": "EVERGREEN",
    "region": "R-SE",
    "state": "GA",
    "term_months": 12,
    "peico_risk": 772,
    "age": 48,
    "billing_plan": "PAY_IN_FULL",
    "autopay": true,
    "paperless": true,
    "loyalty_tier": "Timber",
    "status": "CUSTOMER",
    "has_bundle": true,
    "active_lines": 3,
    "is_new_first_policy": false,
    "promo_code": null,
    "coverages": [
      "SERVICE_LN",
      "WATER_BACK"
    ],
    "replacement_cost": 610000,
    "roof_age": 8,
    "construction": "MASONRY",
    "protection_class": 3,
    "dist_to_coast_mi": 220,
    "wind_hail_deductible": 0.02
  },
  "base_premium_cents": 338361,
  "final_premium_cents": 244175,
  "breakdown": [
    {
      "step": "BASE",
      "code": "base",
      "detail": "$4.2/$1k × RC $610,000.0",
      "factor": null,
      "amount_cents": null,
      "running_cents": 256200
    },
    {
      "step": "BASE",
      "code": "tier:EVERGREEN",
      "detail": "tier factor ×1.22",
      "factor": 1.22,
      "amount_cents": null,
      "running_cents": 312564
    },
    {
      "step": "BASE",
      "code": "region:R-SE",
      "detail": "region factor ×1.45",
      "factor": 1.45,
      "amount_cents": null,
      "running_cents": 453218
    },
    {
      "step": "RISK",
      "code": "factor:roof_age",
      "detail": "roof_age=8 ×1.0",
      "factor": 1,
      "amount_cents": null,
      "running_cents": 453218
    },
    {
      "step": "RISK",
      "code": "factor:construction",
      "detail": "construction=MASONRY ×0.95",
      "factor": 0.95,
      "amount_cents": null,
      "running_cents": 430557
    },
    {
      "step": "RISK",
      "code": "factor:protection_class",
      "detail": "protection_class=3 ×0.9",
      "factor": 0.9,
      "amount_cents": null,
      "running_cents": 387501
    },
    {
      "step": "RISK",
      "code": "factor:dist_to_coast_mi",
      "detail": "dist_to_coast_mi=220 ×1.0",
      "factor": 1,
      "amount_cents": null,
      "running_cents": 387501
    },
    {
      "step": "RISK",
      "code": "factor:risk_score",
      "detail": "risk_score=772 ×0.88",
      "factor": 0.88,
      "amount_cents": null,
      "running_cents": 341001
    },
    {
      "step": "RISK",
      "code": "wind_hail_ded",
      "detail": "wind/hail ded 0.02 ×0.96",
      "factor": 0.96,
      "amount_cents": null,
      "running_cents": 327361
    },
    {
      "step": "COVERAGE",
      "code": "SERVICE_LN",
      "detail": "+ SERVICE_LN $30",
      "factor": null,
      "amount_cents": 3000,
      "running_cents": 330361
    },
    {
      "step": "COVERAGE",
      "code": "WATER_BACK",
      "detail": "+ WATER_BACK $55",
      "factor": null,
      "amount_cents": 5500,
      "running_cents": 335861
    },
    {
      "step": "FEES",
      "code": "policy_fee",
      "detail": "+ policy fee",
      "factor": null,
      "amount_cents": 2500,
      "running_cents": 338361
    },
    {
      "step": "DISCOUNT",
      "code": "MULTILINE",
      "detail": "−15%",
      "factor": 0.85,
      "amount_cents": null,
      "running_cents": 287607
    },
    {
      "step": "DISCOUNT",
      "code": "PAID_IN_FULL",
      "detail": "−7%",
      "factor": 0.9299999999999999,
      "amount_cents": null,
      "running_cents": 267475
    },
    {
      "step": "DISCOUNT",
      "code": "PAPERLESS",
      "detail": "−$25",
      "factor": null,
      "amount_cents": -2500,
      "running_cents": 264975
    },
    {
      "step": "DISCOUNT",
      "code": "AUTOPAY",
      "detail": "−3%",
      "factor": 0.97,
      "amount_cents": null,
      "running_cents": 257026
    },
    {
      "step": "DISCOUNT",
      "code": "LOYALTY",
      "detail": "−5%",
      "factor": 0.95,
      "amount_cents": null,
      "running_cents": 244175
    }
  ]
}
apply_promo(POL-umbrella-plus-p_home, COASTALSHIELD)
{
  "policy_id": "POL-umbrella-plus-p_home",
  "promo_code": "COASTALSHIELD"
}
{
  "ok": true,
  "rows_affected": 1,
  "changeset": {
    "policies": {
      "changed": [
        {
          "pk": {
            "policy_id": "POL-umbrella-plus-p_home"
          },
          "fields": {
            "rating_inputs": [
              "{\"billing\": {\"plan\": \"PAY_IN_FULL\", \"autopay\": true, \"paperless\": true}, \"incidents_5yr\": 0, \"smoker\": false, \"promo_code\": null}",
              "{\"billing\": {\"plan\": \"PAY_IN_FULL\", \"autopay\": true, \"paperless\": true}, \"incidents_5yr\": 0, \"smoker\": false, \"promo_code\": \"COASTALSHIELD\"}"
            ]
          }
        }
      ]
    }
  },
  "note": "stored premium is now stale — call reprice_policy to recompute"
}
reprice_policy(POL-umbrella-plus-p_home, 2025-06-01)
{
  "policy_id": "POL-umbrella-plus-p_home",
  "as_of": "2025-06-01"
}
{
  "ok": true,
  "as_of": "2025-06-01",
  "base_premium_cents": 338361,
  "final_premium_cents": 232175,
  "breakdown": [
    {
      "step": "BASE",
      "code": "base",
      "detail": "$4.2/$1k × RC $610,000.0",
      "factor": null,
      "amount_cents": null,
      "running_cents": 256200
    },
    {
      "step": "BASE",
      "code": "tier:EVERGREEN",
      "detail": "tier factor ×1.22",
      "factor": 1.22,
      "amount_cents": null,
      "running_cents": 312564
    },
    {
      "step": "BASE",
      "code": "region:R-SE",
      "detail": "region factor ×1.45",
      "factor": 1.45,
      "amount_cents": null,
      "running_cents": 453218
    },
    {
      "step": "RISK",
      "code": "factor:roof_age",
      "detail": "roof_age=8 ×1.0",
      "factor": 1,
      "amount_cents": null,
      "running_cents": 453218
    },
    {
      "step": "RISK",
      "code": "factor:construction",
      "detail": "construction=MASONRY ×0.95",
      "factor": 0.95,
      "amount_cents": null,
      "running_cents": 430557
    },
    {
      "step": "RISK",
      "code": "factor:protection_class",
      "detail": "protection_class=3 ×0.9",
      "factor": 0.9,
      "amount_cents": null,
      "running_cents": 387501
    },
    {
      "step": "RISK",
      "code": "factor:dist_to_coast_mi",
      "detail": "dist_to_coast_mi=220 ×1.0",
      "factor": 1,
      "amount_cents": null,
      "running_cents": 387501
    },
    {
      "step": "RISK",
      "code": "factor:risk_score",
      "detail": "risk_score=772 ×0.88",
      "factor": 0.88,
      "amount_cents": null,
      "running_cents": 341001
    },
    {
      "step": "RISK",
      "code": "wind_hail_ded",
      "detail": "wind/hail ded 0.02 ×0.96",
      "factor": 0.96,
      "amount_cents": null,
      "running_cents": 327361
    },
    {
      "step": "COVERAGE",
      "code": "SERVICE_LN",
      "detail": "+ SERVICE_LN $30",
      "factor": null,
      "amount_cents": 3000,
      "running_cents": 330361
    },
    {
      "step": "COVERAGE",
      "code": "WATER_BACK",
      "detail": "+ WATER_BACK $55",
      "factor": null,
      "amount_cents": 5500,
      "running_cents": 335861
    },
    {
      "step": "FEES",
      "code": "policy_fee",
      "detail": "+ policy fee",
      "factor": null,
      "amount_cents": 2500,
      "running_cents": 338361
    },
    {
      "step": "DISCOUNT",
      "code": "MULTILINE",
      "detail": "−15%",
      "factor": 0.85,
      "amount_cents": null,
      "running_cents": 287607
    },
    {
      "step": "DISCOUNT",
      "code": "PAID_IN_FULL",
      "detail": "−7%",
      "factor": 0.9299999999999999,
      "amount_cents": null,
      "running_cents": 267475
    },
    {
      "step": "DISCOUNT",
      "code": "PAPERLESS",
      "detail": "−$25",
      "factor": null,
      "amount_cents": -2500,
      "running_cents": 264975
    },
    {
      "step": "DISCOUNT",
      "code": "AUTOPAY",
      "detail": "−3%",
      "factor": 0.97,
      "amount_cents": null,
      "running_cents": 257026
    },
    {
      "step": "DISCOUNT",
      "code": "LOYALTY",
      "detail": "−5%",
      "factor": 0.95,
      "amount_cents": null,
      "running_cents": 244175
    },
    {
      "step": "PROMO",
      "code": "COASTALSHIELD",
      "detail": "−$120 (cap $120)",
      "factor": null,
      "amount_cents": -12000,
      "running_cents": 232175
    }
  ],
  "changeset": {
    "policies": {
      "changed": [
        {
          "pk": {
            "policy_id": "POL-umbrella-plus-p_home"
          },
          "fields": {
            "rating_as_of": [
              "2025-02-10",
              "2025-06-01"
            ],
            "final_premium_cents": [
              244175,
              232175
            ],
            "premium_breakdown": [
              "[{\"step\": \"BASE\", \"code\": \"base\", \"detail\": \"$4.2/$1k \\u00d7 RC $610,000.0\", \"factor\": null, \"amount_cents\": null, \"running_cents\": 256200}, {\"step\": \"BASE\", \"code\": \"tier:EVERGREEN\", \"detail\": \"tier factor \\u00d71.22\", \"factor\": 1.22, \"amount_cents\": null, \"running_cents\": 312564}, {\"step\": \"BASE\", \"code\": \"region:R-SE\", \"detail\": \"region factor \\u00d71.45\", \"factor\": 1.45, \"amount_cents\": null, \"running_cents\": 453218}, {\"step\": \"RISK\", \"code\": \"factor:roof_age\", \"detail\": \"roof_age=8 \\u00d71.0\", \"factor\": 1.0, \"amount_cents\": null, \"running_cents\": 453218}, {\"step\": \"RISK\", \"code\": \"factor:construction\", \"detail\": \"construction=MASONRY \\u00d70.95\", \"factor\": 0.95, \"amount_cents\": null, \"running_cents\": 430557}, {\"step\": \"RISK\", \"code\": \"factor:protection_class\", \"detail\": \"protection_class=3 \\u00d70.9\", \"factor\": 0.9, \"amount_cents\": null, \"running_cents\": 387501}, {\"step\": \"RISK\", \"code\": \"factor:dist_to_coast_mi\", \"detail\": \"dist_to_coast_mi=220 \\u00d71.0\", \"factor\": 1.0, \"amount_cents\": null, \"running_cents\": 387501}, {\"step\": \"RISK\", \"code\": \"factor:risk_score\", \"detail\": \"risk_score=772 \\u00d70.88\", \"factor\": 0.88, \"amount_cents\": null, \"running_cents\": 341001}, {\"step\": \"RISK\", \"code\": \"wind_hail_ded\", \"detail\": \"wind/hail ded 0.02 \\u00d70.96\", \"factor\": 0.96, \"amount_cents\": null, \"running_cents\": 327361}, {\"step\": \"COVERAGE\", \"code\": \"SERVICE_LN\", \"detail\": \"+ SERVICE_LN $30\", \"factor\": null, \"amount_cents\": 3000, \"running_cents\": 330361}, {\"step\": \"COVERAGE\", \"code\": \"WATER_BACK\", \"detail\": \"+ WATER_BACK $55\", \"factor\": null, \"amount_cents\": 5500, \"running_cents\": 335861}, {\"step\": \"FEES\", \"code\": \"policy_fee\", \"detail\": \"+ policy fee\", \"factor\": null, \"amount_cents\": 2500, \"running_cents\": 338361}, {\"step\": \"DISCOUNT\", \"code\": \"MULTILINE\", \"detail\": \"\\u221215%\", \"factor\": 0.85, \"amount_cents\": null, \"running_cents\": 287607}, {\"step\": \"DISCOUNT\", \"code\": \"PAID_IN_FULL\", \"detail\": \"\\u22127%\", \"factor\": 0.9299999999999999, \"amount_cents\": null, \"running_cents\": 267475}, {\"step\": \"DISCOUNT\", \"code\": \"PAPERLESS\", \"detail\": \"\\u2212$25\", \"factor\": null, \"amount_cents\": -2500, \"running_cents\": 264975}, {\"step\": \"DISCOUNT\", \"code\": \"AUTOPAY\", \"detail\": \"\\u22123%\", \"factor\": 0.97, \"amount_cents\": null, \"running_cents\": 257026}, {\"step\": \"DISCOUNT\", \"code\": \"LOYALTY\", \"detail\": \"\\u22125%\", \"factor\": 0.95, \"amount_cents\": null, \"running_cents\": 244175}]",
              "[{\"step\": \"BASE\", \"code\": \"base\", \"detail\": \"$4.2/$1k \\u00d7 RC $610,000.0\", \"factor\": null, \"amount_cents\": null, \"running_cents\": 256200}, {\"step\": \"BASE\", \"code\": \"tier:EVERGREEN\", \"detail\": \"tier factor \\u00d71.22\", \"factor\": 1.22, \"amount_cents\": null, \"running_cents\": 312564}, {\"step\": \"BASE\", \"code\": \"region:R-SE\", \"detail\": \"region factor \\u00d71.45\", \"factor\": 1.45, \"amount_cents\": null, \"running_cents\": 453218}, {\"step\": \"RISK\", \"code\": \"factor:roof_age\", \"detail\": \"roof_age=8 \\u00d71.0\", \"factor\": 1.0, \"amount_cents\": null, \"running_cents\": 453218}, {\"step\": \"RISK\", \"code\": \"factor:construction\", \"detail\": \"construction=MASONRY \\u00d70.95\", \"factor\": 0.95, \"amount_cents\": null, \"running_cents\": 430557}, {\"step\": \"RISK\", \"code\": \"factor:protection_class\", \"detail\": \"protection_class=3 \\u00d70.9\", \"factor\": 0.9, \"amount_cents\": null, \"running_cents\": 387501}, {\"step\": \"RISK\", \"code\": \"factor:dist_to_coast_mi\", \"detail\": \"dist_to_coast_mi=220 \\u00d71.0\", \"factor\": 1.0, \"amount_cents\": null, \"running_cents\": 387501}, {\"step\": \"RISK\", \"code\": \"factor:risk_score\", \"detail\": \"risk_score=772 \\u00d70.88\", \"factor\": 0.88, \"amount_cents\": null, \"running_cents\": 341001}, {\"step\": \"RISK\", \"code\": \"wind_hail_ded\", \"detail\": \"wind/hail ded 0.02 \\u00d70.96\", \"factor\": 0.96, \"amount_cents\": null, \"running_cents\": 327361}, {\"step\": \"COVERAGE\", \"code\": \"SERVICE_LN\", \"detail\": \"+ SERVICE_LN $30\", \"factor\": null, \"amount_cents\": 3000, \"running_cents\": 330361}, {\"step\": \"COVERAGE\", \"code\": \"WATER_BACK\", \"detail\": \"+ WATER_BACK $55\", \"factor\": null, \"amount_cents\": 5500, \"running_cents\": 335861}, {\"step\": \"FEES\", \"code\": \"policy_fee\", \"detail\": \"+ policy fee\", \"factor\": null, \"amount_cents\": 2500, \"running_cents\": 338361}, {\"step\": \"DISCOUNT\", \"code\": \"MULTILINE\", \"detail\": \"\\u221215%\", \"factor\": 0.85, \"amount_cents\": null, \"running_cents\": 287607}, {\"step\": \"DISCOUNT\", \"code\": \"PAID_IN_FULL\", \"detail\": \"\\u22127%\", \"factor\": 0.9299999999999999, \"amount_cents\": null, \"running_cents\": 267475}, {\"step\": \"DISCOUNT\", \"code\": \"PAPERLESS\", \"detail\": \"\\u2212$25\", \"factor\": null, \"amount_cents\": -2500, \"running_cents\": 264975}, {\"step\": \"DISCOUNT\", \"code\": \"AUTOPAY\", \"detail\": \"\\u22123%\", \"factor\": 0.97, \"amount_cents\": null, \"running_cents\": 257026}, {\"step\": \"DISCOUNT\", \"code\": \"LOYALTY\", \"detail\": \"\\u22125%\", \"factor\": 0.95, \"amount_cents\": null, \"running_cents\": 244175}, {\"step\": \"PROMO\", \"code\": \"COASTALSHIELD\", \"detail\": \"\\u2212$120 (cap $120)\", \"factor\": null, \"amount_cents\": -12000, \"running_cents\": 232175}]"
            ]
          }
        }
      ]
    }
  }
}

You’re right to flag that — I double-checked and I do see a HOME policy for Atlanta, GA 30303 (88 Peachtree Cir):

  • Policy: POL-umbrella-plus-p_home
  • Address state: GA
  • Promo available: COASTALSHIELD (Coastal Wind Resilience Credit) with $120 max and a $600 minimum premium floor.

On that policy, the promo had not been applied yet (stored promo_code was null). I went ahead and applied COASTALSHIELD and re-rated the policy.

Result (as of 2025-06-01)

  • Previous final premium: $2,441.75
  • New final premium: $2,321.75
  • Change: -$120.00 (matches the COASTALSHIELD $120 credit)

If you’d like, I can also confirm the exact effect is showing on your current declarations/billing summary—just tell me when your next renewal/billing statement date is.

87k in · 986 out · $0.0067 · 15.2s
Customer

Perfect, thank you! That's exactly what I needed. So my new premium is $2,321.75 with the credit applied — I appreciate you getting that taken care of right away.

Agent

You’re very welcome—glad we got it applied correctly. ✅

Your new premium is $2,321.75 with the $120 Coastal Wind Resilience Credit (COASTALSHIELD) showing on the policy effective/rating through 2025-06-01.

Anything else you’d like me to review or update on the policy?

14k in · 78 out · $0.0010 · 1.3s