Sometimes I suspect you could send a pull request to any project replacing `foo` with `foo + 1` anywhere by saying "fix off-by-one error". `foo + 1` rarely looks wrong.
miniblog.
Related Posts
After further playing with my LLM project, I'm surprised how hard it is to tune with system prompts.
My agent kept saying "obviously" even though my prompt said "helpful, professional". Eventually I found that a "courteous" prompt gets "of course" which is better but not ideal.
I'm working on arity errors in Garden, my toy programming language.
Rather than just saying "expected 3, got 4 arguments", I'm trying to report where the extra argument is, or what extra argument was expected.
Interpreters versus compilers as a spectrum, and a fun worked example of optimising Brainfuck:

