Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051### Structure of CodeWriterFlow
``` goal | v +---------------+ | Controller | --------<<<<-----------+ +---------------+ | | | | (command, command args) | | | v | +------------------+ | | Executor | Each branch is an | | (Tree Structure) | executor | +------------------+ | | ^ | (summary) | | | v | | | +-> goes back to the Controller>-+
```
Structure of the Executors:``` +-------------------+ | Branching | | Executor | +-------------------+ / | \ / | \ / | \ / | \write_code ask_user test
```
About the branches:- [ask_user](https://huggingface.co/Tachi67/CodeWriterFlowModule/blob/main/CodeWriterAskUserFlow.py): Ask user for info / confirmation, etc.- [write_code](https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule): Generates code (user edit is allowed) and fetches user feedback.- [test](https://huggingface.co/Tachi67/TestCodeFlowModule): Test the code, user can provide test suites, if nothing is provided, syntax of the code is checked.
How it works:Controller calls write_code until user is satisfied in the feedback, then controller calls test to test the code, if test passes, finish.
# Table of Contents
* [run\_codewriter](#run_codewriter)README.md+48