<commit_before>#!/usr/bin/python
"""to256.py

Usage:
  to256.py pick <color>... [--metric=<name>] [--format=<type>...] [--top=<number>] [--grayscale | --chromatic] [--show-input]
  to256.py benchmark [--samples=<number>]
  to256.py (-h | --help)

Options:
  --metric=<name>           Metric to measure similarities among colors [default: euclidean/rgb].
  --format=<type>           Types of output representation of picked colors [default: code,hex].
  --top=<number>            Output top-<number> similar colors [default: 1].
  --grayscale, --chromatic  Include only grayscale/chromatic colors.
  -n, --samples=<number>    Number of color samples [default: 100].
  -h, --help                Show this message.
"""
from docopt    import docopt
from bisect    import insort
from itertools import islice
from math      import sqrt
from random    import randint<commit_msg>Fix the default format specification<commit_after>#!/usr/bin/python
"""to256.py

Usage:
  to256.py pick <color>... [--metric=<name>] [--format=<type>...] [--top=<number>] [--grayscale | --chromatic] [--show-input]
  to256.py benchmark [--samples=<number>]
  to256.py (-h | --help)

Options:
  --metric=<name>           Metric to measure similarities among colors [default: euclidean/rgb].
  --format=<type>           Types of output representation of picked colors [default: code hex].
  --top=<number>            Output top-<number> similar colors [default: 1].
  --grayscale, --chromatic  Include only grayscale/chromatic colors.
  -n, --samples=<number>    Number of color samples [default: 100].
  -h, --help                Show this message.
"""
from docopt    import docopt
from bisect    import insort
from itertools import islice
from math      import sqrt
from random    import randint
{'fraction_non_alphanumeric': 0.14560906515580738, 'fraction_numerical': 0.018130311614730877, 'mean_word_length': 2.8558951965065504, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3325669', 'n_tokens_mistral': 597, 'n_tokens_neox': 535, 'n_words': 172}