Code to create bugged python scripts for OpenAssistant Training, maintained by Cyndesama
OpenBugger
OpenBugger is a tool for injecting various types of bugs into Python scripts in order to test the robustness of your code and practice debugging skills. It comes with a library of bug injection methods for different severity levels and error types, such as syntax errors, logic errors, and runtime errors.
We migrated to LIBCST! Still a lot of integrations to finish.
For a self-contained notebook with invertible bugs implemented in LibCST see:
https://github.com/furlat/OpenBugger/blob/main/notebooks/openbugger.ipynb
To install OpenBugger, use pip:
Clone repo
python3 -m pip install --editabl youtpathto/OpenBugger/
We welcome contributions to OpenBugger! If you find a bug or have an idea for a new feature, please open an issue or submit a pull request. see CONTRIBUTING for more details.
OpenBugger is licensed under the Apache 2.0
Apache License 2.0 A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.