CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-sqlmodel

SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness.

Overall
score

85%

Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer uses SQLModel's connection pooling features to configure production and test database engines. The focus is specifically on proper usage of create_engine parameters for pool configuration.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses create_engine",
      "description": "Both functions use create_engine() from SQLModel to create database engines",
      "max_score": 15
    },
    {
      "name": "Production pool_size",
      "description": "create_production_engine sets pool_size=10 parameter in create_engine",
      "max_score": 15
    },
    {
      "name": "Production max_overflow",
      "description": "create_production_engine sets max_overflow=5 parameter in create_engine",
      "max_score": 15
    },
    {
      "name": "Production pool_timeout",
      "description": "create_production_engine sets pool_timeout=30 parameter in create_engine",
      "max_score": 15
    },
    {
      "name": "Production pool_pre_ping",
      "description": "create_production_engine sets pool_pre_ping=True parameter in create_engine",
      "max_score": 15
    },
    {
      "name": "Test StaticPool",
      "description": "create_test_engine configures engine to use StaticPool via poolclass parameter or connect_args",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-sqlmodel

tile.json