<commit_before>import Vuex from 'kolibri.lib.vuex';
import {
  initialState as coreInitialState,
  mutations as coreMutations,
} from 'kolibri.coreVue.vuex.store';

const initialState = {
  pageState: {
    submitted: false,
  },
};
const mutations = {
  SET_SUBMITTED_STATE(state, submittedFlag) {
    state.pageState.submitted = submittedFlag;
  },
};

// assigns core state and mutations
Object.assign(initialState, coreInitialState);
Object.assign(mutations, coreMutations);

const store = new Vuex.Store({
  state: initialState,
  mutations,
});

export default store;<commit_msg>Setting up onboarding state model.<commit_after>import Vuex from 'kolibri.lib.vuex';
import {
  initialState as coreInitialState,
  mutations as coreMutations,
} from 'kolibri.coreVue.vuex.store';

const initialState = {
  const initialState = {
    onboardingData: {
      language: '',
      facilityName: '',
      suName: '',
      suUsername: '',
      suPassword: '',
      facilityPermissionOption: '',
    },
    submitted: false,
    error: false,
    onboardingStep: 1,
  };
};
const mutations = {
  SET_SUBMITTED_STATE(state, submittedFlag) {
    state.pageState.submitted = submittedFlag;
  },
};

// assigns core state and mutations
Object.assign(initialState, coreInitialState);
Object.assign(mutations, coreMutations);

const store = new Vuex.Store({
  state: initialState,
  mutations,
});

export default store;
{'fraction_non_alphanumeric': 0.11535739561217269, 'fraction_numerical': 0.0007077140835102619, 'mean_word_length': 4.141818181818182, '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': '412095', 'n_tokens_mistral': 457, 'n_tokens_neox': 451, 'n_words': 101}