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 effectively the engineer uses the store.js library's get() method with default values to implement a preferences manager. The focus is specifically on proper usage of store.js API for retrieving values with fallback defaults.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses store.get()",
"description": "Each function uses store.get() or store().get() method to retrieve values from storage",
"max_score": 40
},
{
"name": "Provides default values",
"description": "Each store.get() call includes the correct default value as the second parameter (\"light\" for theme, \"en\" for language, true for notifications, { columns: 2, widgets: [] } for dashboardLayout)",
"max_score": 40
},
{
"name": "Correct storage keys",
"description": "Uses the exact storage keys specified in requirements (\"theme\", \"language\", \"notifications\", \"dashboardLayout\")",
"max_score": 20
}
]
}