Python supercharged for fastai development
56
Pending
Does it follow best practices?
Impact
56%
1.36xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This evaluation assesses how well the engineer uses fastcore's working_directory() context manager to temporarily change the working directory while loading configuration files from multiple locations. The focus is on proper usage of this specific fastcore utility rather than general programming practices.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses working_directory()",
"description": "The solution imports and uses fastcore.xtras.working_directory() (or from fastcore.all import working_directory) to temporarily change directories when reading config files",
"max_score": 40
},
{
"name": "Context manager pattern",
"description": "The working_directory() is used with the 'with' statement to ensure automatic restoration of the original working directory",
"max_score": 25
},
{
"name": "Temporary directory changes",
"description": "For each config directory, the solution uses working_directory() to temporarily switch to that directory before reading the config.ini file, rather than constructing absolute paths or permanently changing directories",
"max_score": 20
},
{
"name": "No manual chdir",
"description": "The solution does not use os.chdir() or similar manual directory changing functions, relying entirely on working_directory() for directory changes",
"max_score": 15
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10