Skip to content

fix(acoustics): count pauses across Deepgram segment boundaries (v6) - #14

Merged
Jaehyeon-kr merged 1 commit into
mainfrom
fix/pause-ratio-v6
Nov 16, 2026
Merged

Jaehyeon-kr merged 1 commit into
mainfrom
fix/pause-ratio-v6

Conversation

@Jaehyeon-kr

Copy link
Copy Markdown
Collaborator

PAUSE_RATIO was structurally 0: Deepgram splits utterances where the speaker pauses, so gaps inside one segment never reached the 300 ms floor. Parent segments that follow each other within pause_max_gap_ms with no child speech in between are now treated as one run, and every word gap in the run counts. Gaps where the child spoke are turn-taking and stay out. Calls without a child track cannot tell the two apart, so they are UNMEASURABLE(NO_CHILD_TRACK).

Migration 0018 marks PAUSE_RATIO rows saved before v6 as UNMEASURABLE(DEFINITION_CHANGED) and drops their baselines, so the old zeros do not freeze the anchor baseline.

PAUSE_RATIO was structurally 0: Deepgram splits utterances where the speaker
pauses, so gaps inside one segment never reached the 300 ms floor. Parent
segments that follow each other within pause_max_gap_ms with no child speech
in between are now treated as one run, and every word gap in the run counts.
Gaps where the child spoke are turn-taking and stay out. Calls without a child
track cannot tell the two apart, so they are UNMEASURABLE(NO_CHILD_TRACK).

Migration 0018 marks PAUSE_RATIO rows saved before v6 as
UNMEASURABLE(DEFINITION_CHANGED) and drops their baselines, so the old zeros
do not freeze the anchor baseline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jaehyeon-kr
Jaehyeon-kr merged commit dcf3301 into main Nov 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant