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 evaluation assesses how well the engineer uses GORM's callback registration and ordering system to implement automatic audit logging. The focus is on proper use of callback functions, callback registration methods, and understanding callback execution timing.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Callback Registration",
"description": "Uses db.Callback() to access the callback processor and registers custom callbacks using Register() method for both Create and Update operations",
"max_score": 30
},
{
"name": "Callback Timing",
"description": "Registers callbacks with 'After' timing (e.g., 'gorm:after_create', 'gorm:after_update') to ensure audit logs are created after the main operation completes successfully",
"max_score": 25
},
{
"name": "Callback Function",
"description": "Implements callback functions that accept *gorm.DB parameter and properly extract model data using db.Statement to populate AuditLog records",
"max_score": 25
},
{
"name": "Query Implementation",
"description": "Uses GORM query methods (Where, Order, Find) to retrieve audit logs filtered by EntityID and ordered by Timestamp descending",
"max_score": 20
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10