Adds useful debug features to your Electron app
86
{
"context": "This criteria evaluates how well the engineer uses the electron-debug package to implement window refresh functionality that bypasses the cache. The focus is on proper usage of the package's refresh() function and understanding its cache-ignoring behavior.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses refresh function",
"description": "Implementation imports and uses the refresh() function from the electron-debug package rather than implementing manual reload logic",
"max_score": 40
},
{
"name": "Correct function signature",
"description": "The implemented function accepts an optional BrowserWindow parameter matching the electron-debug refresh() API signature",
"max_score": 20
},
{
"name": "Delegates to electron-debug",
"description": "Implementation properly delegates the refresh operation to electron-debug's refresh() function, passing the window parameter through",
"max_score": 25
},
{
"name": "Handles focused window",
"description": "When no window parameter is provided, correctly relies on electron-debug's default behavior to target the focused window",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-electron-debugdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10