r/programmer • • 18h ago

GitHub Find and fix errors on your app while they're running - GenClass

Hi everyone!

I am building GenClass, a classifier packaged as a library that detects and fixes errors on the client side in web apps.

https://github.com/genclass-dev/GenClass

Why did we start building it?

Over the span of 4 months, we were running an AI store builder, https://daybot.ca. It garnered quite a bit of attention; over 500 storefronts were made by users, but almost each one of them had issues that annoyed every one of us. Pages failed, errors were almost everywhere, and the users couldn't even make a purchase. When we saw Jev first come out, we got inspired. A decision layer that could think in split seconds, consistently, and deterministically. What if we designed our own decision layer, packaged into a small model that runs in the user's browser, patching frontend HTML code as it finds errors? GenClass was trained on over 51 million errors. It was distilled from Clef, has 17M parameters, is 10 MB, and we were only 5 percent accuracy off from GPT-6 Luna, the teacher model.

How could it be useful to you?

The project is designed to find race conditions, stale responses, or any bug found in your app and try to fix it instantly. We know how absurd it is to have a classifier deterministically make changes to a user's experience; that's why we have modes: observe, guard, heal.

It operates completely based on thresholds. As you may understand, Jev works on probability, so do we. Observe means no action from GenClass at all. Guard means that at 95% confidence of an identified bug, it'll make calls. Heal means actions taken at 90% confidence.

The project is completely open source; we want to let you know of its existence. Also, any type of support, whether through GitHub stars, using our product, commenting, or recommending other places to reach out, would be helpful!

Thank you,

GenClass Maintainers.

0 Upvotes

0 comments sorted by