From c62643e4ac9dbfc2889731497a4daf6d3c4f9e09 Mon Sep 17 00:00:00 2001 From: lightningRalf <126403501+lightningRalf@users.noreply.github.com> Date: Sun, 16 Apr 2023 04:34:02 +0200 Subject: [PATCH 1/7] Update README.md - made the GPT-4 warning more destinct - added licence, workflow buttons (should be added in the workflow sections) - added symbols - changed title from ## about to ## Why you need this? --- README.md | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6d29bd7..7204342 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,18 @@ # Wolverine -## About +[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) +[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/bio_bootloader.svg?style=social&label=Follow%20%40bio_bootloader)](https://twitter.com/bio_bootloader) [![Downloads](https://static.pepy.tech/badge/wolverine/month)](https://pepy.tech/project/wolverine) + +## 🤔 Why you need this? Give your python scripts regenerative healing abilities! Run your scripts with Wolverine and when they crash, GPT-4 edits them and explains what went wrong. Even if you have many bugs it will repeatedly rerun until it's fixed. +## 🎬 Demonstration For a quick demonstration see my [demo video on twitter](https://twitter.com/bio_bootloader/status/1636880208304431104). -## Setup +## 🛠️ Setup python3 -m venv venv source venv/bin/activate @@ -17,9 +21,13 @@ For a quick demonstration see my [demo video on twitter](https://twitter.com/bio Add your openAI api key to `.env` -_warning!_ By default wolverine uses GPT-4 and may make many repeated calls to the api. +> :warning: **WARNING** GPT-4 token usage +> +> By default wolverine uses GPT-4 and may make many repeated calls to the api. +> +> :warning: **WARNING** GPT-4 token usage -## Example Usage +## 📝 Example Usage To run with gpt-4 (the default, tested option): @@ -37,7 +45,7 @@ You can also use flag `--confirm=True` which will ask you `yes or no` before mak python wolverine.py buggy_script.py "subtract" 20 3 --confirm=True -## Future Plans +## 🔮 Future Plans This is just a quick prototype I threw together in a few hours. There are many possible extensions and contributions are welcome: @@ -48,6 +56,12 @@ This is just a quick prototype I threw together in a few hours. There are many p - graceful handling of large files - should we just send GPT relevant classes / functions? - extension to languages other than python -## Star History +## 🌟 History [![Star History Chart](https://api.star-history.com/svg?repos=biobootloader/wolverine&type=Date)](https://star-history.com/#biobootloader/wolverine) + +## 💁 Contributing + +As an open source project in a rapidly developing field, I am open to contributions, whether it be in the form of a new feature, improved infra, or better documentation. + +For detailed information on how to [contribute](.github/CONTRIBUTING.md). From cad307fc6992db7dcc59e06b0b1bba59f9cde9bc Mon Sep 17 00:00:00 2001 From: lightningRalf <126403501+lightningRalf@users.noreply.github.com> Date: Sun, 16 Apr 2023 04:35:37 +0200 Subject: [PATCH 2/7] Create contributing.md --- .github/contributing.md | 63 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/contributing.md diff --git a/.github/contributing.md b/.github/contributing.md new file mode 100644 index 0000000..e621dd3 --- /dev/null +++ b/.github/contributing.md @@ -0,0 +1,63 @@ +# Contributing to Wolverine + +First of all, thank you for your interest in contributing to Wolverine! We appreciate the time and effort you're willing to invest in making our project better. This document provides guidelines and information to make the contribution process as smooth as possible. + +## Table of Contents + +- [Code of Conduct](#code-of-conduct) +- [Getting Started](#getting-started) +- [How to Contribute](#how-to-contribute) + - [Reporting Bugs](#reporting-bugs) + - [Suggesting Enhancements](#suggesting-enhancements) + - [Submitting Pull Requests](#submitting-pull-requests) +- [Style Guidelines](#style-guidelines) + - [Code Style](#code-style) + - [Commit Messages](#commit-messages) +- [Additional Resources](#additional-resources) + +## Code of Conduct + +All contributors are expected to adhere to our [Code of Conduct](CODE_OF_CONDUCT.md). Please read it before participating in the Wolverine community. + +## Getting Started + +1. Fork the repository and clone it to your local machine. +2. Set up the development environment by following the instructions in the [README.md](README.md) file. +3. Explore the codebase, run tests, and verify that everything works as expected. + +## How to Contribute + +### Reporting Bugs + +If you encounter a bug or issue while using Wolverine, please open a new issue on the [GitHub Issues](https://github.com/biobootloader/wolverine/issues) page. Provide a clear and concise description of the problem, steps to reproduce it, and any relevant error messages or logs. + +### Suggesting Enhancements + +We welcome ideas for improvements and new features. To suggest an enhancement, open a new issue on the [GitHub Issues](https://github.com/biobootloader/wolverine/issues) page. Describe the enhancement in detail, explain the use case, and outline the benefits it would bring to the project. + +### Submitting Pull Requests + +1. Create a new branch for your feature or bugfix. Use a descriptive name like `feature/your-feature-name` or `fix/your-bugfix-name`. +2. Make your changes, following the [Style Guidelines](#style-guidelines) below. +3. Test your changes and ensure that they don't introduce new issues or break existing functionality. +4. Commit your changes, following the [commit message guidelines](#commit-messages). +5. Push your branch to your fork on GitHub. +6. Open a new pull request against the `main` branch of the Wolverine repository. Include a clear and concise description of your changes, referencing any related issues. + +## Style Guidelines + +### Code Style + +Wolverine uses [PEP 8](https://www.python.org/dev/peps/pep-0008/) as its code style guide. Please ensure that your code follows these guidelines. We recommend using a linter like [flake8](https://flake8.pycqa.org/en/latest/) to check your code style before committing. + +### Commit Messages + +Write clear and concise commit messages that briefly describe the changes made in each commit. Use the imperative mood and start with a capitalized verb, e.g., "Add new feature" or "Fix bug in function". + +## Additional Resources + +- [GitHub Help](https://help.github.com/) +- [GitHub Pull Request Documentation](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests) +- [PEP 8 Style Guide](https://www.python.org/dev/peps/pep-0008/) + +Thank you once again for your interest in contributing to Wolverine. We look forward to collaborating with you and creating an even better project together! From 48c28dbb96e0af6a8b2bca012283ea59668d891e Mon Sep 17 00:00:00 2001 From: lightningRalf <126403501+lightningRalf@users.noreply.github.com> Date: Sun, 16 Apr 2023 04:37:15 +0200 Subject: [PATCH 3/7] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7204342..7f1c7c5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Wolverine [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) + [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/bio_bootloader.svg?style=social&label=Follow%20%40bio_bootloader)](https://twitter.com/bio_bootloader) [![Downloads](https://static.pepy.tech/badge/wolverine/month)](https://pepy.tech/project/wolverine) ## 🤔 Why you need this? @@ -10,7 +11,7 @@ Give your python scripts regenerative healing abilities! Run your scripts with Wolverine and when they crash, GPT-4 edits them and explains what went wrong. Even if you have many bugs it will repeatedly rerun until it's fixed. ## 🎬 Demonstration -For a quick demonstration see my [demo video on twitter](https://twitter.com/bio_bootloader/status/1636880208304431104). +For a quick demonstration see my [video on twitter](https://twitter.com/bio_bootloader/status/1636880208304431104). ## 🛠️ Setup From 4010327f9b161e515aa270c58fb86691c0893b96 Mon Sep 17 00:00:00 2001 From: lightningRalf <126403501+lightningRalf@users.noreply.github.com> Date: Sun, 16 Apr 2023 04:39:29 +0200 Subject: [PATCH 4/7] Rename contributing.md to CONTRIBUTING.md --- .github/{contributing.md => CONTRIBUTING.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{contributing.md => CONTRIBUTING.md} (100%) diff --git a/.github/contributing.md b/.github/CONTRIBUTING.md similarity index 100% rename from .github/contributing.md rename to .github/CONTRIBUTING.md From 69e089f1dc228e6f04da5bead64694ed20a6a02d Mon Sep 17 00:00:00 2001 From: lightningRalf <126403501+lightningRalf@users.noreply.github.com> Date: Sun, 16 Apr 2023 06:20:25 +0200 Subject: [PATCH 5/7] Update CONTRIBUTING.md corrected links of readme and code of conduct. --- .github/CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index e621dd3..bea570c 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -17,12 +17,12 @@ First of all, thank you for your interest in contributing to Wolverine! We appre ## Code of Conduct -All contributors are expected to adhere to our [Code of Conduct](CODE_OF_CONDUCT.md). Please read it before participating in the Wolverine community. +All contributors are expected to adhere to our [Code of Conduct](https://github.com/biobootloader/wolverine/CODE_OF_CONDUCT.md). Please read it before participating in the Wolverine community. ## Getting Started 1. Fork the repository and clone it to your local machine. -2. Set up the development environment by following the instructions in the [README.md](README.md) file. +2. Set up the development environment by following the instructions in the [README.md](https://github.com/biobootloader/wolverine/README.md) file. 3. Explore the codebase, run tests, and verify that everything works as expected. ## How to Contribute From fd8f52cde483abe57e6bfee22aae04e0752ab14e Mon Sep 17 00:00:00 2001 From: lightningRalf <126403501+lightningRalf@users.noreply.github.com> Date: Sun, 16 Apr 2023 06:21:18 +0200 Subject: [PATCH 6/7] Create CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 74 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..5833ae4 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,74 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to make participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of experience, +nationality, personal appearance, race, religion, or sexual identity and +orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or +advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community includes using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting opensource@github.com, which is a shared team inbox. If the incident involves someone who receives that shared inbox, you can contact an individual maintainer (@bkeepers or @nayafia) at ```GitHub username``` + ```@github.com```. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at [https://contributor-covenant.org/version/1/4][version] + +[homepage]: https://contributor-covenant.org +[version]: https://contributor-covenant.org/version/1/4/ From c7dea71cceb56f2b05b17c32f1197207584d99f4 Mon Sep 17 00:00:00 2001 From: lightningRalf <126403501+lightningRalf@users.noreply.github.com> Date: Sun, 16 Apr 2023 08:24:54 +0200 Subject: [PATCH 7/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f1c7c5..fe5ed36 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/bio_bootloader.svg?style=social&label=Follow%20%40bio_bootloader)](https://twitter.com/bio_bootloader) [![Downloads](https://static.pepy.tech/badge/wolverine/month)](https://pepy.tech/project/wolverine) -## 🤔 Why you need this? +## 🤔 Why do you need this? Give your python scripts regenerative healing abilities!