You are viewing archived messages.
Go here to search the history.

Kiril Videlov 2022-11-25 15:07:48

I saw the β€˜AI found a bug in my code’ on HN and I wanted to try this out on my code. Since the tool was not open sourced, I decided to build it from scratch myself πŸ‘¨β€πŸ’»πŸ˜….

So I present to you Suspicious (github.com/sturdy-dev/suspicious)

It’s a fully local CLI app which analyses your source code file. It then shows you specific parts of the code where it would have done something else.

Demos & screenshots in the GitHub readme. Let me know if it catches anything good for you πŸ™‚

Duncan Cragg 2022-11-25 15:53:23

I tried it - there's a lot of downloading! And to be honest, it didn't highlight anything that worried me. Sorry to seem negative, but there it is! πŸ€—

Duncan Cragg 2022-11-25 15:53:48

What is it downloading after running sus ?

Duncan Cragg 2022-11-25 23:32:46

It was 500Mb

Duncan Cragg 2022-11-25 23:33:55

sus uses the decoder of UniXcoder, specifically the unixcoder-base-nine checkpoint. What's cool is that it's only 500 MB and ~120M parameters, which means it's quick to download and fast enough to run locally.

Duncan Cragg 2022-11-25 23:34:10

Ah ↑↑

Ben Byford 2022-11-27 13:21:51

Super interesting. I would love a Autopilot alternative

Kiril Videlov 2022-11-28 12:21:17

Hey, sorry, I will highlight more prominently in the readme that a model is being downloaded. It’s kind of the tradeoff for being able to execute everything locally.

Kiril Videlov 2022-11-28 12:23:47

Building this application got me to realise that the way current models (this and other ones like Codex used by Copilot) can mostly serve as typing automation because of the way tokenisation is done

Ben Byford 2022-11-28 12:40:50

As apposed to something else? A static recommendation on all the code base?

Ben Byford 2022-11-28 12:42:13

Would be nice to get recommended differing ways of doing the same thing…