uttrflow / uttrflow/uttrflow-swift
Test VoiceActivity keeping the whole recording when it is loud but has no sustained speech run
- 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
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