The Debugging Book

@TheDebuggingBook
227 Followers
0 Following
7 Posts
News about "The Debugging Book" (https://www.debuggingbook.org), an interactive book on automated debugging by @AndreasZeller
websitehttps://www.debuggingbook.org/

Just pushed out The Debugging Book 1.3. This release adds a new chapter on “Learning from Failures”:

https://www.debuggingbook.org/html/Alhazen.html

To update your code, run

$ pip install —upgrade debuggingbook

In Python >=3.12, you may also need to update the `showast` module:

$ pip install 'showast@git+https://github.com/andreas-zeller/show_ast.git@andreas'

Full release notes: https://www.debuggingbook.org/html/ReleaseNotes.html

Learning from Failures - The Debugging Book

Given the many executions we can generate, it is only natural that these executions would also be subject to machine learning in order to learn which features of the input (or the execution) would be associated with failures.In this chapter, we study the Alhazen approach, one of the first of this kind.Alhazen by Kampmann et al. \cite{Kampmann2020} automatically learns the associations between the failure of a program and features of the input data, say "The error occurs whenever the `<expr>` element is negative"This chapter is based on an Alhazen implementation contributed by Martin Eberlein of TU Berlin. Thanks a lot, Martin!Prerequisites This chapter extends the ideas from the chapter on Generalizing Failure Circumstances.

Just pushed out The Debugging Book 1.2.3. This release adds better support for recent Python versions.

To update to the latest and greatest, use

$ pip install —upgrade debuggingbook

Full release notes: https://www.debuggingbook.org/html/ReleaseNotes.html

Release Notes for The Debugging Book - The Debugging Book

This book comes with version numbers; these correspond to the version numbers in the Python pip package.

We have reworked the integration with the #mybinder platform, and you can now again interact with notebooks right in your browser (now using #JupyterLab instead of Jupyter Notebook).
As an example, here’s the notebook on dynamic slicing: https://mybinder.org/v2/gh/uds-se/debuggingbook/HEAD?labpath=docs%2Fnotebooks/Slicer.ipynb

You can access these from any chapter in https://www.debuggingbook.org via “Resources” → “Edit as Notebook”. Enjoy!

GitHub: uds-se/debuggingbook/HEAD

Click to run this interactive environment. From the Binder Project: Reproducible, sharable, interactive computing environments.

Just pushed out The Debugging Book 1.2.2. This release fixes a nasty bug that would accidentally set a fixed random seed when importing debuggingbook classes.

To update to the latest and greatest, use

$ pip install --upgrade debuggingbook

Full release notes:
https://www.debuggingbook.org/html/ReleaseNotes.html

Release Notes for The Debugging Book - The Debugging Book

This book comes with version numbers; these correspond to the version numbers in the Python pip package.

The Debugging Book 1.2 is out! This version adds support for recent Python versions up to 3.12, and fixes a number of small bugs. Enjoy! https://www.debuggingbook.org/html/ReleaseNotes.html
Release Notes for The Debugging Book - The Debugging Book

This book comes with version numbers; these correspond to the version numbers in the Python pip package.

Welcome Mastodon!