tessl install tessl/npm-store@2.0.0A localStorage wrapper for all browsers without using cookies or flash, providing persistent client-side storage with automatic fallback and plugin architecture
Agent Success
Agent success rate when using this tile
75%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.96x
Baseline
Agent success rate without this tile
78%
{
"context": "This criteria evaluates how well the engineer uses the store.js v1-backcompat plugin to implement backwards compatibility features. The focus is on proper usage of the plugin to enable v1-style API methods and property access patterns.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Plugin integration",
"description": "Uses the v1-backcompat plugin with store.js by importing or requiring it, and adds it to a store instance using addPlugin() or includes it in a createStore() call with the plugins array parameter",
"max_score": 25
},
{
"name": "Property access",
"description": "Enables v1-style property getter/setter access (e.g., store.key = value and store.key) by properly integrating the v1-backcompat plugin which implements this via JavaScript Proxy or property descriptors",
"max_score": 20
},
{
"name": "Transact method",
"description": "Implements or utilizes the transact(key, fn) method provided by the v1-backcompat plugin, which allows updating values through a transformation function",
"max_score": 20
},
{
"name": "GetAll method",
"description": "Implements or utilizes the getAll() method from the v1-backcompat plugin to retrieve all stored key-value pairs as a plain object",
"max_score": 15
},
{
"name": "Custom serialization",
"description": "Configures custom serialize and deserialize functions using the v1-backcompat plugin's serialization configuration, ensuring they are applied to storage operations",
"max_score": 15
},
{
"name": "V2 compatibility",
"description": "Maintains access to v2 API methods (get, set, remove, clearAll) while the v1-backcompat plugin is active, demonstrating proper understanding that the plugin extends rather than replaces the v2 API",
"max_score": 5
}
]
}