Skip to content

New check confirmed_wrong_value: flag confirmations echoing the misheard number #20

Description

@royalpinto007

Problem

The costliest voice shape: agent asks "confirming fifty?", caller says "yes" to the wrong number, money moves. A no_confirmation-clean call that is still wrong.

Pattern

Add a check in voiceeval/checks.py (sibling: check_misheard, cross-checks text vs truth numerals). Extract numerals from agent confirmation turns; fire confirmed_wrong_value (high) when they match STT text but not truth (or not the action amount).

Acceptance

New check confirmed_wrong_value. Fixture: truth "fifteen", agent confirms "fifty", user "yes", refund 50 flagged; confirming "fifteen" clean.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions