Python supercharged for fastai development
56
{
"context": "This criteria evaluates how well the engineer uses fastcore's advanced function wrapping utilities, specifically the autostart() function for auto-starting generators and trim_wraps() decorator for hiding parameters from function signatures.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses autostart()",
"description": "The make_autostart() function uses fastcore's autostart() function to wrap the generator function, rather than implementing manual generator starting logic.",
"max_score": 40
},
{
"name": "Uses trim_wraps()",
"description": "The hide_params() function uses fastcore's trim_wraps() decorator to remove the first n parameters from the function signature, rather than implementing custom signature manipulation.",
"max_score": 40
},
{
"name": "Correct autostart implementation",
"description": "The make_autostart() wrapper correctly returns a function that, when called, returns an auto-started generator that can immediately receive values via send().",
"max_score": 10
},
{
"name": "Correct hide_params implementation",
"description": "The hide_params(n) decorator correctly hides the first n parameters from the wrapped function's signature while preserving the function's ability to accept those parameters at runtime.",
"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