tessl install tessl/pypi-connectorx@0.4.0Load data from databases to dataframes, the fastest way.
Agent Success
Agent success rate when using this tile
86%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.05x
Baseline
Agent success rate without this tile
82%
{
"context": "This evaluation assesses how well the engineer uses ConnectorX's parallel query partitioning capability to load data from a PostgreSQL database. The focus is on proper use of the read_sql() function with partitioning parameters.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses read_sql function",
"description": "The implementation imports and uses connectorx.read_sql() as the primary method for loading data from the database",
"max_score": 25
},
{
"name": "Partition configuration",
"description": "The implementation correctly uses the partition_on parameter to specify the partition column and partition_num parameter to specify the number of partitions",
"max_score": 30
},
{
"name": "Connection string usage",
"description": "The implementation correctly passes the PostgreSQL connection string to read_sql() without modification or unnecessary wrapper functions",
"max_score": 15
},
{
"name": "Query parameter usage",
"description": "The implementation correctly passes the SQL query to read_sql() as the sql parameter",
"max_score": 15
},
{
"name": "Return type handling",
"description": "The implementation returns the pandas DataFrame directly from read_sql() without unnecessary transformations (read_sql returns pandas DataFrame by default)",
"max_score": 15
}
]
}