CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-confusing-browser-globals

A curated list of browser globals that commonly cause confusion and are not recommended to use without an explicit window qualifier

96

1.10x
Quality

Pending

Does it follow best practices?

Impact

96%

1.10x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-4/

{
  "context": "This criteria evaluates how well the engineer uses the react-dev-utils package to format and display webpack compilation messages. The focus is on correct usage of the formatWebpackMessages function and proper handling of webpack stats objects.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import react-dev-utils",
      "description": "Correctly imports the formatWebpackMessages function from 'react-dev-utils/formatWebpackMessages' or requires the appropriate module from react-dev-utils",
      "max_score": 20
    },
    {
      "name": "Call formatWebpackMessages",
      "description": "Uses formatWebpackMessages function to process webpack stats errors and warnings arrays",
      "max_score": 30
    },
    {
      "name": "Handle formatted output",
      "description": "Properly extracts and uses the formatted messages returned by formatWebpackMessages (typically returns an object with 'errors' and 'warnings' arrays)",
      "max_score": 25
    },
    {
      "name": "Display formatted messages",
      "description": "Displays the formatted messages to console with appropriate headers (Failed to compile, Compiled with warnings, Compiled successfully)",
      "max_score": 15
    },
    {
      "name": "Return build status",
      "description": "Returns correct status object based on presence of errors and warnings as specified in the API",
      "max_score": 10
    }
  ]
}

tile.json