<commit_before>'use strict';

// DOM interaction code

var currentScore = document.getElementById('current_score');

var fire = document.getElementById('fire');
fire.addEventListener('submit', fireMissles);

var feedback = document.getElementById('feedback');
var turn = document.getElementById('turn');

var resetButton = document.getElementById('resetButton');

resetButton.addEventListener('click', function() {
  location.reload();
  localStorage.removeItem('board');
  localStorage.removeItem('sub');
  localStorage.removeItem('player');

  for (var i = 0; i < 5; i++) {
    localStorage.removeItem('sub' + i);
  }

});

// functions declarations

function makeGridTable(board) {

  var size = board.size;

  var domTarget = document.getElementById('grid_table');
  var table = document.createElement('table');

  for (var i = 0; i <= size; i++){
    var th = document.createElement('th');
    th.textContent = i;
    table.appendChild(th);
  }

  for (i = 0; i < size; i++) {
    var row = document.createElement('tr');

    var rowHeader = document.createElement('th');
    rowHeader.textContent = i+1;
    row.appendChild(rowHeader);

    for (var j = 0; j < size; j++) {<commit_msg>clears count from localStorage<commit_after>'use strict';

// DOM interaction code

var currentScore = document.getElementById('current_score');

var fire = document.getElementById('fire');
fire.addEventListener('submit', fireMissles);

var feedback = document.getElementById('feedback');
var turn = document.getElementById('turn');

var resetButton = document.getElementById('resetButton');

resetButton.addEventListener('click', function() {
  location.reload();
  localStorage.removeItem('board');
  localStorage.removeItem('sub');
  localStorage.removeItem('player');
  localStorage.removeItem('count');

  for (var i = 0; i < 5; i++) {
    localStorage.removeItem('sub' + i);
  }

});

// functions declarations

function makeGridTable(board) {

  var size = board.size;

  var domTarget = document.getElementById('grid_table');
  var table = document.createElement('table');

  for (var i = 0; i <= size; i++){
    var th = document.createElement('th');
    th.textContent = i;
    table.appendChild(th);
  }

  for (i = 0; i < size; i++) {
    var row = document.createElement('tr');

    var rowHeader = document.createElement('th');
    rowHeader.textContent = i+1;
    row.appendChild(rowHeader);

    for (var j = 0; j < size; j++) {
{'fraction_non_alphanumeric': 0.15605749486652978, 'fraction_numerical': 0.004928131416837783, 'mean_word_length': 4.486486486486487, 'pattern_counts': {'":': 0, '<': 11, '<?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': '1096463', 'n_tokens_mistral': 724, 'n_tokens_neox': 695, 'n_words': 174}