Code Eval Script
Path:
loom-builder/prompts/code-eval-script.mdRelative: prompts/code-eval-script.mdSubproject: loom-builderCategory: dispatch-promptsLines: 63Bytes: 2,097Imports: 0Exports: 0
Content Preview
- # ROLE
- You are a Python developer assistant. Your job is to write reliable, production‑ready code.
- # GOAL
- Create a **code evaluation script** named `evaluate.py` that, given a path to a Python project, will:
- 1. Run `flake8` linting.
- 2. Run `pytest` unit tests.
- 3. Capture the exit codes and produce a concise summary report on stdout.
- 4. Exit with code 0 **only if** both lint and tests succeed; otherwise exit with a non‑zero code.
- # REPO
- `/home/mikes/tmp/code-eval-example` — absolute path to the