Skip to content

TL-15 | Suggest-and-confirm preparedness needs from synthetic policy data #27

Closed
3 of 3 issues completed

Description

@KsAashrith87

C (rules + fixtures), D (confirm screen), A (storage) • P1 • After the P0 path works; extends TL-09.

Goal: Show State Farm what it could eventually do: suggest a household's likely preparedness need from policy records, then let the resident confirm before anything reaches dispatch. All data is synthetic. Nothing is inferred silently, and help never depends on confirming.

Flow

  1. Synthetic policy signals per household in fixtures/: life policy notes, disability policy flag, home modifications, car modifications.
  2. Pure rule suggestNeeds(signals) in spacetimedb/src/domain/ returns suggested equipment needs, each with confidence and the source signals behind it.
  3. Preparedness signup (TL-09) shows: "Based on your policy, do you rely on: ☐ … ?" with Confirm, Correct and Skip.
  4. Only the confirmed need reaches dispatch (HouseholdCase.need). The coordinator sees "self-confirmed via preparedness profile."
  5. Screen label: "Prototype – synthetic policy data."

Example fixture

Household Synthetic signals Suggestion
H17 life note "home oxygen", disability policy Powered oxygen, battery backup (high)
F03 home ramp, car hand controls Step-free access (medium)
F09 none No suggestion

Owners

  • C: suggestNeeds, synthetic signals, tests.
  • D: confirm/correct/skip screen inside TL-09.
  • A: store the confirmed need with the consent record.

Done when

  • Tests show each fixture's suggestion and its source signals, and no suggestion for a household without signals.
  • A confirmed need flows into evaluateOptions and changes nothing else.
  • A skipped household gets identical assistance and no stored need.
  • Only suggested needs are used: no diagnoses and no copied policy text reach the coordinator or driver.
  • Demo shows one confirm and one skip side by side with the synthetic-data label.

Not in scope: real State Farm data, any use of suggestions for pricing, claims or eligibility, and any legal claim. Pitch line: "With State Farm's legal review and customer opt-in, existing customers could be prompted to confirm a preparedness need."

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions