<commit_before><!DOCTYPE html>
  <head>
    <title>Random Color</title>
    <link rel="stylesheet" href="style.css">
    <script src="./tests.js"></script>
    <script src="../randomColor.js"></script>
  </head>
  <body>
    <section>
      <button onclick="renderDemo()">Reload</button>
      <br />
      <code>randomColor();</code>
      <span class="output" count="1"></span>
      <br />
      <h4>Multiple colors</h4>
      <code>randomColor({count: 54});</code>
      <span class="output" count="54"></span>
      <br />
      <h4>Similar colors</h4>
      <code>randomColor({hue: 'red', count: 18});</code>
      <span class="output" hue="red" count="18"></span>
      <br />
      <code>randomColor({hue: 'orange', count: 18});</code>
      <span class="output" hue="orange" count="18"></span>
      <br />
      <code>randomColor({hue: 'yellow', count: 18});</code>
      <span class="output" hue="yellow" count="18"></span>
      <br />
      <code>randomColor({hue: 'green', count: 18});</code>
      <span class="output" hue="green" count="18"></span>
      <br />
      <code>randomColor({hue: 'blue', count: 18});</code>
      <span class="output" hue="blue" count="18"></span>
      <br />
      <code>randomColor({hue: 'purple', count: 18});</code>
      <span class="output" hue="purple" count="18"></span>
      <br />
      <code>randomColor({hue: 'pink', count: 18});</code>
      <span class="output" hue="pink" count="18"></span>
      <br />
<!--       <h4>Contrasting colors</h4>
      <code>randomColor({hue: {contrasts: 'orange'}, count: 18});</code>
      <span class="output" hue="orange" contrasts="true" count="18" style="background: orange"></span>
      <br />
 -->    </section>
    <script>
      createSwatches();
      renderDemo();
    </script>
  </body>
</html><commit_msg>added tests for bright, light and dark<commit_after><!DOCTYPE html>
  <head>
    <meta charset="utf-8">
    <title>Random Color</title>
    <link rel="stylesheet" href="style.css">
    <script src="./tests.js"></script>
    <script src="../randomColor.js"></script>
  </head>
  <body>
    <section>
      <button onclick="renderDemo()">Reload</button>
      <br />
      <code>randomColor();</code>
      <span class="output" count="1"></span>
      <br />
      <h4>Random colors</h4>
      <code>randomColor({hue: 'random',luminosity: 'random',count: 54});</code>
      <span class="output" count="54" hue="random" luminosity="random"></span>
      <br />
      <h4>Attractive colors</h4>
      <code>randomColor({count: 54});</code>
      <span class="output" count="54"></span>
      <br />
      <h4>Light colors</h4>
      <code>randomColor({count: 27});</code>
      <span class="output" luminosity="light" count="27"></span>
      <br />
      <h4>Bright colors</h4>
      <code>randomColor({count: 27});</code>
      <span class="output" luminosity="bright" count="27"></span>
      <br />
      <h4>Dark colors</h4>
      <code>randomColor({count: 27});</code>
      <span class="output" luminosity="dark" count="27"></span>
      <h4>Similar colors</h4>
      <code>randomColor({hue: 'red', count: 18});</code>
      <span class="output" hue="red" count="18"></span>
      <br />
      <code>randomColor({hue: 'orange', count: 18});</code>
      <span class="output" hue="orange" count="18"></span>
      <br />
      <code>randomColor({hue: 'yellow', count: 18});</code>
      <span class="output" hue="yellow" count="18"></span>
      <br />
      <code>randomColor({hue: 'green', count: 18});</code>
      <span class="output" hue="green" count="18"></span>
      <br />
      <code>randomColor({hue: 'blue', count: 18});</code>
      <span class="output" hue="blue" count="18"></span>
      <br />
      <code>randomColor({hue: 'purple', count: 18});</code>
      <span class="output" hue="purple" count="18"></span>
      <br />
      <code>randomColor({hue: 'pink', count: 18});</code>
      <span class="output" hue="pink" count="18"></span>
      <br />
      <code>randomColor({hue: 'monochrome', count: 18});</code>
      <span class="output" hue="monochrome" count="18"></span>
      <br />
<!--       <h4>Contrasting colors</h4>
      <code>randomColor({hue: {contrasts: 'orange'}, count: 18});</code>
      <span class="output" hue="orange" contrasts="true" count="18" style="background: orange"></span>
      <br />
 -->    </section>
    <script>
      createSwatches();
      renderDemo();
    </script>
  </body>
</html>
{'fraction_non_alphanumeric': 0.2284241201524322, 'fraction_numerical': 0.025778973324366735, 'mean_word_length': 3.112442396313364, 'pattern_counts': {'":': 0, '<': 190, '<?xml version=': 0, '>': 190, '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': '5584502', 'n_tokens_mistral': 1622, 'n_tokens_neox': 1494, 'n_words': 290}