<commit_before><!DOCTYPE html>
<html>
  <head>
    <title> Color guessing game </title>
    <script>
      (function do_game() {
        var colors = ["blue", "cyan", "gold", "gray", "green", "magenta",
        "orange", "red", "white", "yellow"];
        colors.sort();
        var guessed = false;
        var played = 0;
        var rand = Math.floor(Math.random() * (colors.length -1));
        console.log(rand);

        do {
          var value = prompt("I am thinking of one of these colors:\n\
          "+ colors +"\n\n What color am I thinking of?");
          played++;

          if (value == colors[rand]) {
            console.log(played);
            guessed = true;
          }
        } while (!guessed);

      })();
    </script>
  </head>

  <body>
  </body>
</html><commit_msg>part1 project<commit_after><!DOCTYPE html>
<html>
  <head>
    <title> Color guessing game </title>
    <script>
      (function do_game() {
        var colors = ["blue", "cyan", "gold", "gray", "green", "magenta",
        "orange", "red", "white", "yellow"];
        colors.sort();
        var guessed = false;
        var played = 0;
        var rand = Math.floor(Math.random() * (colors.length -1));
        alert("color: " + colors[rand]);

        do {
          var value = prompt("I am thinking of one of these colors:\n\
          "+ colors +"\n\n What color am I thinking of?");
          played++;

          if (value == colors[rand]) {
            console.log(played);
            guessed = true;
          }
        } while (!guessed);

      })();
    </script>
  </head>

  <body>
  </body>
</html>
{'fraction_non_alphanumeric': 0.17307692307692307, 'fraction_numerical': 0.003101736972704715, 'mean_word_length': 1.8397887323943662, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '1614201', 'n_tokens_mistral': 510, 'n_tokens_neox': 491, 'n_words': 141}