tessl install tessl/pypi-azure-storage-file-datalake@12.21.0Microsoft Azure File DataLake Storage Client Library for Python
Agent Success
Agent success rate when using this tile
92%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.99x
Baseline
Agent success rate without this tile
93%
{
"context": "This criteria evaluates how well the engineer uses the azure-storage-file-datalake package to implement metadata management for files in Azure Data Lake Storage Gen2. The focus is on proper client initialization, correct method usage for getting and setting metadata, and appropriate handling of metadata operations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client Initialization",
"description": "Correctly initializes DataLakeServiceClient or FileSystemClient using the account_url and credential parameters. Uses get_file_system_client() or get_file_client() to obtain the appropriate client for operations.",
"max_score": 20
},
{
"name": "File Client Creation",
"description": "Properly creates DataLakeFileClient instances for each file operation using get_file_client() method with the file_path parameter.",
"max_score": 15
},
{
"name": "Set Metadata Method",
"description": "Uses the set_metadata() method on DataLakeFileClient to add or update metadata. Passes metadata as a dictionary parameter to the method.",
"max_score": 25
},
{
"name": "Get Metadata Method",
"description": "Uses get_file_properties() method on DataLakeFileClient and accesses the metadata attribute from the returned properties object to retrieve metadata.",
"max_score": 25
},
{
"name": "Metadata Key Check",
"description": "Implements has_metadata_key() by retrieving metadata using get_file_properties() and checking if the key exists in the metadata dictionary using Python's 'in' operator or .get() method.",
"max_score": 15
}
]
}