<commit_before>export const INPUT_DEFS_UPDATE = 'INPUT_DEFS_UPDATE'
export const INPUT_VALUE_UPDATE = 'INPUT_VALUE_UPDATE'

export function updateInput(input_id, value) {
    return {
        type: INPUT_VALUE_UPDATE,
        input_id: input_id,
        value: value
    };
}

export let updateInputDefs = (inputs) => {
    return {
        type: INPUT_DEFS_UPDATE,
        inputs
    };
};
<commit_msg>Actions ES6 Object syntax<commit_after>export const INPUT_DEFS_UPDATE = 'INPUT_DEFS_UPDATE'
export const INPUT_VALUE_UPDATE = 'INPUT_VALUE_UPDATE'

export function updateInput(input_id, value) {
    return {
        type: INPUT_VALUE_UPDATE,
        input_id,
        value
    };
}

export let updateInputDefs = (inputs) => {
    return {
        type: INPUT_DEFS_UPDATE,
        inputs
    };
};

{'fraction_non_alphanumeric': 0.08489388264669163, 'fraction_numerical': 0.0012484394506866417, 'mean_word_length': 3.0918367346938775, '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': '6776278', 'n_tokens_mistral': 261, 'n_tokens_neox': 260, 'n_words': 55}