CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/github-python--cpython

CPython is the reference implementation of the Python programming language providing the core interpreter, runtime system, and comprehensive standard library.

96

1.06x
Quality

Pending

Does it follow best practices?

Impact

96%

1.06x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

This tile was archived by the owner on Feb 5, 2026

Reason: Github package not supported

Overview
Eval results
Files

criteria.jsonevals/scenario-7/

{
  "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
    }
  ]
}

tile.json