CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-deep-eql

Improved deep equality testing for Node.js and the browser with support for complex types and circular references.

Overall
score

96%

Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how well the engineer uses the deep-eql package to implement proper NaN equality handling in the data validation utility. The focus is on correct usage of the deepEqual function and understanding of its NaN handling behavior.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports deep-eql",
      "description": "The implementation correctly imports the deepEqual function from the deep-eql package using require or import statement",
      "max_score": 15
    },
    {
      "name": "Uses deepEqual function",
      "description": "The compareDatasets function uses deep-eql's deepEqual function to perform the comparison rather than attempting to implement custom comparison logic",
      "max_score": 35
    },
    {
      "name": "Proper function signature",
      "description": "The deepEqual function is called with the two dataset parameters (dataset1 and dataset2) as required by the deep-eql API",
      "max_score": 15
    },
    {
      "name": "Returns comparison result",
      "description": "The compareDatasets function returns the boolean result from deepEqual without unnecessary modification",
      "max_score": 20
    },
    {
      "name": "Exports correctly",
      "description": "The compareDatasets function is properly exported using module.exports as specified in the API",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-deep-eql

tile.json