<commit_before>function hasStore(type) {
  try {
    return type in window && window[type] !== null;
  } catch(e) {
    return false;
  }
}

var store = (function () {
  "use strict";
  var polyfill = false;

  // Firefox with Cookies disabled triggers a security error when we probe window.sessionStorage<commit_msg>Move hasStore function to store module<commit_after>var store = (function () {
  "use strict";

  function hasStore(type) {
    try {
      return type in window && window[type] !== null;
    } catch(e) {
      return false;
    }
  }
  
  var polyfill = false;

  // Firefox with Cookies disabled triggers a security error when we probe window.sessionStorage
{'fraction_non_alphanumeric': 0.10355029585798817, 'fraction_numerical': 0.0, 'mean_word_length': 3.2049689440993787, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2945420', 'n_tokens_mistral': 203, 'n_tokens_neox': 193, 'n_words': 68}