<commit_before>var map         = null;
var markers     = [];
var MAX_MARKERS = 100;
var infoWindow  = new google.maps.InfoWindow();

function initialize() {
  map = new google.maps.Map(document.getElementById('map-canvas'), {
    center: { lat: 30, lng: 0},
    zoom: 2
  });
}
google.maps.event.addDomListener(window, 'load', initialize);

var ws = new WebSocket("ws://localhost:8080");
<commit_msg>added autoplay<commit_after>var map         = null;
var markers     = [];
var infoWindow  = new google.maps.InfoWindow();
var MAX_MARKERS = 100;
var INTERVAL    = 2000;

function initialize() {
  map = new google.maps.Map(document.getElementById('map-canvas'), {
    center: { lat: 30, lng: 0},
    zoom: 2
  });

  var interval = setInterval(
    function() {
      if (markers.length > 0) {
        google.maps.event.trigger(markers[markers.length - 1], 'click');
      }
    },
    INTERVAL
  );

  google.maps.event.addListener(map, 'click', function() {
    clearInterval(interval);
  });
}
google.maps.event.addDomListener(window, 'load', initialize);

var ws = new WebSocket("ws://localhost:8080");

{'fraction_non_alphanumeric': 0.15822784810126583, 'fraction_numerical': 0.02531645569620253, 'mean_word_length': 3.410358565737052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2708124', 'n_tokens_mistral': 390, 'n_tokens_neox': 355, 'n_words': 81}