Re:Yes, 17M lines of Lean is a lot
by jadyoyster on Monday November 23, 2026 @05:26AM
(#50609846)
My experience as well. The current LLMs are unable to write or code-comment like a human as primary output, but if you ask "characterize human vs LLM writing, and fix it up" they are often able to substantially correct.
[delayed]
Who says anything about regex? The linting (in the broad sense of the word) can look at which packages are changed. How many interfaces are affected by the change. Of course, that is not a metric of relatedness yet. We need more research in this area what it means to have “good” code if we ever want to rise from programming being an art.
"string pattern search" implied regex to me, perhaps also to GP.
Honestly, I think it isn’t surprising at all. The tools that helped us mere mortals to stay consistent also help staying LLMs consistent. By having deterministic rules to provide the guardrails we can constrain the probabilistic mess that are LLMs.
It is just that as a human over time with a project we ingrain some of the rules and do it right the first time. Some of us can even type up a whole lot of code without letter the compiler run once in the interim and then make the compilation pass at the first attempt.
We need those tools. LLMs need them more and can go way faster because of them.
That sounds interesting. I'm making it write "walkthroughs" for me to follow along and exercise the functionality. Those were completely unusable, so are now getting linted on actually running my terminal (zsh), not containing dead links, etc - easy stuff. What needed constant hammering was making sure that the instructions are actually useful, and aren't accidentally burying some major required prep work in prose. Instructions are now making it write entry and exit criteria per instructions block.
But: the instructions rely on inference. Since the LLM can't truly judge what is important for me to experience myself, I rely on it actually being able to interpret the learnings and good/bad examples - classic prompt engineering tacticts.
I like the idea of using linters to reinforce this with something deterministic. Can you give me some example rules you're linting for?
It’s what I ended up doing, and it works pretty well.