$ styleprofile score --all examples/draft.md '<tmp>/writer.json'
[exit 0]
--- stdout
STYLE COMPARISON   1 chunk, 542 words   vs writer.json (7 chunks)

Overall: close   Delta 0.85
  Lower is closer. The reference's own held-out writing at this length (542 words) scores 0.71 typically (95% under
  0.99).

LLM-likeness: like the reference   0.71
  The reference's own writing at this length (542 words) scores 0.20 typically (95% under 0.86); the LLM drafts 14.20.

By area   Delta ÷ the top of the reference's usual range in each area; bars on a log scale
  close up to 1x, somewhat different to 1.5x, clearly different to 2x, very different above
  Voice and stance             1.32x  █████░░░░░░░░░░░░░░░  somewhat different
  Vocabulary                   0.72x  ███░░░░░░░░░░░░░░░░░  close
  Function words               0.66x  ███░░░░░░░░░░░░░░░░░  close
  Punctuation                  0.66x  ███░░░░░░░░░░░░░░░░░  close
  Sentence shape               0.49x  ██░░░░░░░░░░░░░░░░░░  close
  Rhythm                       0.47x  ██░░░░░░░░░░░░░░░░░░  close
  Formatting                   0.15x  █░░░░░░░░░░░░░░░░░░░  close

Biggest differences   (each ▲ or ▼ is one standard deviation, up to 3)
                                                   this text   reference
  Sentences per paragraph                               4.38        6.15   ▼▼▼
  "more"                                             5.5 /1k     1.5 /1k   ▲▲
  "but"                                              5.5 /1k     2.0 /1k   ▲▲
  Sentences starting However / Moreover                 2.9%        0.0%   ▲▲  reference never varies
  Em dashes                                          1.8 /1k     0.0 /1k   ▲▲  reference never varies
  LLM marker words (delve, crucial)                  1.8 /1k     0.0 /1k   ▲▲  reference never varies
  "these"                                            1.8 /1k     0.0 /1k   ▲▲  reference never varies
  Words per paragraph                             67.8 words  86.9 words   ▼▼

Pattern divergence   (Jensen-Shannon: 0 = identical, 1 = nothing shared)
  Function-word transitions                      0.16
  Character trigrams                             0.03

