CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-safe-stable-stringify

Deterministic and safely JSON.stringify to quickly serialize JavaScript objects

90

1.08x

Evaluation90%

1.08x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well the engineer uses safe-stable-stringify's deterministic key ordering capability to generate consistent hash strings from objects. The focus is on proper usage of the package's stringify function with deterministic behavior enabled by default.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports stringify",
      "description": "Uses require() or import to load the stringify function from the safe-stable-stringify package",
      "max_score": 15
    },
    {
      "name": "Uses stringify function",
      "description": "Calls the stringify() function (or a configured variant) from safe-stable-stringify to serialize objects into strings",
      "max_score": 35
    },
    {
      "name": "Leverages deterministic ordering",
      "description": "Relies on the default deterministic behavior of safe-stable-stringify (alphabetically sorted keys) without needing to explicitly configure it, OR explicitly configures deterministic: true if using configure()",
      "max_score": 30
    },
    {
      "name": "Returns string output",
      "description": "The function returns the string output from stringify() as the final hash representation, enabling consistent hashing",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-safe-stable-stringify

tile.json