Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JamesVorder/python-tddpp

Repository files navigation

TDD++

The goal of this tool is to bring TDD to the next level. Rather than writing tests first, let's write tests only. Provided is a command line tool, which, given a class skeleton and a test suite, will generate successive class implementations until all tests pass.

This work is heavily based off of the work in Mohannadcse/AlloySpecRepair.

Dependencies

  • ollama
  • llama3:latest
  • poetry

Serving Your Own LLM

In order to run the code as-is, you must self serve your own LLM locally. Currently, this is hard-coded to llama3:latest. If you have ollama installed, self serving this LLM locally is trivial:

ollama serve
ollama run llama3:latest

Running The Tool

For usage information, run:

poetry run python -m main --help

Roadmap

  • Containerization
  • Configurable OpenAI API key for ChatGPT usage

About

This LLM generates code based on tests, and makes sure they pass.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /