Python supercharged for fastai development
56
{
"context": "This criteria evaluates how well the engineer uses fastcore's custom metaclasses (PrePostInitMeta, NewChkMeta) to implement a configuration management system with lifecycle hooks, proper signature introspection, and object identity management.",
"type": "weighted_checklist",
"checklist": [
{
"name": "PrePostInitMeta usage",
"description": "ConfigManager uses PrePostInitMeta as its metaclass to enable automatic calling of _setup() before __init__ and _validate() after __init__",
"max_score": 30
},
{
"name": "Lifecycle hooks implementation",
"description": "ConfigManager correctly implements _setup() and _validate() methods that are automatically called at the right times during object initialization via PrePostInitMeta",
"max_score": 15
},
{
"name": "NewChkMeta usage",
"description": "ValidatedConfigManager uses NewChkMeta as its metaclass to avoid recreating objects when an existing instance is passed to the constructor with no additional arguments",
"max_score": 30
},
{
"name": "Signature preservation",
"description": "Both classes properly maintain their __signature__ attributes for IDE support despite overriding __new__, leveraging FixSigMeta behavior inherited by PrePostInitMeta and NewChkMeta",
"max_score": 15
},
{
"name": "Settings storage",
"description": "Both classes properly store settings dictionary values as instance attributes (e.g., settings={'host': 'localhost'} results in self.host = 'localhost')",
"max_score": 10
}
]
}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