Creates a WebGL context without a window for headless rendering and server-side graphics
Overall
score
96%
{
"context": "This criteria evaluates how well the engineer uses the gl package's state management API (enable, disable, isEnabled methods) to implement the WebGL State Manager. The focus is on proper usage of these core WebGL state control functions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses gl.enable()",
"description": "The enableCapability function correctly calls gl.enable() to activate the specified WebGL capability",
"max_score": 25
},
{
"name": "Uses gl.disable()",
"description": "The disableCapability function correctly calls gl.disable() to deactivate the specified WebGL capability",
"max_score": 25
},
{
"name": "Uses gl.isEnabled()",
"description": "The isCapabilityEnabled function correctly calls gl.isEnabled() to check the status of the specified WebGL capability and returns the result",
"max_score": 30
},
{
"name": "Correct parameter passing",
"description": "All functions correctly pass the capability parameter to the corresponding gl methods without modification or transformation",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-gldocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10