Ctrl + k

or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/connectorx@0.4.x
tile.json

tessl/pypi-connectorx

tessl install tessl/pypi-connectorx@0.4.0

Load 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%

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates the engineer's ability to use ConnectorX for database connection management. It assesses proper usage of connection strings, protocol selection, connection validation through read_sql calls, and error handling specific to ConnectorX's API.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "connectorx.read_sql Usage",
      "description": "Uses connectorx.read_sql() or cx.read_sql() function to establish connections and execute queries. This is the primary API for database interaction in ConnectorX.",
      "max_score": 30
    },
    {
      "name": "Connection String Handling",
      "description": "Properly uses connection string parameter in read_sql() calls. Connection strings should be passed as the first argument (conn parameter) and should support multiple database types (PostgreSQL, MySQL, SQLite formats).",
      "max_score": 20
    },
    {
      "name": "Protocol Parameter",
      "description": "Implements protocol selection by using the 'protocol' parameter in read_sql() calls. Should support protocol values like 'binary', 'csv', 'cursor', 'text', or 'simple' as documented in ConnectorX.",
      "max_score": 15
    },
    {
      "name": "Connection Validation",
      "description": "Validates database connections by attempting read_sql() calls and properly catching exceptions. Should use try-except blocks to handle connection failures gracefully.",
      "max_score": 15
    },
    {
      "name": "Multiple Database Support",
      "description": "Correctly handles multiple database connections independently, executing read_sql() for each database configuration. Should iterate through database configurations and maintain separate connection attempts.",
      "max_score": 10
    },
    {
      "name": "Return Type Handling",
      "description": "Properly handles the DataFrame return type from read_sql(). Should recognize that read_sql() returns pandas DataFrames by default and handle the results appropriately.",
      "max_score": 5
    },
    {
      "name": "Error Information Capture",
      "description": "Captures and returns meaningful error information when connections fail. Should extract exception details from ConnectorX errors and include them in validation results.",
      "max_score": 5
    }
  ]
}