<commit_before>import fetch from 'isomorphic-fetch';

const LOAD_STARGAZERS_SUCCESS = 'LOAD_STARGAZERS_SUCCESS';

const initialState = {
  stargazers: '506'
};

export function loadStargazers() {
  return dispatch => {
    fetch('https://api.github.com/repos/moroshko/react-autosuggest')
      .then(response => response.json())
      .then(response => {
        dispatch({
          type: LOAD_STARGAZERS_SUCCESS,
          stargazers: String(response.stargazers_count)
        });
      });
  };
}

export default function reducer(state = initialState, action = {}) {
  switch (action.type) {
    case LOAD_STARGAZERS_SUCCESS:
      return {
        ...state,
        stargazers: action.stargazers
      };

    default:
      return state;
  }
}
<commit_msg>Update default stargazers count<commit_after>import fetch from 'isomorphic-fetch';

const LOAD_STARGAZERS_SUCCESS = 'LOAD_STARGAZERS_SUCCESS';

const initialState = {
  stargazers: '515'
};

export function loadStargazers() {
  return dispatch => {
    fetch('https://api.github.com/repos/moroshko/react-autosuggest')
      .then(response => response.json())
      .then(response => {
        dispatch({
          type: LOAD_STARGAZERS_SUCCESS,
          stargazers: String(response.stargazers_count)
        });
      });
  };
}

export default function reducer(state = initialState, action = {}) {
  switch (action.type) {
    case LOAD_STARGAZERS_SUCCESS:
      return {
        ...state,
        stargazers: action.stargazers
      };

    default:
      return state;
  }
}

{'fraction_non_alphanumeric': 0.12077922077922078, 'fraction_numerical': 0.003896103896103896, 'mean_word_length': 2.8525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '2761466', 'n_tokens_mistral': 513, 'n_tokens_neox': 498, 'n_words': 87}