<commit_before>/* Project specific Javascript goes here. */
 function updateCorrelation(value){
  var box = document.getElementById("correlation");
  box.innerHTML = value;
}

function countdown() {
  var seconds = 30;
  function tick() {
    var counter = document.getElementById("counter");
    seconds--;
    counter.innerHTML = "0:" + (seconds < 10 ? "0" : "") + String(seconds);
    if( seconds > 0 ) {
        setTimeout(tick, 1000);
    } else {
      counter.style.color = "#F00";
      var submit = document.getElementById("submit");
      submit.click();
    }
  }
  tick();
}

$("#slider").slider({
  min: 0,
  max: 1,
  step: 0.001,
  slide: function(event, ui) {
    $('#correlation')[0].innerHTML = ui.value;
  },
  change: function(event, ui) {
    $('.ui-slider-handle').show();
    $('#guess').val(ui.value);
  }
});

$('.ui-slider-handle').hide();

countdown();<commit_msg>fixed the slider to stepsize 0.01<commit_after>/* Project specific Javascript goes here. */
 function updateCorrelation(value){
  var box = document.getElementById("correlation");
  box.innerHTML = value;
}

function countdown() {
  var seconds = 30;
  function tick() {
    var counter = document.getElementById("counter");
    seconds--;
    counter.innerHTML = "0:" + (seconds < 10 ? "0" : "") + String(seconds);
    if( seconds > 0 ) {
        setTimeout(tick, 1000);
    } else {
      counter.style.color = "#F00";
      var submit = document.getElementById("submit");
      submit.click();
    }
  }
  tick();
}

$("#slider").slider({
  min: 0,
  max: 1,
  step: 0.01,
  slide: function(event, ui) {
    $('#correlation')[0].innerHTML = ui.value;
  },
  change: function(event, ui) {
    $('.ui-slider-handle').show();
    $('#guess').val(ui.value);
  }
});

$('.ui-slider-handle').hide();

countdown();
{'fraction_non_alphanumeric': 0.1948917268184342, 'fraction_numerical': 0.023320377568017768, 'mean_word_length': 3.1809744779582365, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7025918', 'n_tokens_mistral': 609, 'n_tokens_neox': 576, 'n_words': 128}