<commit_before>
/* eslint no-param-reassign: 0 */
export default {
  state: {
    connected: true,
  },
  mutations: {
    ONLINE(state) {
      state.connected = true;
    },

    OFFLINE(state) {
      state.connected = false;
    },
  },
};<commit_msg>Default to native api response<commit_after>
/* eslint no-param-reassign: 0 */
export default {
  state: {
    connected: navigator.onLine,
  },
  mutations: {
    ONLINE(state) {
      state.connected = true;
    },

    OFFLINE(state) {
      state.connected = false;
    },
  },
};
{'fraction_non_alphanumeric': 0.14656771799628943, 'fraction_numerical': 0.0037105751391465678, 'mean_word_length': 2.4177215189873418, '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': '5807245', 'n_tokens_mistral': 189, 'n_tokens_neox': 184, 'n_words': 36}