Ctrl + k

or run

tessl search
Log in

Version

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

tessl/pypi-sqlmodel

tessl install tessl/pypi-sqlmodel@0.0.0

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

Agent Success

Agent success rate when using this tile

85%

Improvement

Agent success rate improvement when using this tile compared to baseline

1x

Baseline

Agent success rate without this tile

85%

rubric.jsonevals/scenario-10/

{
  "context": "This criteria evaluates how well the engineer uses SQLModel's database engine and table creation capabilities. The focus is on proper usage of create_engine(), SQLModel class definitions with table=True, and metadata.create_all() for schema generation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "SQLModel class usage",
      "description": "Uses SQLModel as base class for both Project and Task models with table=True parameter to mark them as database tables",
      "max_score": 20
    },
    {
      "name": "Field definitions",
      "description": "Uses Field() function appropriately for configuring primary keys (primary_key=True) and foreign keys (foreign_key parameter) in model definitions",
      "max_score": 20
    },
    {
      "name": "Engine creation",
      "description": "Uses create_engine() function with appropriate SQLite connection string (e.g., 'sqlite:///:memory:' or similar)",
      "max_score": 25
    },
    {
      "name": "Table creation",
      "description": "Uses SQLModel.metadata.create_all(engine) or similar to generate database tables from model definitions",
      "max_score": 25
    },
    {
      "name": "Session initialization",
      "description": "Creates and returns a Session object bound to the engine for database operations",
      "max_score": 10
    }
  ]
}