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-10/

{
  "context": "This evaluation assesses how well the engineer uses the azure-storage-file-datalake package to implement file download functionality from Azure DataLake Storage Gen2. The focus is on proper usage of the DataLake client classes, download methods, progress tracking callbacks, and content validation features.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Client initialization",
      "description": "Uses DataLakeServiceClient or DataLakeFileClient to establish connection to Azure DataLake Storage with proper authentication credentials (account_url and credential parameters).",
      "max_score": 15
    },
    {
      "name": "File client acquisition",
      "description": "Correctly obtains a DataLakeFileClient instance for the target file using get_file_system_client() and get_file_client() methods or equivalent factory methods.",
      "max_score": 15
    },
    {
      "name": "Basic download implementation",
      "description": "Implements basic file download using the download_file() method from DataLakeFileClient and properly writes the downloaded content to local storage using readall() or readinto() methods.",
      "max_score": 25
    },
    {
      "name": "Progress callback implementation",
      "description": "Implements progress tracking by passing a progress_hook or raw_response_hook callback to the download_file() method that receives and reports download progress information.",
      "max_score": 20
    },
    {
      "name": "Content validation",
      "description": "Implements MD5 validation by enabling validate_content=True parameter in the download_file() method or by using the content_md5 property from the download response.",
      "max_score": 20
    },
    {
      "name": "Error handling",
      "description": "Properly handles ResourceNotFoundError or similar exceptions when attempting to download non-existent files, allowing the exception to propagate or re-raising with appropriate error messages.",
      "max_score": 5
    }
  ]
}