<commit_before>function createPerson() {
  person = game.add.sprite(1, game.world.height - 150, 'person');
  person.scale.setTo(0.5, 0.5);
  person.anchor.setTo(0.5, 0.5);
  person.lifespan = 10;
  person.userControl = true;
  characters.push(person);
}

function createGhosts() {

  //ghosts = game.add.group();
  //ghosts.enableBody = true;

  ghost1 = game.add.sprite(100, game.world.height - 150, 'ghost');
  ghost1.anchor.setTo(0.5, 0.5);
  ghost1.scale.setTo(2,2);
  ghost1.isControlled = true;

  ghost2 = game.add.sprite(200, game.world.height - 150, 'ghost');
  ghost2.anchor.setTo(0.5, 0.5);
  ghost2.scale.setTo(2,2);
  ghost2.isControlled = true;

  ghost3 = game.add.sprite(300, game.world.height - 150, 'ghost');
  ghost3.anchor.setTo(0.5, 0.5);
  ghost3.scale.setTo(2,2);<commit_msg>take out life span attr<commit_after>function createPerson() {
  person = game.add.sprite(1, game.world.height - 150, 'person');
  person.scale.setTo(0.5, 0.5);
  person.anchor.setTo(0.5, 0.5);
  person.userControl = true;
  characters.push(person);
}

function createGhosts() {

  //ghosts = game.add.group();
  //ghosts.enableBody = true;

  ghost1 = game.add.sprite(100, game.world.height - 150, 'ghost');
  ghost1.anchor.setTo(0.5, 0.5);
  ghost1.scale.setTo(2,2);
  ghost1.isControlled = true;

  ghost2 = game.add.sprite(200, game.world.height - 150, 'ghost');
  ghost2.anchor.setTo(0.5, 0.5);
  ghost2.scale.setTo(2,2);
  ghost2.isControlled = true;

  ghost3 = game.add.sprite(300, game.world.height - 150, 'ghost');
  ghost3.anchor.setTo(0.5, 0.5);
  ghost3.scale.setTo(2,2);
{'fraction_non_alphanumeric': 0.18647281921618206, 'fraction_numerical': 0.07585335018963338, 'mean_word_length': 3.7537537537537538, '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': '4635192', 'n_tokens_mistral': 711, 'n_tokens_neox': 672, 'n_words': 101}