CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-connectorx

Load data from databases to dataframes, the fastest way.

86

1.04x

Quality

Pending

Does it follow best practices?

Impact

86%

1.04x

Average score across 10 eval scenarios

Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "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
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-connectorx

tile.json