Settings

Theme

Show HN: Wolverine: Give your Python scripts regenerative healing abilities

github.com

43 points by biobootloader · 23 comments · 1 min read

Reader

Run your scripts with Wolverine and when they crash, GPT-4 edits them and explains what went wrong. Even if you have many bugs it will repeatedly rerun until it's fixed.

Demo video on twitter: https://twitter.com/bio_bootloader/status/163688020830443110...

10 threads
plonq

That seems… dangerous, to say the least

jszymborski

It's all fun and games until you get a subprocess.run(["rm", "/", "-rf"]) snuck in there that you fail to notice.

  • paulddraper

    1. Definitely don't run it as root.

    2. Obv run in sandbox/container.

  • biobootloaderOP

    haha yes it did feel a bit wild just letting this run on my machine!

    I wouldn't recommend running it on a script that's supposed to delete files

  • eviks

    Hallucinate your data into the AI void

splatzone

Also check out Cataclysm:

https://github.com/Mattie/cataclysm

Demo: https://www.youtube.com/watch?v=ZK8fUuQDgZ4

cozzyd

A slight improvement on fuckit.py

SideburnsOfDoom

Should not be confused with Jeremy D Miller's "Wolverine" Message Bus software

https://jeremydmiller.com/2022/12/12/introducing-wolverine-f...

https://jeremydmiller.com/2022/12/15/transactional-outbox-in... https://www.dotnetrocks.com/details/1823

tsukikage

ON ERROR GOTO NEXT, 2023 edition

shreyshnaccount

so we are just going to build the set up for the next terminator movie in real life and this time skynet self heals??

TigerTeamX

Oh my god! That looks so much fun and so dangerous at the same time.

shapefrog

It didnt pick up the bug in the else of the calculate function, presumably it is only running along the path that the script is running based on the inputs.

  • biobootloaderOP

    it will sometimes fix other bugs, but yeah the focus is on ones that caused the crash or are obvious

    • salawat

      If they are so obvious, why didn't you just do it yourself the first time? Instead of yeeting large portions of your codebase at a 3rd-party web service?

doutunlined

Crashes are the easiest bugs to self-fix.

  • biobootloaderOP

    agreed! but it'd be nice to not have to jump back to the editor to fix a minor crash and then go rerun

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection