fix(openai): prompt engineering and transcript model
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"report_id": "persian-delivery-phase2-20261011",
|
||||
"implementation_status": "implemented_pending_reviewed_examples",
|
||||
"acceptance_status": "not_run",
|
||||
"fixed_profile": {
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-mini",
|
||||
"voice": "shimmer",
|
||||
"input_sample_rate": 24000,
|
||||
"output_sample_rate": 24000,
|
||||
"audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "whisper-1",
|
||||
"language": "fa"
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
},
|
||||
"style_revision": "iranian-persian-professional-v1",
|
||||
"effective_instructions_digest": "18183a0cc2aff0ffb33e4b10a9dc54250563c758f1b849d56b555ed7eba3c9bd"
|
||||
},
|
||||
"voices": [
|
||||
"marin",
|
||||
"cedar",
|
||||
"shimmer"
|
||||
],
|
||||
"input_set": {
|
||||
"status": "awaiting_human_review",
|
||||
"id": null,
|
||||
"sha256": null,
|
||||
"items": []
|
||||
},
|
||||
"reviewed_behavioral_examples": [],
|
||||
"blind_mapping": "operator-private; not supplied to listeners",
|
||||
"ratings": [],
|
||||
"listener_scores": {
|
||||
"marin": null,
|
||||
"cedar": null,
|
||||
"shimmer": null
|
||||
},
|
||||
"compatibility": {
|
||||
"marin": "not_run",
|
||||
"cedar": "not_run",
|
||||
"shimmer": "historical_limited_probe_only"
|
||||
},
|
||||
"provider_calls": 0,
|
||||
"budget_consumed": 0,
|
||||
"selected_voice": null,
|
||||
"regression_evidence": {
|
||||
"focused": {
|
||||
"passed": 338,
|
||||
"failed": 0
|
||||
},
|
||||
"isolated_postgres": {
|
||||
"passed": 10,
|
||||
"failed": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"broad_excluding_duplicate_suite_driver": {
|
||||
"passed": 1880,
|
||||
"failed": 1,
|
||||
"skipped": 3,
|
||||
"deselected": 426
|
||||
},
|
||||
"isolated_json_responsiveness": {
|
||||
"passed": 8,
|
||||
"failed": 1
|
||||
},
|
||||
"report": "../guides/openai-persian-delivery-phase2.md"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
listener_id,native_iranian_persian,blind_clip_id,input_id,naturalness,pronunciation,professionalism,critical_fact_review,pacing_comments,failure_accuracy_comments
|
||||
|
@@ -0,0 +1,337 @@
|
||||
{
|
||||
"manifest_id": "openai-persian-speech-v1",
|
||||
"status": "human_template_unannotated",
|
||||
"instructions": "A native human must transcribe actual approved recordings, designate critical literals, and approve references before provider evaluation. Do not generate references from ASR output.",
|
||||
"annotations": [
|
||||
{
|
||||
"sample_id": "speech-01",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-02",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-03",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-04",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-05",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-06",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-07",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-08",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-09",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-10",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-11",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-12",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-13",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-14",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-15",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-16",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-17",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-18",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-19",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-20",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-21",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-22",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-23",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-24",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-25",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-26",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-27",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-28",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-29",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-30",
|
||||
"reference_text": null,
|
||||
"critical_facts": [],
|
||||
"natural_pause_intervals_ms": [],
|
||||
"expected_utterance_boundaries_ms": [],
|
||||
"reviewed_by": null,
|
||||
"review_status": "not_run",
|
||||
"reviewed_at": null,
|
||||
"notes": null
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,420 @@
|
||||
{
|
||||
"report_id": "openai-persian-speech-phase1-20261011",
|
||||
"date": "2026-10-11",
|
||||
"implementation_status": "implemented",
|
||||
"acceptance_status": "not_run",
|
||||
"phase_closed": false,
|
||||
"scope": "Phase 1 only, main app.server path",
|
||||
"manifest_id": "openai-persian-speech-v1",
|
||||
"recordings_supplied": 0,
|
||||
"human_labels_supplied": 0,
|
||||
"provider_evaluation": {
|
||||
"status": "not_run",
|
||||
"authorization": null,
|
||||
"sessions": 0,
|
||||
"audio_seconds": 0,
|
||||
"tool_calls": 0,
|
||||
"embedding_calls": 0,
|
||||
"spend": 0
|
||||
},
|
||||
"deployment_observation": {
|
||||
"status": "passed",
|
||||
"method": "Read-only docker exec of VoiceSettings and adapter setup in existing rag-api; allowlisted values only",
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-mini",
|
||||
"voice": "shimmer",
|
||||
"voice_transport_testing": true,
|
||||
"calibration_report_configured": false,
|
||||
"adapter_requested_audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "whisper-1",
|
||||
"language": "fa"
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false
|
||||
}
|
||||
},
|
||||
"provider_effective_audio_input": null,
|
||||
"provider_acknowledgment_observed": false,
|
||||
"new_code_deployed": false,
|
||||
"hardware_frontend_observed": false
|
||||
},
|
||||
"local_observation": {
|
||||
"status": "passed",
|
||||
"method": "VoiceSettings from local environment after implementation, allowlisted values only",
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-mini",
|
||||
"voice": "shimmer",
|
||||
"voice_transport_testing": true,
|
||||
"calibration_report_configured": false,
|
||||
"requested_audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "whisper-1",
|
||||
"language": "fa"
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
}
|
||||
},
|
||||
"official_schema": {
|
||||
"status": "passed",
|
||||
"checked_date": "2026-10-11",
|
||||
"gpt_transcribe_committed_websocket": true,
|
||||
"languages": [
|
||||
"fa",
|
||||
"en"
|
||||
],
|
||||
"keywords_supported": true,
|
||||
"sources": [
|
||||
"https://developers.openai.com/api/docs/guides/realtime-transcription",
|
||||
"https://developers.openai.com/api/reference/resources/realtime/client-events",
|
||||
"https://developers.openai.com/api/docs/deprecations"
|
||||
],
|
||||
"baseline_shutdown_dates": {
|
||||
"gpt-realtime-mini": "2027-01-20",
|
||||
"whisper-1": "2027-02-26"
|
||||
}
|
||||
},
|
||||
"profiles": [
|
||||
{
|
||||
"profile_id": "baseline",
|
||||
"configuration_status": "prepared_not_evaluated",
|
||||
"voice_profile_without_search": {
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-mini",
|
||||
"voice": "shimmer",
|
||||
"input_sample_rate": 24000,
|
||||
"output_sample_rate": 24000,
|
||||
"audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "whisper-1",
|
||||
"language": "fa"
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
}
|
||||
},
|
||||
"voice_profile_without_search_sha256": "9410d136e1b9a0f4f5997a3fba78f0ba40a9586237affab72bfa0dfae5b75f38",
|
||||
"measured_full_execution_profile": null,
|
||||
"measured_full_execution_profile_sha256": null,
|
||||
"provider_acknowledgment_status": "not_run",
|
||||
"wer": {
|
||||
"quiet": null,
|
||||
"office": null,
|
||||
"moderate_noise": null
|
||||
},
|
||||
"critical_errors": null,
|
||||
"empty_transcripts": null,
|
||||
"segmentation_errors": null,
|
||||
"truncated_transcripts": null,
|
||||
"completion_delay_ms": {
|
||||
"p50": null,
|
||||
"p95": null
|
||||
},
|
||||
"response_latency_ms": {
|
||||
"p50": null,
|
||||
"p95": null
|
||||
},
|
||||
"usage": null,
|
||||
"cost": null
|
||||
},
|
||||
{
|
||||
"profile_id": "asr-candidate",
|
||||
"configuration_status": "prepared_not_evaluated",
|
||||
"voice_profile_without_search": {
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-mini",
|
||||
"voice": "shimmer",
|
||||
"input_sample_rate": 24000,
|
||||
"output_sample_rate": 24000,
|
||||
"audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "gpt-transcribe",
|
||||
"languages": [
|
||||
"fa",
|
||||
"en"
|
||||
],
|
||||
"prompt": "Iranian Persian technical support with English terminology.",
|
||||
"keywords": [
|
||||
"PCM16LE",
|
||||
"API"
|
||||
]
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
}
|
||||
},
|
||||
"voice_profile_without_search_sha256": "d570b5051c3a1c8a434408ab2d78c0e65bc44e8386d804d2d82dbe1dceac167b",
|
||||
"measured_full_execution_profile": null,
|
||||
"measured_full_execution_profile_sha256": null,
|
||||
"provider_acknowledgment_status": "not_run",
|
||||
"wer": {
|
||||
"quiet": null,
|
||||
"office": null,
|
||||
"moderate_noise": null
|
||||
},
|
||||
"critical_errors": null,
|
||||
"empty_transcripts": null,
|
||||
"segmentation_errors": null,
|
||||
"truncated_transcripts": null,
|
||||
"completion_delay_ms": {
|
||||
"p50": null,
|
||||
"p95": null
|
||||
},
|
||||
"response_latency_ms": {
|
||||
"p50": null,
|
||||
"p95": null
|
||||
},
|
||||
"usage": null,
|
||||
"cost": null
|
||||
}
|
||||
],
|
||||
"comparisons": [
|
||||
{
|
||||
"dimension": "ASR",
|
||||
"profiles": [
|
||||
"baseline",
|
||||
"asr-candidate"
|
||||
],
|
||||
"status": "not_run"
|
||||
},
|
||||
{
|
||||
"dimension": "VAD silence 500 versus 800 ms",
|
||||
"profiles": [],
|
||||
"status": "not_run"
|
||||
},
|
||||
{
|
||||
"dimension": "Device-specific noise reduction",
|
||||
"profiles": [],
|
||||
"status": "not_run"
|
||||
}
|
||||
],
|
||||
"failure_categories": [
|
||||
{
|
||||
"category": "capture",
|
||||
"status": "not_run",
|
||||
"observed_failures": null
|
||||
},
|
||||
{
|
||||
"category": "assembly",
|
||||
"status": "not_run",
|
||||
"observed_failures": null
|
||||
},
|
||||
{
|
||||
"category": "ASR",
|
||||
"status": "not_run",
|
||||
"observed_failures": null
|
||||
},
|
||||
{
|
||||
"category": "segmentation",
|
||||
"status": "not_run",
|
||||
"observed_failures": null
|
||||
},
|
||||
{
|
||||
"category": "direct_audio_understanding",
|
||||
"status": "not_run",
|
||||
"observed_failures": null
|
||||
}
|
||||
],
|
||||
"acceptance_gates": {
|
||||
"held_out_wer": "not_run",
|
||||
"quiet_office_critical_facts": "not_run",
|
||||
"actual_frontend_transcript_reconciliation": "not_run",
|
||||
"actual_pcm_capture_playback": "not_run",
|
||||
"natural_pauses": "not_run",
|
||||
"latency_comparison": "not_run"
|
||||
},
|
||||
"checks": [
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest tests/unit/test_phase2_provider_selection.py tests/unit/test_realtime_phase1.py -q -p no:cacheprovider --tb=short",
|
||||
"status": "passed",
|
||||
"passed": 81,
|
||||
"seconds": 28.07
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest tests/unit/test_speech_scorer.py tests/unit/test_openai_speech_configuration.py -q -p no:cacheprovider --tb=short",
|
||||
"status": "passed",
|
||||
"passed": 37,
|
||||
"seconds": 2.86,
|
||||
"note": "Before two final acknowledgment/malformed-event regressions; full suite includes final files"
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest tests/integration/test_openai_speech_profile.py -m postgres --require-postgres -q -p no:cacheprovider --tb=short",
|
||||
"status": "passed",
|
||||
"passed": 8,
|
||||
"seconds": 55.17
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest -m \"not postgres\" -q -p no:cacheprovider --tb=short",
|
||||
"status": "failed",
|
||||
"note": "Existing 50-ms search runner deadline failed; nested ordinary-suite regression also failed from search deadline and 103.80-ms JSON heartbeat gap against 100 ms. Concurrent PostgreSQL run; no causal attribution established. Retest pending.",
|
||||
"passed": 1871,
|
||||
"failed": 2,
|
||||
"skipped": 3,
|
||||
"deselected": 423,
|
||||
"seconds": 418.08
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest -m postgres --require-postgres -q -p no:cacheprovider --tb=short",
|
||||
"status": "failed",
|
||||
"note": "Interrupted after a reported failure and several minutes without further results, beyond 68 percent progress. Test database sessions were idle; no traceback was available after tool interruption. Full 423-case acceptance is not established; no causal attribution.",
|
||||
"completed": false,
|
||||
"reported_failures_at_least": 1
|
||||
},
|
||||
{
|
||||
"command": "git diff --check",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest tests/unit/test_openai_speech_configuration.py tests/unit/test_speech_scorer.py tests/unit/test_phase2_provider_selection.py tests/unit/test_search_phase3.py tests/unit/test_json_processing.py -q -p no:cacheprovider --tb=short",
|
||||
"status": "passed",
|
||||
"passed": 111,
|
||||
"seconds": 28.66,
|
||||
"note": "Includes focused retest of initial timing-sensitive failures"
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest tests/unit/test_openai_speech_configuration.py tests/unit/test_speech_scorer.py tests/unit/test_realtime_phase1.py tests/unit/test_realtime_repairs.py tests/unit/test_realtime_remaining.py tests/unit/test_live_context_sync.py tests/unit/test_voice_input_accounting.py tests/unit/test_phase2_provider_selection.py tests/unit/test_voice_client_example.py -q -p no:cacheprovider --tb=short",
|
||||
"status": "passed",
|
||||
"passed": 361,
|
||||
"seconds": 100.0,
|
||||
"note": "Final implementation including unexpected provider guidance rejection"
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m app.score_speech --help",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"command": "New-file whitespace / ast.parse / json.loads / relative handoff links inspection",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"command": "Offline scorer against empty supplied templates",
|
||||
"status": "passed",
|
||||
"note": "Correctly rejected missing effective-profile digest; no quality score claimed"
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest -m \"not postgres\" -q -p no:cacheprovider --tb=short",
|
||||
"attempt": 2,
|
||||
"status": "failed",
|
||||
"passed": 1871,
|
||||
"failed": 2,
|
||||
"skipped": 3,
|
||||
"deselected": 423,
|
||||
"seconds": 474.64,
|
||||
"note": "JSON responsiveness 148.52 ms versus 100 ms; nested suite failed JSON responsiveness 215.70 ms and existing GeminiVision blocked-read deadline. Concurrent task suites ran; no cause established. Final acknowledgment follow-up validated separately."
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest tests/integration/test_openai_speech_profile.py tests/integration/test_phase2_postgres.py tests/integration/test_voice_session_incident.py tests/integration/test_realtime_phase3_http.py::test_authenticated_selection_removal_closes_active_voice_and_redacts_polling -m postgres --require-postgres -x -vv -p no:cacheprovider --tb=short",
|
||||
"status": "passed",
|
||||
"passed": 82,
|
||||
"skipped": 0,
|
||||
"seconds": 361.58,
|
||||
"note": "Final affected PostgreSQL acceptance, without another task test suite running"
|
||||
},
|
||||
{
|
||||
"command": "docker rm -f -v <verified task-owned container ID>",
|
||||
"status": "passed",
|
||||
"note": "Only rag-speech-phase1-20261011-test and its anonymous test storage removed"
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest -m \"not postgres\" -q -p no:cacheprovider --tb=short",
|
||||
"attempt": 3,
|
||||
"status": "failed",
|
||||
"passed": 1874,
|
||||
"failed": 1,
|
||||
"skipped": 3,
|
||||
"deselected": 423,
|
||||
"seconds": 362.63,
|
||||
"note": "Final code, no concurrent task test suite. Existing GeminiVision extraction test test_transport_capacity_survives_timeout_and_recovers_without_late_results[False] failed because its mock opener was not entered within the 0.1-second deadline. Nested full-suite driver passed. No causal attribution."
|
||||
},
|
||||
{
|
||||
"command": ".venv/Scripts/python -m pytest tests/unit/test_phase3_context_repairs.py::test_transport_capacity_survives_timeout_and_recovers_without_late_results -q -p no:cacheprovider --tb=short",
|
||||
"status": "passed",
|
||||
"passed": 2,
|
||||
"seconds": 1.34,
|
||||
"note": "Final broader failure isolated; both parameter variants passed without changing code or assertions."
|
||||
}
|
||||
],
|
||||
"database_isolation": {
|
||||
"container": "rag-speech-phase1-20261011-test",
|
||||
"port": 55441,
|
||||
"database": "rag_speech_phase1_test",
|
||||
"schemas": "Disposable per-test schemas; test_vector namespace; no operational database access",
|
||||
"cleanup_status": "passed"
|
||||
},
|
||||
"frontend_handoff": "docs/guides/openai-persian-speech-phase1.md",
|
||||
"unrun_prerequisites": [
|
||||
"Approved real recordings from at least three native Iranian Persian speakers",
|
||||
"Native human reference annotations and critical fact designations",
|
||||
"Explicit bounded real-provider evaluation authorization",
|
||||
"Actual production frontend workspace, developer signoff and browser/hardware evidence",
|
||||
"Deployed source update and real provider acknowledgment of new settings",
|
||||
"Unqualified full PostgreSQL acceptance and resolution of broader ordinary-suite timing failures"
|
||||
],
|
||||
"affected_files": [
|
||||
".env.example",
|
||||
"app/modules/voice/configuration.py",
|
||||
"app/infrastructure/voice_provider.py",
|
||||
"app/infrastructure/realtime.py",
|
||||
"app/modules/voice/runtime.py",
|
||||
"app/score_speech.py",
|
||||
"examples/voice-transcripts.js",
|
||||
"tests/unit/test_openai_speech_configuration.py",
|
||||
"tests/unit/test_speech_scorer.py",
|
||||
"tests/support/voice_transcripts.mjs",
|
||||
"tests/integration/test_openai_speech_profile.py",
|
||||
"docs/guides/openai-persian-speech-phase1.md",
|
||||
"docs/evaluation/openai-persian-speech-manifest.json",
|
||||
"docs/evaluation/openai-persian-speech-annotations.json",
|
||||
"docs/evaluation/openai-persian-speech-observations.template.json",
|
||||
"docs/evaluation/openai-persian-speech-baseline.json",
|
||||
"docs/agent-reference-map.md",
|
||||
"docs/specifications/RAG-Phase1-API-Catalog.md"
|
||||
],
|
||||
"preserved_files": [
|
||||
"docs/plans/openai-realtime-persian-quality-plan.md (pre-existing untracked user plan)",
|
||||
"scripts/live_voice_server.py",
|
||||
"all applied migrations",
|
||||
"Gemini adapter and shared POLICY"
|
||||
],
|
||||
"validation_status": "affected_checks_passed_broader_acceptance_incomplete"
|
||||
}
|
||||
@@ -0,0 +1,616 @@
|
||||
{
|
||||
"manifest_id": "openai-persian-speech-v1",
|
||||
"status": "template_no_recordings",
|
||||
"required_native_speakers": 3,
|
||||
"samples": [
|
||||
{
|
||||
"sample_id": "speech-01",
|
||||
"condition": "quiet",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-02",
|
||||
"condition": "quiet",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-03",
|
||||
"condition": "quiet",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-04",
|
||||
"condition": "quiet",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-05",
|
||||
"condition": "quiet",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-06",
|
||||
"condition": "quiet",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-07",
|
||||
"condition": "quiet",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-08",
|
||||
"condition": "quiet",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-09",
|
||||
"condition": "quiet",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-10",
|
||||
"condition": "quiet",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-11",
|
||||
"condition": "office",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-12",
|
||||
"condition": "office",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-13",
|
||||
"condition": "office",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-14",
|
||||
"condition": "office",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-15",
|
||||
"condition": "office",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-16",
|
||||
"condition": "office",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-17",
|
||||
"condition": "office",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-18",
|
||||
"condition": "office",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-19",
|
||||
"condition": "office",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-20",
|
||||
"condition": "office",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-21",
|
||||
"condition": "moderate_noise",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-22",
|
||||
"condition": "moderate_noise",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-23",
|
||||
"condition": "moderate_noise",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-24",
|
||||
"condition": "moderate_noise",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-25",
|
||||
"condition": "moderate_noise",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-26",
|
||||
"condition": "moderate_noise",
|
||||
"split": "development",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-27",
|
||||
"condition": "moderate_noise",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-28",
|
||||
"condition": "moderate_noise",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 1,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"numbers",
|
||||
"dates",
|
||||
"identifiers",
|
||||
"negation"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-29",
|
||||
"condition": "moderate_noise",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 2,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"natural_pause",
|
||||
"self_correction",
|
||||
"repeated_words"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
},
|
||||
{
|
||||
"sample_id": "speech-30",
|
||||
"condition": "moderate_noise",
|
||||
"split": "held_out",
|
||||
"planned_speaker_slot": 3,
|
||||
"speaker_id": null,
|
||||
"native_iranian_persian": null,
|
||||
"consent_reference": null,
|
||||
"recording_path": null,
|
||||
"recording_sha256": null,
|
||||
"duration_seconds": null,
|
||||
"capture_device": null,
|
||||
"capture_browser": null,
|
||||
"coverage_required": [
|
||||
"colloquial",
|
||||
"technical",
|
||||
"code_switching"
|
||||
],
|
||||
"recording_status": "not_run"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"manifest_id": "openai-persian-speech-v1",
|
||||
"status": "template_no_provider_observations",
|
||||
"effective_profile": null,
|
||||
"effective_profile_sha256": null,
|
||||
"provider_authorization": {
|
||||
"authorized_by": null,
|
||||
"models": [],
|
||||
"maximum_sessions": null,
|
||||
"maximum_audio_seconds": null,
|
||||
"maximum_tool_calls": null,
|
||||
"maximum_embedding_calls": null,
|
||||
"spend_ceiling": null,
|
||||
"currency": null,
|
||||
"actual_sessions": null,
|
||||
"actual_audio_seconds": null,
|
||||
"actual_tool_calls": null,
|
||||
"actual_embedding_calls": null,
|
||||
"actual_spend": null
|
||||
},
|
||||
"usage": null,
|
||||
"cost": null,
|
||||
"observations": [],
|
||||
"observation_template": {
|
||||
"sample_id": null,
|
||||
"effective_profile_sha256": null,
|
||||
"session_reference": null,
|
||||
"final_transcript": null,
|
||||
"critical_fact_results": {},
|
||||
"critical_reviewed_by": null,
|
||||
"completion_delay_ms": null,
|
||||
"response_latency_ms": null,
|
||||
"segmentation_errors": null,
|
||||
"truncated_transcripts": null,
|
||||
"capture_errors": null,
|
||||
"assembly_errors": null,
|
||||
"audio_understanding_errors": null,
|
||||
"notes": null
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,376 @@
|
||||
{
|
||||
"report_id": "persian-understanding-phase3-20261011",
|
||||
"implementation_status": "implemented",
|
||||
"acceptance_status": "blocked",
|
||||
"local_profile": {
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-mini",
|
||||
"voice": "shimmer",
|
||||
"input_sample_rate": 24000,
|
||||
"output_sample_rate": 24000,
|
||||
"audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "gpt-transcribe",
|
||||
"languages": [
|
||||
"fa",
|
||||
"en"
|
||||
]
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
},
|
||||
"reasoning": null,
|
||||
"style_revision": "iranian-persian-professional-v1",
|
||||
"effective_instructions_digest": "18183a0cc2aff0ffb33e4b10a9dc54250563c758f1b849d56b555ed7eba3c9bd"
|
||||
},
|
||||
"deployment_verified": false,
|
||||
"transport_testing": true,
|
||||
"calibration_report_configured": false,
|
||||
"embedding_profile_local": {
|
||||
"provider": "ollama",
|
||||
"endpoint": "http://localhost:11434/v1",
|
||||
"model": "bge-m3",
|
||||
"dimensions": 1024,
|
||||
"preprocessing_version": "v1"
|
||||
},
|
||||
"retrieval_policy": "exact-first-cosine-id-50x2-whole-5-12000/nfc-digits-kaf-yeh-lower-whitespace-terminal-period-v2",
|
||||
"originals": [
|
||||
{
|
||||
"name": "letter",
|
||||
"path": "data/documents/5905170444656189186_13450510740952.pdf",
|
||||
"expected_sha256": "f5732a2eff7fec3e7827c5f25c9a9d50897363935101e46f631404c03ce6ef99",
|
||||
"hash_matches": true,
|
||||
"approval": "pending",
|
||||
"document_id": null
|
||||
},
|
||||
{
|
||||
"name": "regulation",
|
||||
"path": "data/documents/7364346504113364738_13450847753183.pdf",
|
||||
"expected_sha256": "42f7cbc0ad4a187f7d8a89b0ace484e936ab25c96820fe6ac18b25533e987096",
|
||||
"hash_matches": true,
|
||||
"approval": "pending",
|
||||
"document_id": null
|
||||
},
|
||||
{
|
||||
"name": "infographic",
|
||||
"path": "data/documents/photo_1_2026-10-06_09-05-11.jpg",
|
||||
"expected_sha256": "cd177e935f25200c53af958a6c7b4540b820d49043e62fa1d383e6a76954f935",
|
||||
"hash_matches": true,
|
||||
"approval": "pending",
|
||||
"document_id": null
|
||||
},
|
||||
{
|
||||
"name": "docx",
|
||||
"path": "data/documents/-2348240626507047168_13449360743721.docx",
|
||||
"expected_sha256": "6ce416719802136d16c82e153bf0671af5bb87b441cc5fed144ebd253d647f23",
|
||||
"hash_matches": true,
|
||||
"approval": "pending",
|
||||
"document_id": null
|
||||
}
|
||||
],
|
||||
"calibration_cutoff": null,
|
||||
"retrieval_status": "blocked",
|
||||
"scenario_count_required": 26,
|
||||
"scenario_set_id": null,
|
||||
"scenario_set_sha256": null,
|
||||
"scenarios": [],
|
||||
"candidates": [
|
||||
{
|
||||
"candidate_id": "gpt-realtime-2.1-low",
|
||||
"profile": {
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-2.1",
|
||||
"voice": "shimmer",
|
||||
"input_sample_rate": 24000,
|
||||
"output_sample_rate": 24000,
|
||||
"audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "gpt-transcribe",
|
||||
"languages": [
|
||||
"fa",
|
||||
"en"
|
||||
]
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
},
|
||||
"reasoning": {
|
||||
"effort": "low"
|
||||
},
|
||||
"style_revision": "iranian-persian-professional-v1",
|
||||
"effective_instructions_digest": "18183a0cc2aff0ffb33e4b10a9dc54250563c758f1b849d56b555ed7eba3c9bd"
|
||||
},
|
||||
"profile_basis": "local settings held fixed for preparation; ASR/voice not human-selected",
|
||||
"status": "not_run",
|
||||
"gate": "blocked",
|
||||
"scenario_set_id": null,
|
||||
"quality": null,
|
||||
"latency_p50_seconds": null,
|
||||
"latency_p95_seconds": null,
|
||||
"usage": "unavailable",
|
||||
"cost": "unavailable",
|
||||
"compatibility": "not_run",
|
||||
"provider_sessions": 0,
|
||||
"tool_calls": 0,
|
||||
"embedding_calls": 0
|
||||
},
|
||||
{
|
||||
"candidate_id": "gpt-realtime-2.1-medium",
|
||||
"profile": {
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-2.1",
|
||||
"voice": "shimmer",
|
||||
"input_sample_rate": 24000,
|
||||
"output_sample_rate": 24000,
|
||||
"audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "gpt-transcribe",
|
||||
"languages": [
|
||||
"fa",
|
||||
"en"
|
||||
]
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
},
|
||||
"reasoning": {
|
||||
"effort": "medium"
|
||||
},
|
||||
"style_revision": "iranian-persian-professional-v1",
|
||||
"effective_instructions_digest": "18183a0cc2aff0ffb33e4b10a9dc54250563c758f1b849d56b555ed7eba3c9bd"
|
||||
},
|
||||
"profile_basis": "local settings held fixed for preparation; ASR/voice not human-selected",
|
||||
"status": "not_run",
|
||||
"gate": "blocked_pending_failed_low_gate",
|
||||
"scenario_set_id": null,
|
||||
"quality": null,
|
||||
"latency_p50_seconds": null,
|
||||
"latency_p95_seconds": null,
|
||||
"usage": "unavailable",
|
||||
"cost": "unavailable",
|
||||
"compatibility": "not_run",
|
||||
"provider_sessions": 0,
|
||||
"tool_calls": 0,
|
||||
"embedding_calls": 0
|
||||
},
|
||||
{
|
||||
"candidate_id": "gpt-realtime-2.1-mini-low",
|
||||
"profile": {
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-2.1-mini",
|
||||
"voice": "shimmer",
|
||||
"input_sample_rate": 24000,
|
||||
"output_sample_rate": 24000,
|
||||
"audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "gpt-transcribe",
|
||||
"languages": [
|
||||
"fa",
|
||||
"en"
|
||||
]
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
},
|
||||
"reasoning": {
|
||||
"effort": "low"
|
||||
},
|
||||
"style_revision": "iranian-persian-professional-v1",
|
||||
"effective_instructions_digest": "18183a0cc2aff0ffb33e4b10a9dc54250563c758f1b849d56b555ed7eba3c9bd"
|
||||
},
|
||||
"profile_basis": "local settings held fixed for preparation; ASR/voice not human-selected",
|
||||
"status": "not_run",
|
||||
"gate": "blocked",
|
||||
"scenario_set_id": null,
|
||||
"quality": null,
|
||||
"latency_p50_seconds": null,
|
||||
"latency_p95_seconds": null,
|
||||
"usage": "unavailable",
|
||||
"cost": "unavailable",
|
||||
"compatibility": "not_run",
|
||||
"provider_sessions": 0,
|
||||
"tool_calls": 0,
|
||||
"embedding_calls": 0
|
||||
},
|
||||
{
|
||||
"candidate_id": "gpt-realtime-2.1-mini-medium",
|
||||
"profile": {
|
||||
"provider": "openai",
|
||||
"model": "gpt-realtime-2.1-mini",
|
||||
"voice": "shimmer",
|
||||
"input_sample_rate": 24000,
|
||||
"output_sample_rate": 24000,
|
||||
"audio_input": {
|
||||
"format": {
|
||||
"type": "audio/pcm",
|
||||
"rate": 24000
|
||||
},
|
||||
"transcription": {
|
||||
"model": "gpt-transcribe",
|
||||
"languages": [
|
||||
"fa",
|
||||
"en"
|
||||
]
|
||||
},
|
||||
"turn_detection": {
|
||||
"type": "server_vad",
|
||||
"create_response": false,
|
||||
"interrupt_response": false,
|
||||
"threshold": 0.5,
|
||||
"prefix_padding_ms": 300,
|
||||
"silence_duration_ms": 500
|
||||
},
|
||||
"noise_reduction": null
|
||||
},
|
||||
"reasoning": {
|
||||
"effort": "medium"
|
||||
},
|
||||
"style_revision": "iranian-persian-professional-v1",
|
||||
"effective_instructions_digest": "18183a0cc2aff0ffb33e4b10a9dc54250563c758f1b849d56b555ed7eba3c9bd"
|
||||
},
|
||||
"profile_basis": "local settings held fixed for preparation; ASR/voice not human-selected",
|
||||
"status": "not_run",
|
||||
"gate": "blocked_pending_failed_low_gate",
|
||||
"scenario_set_id": null,
|
||||
"quality": null,
|
||||
"latency_p50_seconds": null,
|
||||
"latency_p95_seconds": null,
|
||||
"usage": "unavailable",
|
||||
"cost": "unavailable",
|
||||
"compatibility": "not_run",
|
||||
"provider_sessions": 0,
|
||||
"tool_calls": 0,
|
||||
"embedding_calls": 0
|
||||
}
|
||||
],
|
||||
"selected_profile": null,
|
||||
"authorized_provider_batch": null,
|
||||
"provider_calls": 0,
|
||||
"spend_consumed": 0,
|
||||
"failures": [
|
||||
{
|
||||
"test": "tests/unit/test_json_processing.py::test_real_large_escaped_json_keeps_concurrent_loop_active[4499]",
|
||||
"category": "unrelated product responsiveness regression",
|
||||
"observed_gap_ms": 132.03,
|
||||
"limit_ms": 100,
|
||||
"focused_rerun": "9 passed",
|
||||
"cause": "undetermined; timing instability observed in preceding Phase 2 evidence",
|
||||
"repaired": false
|
||||
}
|
||||
],
|
||||
"blocked_prerequisites": [
|
||||
"Explicit bounded authorization: models, sessions, audio seconds, tool/embedding calls, spend ceiling.",
|
||||
"Approved original/document bindings and human factual DOCX inclusion; authorized actor and verified exact selected ready/active/undeleted corpus.",
|
||||
"Measured finalized calibration matching embedding/retrieval profile; independent retrieval labels approved with four unseen cases completed.",
|
||||
"Human-reviewed 20 answerable/all-critical + six unsupported grounded dialogue scenarios and approved recordings/text equivalents.",
|
||||
"Selected ASR/voice and reviewed instructions; Phase 1/2 live acceptance remains not_run.",
|
||||
"Exact candidate cancellation/interruption compatibility and native listener evidence."
|
||||
],
|
||||
"checks": {
|
||||
"focused_asr_style_reasoning": {
|
||||
"status": "passed",
|
||||
"passed": 51
|
||||
},
|
||||
"affected_grounding_interruption_calibration_reasoning": {
|
||||
"status": "passed",
|
||||
"passed": 351
|
||||
},
|
||||
"provider_free_full": {
|
||||
"status": "failed",
|
||||
"passed": 1892,
|
||||
"failed": 1,
|
||||
"skipped": 3,
|
||||
"deselected": 429,
|
||||
"duration_seconds": 326.47
|
||||
},
|
||||
"json_responsiveness_focused_rerun": {
|
||||
"status": "passed",
|
||||
"passed": 9,
|
||||
"duration_seconds": 11.13
|
||||
},
|
||||
"persisted_profile_focused": {
|
||||
"status": "passed",
|
||||
"passed": 18,
|
||||
"skipped": 0,
|
||||
"duration_seconds": 126.16
|
||||
},
|
||||
"isolated_postgres_full": {
|
||||
"status": "passed",
|
||||
"passed": 429,
|
||||
"skipped": 0,
|
||||
"deselected": 1896,
|
||||
"duration_seconds": 1647.7,
|
||||
"database": "rag_persian_phase3_test",
|
||||
"postgresql": "16.15",
|
||||
"pgvector": "0.8.7"
|
||||
},
|
||||
"static": {
|
||||
"status": "passed",
|
||||
"checks": [
|
||||
"AST/JSON",
|
||||
"git diff --check",
|
||||
"shared POLICY unchanged",
|
||||
"Gemini adapter unchanged",
|
||||
"applied migrations byte-identical"
|
||||
]
|
||||
},
|
||||
"retrieval_manifest_preflight": {
|
||||
"status": "blocked",
|
||||
"reason": "Frozen 20 answerable / 6 unsupported with four unseen cases required"
|
||||
},
|
||||
"calibration_label_structure": {
|
||||
"status": "passed",
|
||||
"quality_acceptance": false
|
||||
},
|
||||
"isolated_cleanup": {
|
||||
"status": "passed",
|
||||
"remaining_test_schemas": 0,
|
||||
"public_tables": 0,
|
||||
"task_container_removed": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"scenario_id": null,
|
||||
"critical": null,
|
||||
"input_audio_id": null,
|
||||
"equivalent_text": null,
|
||||
"human_expected_intent": null,
|
||||
"expected_document_chunks": [],
|
||||
"spoken_intent": null,
|
||||
"display_transcript": null,
|
||||
"tool_query": null,
|
||||
"retrieval_result": null,
|
||||
"spoken_answer": null,
|
||||
"diagnostic_text_result": null,
|
||||
"failure_categories": {
|
||||
"audio_interpretation": null,
|
||||
"asr_display": null,
|
||||
"tool_query": null,
|
||||
"retrieval": null,
|
||||
"answer": null
|
||||
},
|
||||
"fresh_followup_retrieval": null,
|
||||
"selection_access_invalidation": null,
|
||||
"interruption_compatibility": null,
|
||||
"latency_seconds": null,
|
||||
"usage": null,
|
||||
"cost": null,
|
||||
"human_reviewer": null,
|
||||
"status": "not_run"
|
||||
}
|
||||
Reference in New Issue
Block a user