tessl install tessl/pypi-sqlmodel@0.0.0SQLModel, 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%
{
"context": "This criteria evaluates how well the engineer uses SQLModel's inspection and metadata capabilities to introspect database model structure, retrieve column information, and access table metadata.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses inspect()",
"description": "Uses SQLModel's inspect() or SQLAlchemy's inspect() function to introspect the model class structure rather than manually accessing attributes",
"max_score": 30
},
{
"name": "Accesses column information",
"description": "Correctly accesses column information through the inspection API (e.g., via columns attribute or mapper.columns) to retrieve column names and properties",
"max_score": 25
},
{
"name": "Retrieves column types",
"description": "Uses the appropriate API to retrieve SQL type information from columns (e.g., accessing column.type or using type representation methods)",
"max_score": 20
},
{
"name": "Identifies primary keys",
"description": "Uses the inspection API to identify primary key columns (e.g., checking column.primary_key attribute or accessing mapper.primary_key)",
"max_score": 15
},
{
"name": "Accesses table metadata",
"description": "Uses the metadata or __tablename__ attribute to retrieve the table name associated with the model",
"max_score": 10
}
]
}