← Back to context Comment by demibabs 17 hours ago but then no human generated comments allowed either, right? 8 comments demibabs Reply ch4s3 17 hours ago I'd do this by only running the linter locally and using this as a custom rule for the LLM, but I need to think about it a bit harder. devmor 17 hours ago There is probably something you can do to only apply some rules to the actual changed lines in a git diff.You may have to write your own linter for that specifically. notsirius 16 hours ago you'd probs want a commit hook for that 2 replies → oblio 3 hours ago Most lint tools allow exceptions if you add a special marker. I think even allow custom user exceptions.E999: human generated comment :-) gmueckl 3 hours ago But then the LLMs sees the syntax and is likely able to mimic it. oblio 2 hours ago Shouldn't the "human generated comment" part be a strong hint not to?
ch4s3 17 hours ago I'd do this by only running the linter locally and using this as a custom rule for the LLM, but I need to think about it a bit harder. devmor 17 hours ago There is probably something you can do to only apply some rules to the actual changed lines in a git diff.You may have to write your own linter for that specifically. notsirius 16 hours ago you'd probs want a commit hook for that 2 replies →
devmor 17 hours ago There is probably something you can do to only apply some rules to the actual changed lines in a git diff.You may have to write your own linter for that specifically. notsirius 16 hours ago you'd probs want a commit hook for that 2 replies →
oblio 3 hours ago Most lint tools allow exceptions if you add a special marker. I think even allow custom user exceptions.E999: human generated comment :-) gmueckl 3 hours ago But then the LLMs sees the syntax and is likely able to mimic it. oblio 2 hours ago Shouldn't the "human generated comment" part be a strong hint not to?
gmueckl 3 hours ago But then the LLMs sees the syntax and is likely able to mimic it. oblio 2 hours ago Shouldn't the "human generated comment" part be a strong hint not to?
I'd do this by only running the linter locally and using this as a custom rule for the LLM, but I need to think about it a bit harder.
There is probably something you can do to only apply some rules to the actual changed lines in a git diff.
You may have to write your own linter for that specifically.
you'd probs want a commit hook for that
2 replies →
Most lint tools allow exceptions if you add a special marker. I think even allow custom user exceptions.
E999: human generated comment :-)
But then the LLMs sees the syntax and is likely able to mimic it.
Shouldn't the "human generated comment" part be a strong hint not to?