Full-featured ORM library for Golang with associations, hooks, transactions, migrations, and developer-friendly chainable API
81
Pending
Does it follow best practices?
Impact
81%
1.12xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how well the engineer uses GORM's SQL generation capabilities to produce SQL statements without executing them. The focus is on proper usage of GORM's ToSQL method and DryRun mode for query inspection and debugging.",
"type": "weighted_checklist",
"checklist": [
{
"name": "ToSQL method usage",
"description": "Uses the ToSQL() method to generate SQL statements from GORM query chains without executing them. The method should be called on a properly configured *gorm.DB instance.",
"max_score": 40
},
{
"name": "Parameter extraction",
"description": "Correctly extracts and returns the parameter values (vars) that would be bound to the SQL statement. Parameters should be returned in the order they appear in the SQL.",
"max_score": 25
},
{
"name": "Query chain handling",
"description": "Properly preserves the entire GORM query chain (Where, Order, Limit, Joins, etc.) when generating SQL. All query building methods should be included in the final SQL output.",
"max_score": 20
},
{
"name": "Error handling",
"description": "Handles and returns errors that may occur during SQL generation, such as invalid queries or missing required fields.",
"max_score": 15
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10