A slightly nicer interface to Postgres over node-libpq providing both sync and async operations
87
Pending
Does it follow best practices?
Impact
87%
1.19xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates the engineer's ability to use the pg package's replication connection mode feature. The focus is on correctly configuring the connection with the replication parameter and successfully executing replication-specific queries.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Replication parameter usage",
"description": "Client or connection is configured with the 'replication' parameter set to enable replication mode (e.g., { replication: true } or replication: 'database')",
"max_score": 30
},
{
"name": "Client instantiation",
"description": "Uses the pg.Client class or Pool class to create a database connection object",
"max_score": 15
},
{
"name": "Connection establishment",
"description": "Calls the connect() method or uses pool.connect() to establish the database connection",
"max_score": 15
},
{
"name": "Query execution",
"description": "Uses the query() method to execute SQL statements against the PostgreSQL server",
"max_score": 15
},
{
"name": "Result handling",
"description": "Accesses query results correctly through the result object's rows property or other appropriate result properties",
"max_score": 15
},
{
"name": "Connection cleanup",
"description": "Calls end() method to properly close the client connection or releases the pooled client",
"max_score": 10
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10