Skip to content

[Bounty Proposal] fix(conversations): meeting verdict measures short calls from the capture-session window ($50 proposed) #19393

Closed

Description

@kduailabs

Summary

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.
  • This is the same defect class fix(conversations): compute duration from the transcript span on the backend discard gate and macOS #13047 fixed at the discard gate; the policy gate was missed.
  • 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.

PR

#19391

Tests

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

  1. aryanorastar commented on Sep 29, 2026

    @aryanorastar
    Collaborator

    Fixed on main by #19391 (5559b5e). The meeting verdict duration uses the transcript span in backend/utils/conversations/meeting_treatment.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions