Skip documentation navigation

Settings tools

Tuner

tune scans the samples with every pack (preset all) and the dash check, with the dictionary off. It proposes changes only for categories in the target preset: --preset, else the preset in effect. Hits that the allow lists already cover do not count.

KindSamplesScanned as
docs (default)Prose files. A directory keeps prose files only.Prose files
replyChat messages.Replies
commitCommit messages, one per file.Commit messages
ghPR or issue bodies, one per file.gh bodies
commentsSource files. A directory keeps code files only.Code comments
Signal in the samplesChange
A category fires in 2 or more samples, or at least once per 500 wordsAdds the category to features.aiWriting.disablePatterns
A phrase category fires 2 or more times, always on the same phraseAdds the phrase to features.aiWriting.allow
A statistical pack with a tunable threshold firesSets the threshold in features.aiWriting.options to the nearest value that every sample passes
A statistical pack has fewer words than its minWordsLists the pack as needing more words
A category fires once in one sampleLeaves it on and lists it under kept
aiWriting is off and the samples have 300 words or moreTurns aiWriting on
Em dashes, while the dash check is onTurns the dash check off
En dashes only, while the dash check is onSets features.emDash.enDash to false
No dashes in 1,000 words or more, while the dash check is offTurns the dash check on
Kind ghRaises maxPrBodyParagraphs and maxPrBodySentences to the 90th percentile of the samples
Kind commentsRaises maxCommentLines to the 90th percentile of the comment runs

Each change comes with its reason and up to 3 quoted examples from the samples. --apply merges the change into the chosen layer: objects merge, lists gain the new items, and other values are replaced.