<commit_before>state_waiting = function(game) {
  return {
    create: function (game) {
      objects.obstacle.setTo(game.world.width + 20, constants.groundHeight - constants.tileSize, constants.tileSize, constants.tileSize);
      game.input.onTap.add(this.startRunning, this);
      var textStyle = {fill: colorPalette.accent, boundsAlignH: "center", boundsAlignV: "middle"};
      var text = game.add.text(game.world.centerX - 150, game.world.centerY, "Touch anywhere to jump", textStyle);
      text.setShadow(2, 2, colorPalette.dark);
    },

    render: function () {
      game.debug.geom(objects.runner, colorPalette.accent);
      game.debug.geom(objects.ground, colorPalette.dark);
    },

    startRunning: function() {
      game.state.start('running');
    }
  };
};
<commit_msg>Actually centering text instead of approximately centering<commit_after>state_waiting = function(game) {
  return {
    create: function (game) {
      objects.obstacle.setTo(game.world.width + 20, constants.groundHeight - constants.tileSize, constants.tileSize, constants.tileSize);
      game.input.onTap.add(this.startRunning, this);
      var textStyle = {fill: colorPalette.accent, boundsAlignH: "center", boundsAlignV: "middle"};
      var text = game.add.text(game.world.centerX, game.world.centerY, "Touch anywhere to jump", textStyle);
      text.anchor.set(0.5);
      text.setShadow(2, 2, colorPalette.dark);
    },

    render: function () {
      game.debug.geom(objects.runner, colorPalette.accent);
      game.debug.geom(objects.ground, colorPalette.dark);
    },

    startRunning: function() {
      game.state.start('running');
    }
  };
};

{'fraction_non_alphanumeric': 0.1397459165154265, 'fraction_numerical': 0.007864488808227465, 'mean_word_length': 3.6201117318435756, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1960298', 'n_tokens_mistral': 537, 'n_tokens_neox': 520, 'n_words': 94}