<commit_before>'use strict';

for (var i = 0; i < gameImages.length; i++)
  gameImages[i] = "img/" + gameImages[i];

// Loading progress text
var progressScreenText = new Game.Text("Carregando: 0%", {
    "default": {fontFamily: "Book Antiqua", fontSize: "40px",
      dropShadow: true, dropShadowBlur: 10,
      fill: 0xFFFFFF, align: "left"
    }
  });
progressScreenText.setAnchor(0.5, 0.5);
progressScreenText.setPosition(1920/2, 1080/2);

var onProgressCallback = function(progressInfo) {
  // Update text
  progressScreenText.text = "Carregando: " + progressInfo.progress.toFixed(1) + "%";
  // Draw on screen
  stage.addChild(progressScreenText);
  renderer.render(stage);
}

// After loading all images, load scenes
loader.add(gameImages)
  .on("progress", onProgressCallback)
  .load(function() {
    progressScreenText = null; // Delete the loading object
    for (var i = 0; i < sceneLoader.length; i++) {
      if (sceneLoader[i] != null)
        sceneLoader[i]();
      else
        console.log("ERROR: Failed to load scene " + i);
    }

    // Initial Scene
    setScene(2);
  });<commit_msg>default scene back to 0<commit_after>'use strict';

for (var i = 0; i < gameImages.length; i++)
  gameImages[i] = "img/" + gameImages[i];

// Loading progress text
var progressScreenText = new Game.Text("Carregando: 0%", {
    "default": {fontFamily: "Book Antiqua", fontSize: "40px",
      dropShadow: true, dropShadowBlur: 10,
      fill: 0xFFFFFF, align: "left"
    }
  });
progressScreenText.setAnchor(0.5, 0.5);
progressScreenText.setPosition(1920/2, 1080/2);

var onProgressCallback = function(progressInfo) {
  // Update text
  progressScreenText.text = "Carregando: " + progressInfo.progress.toFixed(1) + "%";
  // Draw on screen
  stage.addChild(progressScreenText);
  renderer.render(stage);
}

// After loading all images, load scenes
loader.add(gameImages)
  .on("progress", onProgressCallback)
  .load(function() {
    progressScreenText = null; // Delete the loading object
    for (var i = 0; i < sceneLoader.length; i++) {
      if (sceneLoader[i] != null)
        sceneLoader[i]();
      else
        console.log("ERROR: Failed to load scene " + i);
    }

    // Initial Scene
    setScene(0);
  });
{'fraction_non_alphanumeric': 0.14928057553956833, 'fraction_numerical': 0.022032374100719423, 'mean_word_length': 3.531568228105906, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 3, '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': '4792717', 'n_tokens_mistral': 760, 'n_tokens_neox': 722, 'n_words': 180}