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 retrieve and display file and directory properties. The focus is on proper client initialization, correct usage of property retrieval methods, and accessing relevant property attributes from the returned objects.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Service Client Creation",
"description": "Uses DataLakeServiceClient to connect to Azure Data Lake Storage with appropriate authentication (connection string, shared key, or token credential).",
"max_score": 10
},
{
"name": "File System Client",
"description": "Uses get_file_system_client() method or FileSystemClient to obtain a client for the specified file system.",
"max_score": 10
},
{
"name": "File Client Retrieval",
"description": "Uses get_file_client() or DataLakeFileClient to obtain a client for file paths.",
"max_score": 10
},
{
"name": "Directory Client Retrieval",
"description": "Uses get_directory_client() or DataLakeDirectoryClient to obtain a client for directory paths.",
"max_score": 10
},
{
"name": "File Properties Method",
"description": "Calls get_file_properties() method on DataLakeFileClient to retrieve file properties.",
"max_score": 15
},
{
"name": "Directory Properties Method",
"description": "Calls get_directory_properties() method on DataLakeDirectoryClient to retrieve directory properties.",
"max_score": 15
},
{
"name": "File Property Access",
"description": "Accesses relevant file properties from the returned FileProperties object including size, last_modified, content_settings (content_type), and metadata.",
"max_score": 10
},
{
"name": "Directory Property Access",
"description": "Accesses relevant directory properties from the returned DirectoryProperties object including creation_time, last_modified, owner, group, and metadata.",
"max_score": 10
},
{
"name": "POSIX Permissions",
"description": "Retrieves and displays POSIX permissions or ACL information from file or directory properties (e.g., permissions, acl attributes).",
"max_score": 5
},
{
"name": "Error Handling",
"description": "Uses try-except blocks to handle ResourceNotFoundError or HttpResponseError when paths do not exist or connection fails.",
"max_score": 5
}
]
}