CodeTutorGPT is an interactive programming language tutor. It provides lessons, assigns coding tasks to test users' understanding, and offers tailored feedback on their progress.
Screencast.from.10-04-23.18.38.21.webm
- Encourages active learning
- Automatic code compilation and execution
- Code and error feedback
- User interaction through `user_feedback.py`
- Clone the repository.
- Install dependencies:
pip install -r requirements.txt
- Run the main script.
python src/main.py
- Modify the 'lesson.c' or 'lesson.py' file to complete the assigned tasks.
- Use the 'user_feedback.py' chat or 'user_feedback.txt' to communicate with the tutor.
- Monitor the output for feedback from the AI tutor.
- To provide feedback or interact with the tutor, use
python src/user_feedback.py
.
- GCC (for compiling C code)
[ ] Config file to easily change language etc
[ ] Embedding spaces for languages/user context?
This project is released under the MIT License.