<commit_before>import {Map, List, toJS} from 'immutable';
import {INITIAL_STATE} from './constants'
import {filterProducts, productFilter} from './product_helper'
import {getProductLabel} from './label';

export const productMeta    = require('../data/meta/product_meta.json');
export const productKeys    = require('../data/meta/product_keys.json').keys;
export const productOptions = productKeys
                                  .map(key => ({
                                    value: key,
                                    label: getProductLabel(key)
                                  }))

<commit_msg>data -- add productData constant to products.js<commit_after>import {Map, List, toJS} from 'immutable';
import {INITIAL_STATE} from './constants'
import {filterProducts, productFilter} from './product_helper'
import {getProductLabel} from './label';

export const productMeta    = require('../data/meta/product_meta.json');
export const productKeys    = require('../data/meta/product_keys.json').keys;
export const productData    = require('../data/products.json').products;
export const productOptions = productKeys
                                  .map(key => ({
                                    value: key,
                                    label: getProductLabel(key)
                                  }))


{'fraction_non_alphanumeric': 0.11680482290881689, 'fraction_numerical': 0.0, 'mean_word_length': 1.990990990990991, '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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7171888', 'n_tokens_mistral': 328, 'n_tokens_neox': 318, 'n_words': 81}