tessl install tessl/pypi-fastcore@1.8.0Python supercharged for fastai development
Agent Success
Agent success rate when using this tile
56%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.37x
Baseline
Agent success rate without this tile
41%
{
"context": "This criteria evaluates how well the engineer uses fastcore's attribute access and delegation utilities to implement a configuration manager. The focus is on proper usage of store_attr(), nested_attr(), GetAttr delegation, and multi-attribute operations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses store_attr()",
"description": "The Config class __init__ method uses fastcore's store_attr() function to automatically store keyword arguments as instance attributes, rather than manually assigning them.",
"max_score": 25
},
{
"name": "Uses nested_attr()",
"description": "The get_nested() method uses fastcore's nested_attr() function to access nested attributes using dot-separated path strings.",
"max_score": 20
},
{
"name": "Implements nested check",
"description": "The has_nested() method properly checks for nested attribute existence, using appropriate fastcore utilities like hasattrs() or a try-except with nested_attr().",
"max_score": 15
},
{
"name": "Uses GetAttr delegation",
"description": "The ConfigWithDefaults class uses fastcore's GetAttr class or similar delegation pattern to automatically delegate attribute access to the default configuration when attributes are not found in the user configuration.",
"max_score": 25
},
{
"name": "Uses getattrs()",
"description": "The get_attrs() method uses fastcore's getattrs() function to retrieve multiple attributes at once and return them as a tuple.",
"max_score": 15
}
]
}