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-7/

{
  "context": "This criteria evaluates how effectively the engineer uses the deep-eql package to implement deep equality comparison for plain objects. The focus is on correct usage of the deepEqual function and understanding of its behavior with nested objects and property ordering.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports deep-eql",
      "description": "The solution correctly imports the deep-eql package using require() or import statement (e.g., 'const deepEqual = require(\"deep-eql\")' or 'import deepEqual from \"deep-eql\"')",
      "max_score": 20
    },
    {
      "name": "Uses deepEqual function",
      "description": "The solution uses the deepEqual() function from deep-eql to compare the two configuration objects, passing both objects as arguments",
      "max_score": 40
    },
    {
      "name": "Returns boolean result",
      "description": "The solution correctly returns the boolean result from deepEqual() directly, without unnecessary transformations or additional logic",
      "max_score": 20
    },
    {
      "name": "Handles all test cases",
      "description": "The implementation correctly handles identical objects, different property orders, nested objects with differences, and empty objects as specified in the test cases",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-deep-eql

tile.json