<commit_before>$(function() {
  var zoomLevel = 2;
  var coord = [20.0, 0.0];
  var container = document.querySelector('.index-map');
  if (!container) return;

  var map = L.map('map', { scrollWheelZoom:false }).setView(coord, zoomLevel);

  L.tileLayer('//a.tile.openstreetmap.org/{z}/{x}/{y}.png', {
    container_id: "map",
    center: {
      latlng: coord,
      zoom: zoomLevel
    },
    attribution: 'Map data &copy; <a href="//openstreetmap.org" target="_blank">OpenStreetMap contributors</a>,<a href="https://creativecommons.org/licenses/by-sa/2.0/" target="_blank">CC-BY-SA</a>'
  }).addTo(map);

  var groupCoords = document.querySelectorAll('.index-map ul li');

  groupCoords.forEach(function(i) {
    let lat = i.getAttribute('data-lat');
    let long = i.getAttribute('data-long');
    if (lat !== null && long !== null) {
      L.marker([lat, long]).addTo(map);
    }
  });
});<commit_msg>let -> var<commit_after>$(function() {
  var zoomLevel = 2;
  var coord = [20.0, 0.0];
  var container = document.querySelector('.index-map');
  if (!container) return;

  var map = L.map('map', { scrollWheelZoom:false }).setView(coord, zoomLevel);

  L.tileLayer('//a.tile.openstreetmap.org/{z}/{x}/{y}.png', {
    container_id: "map",
    center: {
      latlng: coord,
      zoom: zoomLevel
    },
    attribution: 'Map data &copy; <a href="//openstreetmap.org" target="_blank">OpenStreetMap contributors</a>,<a href="https://creativecommons.org/licenses/by-sa/2.0/" target="_blank">CC-BY-SA</a>'
  }).addTo(map);

  var groupCoords = document.querySelectorAll('.index-map ul li');

  groupCoords.forEach(function(i) {
    var lat = i.getAttribute('data-lat');
    var long = i.getAttribute('data-long');
    if (lat !== null && long !== null) {
      L.marker([lat, long]).addTo(map);
    }
  });
});
{'fraction_non_alphanumeric': 0.20430701270016566, 'fraction_numerical': 0.00883489784649365, 'mean_word_length': 3.598984771573604, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 12, 'https://': 2, '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': '5305012', 'n_tokens_mistral': 645, 'n_tokens_neox': 630, 'n_words': 117}