tessl install tessl/pypi-apache-airflow-providers-ftp@3.13.0Provider package for Apache Airflow that enables FTP file transfer protocol operations including hooks, operators, and sensors for workflow integration.
Agent Success
Agent success rate when using this tile
84%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.06x
Baseline
Agent success rate without this tile
79%
{
"context": "This evaluation assesses how well the engineer uses the apache-airflow-providers-ftp package to perform in-memory FTP file operations using file-like buffer objects. The focus is on proper usage of FTPHook with BytesIO or StringIO to avoid disk I/O.",
"type": "weighted_checklist",
"checklist": [
{
"name": "FTPHook instantiation",
"description": "Uses FTPHook class from airflow.providers.ftp.hooks.ftp to establish FTP connection with proper connection parameters (host, username, password)",
"max_score": 15
},
{
"name": "BytesIO for download",
"description": "Uses BytesIO (or similar file-like buffer object from io module) to store downloaded file content in memory when calling retrieve_file() method",
"max_score": 25
},
{
"name": "retrieve_file() usage",
"description": "Correctly uses FTPHook.retrieve_file() method with remote path and file-like buffer object to download the CSV file from FTP server",
"max_score": 20
},
{
"name": "BytesIO for upload",
"description": "Uses BytesIO (or similar file-like buffer object from io module) to hold processed CSV content before uploading, properly seeking to beginning of buffer before upload",
"max_score": 20
},
{
"name": "store_file() usage",
"description": "Correctly uses FTPHook.store_file() method with remote path and file-like buffer object to upload the processed CSV file to FTP server",
"max_score": 20
}
]
}