What is Nostr?
Simon Willison /
npub13v9…w5eu
2023-06-29 15:28:02

Simon Willison on Nostr: Lazy refactoring using my symbex and llm tools to have GPT-4 do the work for me: ``` ...

Lazy refactoring using my symbex and llm tools to have GPT-4 do the work for me:
```
symbex test_homepage -f tests/test_api.py | \
llm -m 4 --system 'Change all of the == some integer tests in this code to isinstance(thing, int) instead'
```
This saved me about 15 seconds of effort this morning!

https://github.com/simonw/datasette/issues/2092#issuecomment-1613381990
Author Public Key
npub13v97j0kknscwnf5pt87nsn7cxzxwfwl3dsu7ss8qsq7ukmqgwg8q84w5eu