feat(voice): support evidence reuse, 120s output capacity, and input ASR coalescing
- Add internal reuse_last_evidence tool for continuing existing topic without repeated retrieval - Expand OpenAI output capacity to 120s / 5,760,000 bytes and add delivery fairness - Coalesce adjacent user ASR transcript deltas to prevent client control queue overflow - Add server-side OPENAI_REALTIME_SPEED configuration and update style to v4 - Add extensive unit and integration regressions for evidence reuse, capacity, and fairness
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"corpus": "live_repair_benchmark.md",
|
||||
"synthetic": true,
|
||||
"candidate_token_budgets": [512, 1024, 2048, 4096],
|
||||
"repetitions_per_candidate": 3,
|
||||
"questions": [
|
||||
{"id": "Q01", "category": "fact", "question": "طبق داده آزمایشی، هزینه بررسی پذیرش چقدر است؟", "essential_facts": ["20 million rials", "review fee"]},
|
||||
{"id": "Q02", "category": "multi_part", "question": "برای پرونده کامل پذیرش چه مدارکی لازم است؟", "essential_facts": ["signed form", "activity permit copy", "technical plan"]},
|
||||
{"id": "Q03", "category": "conditions", "question": "بررسی پذیرش چه مدت طول میکشد و در صورت نقص چه میشود؟", "essential_facts": ["at most 10 working days for a complete file", "defects notified within 5 working days", "clock pauses during correction", "correction duration unspecified"]},
|
||||
{"id": "Q04", "category": "numbers", "question": "تضمین و هزینه بررسی را جداگانه بگویید؛ آیا یکی جای دیگری را میگیرد؟", "essential_facts": ["30 million rial refundable deposit", "20 million rial review fee", "deposit does not replace fee"]},
|
||||
{"id": "Q05", "category": "exceptions", "question": "تخفیف پژوهشی به چه پروژهای تعلق میگیرد و چه هزینههایی را کم میکند؟", "essential_facts": ["noncommercial research", "valid research center certificate", "50 percent of review fee", "10 million rial resulting review fee", "no infrastructure or deposit discount"]},
|
||||
{"id": "Q06", "category": "exceptions", "question": "اگر پروژه تجاری باشد ولی گواهی پژوهشی داشته باشد، تخفیف میگیرد؟", "essential_facts": ["commercial projects excluded", "certificate alone is insufficient"]},
|
||||
{"id": "Q07", "category": "exclusions", "question": "فعالیت گروه X با گواهی پژوهشی قابل پذیرش است؟", "essential_facts": ["hazardous group X prohibited", "research certificate does not override prohibition"]},
|
||||
{"id": "Q08", "category": "dates", "question": "آییننامه آزمایشی چه شناسه و تاریخ اجرایی دارد؟", "essential_facts": ["R-17", "January 1 2026"]},
|
||||
{"id": "Q09", "category": "conditions", "question": "اعتبار مجوز چند ماه است و از چه تاریخی حساب میشود؟", "essential_facts": ["12 months", "from issue date"]},
|
||||
{"id": "Q10", "category": "conditions", "question": "برای تمدید مجوز چه مهلت و شرایطی وجود دارد؟", "essential_facts": ["at least 30 days before expiry", "safety review", "no established debt"]},
|
||||
{"id": "Q11", "category": "exceptions", "question": "مجوز منقضی خودکار تمدید میشود؟", "essential_facts": ["no automatic renewal", "new application required"]},
|
||||
{"id": "Q12", "category": "multi_part", "question": "پروژه پژوهشی واجد شرایط چه هزینه بررسی و تضمینی میدهد؟ زیرساخت چه میشود؟", "essential_facts": ["10 million rial review fee", "30 million rial deposit", "infrastructure separate and undiscounted", "infrastructure amount unspecified"]},
|
||||
{"id": "Q13", "category": "exceptions", "question": "اگر پذیرش رد شود، کدام مبالغ برمیگردد؟", "essential_facts": ["30 million rial deposit refunded", "review fee not refunded"]},
|
||||
{"id": "Q14", "category": "insufficient_evidence", "question": "اگر قبل از بررسی انصراف دهم، هزینه بررسی هم برمیگردد؟", "essential_facts": ["deposit fully refunded", "review fee treatment on withdrawal unspecified", "no invented refund rule"]},
|
||||
{"id": "Q15", "category": "insufficient_evidence", "question": "الان چند قطعه زمین در پارک آزمایشی موجود است؟", "essential_facts": ["current land availability absent", "cannot verify current availability"]},
|
||||
{"id": "Q16", "category": "insufficient_evidence", "question": "تعرفه جاری زیرساخت چقدر است؟", "essential_facts": ["infrastructure amount absent", "no invented current tariff"]},
|
||||
{"id": "Q17", "category": "ambiguity", "question": "هزینه چقدر است؟", "essential_facts": ["clarify review versus infrastructure or deposit", "no unsupported single total"]},
|
||||
{"id": "Q18", "category": "follow_up", "preceding_question": "Q05", "question": "ادامه بده و استثناها را توضیح بده.", "essential_facts": ["remain on research discount topic", "commercial projects excluded", "infrastructure and deposit excluded", "group X still prohibited"], "expected_retrieval_delta": 0},
|
||||
{"id": "Q19", "category": "topic_change", "preceding_question": "Q05", "question": "حالا موضوع تمدید مجوز را توضیح بده.", "essential_facts": ["30 days before expiry", "safety review", "no established debt", "expired permit requires new application"], "expected_fresh_search": true},
|
||||
{"id": "Q20", "category": "insufficient_evidence", "question": "برای پذیرش با چه شمارهای تماس بگیرم و میتوانی تماس را منتقل کنی؟", "essential_facts": ["experimental admissions unit", "telephone unspecified", "no claim of automatic transfer"]}
|
||||
]
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
# داده ساختگی برای آزمون گفتگوی صوتی
|
||||
|
||||
این سند یک مجموعه داده ساختگی برای آزمون است و مقررات واقعی شرکت شهرکهای
|
||||
صنعتی اصفهان را بیان نمیکند. موضوع آن «پارک آزمایشی الف» است.
|
||||
|
||||
## پذیرش آزمایشی
|
||||
|
||||
آییننامه آزمایشی R-17 از ۱ ژانویه ۲۰۲۶ اجرا میشود. درخواست پذیرش به فرم
|
||||
امضاشده، تصویر مجوز فعالیت و طرح فنی نیاز دارد. هزینه بررسی ۲۰ میلیون ریال
|
||||
است؛ هزینه زیرساخت جداگانه محاسبه میشود و مبلغ آن در این سند مشخص نشده است.
|
||||
تضمین قابل بازگشت ۳۰ میلیون ریال است و جایگزین هزینه بررسی نیست.
|
||||
|
||||
بررسی پرونده کامل حداکثر ۱۰ روز کاری طول میکشد. نقص مدارک باید ظرف ۵ روز
|
||||
کاری اعلام شود. مهلت بررسی در مدت رفع نقص متوقف میشود و زمان رفع نقص در
|
||||
این سند تعیین نشده است.
|
||||
|
||||
پروژه پژوهشی غیرتجاری با گواهی معتبر از مرکز پژوهشی، ۵۰ درصد تخفیف هزینه
|
||||
بررسی دارد؛ بنابراین هزینه بررسی آن ۱۰ میلیون ریال است. تخفیف به هزینه
|
||||
زیرساخت یا تضمین تعلق نمیگیرد. پروژه تجاری مشمول این تخفیف نیست.
|
||||
|
||||
فعالیت خطرناک گروه X پذیرفته نمیشود؛ داشتن گواهی پژوهشی این ممنوعیت را
|
||||
رفع نمیکند. مرجع پرسش درباره پذیرش «واحد پذیرش آزمایشی» است؛ شماره تلفن
|
||||
و امکان انتقال خودکار تماس در این سند ذکر نشده است.
|
||||
|
||||
## مجوز آزمایشی
|
||||
|
||||
مدت اعتبار مجوز ۱۲ ماه از تاریخ صدور است. درخواست تمدید باید دستکم ۳۰ روز
|
||||
پیش از انقضا ارائه شود. تمدید نیازمند بازبینی ایمنی و نداشتن بدهی قطعی است.
|
||||
مجوز منقضی خودکار تمدید نمیشود و درخواست جدید لازم دارد.
|
||||
|
||||
در صورت رد پذیرش، تضمین ۳۰ میلیون ریالی بازگردانده میشود؛ هزینه بررسی
|
||||
بازگردانده نمیشود. انصراف پیش از شروع بررسی نیز باعث بازگشت کامل تضمین
|
||||
میشود؛ این سند درباره بازگشت هزینه بررسی در حالت انصراف حکمی ندارد.
|
||||
|
||||
این سند درباره موجودی فعلی زمین، تعرفه جاری زیرساخت، بدهی شخصی متقاضی،
|
||||
وضعیت پرونده واقعی یا شماره تلفن واحد پذیرش اطلاعاتی ندارد.
|
||||
Reference in New Issue
Block a user