Conversation
Introduce a new test suite `test_17_eou_feou.py` to validate voice transcription using fixed and adaptive turn detection methods. This suite employs samples from `audio_09_16kHz.wav`, testing transcription accuracy against expected segments while considering various VAD delays and endpoints. A rigorous validation process checks segment alignment, speaker accuracy, and character error rates, aiding robustness in end-of- utterance (EOU) and final-end-of-utterance (FEOU) scenarios. Skips occur if missing API keys or when run in CI environments.
Update existing audio test assets to enhance quality and verification accuracy. Add new audio files (audio_07a_16kHz.wav, audio_07b_16kHz.wav, audio_08_16kHz.wav, audio_09_16kHz.wav) to expand coverage and accommodate new test scenarios. These changes ensure more comprehensive testing of the voice processing features.
Contributor
|
Have you tested these files work? |
| @@ -0,0 +1,358 @@ | |||
| import datetime | |||
Contributor
There was a problem hiding this comment.
Is adding this test intentional? If so, could you update the MR description to include adding this?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test WAV files for the Voice SDK appear to have been broken, so this restores the originals.