or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/azure-storage-file-datalake@12.21.x
tile.json

tessl/pypi-azure-storage-file-datalake

tessl install tessl/pypi-azure-storage-file-datalake@12.21.0

Microsoft 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%

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well the engineer uses the azure-storage-file-datalake package to perform rename operations on files and directories in Azure DataLake Storage Gen2. It focuses specifically on the correct usage of DataLakeDirectoryClient.rename_directory() and DataLakeFileClient.rename_file() methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Service client initialization",
      "description": "Uses DataLakeServiceClient to initialize the service client with the account URL and credential",
      "max_score": 15
    },
    {
      "name": "File system client access",
      "description": "Obtains FileSystemClient from DataLakeServiceClient using get_file_system_client() method with the file system name",
      "max_score": 10
    },
    {
      "name": "Directory client creation",
      "description": "Creates DataLakeDirectoryClient using get_directory_client() method from FileSystemClient for directory rename operations",
      "max_score": 10
    },
    {
      "name": "Directory rename execution",
      "description": "Uses DataLakeDirectoryClient.rename_directory() method to perform the directory rename operation, passing the new directory path",
      "max_score": 25
    },
    {
      "name": "File client creation",
      "description": "Creates DataLakeFileClient using get_file_client() method from FileSystemClient for file rename operations",
      "max_score": 10
    },
    {
      "name": "File rename execution",
      "description": "Uses DataLakeFileClient.rename_file() method to perform the file rename/move operation, passing the new file path",
      "max_score": 25
    },
    {
      "name": "Error handling",
      "description": "Properly handles exceptions such as ResourceNotFoundError or HttpResponseError when rename operations fail",
      "max_score": 5
    }
  ]
}