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

{
  "context": "This criteria evaluates how well the engineer uses ConnectorX's pre-execution query configuration feature to run database session configuration commands before executing the main query. The focus is on proper use of the queries_before parameter with the read_sql function.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import connectorx",
      "description": "Correctly imports the connectorx package (typically as 'cx' or using 'from connectorx import read_sql')",
      "max_score": 10
    },
    {
      "name": "Use read_sql function",
      "description": "Uses the read_sql function from connectorx to execute queries and load data into a dataframe",
      "max_score": 20
    },
    {
      "name": "Pass queries_before parameter",
      "description": "Correctly passes the queries_before parameter to read_sql with the list of pre-execution configuration statements",
      "max_score": 35
    },
    {
      "name": "Configure session parameters",
      "description": "Properly formats and passes session configuration statements (e.g., SET commands) through queries_before for PostgreSQL or MySQL",
      "max_score": 25
    },
    {
      "name": "Return query results",
      "description": "Successfully returns the dataframe containing the query results after applying the pre-execution configuration",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-connectorx

tile.json