CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-electron-debug

Adds useful debug features to your Electron app

86

1.19x
Overview
Eval results
Files

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how effectively the engineer uses the electron-debug package to implement debugging tool wrappers. The focus is on correctly importing and utilizing the package's exported functions for initialization and DevTools management.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports electron-debug correctly",
      "description": "The solution imports the electron-debug package with both the default export (debug initialization function) and named exports (devTools, openDevTools functions)",
      "max_score": 15
    },
    {
      "name": "Uses default export for initialization",
      "description": "The initDebug function uses electron-debug's default export to initialize debugging capabilities, passing through the options parameter",
      "max_score": 25
    },
    {
      "name": "Uses devTools named export",
      "description": "The toggleDevTools function uses the devTools named export from electron-debug to toggle DevTools state, not implementing custom toggle logic",
      "max_score": 20
    },
    {
      "name": "Uses openDevTools named export",
      "description": "The openDevTools wrapper function uses the openDevTools named export from electron-debug to open DevTools, not using custom webContents methods",
      "max_score": 20
    },
    {
      "name": "Window parameter handling",
      "description": "The toggleDevTools and openDevTools functions correctly pass the window parameter to the underlying electron-debug functions, maintaining the optional window behavior",
      "max_score": 10
    },
    {
      "name": "Proper function delegation",
      "description": "All wrapper functions are thin wrappers that delegate to electron-debug functions without adding unnecessary custom logic or reimplementing package capabilities",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-electron-debug

tile.json