https://github.com/leapingio/leaping Skip to content Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} leapingio / leaping Public * Notifications * Fork 4 * Star 132 * License MIT license 132 stars 4 forks Branches Tags Activity Star Notifications * Code * Issues 2 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights leapingio/leaping This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 64 Commits .github/workflows .github/ workflows leaping leaping pytest-leaping pytest-leaping tracing tracing .gitignore .gitignore LICENSE LICENSE README.md README.md requirements.txt requirements.txt View all files Repository files navigation * README * MIT license Leaping Leaping's pytest debugger is a simple, fast and lightweight debugger for Python tests. Leaping traces the execution of your code and allows you to retroactively inspect the state of your program at any time, using an LLM-based debugger with natural language. It does this by keeping track of all of the variable changes and other sources of non-determinism from within your code. Installation * pip install leaping * Please set the environment variable OPENAI_API_KEY to your GPT API key Usage pytest --leaping By default, pytest automatically discovers all the python tests within your project and runs them. Once the test has been run, a CLI will open allowing you to interact with the debugger. Features You can ask Leaping questions like: * Why am I not hitting function x? * Why was variable y set to this value? * What was the value of variable x at this point? * What changes can I make to this code to make this test pass? About No description, website, or topics provided. Resources Readme License MIT license Activity Custom properties Stars 132 stars Watchers 0 watching Forks 4 forks Report repository Releases No releases published Packages 0 No packages published Contributors 2 * * Languages * Python 100.0% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.