I'm using a static analysis rule that tokenizes comments and compares to the code, and reports an error if the overlap is too big. highly satisfying to remove such comments
Don't know why you're being downvoted. IT's less efficient to do it this way, but it's the same end result. get embeddings f for comments, get embeddings for code, compare the two.
View all comments
Show parent comment
12
u/MaDpYrO Sep 10 '26
People do this shit too.
I'm using a static analysis rule that tokenizes comments and compares to the code, and reports an error if the overlap is too big. highly satisfying to remove such comments