Skip to content

Instantly share code, notes, and snippets.

View CodyBontecou's full-sized avatar
💭
is enjoying life

Cody Bontecou CodyBontecou

💭
is enjoying life
View GitHub Profile
@CodyBontecou
CodyBontecou / tdd.sh
Created March 3, 2025 06:02 — forked from codeinthehole/tdd.sh
A Bash script for running an iterative TDD loop using an LLM to make a set of tests pass
#!/usr/bin/env bash
#
# A Bash script to run a TDD loop for building a Python module to pass tests.
set -euo pipefail
# How many times to loop.
ATTEMPTS=4
# The system prompt to use when creating the initial version.