uttrflow / uttrflow/uttrflow-swift

Test VoiceActivity keeping the whole recording when it is loud but has no sustained speech run

Open Beginner friendly
#731 0 comments 0 reactions 0 assignees View on GitHub
area:dictation enhancement good first issue P2
Dominant language
Swift
Stars
4
Forks
17
Avg merge
3h 32m
Merged PRs (30d)
277

Description

## What happens

`Sources/UttrflowCore/Support/VoiceActivity.swift:42-46`: when a recording passes both loudness checks but `voicedFrames` finds no run of frames long enough to count as speech, the function keeps all of it (`0..`, then run `make verify` before pushing. Only tests change; no product code needs to.

**Size:** S.

Contributor guide

Open the contributing guide

Research direction

Read CONTRIBUTING.md, then inspect the VoiceActivity suite in Tests/UttrflowCoreTests/VoiceActivityTests.swift and reuse its sample builders with the listed constants. Add coverage for the loud-but-unsustained full-range fallback, empty percentile, and no-run path; run the filtered Swift tests, verify the tests fail when branches are temporarily broken, then run make verify.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
Half a day
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
90/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.