Developer builds regex-based code quality checker to flag 'AI debt' without using AI
A developer has released 'Roast My Code', a browser-based tool that analyzes code snippets for poor practices and assigns an AI Debt Score between 0 and 100. The tool uses 118 regex patterns across eight programming languages, including JavaScript, Python, Go, and Rust, to detect issues such as hardcoded credentials and use of eval(). Unlike most code-review tools, it operates entirely client-side with no AI, backend, or API calls, meaning submitted code never leaves the user's browser. The creator coined the term 'AI debt' to describe the growing maintainability burden caused by developers shipping AI-generated code without thorough review. The project is open-source under the MIT license and available on both GitHub and a live web app.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in