<commit_before>var {createStore, combineReducers} = require('redux');

var queryForm = require('../../../reducers/queryform');

 // reducers
const reducers = combineReducers({
    queryForm
});

// export the store with the given reducers
module.exports = createStore(reducers, {});<commit_msg>Providing the initial state for the query form example<commit_after>var {createStore, combineReducers} = require('redux');

var queryForm = require('../../../reducers/queryform');

const initialState = {
    filterFields: [
        {
            rowId: 0,
            attribute: null,
            operator: null,
            value: null,
            exception: null
        }
    ],
    attributes: [
        {
            id: "ListAttribute",
            type: "list",
            values: [
                "value1",
                "value2",
                "value3",
                "value4",
                "value5"
            ]
        },
        {
            id: "DateAttribute",
            type: "date"
        }
    ]
};

 // reducers
const reducers = combineReducers({
    queryForm
});

// export the store with the given reducers
module.exports = createStore(reducers, {queryForm: initialState});
{'fraction_non_alphanumeric': 0.12614107883817427, 'fraction_numerical': 0.004979253112033195, 'mean_word_length': 1.7916666666666667, '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': '5523077', 'n_tokens_mistral': 337, 'n_tokens_neox': 324, 'n_words': 80}