Deterministic and safely JSON.stringify to quickly serialize JavaScript objects
89
Pending
Does it follow best practices?
Impact
89%
1.08xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10