Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wangamber/llmspeechtest#44165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
amber-yujueWang wants to merge19 commits intoAzure:main
base:main
Choose a base branch
Loading
fromamber-yujueWang:wangamber/llmspeechtest

Conversation

@amber-yujueWang
Copy link
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read thecontribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR,see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@amber-yujueWangamber-yujueWang marked this pull request as ready for reviewNovember 25, 2025 00:47
CopilotAI review requested due to automatic review settingsNovember 25, 2025 00:47
Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull request overview

This pull request adds comprehensive test coverage for the azure-ai-transcription SDK, replacing auto-generated test templates with well-structured manual tests. The PR includes tests for synchronous and asynchronous clients covering URL-based transcription, file-based transcription, transcription options (profanity filtering, phrase lists, multiple locales), speaker diarization, enhanced mode, and client lifecycle management.

Key changes:

  • Added 14 new test files covering various transcription scenarios (basic, URL, file, options, diarization, enhanced mode, client management)
  • Implemented custom test preparer and conftest for test infrastructure with proper credential handling and sanitization
  • Added test assets (audio WAV files) and configuration files (.env.template, assets.json, .gitignore)
  • Removed 4 auto-generated test files from the generated_tests directory

Reviewed changes

Copilot reviewed 23 out of 25 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
tests/preparer.pyTest base class and environment loader with flexible credential handling
tests/conftest.pyPytest configuration with comprehensive sanitization for recordings
tests/test_transcription_*.py14 test files covering various transcription features and scenarios
tests/.env.templateEnvironment variable template for test configuration
tests/assets/*.wavTest audio files for transcription tests
assets.jsonTest asset configuration for Azure SDK test recordings
.gitignoreGit ignore patterns for Python artifacts and test data
generated_tests/*Removed auto-generated test templates (4 files)

import pytest
from devtools_testutils import recorded_by_proxy
from preparer import TranscriptionClientTestBase, TranscriptionPreparer
from azure.ai.transcription.models import TranscriptionOptions

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

TheTranscriptionOptions import is unused in this file. It should be removed to avoid unused imports.

Suggested change
from azure.ai.transcription.models import TranscriptionOptions

Copilot uses AI. Check for mistakes.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

@rhureyrhureyAwaiting requested review from rhureyrhurey is a code owner

@xitzhangxitzhangAwaiting requested review from xitzhangxitzhang is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

@amber-yujueWangamber-yujueWang

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@amber-yujueWang

[8]ページ先頭

©2009-2025 Movatter.jp