Auto-generated tile from GitHub (10 skills)
92
94%
Does it follow best practices?
Impact
92%
1.16xAverage score across 44 eval scenarios
Advisory
Suggest reviewing before use
{
"context": "Tests whether the agent uses @fastify/under-pressure for automatic load shedding with a 503 pressure handler, uses async-cache-dedupe to deduplicate expensive calls, and defines response schemas on every route.",
"type": "weighted_checklist",
"checklist": [
{
"name": "@fastify/under-pressure registered",
"description": "The code imports from '@fastify/under-pressure' and calls app.register(underPressure, ...) with a configuration object",
"max_score": 12
},
{
"name": "maxEventLoopDelay set",
"description": "The under-pressure config includes a numeric `maxEventLoopDelay` value (milliseconds)",
"max_score": 10
},
{
"name": "pressureHandler sends 503",
"description": "The under-pressure config includes a `pressureHandler` function that calls reply.code(503) before sending a response",
"max_score": 13
},
{
"name": "Additional pressure threshold",
"description": "The under-pressure config includes at least one of: maxHeapUsedBytes, maxRssBytes, or maxEventLoopUtilization",
"max_score": 5
},
{
"name": "async-cache-dedupe imported",
"description": "The code imports `createCache` (or equivalent) from 'async-cache-dedupe'",
"max_score": 15
},
{
"name": "cache.define() used",
"description": "cache.define() is called to register at least one named cached function that wraps a database query or expensive operation",
"max_score": 12
},
{
"name": "Cache TTL configured",
"description": "The createCache() call includes a numeric `ttl` option (seconds)",
"max_score": 8
},
{
"name": "Cache storage type set",
"description": "The createCache() call includes a `storage` option with a `type` field set to 'memory' or 'redis'",
"max_score": 5
},
{
"name": "Response schemas on all routes",
"description": "Every app.get / app.post / app.put / app.delete route definition includes a `schema` property with a `response` key defining at least the 200 (or 201) response shape",
"max_score": 15
},
{
"name": "Cached function called in handler",
"description": "At least one route handler calls the cached function (defined via cache.define) rather than querying the database or service directly",
"max_score": 5
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
scenario-36
scenario-37
scenario-38
scenario-39
scenario-40
scenario-41
scenario-42
scenario-43
scenario-44
skills
documentation
fastify
init
linting-neostandard-eslint9
node
nodejs-core
rules
oauth
octocat
snipgrapher