You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bounty Proposal] fix(conversations): meeting verdict measures short calls from the capture-session window ($50 proposed) #19393
meeting_treatment_verdict (backend/utils/conversations/meeting_treatment.py) measures the candidate duration as finished_at - started_at. But started_at is the live-socket streaming-session origin, not the moment the speech began: it drifts tens of minutes behind wall clock across a long socket (#4056). A 90-second desktop call that began 40 minutes into a socket measures as ~2400s, so the 5-minute too_short gate never fires and the call receives full meeting treatment.
Impact
The verdict (and its duration_s) is persisted in the meeting receipt (utils/conversations/meeting_receipt.py) and eligible=True creates the durable capture-arrival intent plus a "meeting ready" notification.
LLM meeting notes are generated for a capture whose transcript is a few seconds long.
backend/utils/conversations/duration.py is the repo's declared single authority for conversation duration ("Any consumer that computes finished_at - started_at therefore over-counts…"); the helper exists and this consumer was not migrated.
Fix
Route the verdict through conversation_duration_seconds: transcript span when usable segments exist, wall window as the documented degraded fallback for transcript-free captures.
backend/tests/unit/test_meeting_treatment_duration_span.py — short-call-inside-long-socket → too_short with the 90s span; genuinely long call stays eligible; transcript-free capture still falls back to the wall window.
Proposing US$50 for this fix (single policy site; it gates notes, notifications and the persisted receipt).
Activity
aryanorastar commentedon Sep 29, 2026
Fixed on main by #19391 (5559b5e). The meeting verdict duration uses the transcript span in backend/utils/conversations/meeting_treatment.py.