Microsoft Azure Media Services Client Library for Python - A management library for Azure Media Services that provides programmatic access to media processing and streaming capabilities in the cloud.
83
Quality
Pending
Does it follow best practices?
Impact
83%
1.09xAverage score across 10 eval scenarios
{
"context": "This criteria evaluates how well the engineer uses the azure-mgmt-media package's AssetsOperations class to implement asset lifecycle management. It focuses on proper usage of asset creation, SAS URL generation, listing, and retrieval operations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Asset Creation",
"description": "Uses AssetsOperations.create_or_update() method to create assets. Properly passes asset_name, resource_group_name, and account_name parameters. Correctly constructs Asset object with properties like description, alternate_id, and storage_account_name.",
"max_score": 25
},
{
"name": "SAS URL Generation",
"description": "Uses AssetsOperations.list_container_sas() method to generate upload URLs. Properly constructs ListContainerSasInput with permissions (e.g., AssetContainerPermission.READ_WRITE or AssetContainerPermission.READ_WRITE_DELETE) and expiry_time. Returns both the asset container path and the SAS token URL.",
"max_score": 25
},
{
"name": "Asset Listing",
"description": "Uses AssetsOperations.list() method to retrieve assets. Implements OData filtering using the filter parameter (e.g., filtering by creation date). Implements ordering using the orderby parameter (e.g., 'properties/created' with 'asc' or 'desc'). Properly iterates through the paged results.",
"max_score": 25
},
{
"name": "Asset Retrieval",
"description": "Uses AssetsOperations.get() method to retrieve specific assets by name. Properly passes asset_name, resource_group_name, and account_name parameters. Returns the asset object with its properties accessible (e.g., asset_id, storage_account_name, alternate_id, description).",
"max_score": 20
},
{
"name": "Client Initialization",
"description": "Properly stores and uses the AzureMediaServices client instance. Accesses the client.assets property to get the AssetsOperations object. Uses the provided resource_group and account_name in all operations.",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-azure-mgmt-mediadocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10