Skip to content

_CONFIRM misses the natural Confirmed phrasing (false no_confirmation) #12

Description

@royalpinto007

Problem

The confirmation regex misses the natural "Confirmed, ..." phrasing (trailing word boundary fails after "confirm" before "ed"), so a properly confirmed call gets a false no_confirmation high. "I confirm the refund." matches fine.

Where

voiceeval/checks.py (_CONFIRM pattern).

Acceptance

Add a failing test first asserting an agent turn "Confirmed, refunding $50." before the refund action suppresses no_confirmation. Then fix.

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