A simple immutable dictionary implementation with hashing support and performance optimizations
85
Pending
Does it follow best practices?
Impact
85%
1.30xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This evaluation assesses how well the engineer uses frozendict's index-based access methods (key(), value(), and item()) to implement positional retrieval of configuration items. The focus is on proper usage of these specific frozendict API methods rather than general programming practices.",
"type": "weighted_checklist",
"checklist": [
{
"name": "frozendict instantiation",
"description": "Uses frozendict to store the configuration data in the __init__ method (e.g., self._config = frozendict(config_data))",
"max_score": 20
},
{
"name": "key() method usage",
"description": "Uses frozendict's key(index) method in get_key_at() to retrieve keys by position, correctly passing the index parameter",
"max_score": 25
},
{
"name": "value() method usage",
"description": "Uses frozendict's value(index) method in get_value_at() to retrieve values by position, correctly passing the index parameter",
"max_score": 25
},
{
"name": "item() method usage",
"description": "Uses frozendict's item(index) method in get_item_at() to retrieve key-value tuples by position, correctly passing the index parameter",
"max_score": 25
},
{
"name": "IndexError propagation",
"description": "Allows frozendict's built-in IndexError exceptions to propagate naturally without catching or re-raising them unnecessarily",
"max_score": 5
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10