<commit_before>Madness

Usage:
  madness [PATH] [options]
  madness (-h|--help|--version)

Parameters:
  PATH:
    Optional path to the markdown directory.

Options:
  -p, --port <number>
    Set server port number.

  -b, --bind <address>
    Set server listen address.

  --development
    Start the server in development mode. In this mode, dot diagrams are 
    regenerated on each request, whereas in production mode (default), the
    diagrams are expected to already be generated in the public folder.

  --no-auto-h1
    By default, if a markdown document does not start with an H1 caption,
    it will be added automatically based on the file name. To disable this
    behavior, use --no-auto-h1.

  --no-syntax
    Disable code syntax highlighting.

  --no-line-numbers
    Disable line numbering for syntax highlighter.

  --index
    Build or rebuild the index for the search page.

  --and-quit
    Quit after building the index (applicable only with --index).

Examples:
  madness
  madness docs
  madness docs --no-auto-h1 -p 4567
  madness docs --production
  madness --index --and-quit

<commit_msg>minor docopt fix<commit_after>Madness

Usage:
  madness [PATH] [options]
  madness (-h|--help|--version)

Parameters:
  PATH:
    Optional path to the markdown directory.

Options:
  -p, --port <number>
    Set server port number.

  -b, --bind <address>
    Set server listen address.

  --development
    Start the server in development mode. In this mode, dot diagrams are 
    regenerated on each request, whereas in production mode (default), the
    diagrams are expected to already be generated in the public folder.

  --no-auto-h1
    By default, if a markdown document does not start with an H1 caption,
    it will be added automatically based on the file name. To disable this
    behavior, use --no-auto-h1.

  --no-syntax
    Disable code syntax highlighting.

  --no-line-numbers
    Disable line numbering for syntax highlighter.

  --index
    Build or rebuild the index for the search page.

  --and-quit
    Quit after building the index (applicable only with --index).

Examples:
  madness
  madness docs
  madness docs --no-auto-h1 -p 4567
  madness docs --development
  madness --index --and-quit


{'fraction_non_alphanumeric': 0.08050089445438283, 'fraction_numerical': 0.007155635062611807, 'mean_word_length': 2.7596638655462185, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6777488', 'n_tokens_mistral': 702, 'n_tokens_neox': 640, 'n_words': 284}