feat(ai-onboarding): enhance conversation flow, prompt rules & update Postman environment port to 8001
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"total_tests": 81,
|
||||
"passed": 81,
|
||||
"failed": 0,
|
||||
"test_suites": [
|
||||
{
|
||||
"suite_name": "tests/test_complete_conversation_flow.py",
|
||||
"total": 20,
|
||||
"passed": 20,
|
||||
"failed": 0,
|
||||
"test_cases": [
|
||||
{"test_id": "TEST_1", "description": "Patient provides all info in one message", "status": "PASSED"},
|
||||
{"test_id": "TEST_2", "description": "Patient gives symptoms first (intake continues)", "status": "PASSED"},
|
||||
{"test_id": "TEST_3", "description": "Patient gives duration (attaches to symptom, no fake symptom created)", "status": "PASSED"},
|
||||
{"test_id": "TEST_4", "description": "Tamil Tanglish duration parsing ('10 days-ah')", "status": "PASSED"},
|
||||
{"test_id": "TEST_5", "description": "Spoken Telugu duration parsing ('మూడు రోజుల నుంచి ఉంది')", "status": "PASSED"},
|
||||
{"test_id": "TEST_6", "description": "Spoken Kannada duration parsing ('ಮೂರು ದಿನದಿಂದ ಇದೆ')", "status": "PASSED"},
|
||||
{"test_id": "TEST_7", "description": "Medication first (no fake symptom created)", "status": "PASSED"},
|
||||
{"test_id": "TEST_8", "description": "Cross-language symptom deduplication ('தலைவலி' + 'headache')", "status": "PASSED"},
|
||||
{"test_id": "TEST_9", "description": "Progressive enrichment of existing entities", "status": "PASSED"},
|
||||
{"test_id": "TEST_10", "description": "Patient correction handling (latest value wins)", "status": "PASSED"},
|
||||
{"test_id": "TEST_11", "description": "Spoken Tamil emergency override ('மூச்சு விட முடியல' -> 108)", "status": "PASSED"},
|
||||
{"test_id": "TEST_12", "description": "Spoken Tamil mental health crisis override ('காயப்படுத்திக்கணும்' -> Tele-MANAS 14416)", "status": "PASSED"},
|
||||
{"test_id": "TEST_13", "description": "Contextual 'nothing else' completes intake when all required fields ready", "status": "PASSED"},
|
||||
{"test_id": "TEST_14", "description": "Psychiatry specialty conversational focus (no unrelated physical disease questions)", "status": "PASSED"},
|
||||
{"test_id": "TEST_15", "description": "Cardiology specialty focus with multiple symptoms", "status": "PASSED"},
|
||||
{"test_id": "TEST_16", "description": "Multi-symptom sentence extraction into distinct objects", "status": "PASSED"},
|
||||
{"test_id": "TEST_17", "description": "No false symptom creation from medication statement", "status": "PASSED"},
|
||||
{"test_id": "TEST_18", "description": "Multi-session state isolation", "status": "PASSED"},
|
||||
{"test_id": "TEST_19_20", "description": "API contracts and VoiceTurnResponse backward compatibility", "status": "PASSED"},
|
||||
{"test_id": "TEST_21", "description": "Exact bug regression test (Multi-symptom Turn 1 + Duration Turn 2)", "status": "PASSED"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"suite_name": "tests/test_conversation_behavior.py",
|
||||
"total": 50,
|
||||
"passed": 50,
|
||||
"failed": 0
|
||||
},
|
||||
{
|
||||
"suite_name": "tests/production/test_production_security.py",
|
||||
"total": 5,
|
||||
"passed": 5,
|
||||
"failed": 0
|
||||
},
|
||||
{
|
||||
"suite_name": "tests/test_cors.py",
|
||||
"total": 6,
|
||||
"passed": 6,
|
||||
"failed": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user