Python supercharged for fastai development
56
{
"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
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-fastcoredocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10