<commit_before>/////////////////////////////////////////
///     load & configure webshims
/////////////////////////////////////////

// https://afarkas.github.io/webshim/demos/index.html
// start polyfilling
webshim.polyfill('forms-ext');

/////////////////////////////////////////
///     initialize foundation
/////////////////////////////////////////

// http://foundation.zurb.com/sites/docs/javascript.html#initializing
$(document).foundation();

/////////////////////////////////////////
///    timer countdown
/////////////////////////////////////////

var intervalId = null;
var e = null;
var f = null;

var sesslen;
var timeleft;

// housekeeping, called every 1s
function countdown() {
  timeleft -= 1;
  if (timeleft <= 0) {
    var cancelbox = document.getElementById('cancelbox');
    if (cancelbox) cancelbox.style.display = 'none';
    e.innerHTML = "0:00";
    e.style.color = "#f00";
    e.style.fontWeight = "bold";
    f.style.background = "#c00";
    f.style.width = '100%';

    if (intervalId) clearInterval(intervalId);
    return;
  }
  m = timeleft / 60 - (timeleft % 60) / 60;
  m = Math.round(m); //m.toFixed();
  s = timeleft % 60;
  if (s < 10) s = "0" + s;<commit_msg>how dare you not declare<commit_after>/////////////////////////////////////////
///     load & configure webshims
/////////////////////////////////////////

// https://afarkas.github.io/webshim/demos/index.html
// start polyfilling
webshim.polyfill('forms-ext');

/////////////////////////////////////////
///     initialize foundation
/////////////////////////////////////////

// http://foundation.zurb.com/sites/docs/javascript.html#initializing
$(document).foundation();

/////////////////////////////////////////
///    timer countdown
/////////////////////////////////////////

var intervalId = null;
var e = null;
var f = null;
var m = null;
var s = null;

var sesslen;
var timeleft;

// housekeeping, called every 1s
function countdown() {
  timeleft -= 1;
  if (timeleft <= 0) {
    var cancelbox = document.getElementById('cancelbox');
    if (cancelbox) cancelbox.style.display = 'none';
    e.innerHTML = "0:00";
    e.style.color = "#f00";
    e.style.fontWeight = "bold";
    f.style.background = "#c00";
    f.style.width = '100%';

    if (intervalId) clearInterval(intervalId);
    return;
  }
  m = timeleft / 60 - (timeleft % 60) / 60;
  m = Math.round(m); //m.toFixed();
  s = timeleft % 60;
  if (s < 10) s = "0" + s;
{'fraction_non_alphanumeric': 0.3340172343044727, 'fraction_numerical': 0.019696347968814115, 'mean_word_length': 1.4751269035532995, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, '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': '5070428', 'n_tokens_mistral': 745, 'n_tokens_neox': 699, 'n_words': 163}