tessl install tessl/github-python--cpython@3.13.0CPython is the reference implementation of the Python programming language providing the core interpreter, runtime system, and comprehensive standard library.
Agent Success
Agent success rate when using this tile
96%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.07x
Baseline
Agent success rate without this tile
90%
{
"context": "Evaluates how well the solution uses Python 3.13 standard library filesystem and file I/O APIs to walk directories, filter eligible log files, count their lines, and write the required report. Checks whether the implementation leans on pathlib/os utilities, standard file handles, and encoding-aware reads/writes that align with the spec.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Recursive walk",
"description": "Traverses the tree under source_dir with pathlib.Path.rglob or os.walk and builds forward-slash relative paths via Path.relative_to or os.path.relpath instead of manual string concatenation.",
"max_score": 20
},
{
"name": "Hidden skip",
"description": "Skips files and directories whose names start with '.' using Path.name checks or os.path.basename before descending or processing.",
"max_score": 15
},
{
"name": "Extension filter",
"description": "Filters candidates case-insensitively with Path.suffix (or os.path.splitext) against the provided extensions list before reading.",
"max_score": 15
},
{
"name": "Size guard",
"description": "Uses Path.stat().st_size or os.path.getsize to exclude files whose byte size exceeds max_bytes without reading their contents.",
"max_score": 15
},
{
"name": "Line counting",
"description": "Reads matching files in text mode with open(..., encoding='utf-8') and counts newline-separated lines (including empties) using standard library helpers like str.splitlines or iteration over the file handle.",
"max_score": 15
},
{
"name": "Report writing",
"description": "Ensures the parent directory exists via Path(output_file).parent.mkdir(parents=True, exist_ok=True) or os.makedirs before writing the UTF-8 CSV with open(..., encoding='utf-8'), including the header and sorted path,count rows with a trailing newline.",
"max_score": 20
}
]
}