<commit_before>const Reducer = (state =  {

}, action) => {
    switch(action.type) {
        // case 'ADD_TODO':
        //     return { ...state, nextId: state.nextId + 1,
        //         todoItems: [ ...state.todoItems,
        //             {id:state.nextId, text: action.text, done: false}]
        //     }
        default:
            return state
    }
}

export default Reducer<commit_msg>Add a reducer for navigation.<commit_after>const Reducer = (state =  {
    nextPage: 'LandingPage'
}, action) => {
    switch(action.type) {
        case 'navigate':
            return Object.assign({}, state, {
                nextPage: action.text
            })
        default:
            return state
    }
}

export default Reducer
{'fraction_non_alphanumeric': 0.13243243243243244, 'fraction_numerical': 0.0013513513513513514, 'mean_word_length': 1.6183745583038869, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '467395', 'n_tokens_mistral': 225, 'n_tokens_neox': 219, 'n_words': 48}