Files
rag-technical-docs-assistant/docs/evaluation/local-s2s/phase-02-browser-first-turn-repair-20261016.json
T
11linear11 a94b8cd3ea feat(voice): implement local S2S retained history and provider selection
Add pinned CPU engine dependencies, retained interrupted-response history, provider admission, offline evaluation and isolated browser tooling.

Record Phase 2 acceptance and Phase 3/4 preparation, bounded paid-test accounting and interruption incident findings. Human interruption acceptance, paired OpenAI evaluation and rollback remain pending.
2026-10-16 17:09:27 -04:00

216 lines
9.3 KiB
JSON

{
"date": "2026-10-16",
"phase": 2,
"status": "first_turn_prewarm_fixed_human_browser_round_trip_passed",
"user_failed_session": "331b8eed-21ba-423a-ad21-237986846ef9",
"root_cause": {
"native_stack": [
"pipeline/language_detection.py:51 build_language_detector",
"pipeline/language_detection.py:57 warm_language_detector",
"LLM/lm_output_processor.py:97 _observe_assistant_language",
"LLM/lm_output_processor.py:261 process"
],
"description": "First-response all-language Lingua initialization in native output processing; move the same cached warmup before exposing the listener."
},
"image": "sha256:a51167d1952a8947efe1c9048311b549a1998ab8cfaf41371228b6c326781ff9",
"base_image": "sha256:89c7295e521903c16b8ab72f8049b8166ceeb718ac7d531b815dd5d7613dea7b",
"provider_free_full_path_regression": [
{
"iteration": 0,
"exit_code": 0,
"stdout": "{\"conversation_id\": \"5003ed68-1d46-4f92-8f6f-ce0abb6e994b\", \"session_id\": \"aa9a67d5-2673-4f67-8270-328f046d8f59\", \"events\": [\"session_ready\", \"user_speech_started\", \"transcript\", \"transcript\", \"audio_started\", \"transcript\", \"audio_ended\"], \"binary_bytes\": 10752, \"session_ready\": true, \"close\": {\"session_id\": \"aa9a67d5-2673-4f67-8270-328f046d8f59\", \"status\": \"closed\", \"close_reason\": \"user_requested\"}, \"component_attempts_before\": 6, \"component_attempts_after\": 6}\n",
"stderr": ""
},
{
"iteration": 1,
"exit_code": 0,
"stdout": "{\"conversation_id\": \"457da308-8231-4b8a-9e47-cafad7335032\", \"session_id\": \"5261eb72-5991-41bd-b4de-60e294911965\", \"events\": [\"session_ready\", \"user_speech_started\", \"transcript\", \"transcript\", \"audio_started\", \"transcript\", \"audio_ended\"], \"binary_bytes\": 10752, \"session_ready\": true, \"close\": {\"session_id\": \"5261eb72-5991-41bd-b4de-60e294911965\", \"status\": \"closed\", \"close_reason\": \"user_requested\"}, \"component_attempts_before\": 6, \"component_attempts_after\": 6}\n",
"stderr": ""
},
{
"iteration": 2,
"exit_code": 0,
"stdout": "{\"conversation_id\": \"a58cf721-5694-405d-849b-4e40e331d6a0\", \"session_id\": \"82d00373-bd4e-499d-a649-d65723ff0496\", \"events\": [\"session_ready\", \"user_speech_started\", \"transcript\", \"transcript\", \"audio_started\", \"transcript\", \"audio_ended\"], \"binary_bytes\": 10752, \"session_ready\": true, \"close\": {\"session_id\": \"82d00373-bd4e-499d-a649-d65723ff0496\", \"status\": \"closed\", \"close_reason\": \"user_requested\"}, \"component_attempts_before\": 6, \"component_attempts_after\": 6}\n",
"stderr": ""
}
],
"focused_tests": {
"passed": 98,
"seconds": 8.51,
"files": [
"tests/unit/test_local_s2s_phase2.py",
"tests/unit/test_local_s2s_repairs.py"
]
},
"real_fixed_connection": {
"conversation_id": "2ee01d73-6a52-4d4b-85dc-aff6e74cb541",
"session_id": "2fdd2e77-29d6-4f30-9240-dded88a8de31",
"events": [
"session_ready"
],
"session_ready": true,
"close": {
"session_id": "2fdd2e77-29d6-4f30-9240-dded88a8de31",
"status": "closed",
"close_reason": "user_requested"
},
"component_attempts_before": 3,
"component_attempts_after": 3
},
"real_fixed_watchdog": {
"repair": true,
"stage": "ready",
"minimum_host_available_bytes": 4984836096,
"startup_seconds": 50.411
},
"real_fixed_budget": {
"previous_reserved_and_billed_usd": "0.807118333",
"reserved_usd": "0.866118333",
"maximum_cumulative_usd": "0.995118333",
"reconciled_successful_components_usd": "0.001118333",
"failed_wav_retained_usd": ".25",
"unbilled_native_retained_usd": ".438",
"previous_browser_retained_usd": ".118",
"maximum_attempts": {
"speech": 4,
"transcriptions": 2,
"completions": 2
},
"attempts": [
{
"stage": "transcriptions",
"reserved_usd": "0.004",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-stt-1792164932-yowwJIs8FCVLhZsAPZCS",
"headers_elapsed_seconds": 1.199
},
{
"stage": "completions",
"reserved_usd": "0.02",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-1792164934-Xzi45DRGAMNPQMKF6PtM",
"headers_elapsed_seconds": 0.761
},
{
"stage": "speech",
"reserved_usd": "0.035",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-tts-1792164935-lFnqxFlbFB9oZtwUw99p",
"headers_elapsed_seconds": 2.001
}
]
},
"original_browser_ledger_retained": true,
"native_ledger_retained": true,
"no_additional_paid_user_audio_test": false,
"settings_changed": {
"buffers": false,
"speed": false,
"timeouts": false,
"provider_models": false,
"public_api": false
},
"human_browser_acceptance": "single_greeting_round_trip_observed_and_reported_by_user",
"source_sha256": {
"services/local_s2s/engine.py": "b6c6f938109efed30e438b87c361a90aae5ec5d0ff9db47d8e92fa8c1957e003",
"docs/evaluation/local-s2s/browser-budget.py": "58f3fe7e9984445748488c2aab2b4362066346858bf392d65f6c42b10d4eb0e6",
"docs/evaluation/local-s2s/browser-engine.py": "12a819253860c94c22a830c027d1b15f62b2c1327db6cc999d3d9182e7d2fd9a",
"docs/evaluation/local-s2s/browser-fixture-engine.py": "8c04c75fb99f5d4fe8a399abd530ae75cd4b3a5393b17575b0d063057e5f9801",
"docs/evaluation/local-s2s/watch-browser-engine.py": "ec8fbca95ce7e4101066527f5d112fc5f5331689e9cd7dd7c9bf3910d42dd6b5",
"docs/evaluation/local-s2s/check-browser-budget.py": "7be851fe31b3a37bc5a67a1e3d89d882a5f1cdc8078b277b135f2c8bbbbdf867",
"docs/evaluation/local-s2s/check-browser-connection.py": "28514a95ce72c1719f4d41422b3ac7354d028111b478690930ba952d4f9e8ccc",
"docs/evaluation/local-s2s/check-browser-duplex.py": "2848bd26936f7ffbc63b74ebe523fd80ee082aae112199c1f023d384f8bb68aa",
"docs/evaluation/local-s2s/image-session-smoke.py": "1c72866c4a8c5f2b4dd3eaab31767d156ed5246f1072b7aa4676c99ff28934ca",
"docs/evaluation/local-s2s/run-image-session-smoke.py": "66dcb1441d01e1bfa176cdf25c68e2bc01aa6161f02119f6fc72b7e18a104fdb",
"docs/evaluation/local-s2s/phase-02-browser-fixture.override.yml": "9cd72b33f78e215d5985a5380b8988793ed5727013ae627377758579be712623",
"docs/evaluation/local-s2s/phase-02-browser-repair.override.yml": "6530bed5da2f29abcec05f147a32b7b952a1553aa530f00ffec9c5fe2fc2c21e"
},
"real_fixed_budget_after_human_turn": {
"previous_reserved_and_billed_usd": "0.807118333",
"reserved_usd": "0.925118333",
"maximum_cumulative_usd": "0.995118333",
"reconciled_successful_components_usd": "0.001118333",
"failed_wav_retained_usd": ".25",
"unbilled_native_retained_usd": ".438",
"previous_browser_retained_usd": ".118",
"maximum_attempts": {
"speech": 4,
"transcriptions": 2,
"completions": 2
},
"attempts": [
{
"stage": "transcriptions",
"reserved_usd": "0.004",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-stt-1792164932-yowwJIs8FCVLhZsAPZCS",
"headers_elapsed_seconds": 1.199
},
{
"stage": "completions",
"reserved_usd": "0.02",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-1792164934-Xzi45DRGAMNPQMKF6PtM",
"headers_elapsed_seconds": 0.761
},
{
"stage": "speech",
"reserved_usd": "0.035",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-tts-1792164935-lFnqxFlbFB9oZtwUw99p",
"headers_elapsed_seconds": 2.001
},
{
"stage": "transcriptions",
"reserved_usd": "0.004",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-stt-1792165118-S7omIdaVRJTE9KadsXLE",
"headers_elapsed_seconds": 3.139
},
{
"stage": "completions",
"reserved_usd": "0.02",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-1792165121-GmxoMAiyn8570Tg4mqfE",
"headers_elapsed_seconds": 0.965
},
{
"stage": "speech",
"reserved_usd": "0.035",
"status": "headers_received",
"http_status": 200,
"generation_id": "gen-tts-1792165122-xAsR1xzOCcq0dqYyHJkh",
"headers_elapsed_seconds": 2.518
}
]
},
"human_browser_result": {
"session_id": "4445c984-c56b-4269-a7a2-49556c0902d2",
"user_reported_input": "سلام چطوریم",
"user_reported_reply": "سلام ممنونم. شما چطورید چطور میتونم در زمینه امور شرکت شهرکهای صنعتی اصفهان کمکتون کنم",
"terminal_completed": 1,
"terminal_limited": 0,
"terminal_cancelled": 0,
"generated_bytes": 350208,
"sent_bytes": 350208,
"played_ms": 7296,
"final_backlog_bytes": 0,
"persisted_close": {
"status": "closed",
"close_reason": "user_requested",
"error_code": null
},
"evidence": "Actual API diagnostics and read-only isolated live_sessions query, matched to user-reported browser result.",
"asr_ground_truth_accuracy": "not_scored",
"phase_2_status": "in_progress; applicable database acceptance gates and final billing reconciliation remain"
}
}