tessl install tessl/pypi-frozendict@2.4.0A simple immutable dictionary implementation with hashing support and performance optimizations
Agent Success
Agent success rate when using this tile
85%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.31x
Baseline
Agent success rate without this tile
65%
{
"context": "This criteria evaluates how well the engineer uses the frozendict package to implement a configuration reader with read-only dictionary operations. The focus is on proper usage of frozendict's construction, safe value retrieval, key access, and membership testing capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "frozendict Construction",
"description": "Uses frozendict() constructor to create an immutable dictionary from the input config dict in __init__. The frozendict should be stored as an instance attribute and used for all subsequent operations.",
"max_score": 25
},
{
"name": "get() Method Usage",
"description": "Uses frozendict's get() method to retrieve configuration values by key in the ConfigReader's get() method. Should properly handle the default parameter, returning the default value when key is not found.",
"max_score": 25
},
{
"name": "keys() Method Usage",
"description": "Uses frozendict's keys() method to return all configuration keys in the keys() method. The returned value should be the keys view from frozendict, not a manually constructed list.",
"max_score": 25
},
{
"name": "Membership Testing",
"description": "Uses the 'in' operator (or equivalent has_key/contains check) on the frozendict to check key existence in the has_keys() method. Should properly iterate through the provided keys list and check each key's presence in the frozendict.",
"max_score": 25
}
]
}