<commit_before>import Vapi from 'vuex-rest-api'
import Vuex from 'vuex'
import viisiConfig from '~/distrochooser.json'
const indexStore = new Vapi({
  baseURL: viisiConfig.frontend.backendUrl,
  state: {
    data: null, //for initial bulk loading
    question: null,
    answers: null,
    categories: null,
    currentCategory: null,
    givenAnswers: [],
    token: null, //session token
    sessionToken: null, //private session token
    isStarted: false,
    result: null,
    translations: null,
    locales: ['en', 'gb', 'us', 'de', 'it', 'cn', 'vn'],
    voteResult: null,
    remarksAdded: false,
    language: 'en',
    testCount: 0,
    oldTestData: null,
    isSubmitted: false,
    rootUrl: viisiConfig.frontend.frontendUrl,
    socialNetworks: viisiConfig.frontend.socialNetworks,
    answerBlockedAnswers: [],
    sessionStatus: null,
    method: 'default'
  }
})
  .post({
    action: 'start',<commit_msg>Added ch as allowed language<commit_after>import Vapi from 'vuex-rest-api'
import Vuex from 'vuex'
import viisiConfig from '~/distrochooser.json'
const indexStore = new Vapi({
  baseURL: viisiConfig.frontend.backendUrl,
  state: {
    data: null, //for initial bulk loading
    question: null,
    answers: null,
    categories: null,
    currentCategory: null,
    givenAnswers: [],
    token: null, //session token
    sessionToken: null, //private session token
    isStarted: false,
    result: null,
    translations: null,
    locales: ['en', 'gb', 'us', 'de', 'it', 'cn', 'vn', 'ch'],
    voteResult: null,
    remarksAdded: false,
    language: 'en',
    testCount: 0,
    oldTestData: null,
    isSubmitted: false,
    rootUrl: viisiConfig.frontend.frontendUrl,
    socialNetworks: viisiConfig.frontend.socialNetworks,
    answerBlockedAnswers: [],
    sessionStatus: null,
    method: 'default'
  }
})
  .post({
    action: 'start',
{'fraction_non_alphanumeric': 0.1282877079978529, 'fraction_numerical': 0.0010735373054213634, 'mean_word_length': 3.4380952380952383, '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': '5408600', 'n_tokens_mistral': 620, 'n_tokens_neox': 611, 'n_words': 166}