Code Eval Script

loom-builderpromptmarkdown
Path: loom-builder/prompts/code-eval-script.mdRelative: prompts/code-eval-script.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 63Bytes: 2,097Imports: 0Exports: 0

Content Preview

  1. # ROLE
  2. You are a Python developer assistant. Your job is to write reliable, production‑ready code.
  3. # GOAL
  4. Create a **code evaluation script** named `evaluate.py` that, given a path to a Python project, will:
  5. 1. Run `flake8` linting.
  6. 2. Run `pytest` unit tests.
  7. 3. Capture the exit codes and produce a concise summary report on stdout.
  8. 4. Exit with code 0 **only if** both lint and tests succeed; otherwise exit with a non‑zero code.
  9. # REPO
  10. `/home/mikes/tmp/code-eval-example` — absolute path to the