unknown / dillo

Hunting for bugs like an armadillo

Home Page:https://dillo.dmo.ooo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dillo

Dillo is an exploration into using LLMs to detect bugs in code. Inspired by AI Found a Bug in My Code by Joel Einbinder, Dillo uses the logprobs of each token in a given code snippet to highlight unlikely tokens in code.

Screenshot of a buggy Typescript implementation of an add function

Getting Started

While a demo can be found at dillo.dmo.ooo, renting a GPU 24/7 is expensive, so the hosted demo won't always work. If you're interested in playing around with it, feel free reach out and ask me to turn it on, or host it yourself with the following steps.

Prerequisites

Development

  1. Clone the repository
  2. Run pnpm install in the root directory
  3. Copy .env.example to create a .env.local file if it doesn't already exist
  4. Run pnpm run dev

Hosting DeepSeek Coder

While I use RunPod to host DeekSeek, feel free to self-host or use your own favorite provider. If using RunPod, I've made this template and found that it works well on RunPod's A4500s.

About

Hunting for bugs like an armadillo

https://dillo.dmo.ooo


Languages

Language:TypeScript 93.8%Language:JavaScript 5.8%Language:CSS 0.4%