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

{
  "context": "This criteria evaluates how effectively the engineer uses the safe-stable-stringify package to serialize TypedArray instances with their custom properties. The focus is on proper usage of the package's TypedArray serialization capability and deterministic ordering features.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses safe-stable-stringify",
      "description": "Imports and uses the safe-stable-stringify package (either the default stringify function or a configured version via configure())",
      "max_score": 25
    },
    {
      "name": "TypedArray serialization",
      "description": "Correctly serializes TypedArray numeric indices and values using safe-stable-stringify (not manual JSON.stringify or other methods)",
      "max_score": 30
    },
    {
      "name": "Custom property handling",
      "description": "Successfully serializes custom properties attached to TypedArray instances, leveraging safe-stable-stringify's automatic property enumeration",
      "max_score": 20
    },
    {
      "name": "Deterministic ordering",
      "description": "Uses safe-stable-stringify's deterministic key ordering feature (default behavior or explicit deterministic: true configuration) to ensure consistent output",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

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

tile.json