BugFix is a collaborative coding repository dedicated to practicing bug identification and fixing. The repository contains intentionally introduced bugs in Python code snippets, providing a space for members to enhance their debugging skills.
-
Main Branch (Buggy Code):
- Contains Python code snippets with intentional bugs.
- Members fork this repository and create branches from the
main
branch for bug fixing.
-
Solution Branch (Fixed Code):
- Provides corrected versions of the code in the
main
branch. - Members can compare their fixes with the solutions in this branch.
- Provides corrected versions of the code in the
-
Contributing:
- Members fork the repository and create a branch for bug fixing.
- After fixing a bug, members submit pull requests for review.
- Fork the repository to your GitHub account.
- Clone your fork to your local machine.
- Create a branch from the
main
branch for bug fixing. - Fix the bugs and submit a pull request.
main.py
: Contains Python code snippets with intentional bugs.solution.py
: Provides corrected versions of the code for reference.
The main.py
file includes intentional bugs in Python code snippets. Practice identifying and fixing these bugs to enhance your debugging skills.
-
Fork the repository.
-
Create a new branch:
git checkout -b 'bug-fix-branch'
-
Fix the bugs in the code.
-
Commit your changes:
git commit -m "Fixed bug in function_name"
-
Push to the branch:
git push origin bug-fix-branch
-
Submit a pull request.
If you encounter issues or have suggestions, please open an issue.
This project is licensed under the MIT License.
Happy Bug Fixing!