Show HN: Unbug – A free, automatic bug detector using GPT-3.5 on GitHub CI
github.comIt's an automatic bug detector for GitHub CI, leveraging OpenAI's GPT-3.5 Turbo. It adds an extra layer of scrutiny to every commit, surpassing the capabilities of local IDE checks. I've found it invaluable for my own projects and believe it can benefit teams too. It's currently in its early stages, so proceed with a bit of caution and don't hesitate to share your feedback. You're welcome to contribute (MIT).
Since you say you've found it invaluable for your own projects, can you explain why? What bugs has it found for you that you wouldn't immediately notice by running code or unit tests?
I ask because in the example, you ask it to find bugs in a script that immediately fails when you run it. So I'm not sure what the value add is here.
EDIT: For anyone else who is wondering, this is just:system prompt:
user prompt: @funerr why would you even create this and post it here? Is it just to try to market your newsletter? Who do you think would look at this and be impressed?I personally use a bit of a different prompt, so it's tailored for my repo. But yeah, you can also customize it pretty simply, like you mentioned in the ./src/ai.ts file.
This is a blueprint on how to have checks in the CI, it took me sometime to build and get working - do you know anything that does this out of the box? Thanks for the feedback eitherway!