Python supercharged for fastai development
56
{
"context": "This evaluation assesses how effectively the engineer uses fastcore's file and path operations to implement a code search and analysis tool. The focus is on using fastcore's enhanced file system utilities (walk, globtastic, pglob) rather than standard library alternatives.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Directory traversal",
"description": "Uses fastcore's walk() function or pglob() for recursive directory traversal in find_python_files() instead of os.walk or pathlib's glob methods",
"max_score": 30
},
{
"name": "Pattern matching",
"description": "Uses globtastic() for pattern-based file filtering with support for glob patterns when file_pattern parameter is provided",
"max_score": 25
},
{
"name": "Path object handling",
"description": "Returns Path objects from find_python_files() using pglob() or properly converts results to pathlib.Path objects",
"max_score": 15
},
{
"name": "File operations",
"description": "Uses fastcore's file reading utilities (maybe_open() or open_file()) in search_in_files() for proper file handling",
"max_score": 15
},
{
"name": "Directory filtering",
"description": "Implements exclude_dirs functionality correctly using fastcore's filtering capabilities within walk() or by filtering pglob() results",
"max_score": 10
},
{
"name": "Error handling",
"description": "Properly handles file access errors and encoding issues in search_in_files() as specified in requirements",
"max_score": 5
}
]
}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