CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-safe-stable-stringify

Deterministic and safely JSON.stringify to quickly serialize JavaScript objects

89

1.08x
Quality

Pending

Does it follow best practices?

Impact

89%

1.08x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.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
    }
  ]
}

tile.json