Load data from databases to dataframes, the fastest way.
86
Quality
Pending
Does it follow best practices?
Impact
86%
1.04xAverage score across 10 eval scenarios
{
"context": "This criteria evaluates how well the engineer uses ConnectorX's protocol selection capabilities to optimize database queries. It focuses specifically on proper usage of the protocol parameter in read_sql() and understanding when to use binary vs CSV protocols.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Import connectorx",
"description": "The solution imports the connectorx package (typically as 'import connectorx as cx')",
"max_score": 10
},
{
"name": "Use read_sql function",
"description": "The solution uses connectorx.read_sql() or cx.read_sql() as the primary method to load data from the database",
"max_score": 20
},
{
"name": "Binary protocol selection",
"description": "When bandwidth is 'high', the solution correctly passes protocol='binary' to the read_sql() function",
"max_score": 25
},
{
"name": "CSV protocol selection",
"description": "When bandwidth is 'low', the solution correctly passes protocol='csv' to the read_sql() function",
"max_score": 25
},
{
"name": "Return protocol used",
"description": "The solution returns the protocol name ('binary' or 'csv') as part of the tuple, correctly identifying which protocol was used",
"max_score": 10
},
{
"name": "Input validation",
"description": "The solution validates the bandwidth parameter and raises ValueError for invalid values (not 'high' or 'low')",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-connectorxdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10