Skip to content

Add support for English well-being inquiries#186

Open
konard wants to merge 3 commits into
mainfrom
issue-13-16796c52
Open

Add support for English well-being inquiries#186
konard wants to merge 3 commits into
mainfrom
issue-13-16796c52

Conversation

@konard
Copy link
Copy Markdown
Owner

@konard konard commented Oct 17, 2025

Summary

This PR extends the WellBeingTrigger to recognize and respond to common English well-being inquiries, in addition to existing Russian phrases.

Changes Made

  • Updated the regex pattern in triggers/well-being.js to match all English phrases from issue React to well-being inquiries #13:

    • "How are you?"
    • "How are you doing?"
    • "How have you been?"
    • "How's everything?"
    • "How's it going?"
    • "How are things going?"
    • "What's going on?"
    • "What's new?"
    • "What's up?"
    • "Whassup?"
    • "What are you up to?"
  • Added comprehensive test coverage in __tests__/triggers/well-being.js for all supported phrases

  • Created experiment script to validate regex patterns

Test Results

All 19 tests pass ✓

  • 17 tests verify that well-being phrases are correctly matched
  • 2 tests verify that non-well-being phrases are correctly rejected

Fixes #13

🤖 Generated with Claude Code

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: undefined
@konard konard self-assigned this Oct 17, 2025
Extend WellBeingTrigger to recognize common English phrases like
"How are you?", "What's up?", "How's it going?", etc., in addition
to existing Russian phrases. Updated regex pattern and added comprehensive
test coverage for all supported phrases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard changed the title [WIP] React to well-being inquiries Add support for English well-being inquiries Oct 17, 2025
@konard konard marked this pull request as ready for review October 17, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

React to well-being inquiries

1 participant