π Bug Whisperer β Find Mistakes in Your Code, Automatically Bug Whisperer is a custom skill built for IBM Bob during the IBM Bob 2.0 Hackathon (lablab.ai). It reads your Python code and tells you exactly what went wrong, where it went wrong, and how to fix it β in simple, friendly language, instead of a wall of raw traceback. Two Modes : Mode 1 β Fix Failing Tests π΄βπ’ Triggers the moment your tests go red. Analyses every failing test in parallel, finds the root cause with file:line evidence, applies the smallest possible fix, and re-runs the full suite. If the fix doesn't work, it's rolled back automatically. Mode 2 β Review Your Code π Runs on fresh code before it ever breaks. Six parallel agents check for logic errors, security issues, missing error handling, concurrency bugs, resource leaks, and test gaps β returning a ranked report backed by evidence. The Mistake Box : Every finding is rendered as a clean terminal box showing WHERE the mistake is, WHAT went wrong, and step-by-step SUGGESTIONS to fix it. It plugs directly into VS Code via a task + problem-matcher, so the exact broken line gets a red squiggle with no extension required. Voice Mode ποΈ: Say "find the mistake in demo math" out loud and Bug Whisperer records your voice, transcribes it with IBM Watson Speech-to-Text, resolves the right file, runs it, and reads the diagnosis back to you with Watson Text-to-Speech. Any question outside a "find" request is simply answered by Granite (watsonx.ai) β so the same voice loop doubles as a general coding assistant. Safe by Design : Investigating agents are strictly read-only. Tests are never weakened or deleted. Every finding needs proof before it's reported. Fixes are applied one at a time, with full rollback if a fix doesn't turn the suite green. Built and Proven : Pure Python 3.8+, zero external dependencies Installable in one command (pip install .) β works in terminal, CI, VS Code, and PyCharm Validated across 15 real-world libraries: pandas, numpy, matplotlib, scikit-learn, requests, json, math, openpyxl, bs4, sqlalchemy, pydantic, pillow, tqdm, scipy, seaborn 14 paired demo files (bug + fix) plus dedicated test runner scripts From a red traceback to a spoken fix β in one Bob skill. GitHub : https://github.com/TheLoneSynapse/Bug-Whisperer
Category tags: