Improved deep equality testing for Node.js and the browser with support for complex types and circular references.
Overall
score
96%
{
"context": "This criteria evaluates how effectively the engineer uses the deep-eql package to compare ArrayBuffer and DataView instances. The focus is on proper usage of the deep-eql library's comparison capabilities for binary data structures.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Import deep-eql",
"description": "Correctly imports the deepEqual function from the deep-eql package (e.g., using require('deep-eql') or import deepEqual from 'deep-eql')",
"max_score": 15
},
{
"name": "Use deepEqual function",
"description": "Uses the deepEqual function as the primary comparison mechanism for binary data structures rather than implementing custom byte-by-byte comparison logic",
"max_score": 40
},
{
"name": "ArrayBuffer comparison",
"description": "Successfully compares ArrayBuffer instances using deepEqual, demonstrating that the function correctly handles ArrayBuffer-to-ArrayBuffer comparisons",
"max_score": 20
},
{
"name": "DataView comparison",
"description": "Successfully compares DataView instances using deepEqual, demonstrating that the function correctly handles DataView-to-DataView comparisons",
"max_score": 15
},
{
"name": "Cross-type comparison",
"description": "Successfully compares ArrayBuffer with DataView instances using deepEqual, demonstrating understanding that deep-eql handles different binary data type comparisons",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-deep-eqldocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10