Delta by area   (the reference's held-out median, and the top of its usual range)
                                                   this text      median   range top
  Voice and stance                                      1.37        0.77        1.04
  Vocabulary                                            0.65        0.59        0.90
  Function words                                        0.88        1.03        1.34
  Punctuation                                           0.65        0.45        0.99
  Sentence shape                                        1.27        0.81        2.59
  Rhythm                                                1.07        1.09        2.30
  Formatting                                            0.07        0.01        0.50

All metrics
                                                   this text   reference

Sentence shape
  Average sentence length                         15.5 words  14.2 words
  Median sentence length                          15.0 words  10.7 words   ▲▲
  Sentence length spread                          10.2 words  10.6 words
  Short sentences (8 words or fewer)                     34%         41%
  Long sentences (30+ words)                             11%         12%
  Sentences per paragraph                               4.38        6.15   ▼▼▼
  Words per paragraph                             67.8 words  86.9 words   ▼▼
  One-sentence paragraphs                               0.0%        0.0%

Rhythm
  Sentence length variation (0 = uniform)               0.66        0.75
  Length change from one sentence to the next     13.9 words  12.5 words

Vocabulary
  Average word length (letters)                         4.14        3.96
  Long words (7+ letters)                                12%         11%   ▲
  Vocabulary variety (MATTR, 0-1)                       0.74        0.72
  Lexical diversity (MTLD)                              93.6        92.6
  Words used only once, per 100                          82%         80%

Punctuation
  Commas                                            55.4 /1k    54.0 /1k
  Semicolons                                         1.8 /1k     2.9 /1k
  Colons                                             0.0 /1k     1.6 /1k   ▼
  Em dashes                                          1.8 /1k     0.0 /1k   ▲▲
  Parentheses                                        0.0 /1k     1.3 /1k
  Question marks                                     0.0 /1k     0.2 /1k
  Exclamation marks                                  0.0 /1k     0.0 /1k
  Ellipses                                           0.0 /1k     0.0 /1k
  Quotations                                         0.0 /1k     0.9 /1k
  Curly apostrophes (vs straight)                       0.0%        0.0%

Voice and stance
  Contractions                                      36.9 /1k    34.6 /1k
  I / me / my                                       29.5 /1k    49.2 /1k   ▼
  We / us / our                                      3.7 /1k     1.1 /1k   ▲
  You / your                                        11.1 /1k    18.5 /1k   ▼
  Negations                                         20.3 /1k    25.2 /1k   ▼
  Hedges (maybe, I think)                            0.0 /1k     3.6 /1k   ▼
  Intensifiers (really, clearly)                     3.7 /1k     4.4 /1k
  Sentences starting And / But / So                     5.7%        3.4%
  Sentences starting However / Moreover                 2.9%        0.0%   ▲▲
  LLM marker words (delve, crucial)                  1.8 /1k     0.0 /1k   ▲▲
  "Not just X, but Y"                                0.0 /1k     0.0 /1k

Formatting
  Headings                                           1.8 /1k     1.6 /1k
  List items                                         0.0 /1k     0.0 /1k
  Links                                              0.0 /1k     0.0 /1k
  Bold phrases                                       0.0 /1k     0.0 /1k
  Inline code                                        0.0 /1k     0.0 /1k

Function words
  "the"                                             72.0 /1k    64.2 /1k
  "a"                                               36.9 /1k    42.7 /1k
  "an"                                               3.7 /1k     4.2 /1k
  "and"                                             44.3 /1k    34.9 /1k   ▲
  "but"                                              5.5 /1k     2.0 /1k   ▲▲
  "or"                                               0.0 /1k     4.2 /1k   ▼
  "so"                                               0.0 /1k     3.4 /1k   ▼
  "because"                                          0.0 /1k     1.1 /1k   ▼
  "if"                                               5.5 /1k     3.4 /1k   ▲
  "when"                                             1.8 /1k     3.8 /1k
  "while"                                            1.8 /1k     0.9 /1k
  "that"                                            11.1 /1k    11.8 /1k
  "which"                                            1.8 /1k     2.7 /1k
  "who"                                              1.8 /1k     6.0 /1k
  "this"                                             1.8 /1k     1.6 /1k
  "these"                                            1.8 /1k     0.0 /1k   ▲▲
  "those"                                            0.0 /1k     0.7 /1k
  "it"                                              14.8 /1k    26.6 /1k   ▼
  "its"                                              0.0 /1k     0.9 /1k
  "of"                                              25.8 /1k    17.8 /1k   ▲
  "to"                                              14.8 /1k    14.4 /1k
  "in"                                              25.8 /1k    17.4 /1k   ▲
  "on"                                              14.8 /1k    10.3 /1k
  "for"                                             14.8 /1k     8.7 /1k   ▲
  "with"                                             5.5 /1k     6.0 /1k
  "at"                                               1.8 /1k     5.8 /1k   ▼▼
  "by"                                               9.2 /1k     4.7 /1k   ▲
  "from"                                             0.0 /1k     2.7 /1k   ▼
  "as"                                               0.0 /1k     3.8 /1k   ▼
  "into"                                             1.8 /1k     1.1 /1k
  "about"                                            1.8 /1k     5.3 /1k   ▼
  "than"                                             3.7 /1k     2.9 /1k
  "then"                                             1.8 /1k     3.3 /1k
  "there"                                            9.2 /1k     4.6 /1k   ▲
  "here"                                             0.0 /1k     0.7 /1k
  "just"                                             0.0 /1k     2.0 /1k   ▼
  "really"                                           0.0 /1k     0.0 /1k
  "very"                                             0.0 /1k     0.2 /1k
  "much"                                             0.0 /1k     1.1 /1k
  "more"                                             5.5 /1k     1.5 /1k   ▲▲
  "most"                                             1.8 /1k     2.4 /1k
  "also"                                             0.0 /1k     0.6 /1k
  "even"                                             1.8 /1k     0.2 /1k   ▲▲
  "still"                                            1.8 /1k     1.1 /1k
  "only"                                             1.8 /1k     2.4 /1k
  "actually"                                         0.0 /1k     0.0 /1k
  "though"                                           1.8 /1k     0.9 /1k
  "although"                                         0.0 /1k     0.4 /1k
  "however"                                          0.0 /1k     0.0 /1k
  "instead"                                          0.0 /1k     0.4 /1k
  "rather"                                           0.0 /1k     0.0 /1k
  "where"                                            3.7 /1k     2.2 /1k
  "how"                                              1.8 /1k     0.9 /1k
  "what"                                             1.8 /1k     2.5 /1k
  "why"                                              0.0 /1k     0.2 /1k
  "not"                                              0.0 /1k     2.2 /1k   ▼
  "no"                                               0.0 /1k     1.8 /1k
  "all"                                              1.8 /1k     1.3 /1k
  "some"                                             1.8 /1k     0.9 /1k   ▲
  "any"                                              0.0 /1k     0.5 /1k
  "every"                                            0.0 /1k     2.4 /1k   ▼
  "both"                                             0.0 /1k     0.4 /1k
  "each"                                             1.8 /1k     0.9 /1k
  "other"                                            1.8 /1k     2.0 /1k
  "is"                                              12.9 /1k    11.8 /1k
  "are"                                              0.0 /1k     4.0 /1k   ▼
  "was"                                              1.8 /1k     5.6 /1k   ▼
  "were"                                             0.0 /1k     0.9 /1k
  "be"                                               1.8 /1k     1.3 /1k
  "been"                                             1.8 /1k     2.9 /1k
  "have"                                             9.2 /1k     4.6 /1k   ▲
  "has"                                              7.4 /1k     2.7 /1k   ▲
  "had"                                              0.0 /1k     2.2 /1k   ▼
  "do"                                               1.8 /1k     2.0 /1k
  "does"                                             3.7 /1k     1.6 /1k
  "did"                                              0.0 /1k     1.5 /1k
  "can"                                              3.7 /1k     3.5 /1k
  "could"                                            0.0 /1k     1.1 /1k
  "will"                                             0.0 /1k     1.1 /1k
  "would"                                            0.0 /1k     1.3 /1k
  "should"                                           0.0 /1k     0.0 /1k
  "might"                                            0.0 /1k     0.2 /1k
  "may"                                              0.0 /1k     0.7 /1k
  "i"                                               20.3 /1k    27.5 /1k
  "you"                                              9.2 /1k    14.0 /1k
  "we"                                               1.8 /1k     0.4 /1k   ▲
  "they"                                             3.7 /1k     5.1 /1k
  "he"                                               5.5 /1k     4.0 /1k
  "she"                                              3.7 /1k     6.2 /1k
  "my"                                               1.8 /1k     7.8 /1k   ▼
  "your"                                             0.0 /1k     1.6 /1k
  "our"                                              0.0 /1k     0.7 /1k
  "their"                                            1.8 /1k     0.4 /1k   ▲
