Repository navigation
docs: sell the cool lints section with real rewrites - #238
Merged
Merged
Conversation
The section had two one-line examples and a TODO. It now gives each of verbs_no_nouns, verbs_nothing and not_at_all its own heading, says what the tic is and what the lint tells the LLM to do, and shows before/after pairs taken from this repo's own git history: the rewrites made when each lint was first turned on against the Rust doc comments (#147, #193, #233). A closing part explains the corpus claim every construction lint must hold.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human Summary
Describe the lints a bit better in the README.md. LLM written then re-written by me.
Summary
The README's Cool Lints section was two one-line examples and a TODO that said to sell it better. This rewrites the section.
Each of the three construction lints gets its own heading:
verbs_no_nouns,verbs_nothingandnot_at_all. Each one says what the tic is, what the lint tells the LLM to do, and shows before/after pairs. The pairs are not invented. They are rewrites from this repo's own history, made when each lint was first turned on against the Rust doc comments: #147 forverbs_no_nouns, #193 fornot_at_alland #233 forverbs_nothing. The "89 findings in 45 files" count is from the #147 description.A closing part says why these are not allow-lists: the word sets are Rust data, and each lint must hold its corpus claim (llm files trip it at least 3 times as often as human files, at most 3.5% of human files trip it), which the tests re-derive on every run.
Only
README.mdchanges. The README hasllm_edit: false; the owner authorized this edit for the Cool Lints section only.Testing
make ci-fast: exit 0References