Voice Calibration & Agents · RESEARCH NOTE #37/38 · DOI 10.5281/zenodo.24882863
Zero-Dependency Command-Line Stylometric Auditing for Markdown & Docs
Complete CLI documentation for `src/stylometry_audit.py`: JSON diagnostics, strict CI exit codes, stdin piping, and pure-English `::ILANG::v5.0` remediation output.
Key Empirical Finding: Running `stylometry_audit.py --strict` in pull-request CI catches 100% of accidental long dashes and high-weight lexical tells in under 25 milliseconds per file.
1. Four-Point Deterministic Remediation Checklist
| Diagnostic Dimension | Deterministic Rule |
|---|---|
| Zero pip dependencies | Runs on stock Python 3.10+ anywhere: Linux CI runners, macOS laptops, or Windows PowerShell. |
| Machine-readable `--json` | Outputs exact burstiness CV, uniform run length, dash count, and matched lexicon entries. |
| One-flag `--ilang` mode | Emits a ready-to-paste `::ILANG::v5.0` remediation block tailored to the exact tells found. |
| CI `--strict` gate | Exits with status code 1 whenever `high_weight_hits > 0` or `dash_count > 0`. |
2. Measured Corpus Specimens (EN)
| Observed Pattern | LLM Multiplier | Action | Plain Human Replacement |
|---|---|---|---|
delve | 28.4x | replace_plain_verb | examine / study / look into |
delve into | 31.2x | replace_plain_verb | examine / explore |
underscores | 16.5x | replace_plain_verb | shows / highlights |
multifaceted | 15.9x | replace_plain_verb | complex / varied |
pivotal | 13.5x | replace_plain_verb | key / central |
crucial | 8.9x | replace_plain_verb | necessary / key |
vital | 8.4x | replace_plain_verb | essential |
foster | 12.8x | replace_plain_verb | build / encourage |
3. Pure-English iLang v5.0 Agent Execution Block
::ILANG::v5.0
[TYPE:engineering_book][ID:RESEARCH-OPEN_SOURCE_AI_HUMANIZER_CLI][VERSION:1.0][DATE:2026-12-05][LANG:en]
::STATE{@USER, role:author_and_approver, language:match_user_message_language}
::STATE{@AGENT, role:stylometry_auditor, mcp:https://humanizer.solutions/mcp, playbook:https://humanizer.solutions/guides/open-source-ai-humanizer-cli.md}
::OBJECTIVE{id:apply_open_source_ai_humanizer_cli|owner:user|trust:trusted|version:1|status:active}
target: audit @USER draft against open-source-ai-humanizer-cli rules, strip high-multiplier LLM tells and long dashes, and restore burstiness CV >= 0.45 without altering verified facts
DONE_WHEN: post-edit check confirms zero U+2014 dashes, zero high-weight tells, and intact domain terminology
::BOUNDARY{never:invent_facts_numbers_citations_or_synthetic_slang|scope:permanent}
::RULE{ground_first then read_https://humanizer.solutions/guides/open-source-ai-humanizer-cli.md_or_query_https://humanizer.solutions/mcp|source:https://humanizer.solutions/}
Paste into Claude Code, Google Antigravity, Codex, Cursor, or ChatGPT. For live automated scrubbing and Markdown API access, open https://humanizer.solutions/guides/open-source-ai-humanizer-cli.html.
4. Frequently Asked Questions
Does `stylometry_audit.py` call any external API or upload my text?
Never. It runs 100% offline against the local JSON lexicon with zero network calls.
How fast is it on large documentation repositories?
Auditing 50 Markdown files takes roughly 0.2 seconds on a standard CI runner.
What license is the CLI released under?
MIT License in `https://github.com/ilang-ai/humanizer`.