Dynamically Typed

DeepDebug for Python code fixing

Cool new paper from Drain et al. (2021) at Microsoft Research: DeepDebug is a Transformer-based model that can fix Python bugs using stack traces, back translation and code skeletons. One interesting contribution is their “neural bugs” injection model, which was trained to revert bug-fixing commits and “can generate near arbitrary edits that are drawn from the distribution of mistakes developers actually make.” On the QuixBugs benchmark, DeepDebug increases the number of bug fixes found by 50% while reducing false positives from 35% to 5%, all while decreasing the run timeout from six hours to one minute. Can I get this in PyCharm?