<commit_before>export function addonPageSelector(substate, router, reverse=false) {
  const pageNum = parseInt(router.params.page, 10) || 1;
  const page = substate.pages[pageNum] || {
    addons: [],
    hasNextPage: false,
    hasPrevPage: false,
    isFetching: true,
    page: pageNum
  };

  return {
    addons: reverse ? page.addons.reverse() : page.addons,
    hasNextPage: page.hasNextPage,
    hasPrevPage: page.hasPrevPage,
    isFetching: page.isFetching,
    page: pageNum
  };
}<commit_msg>remove unused reverse param for page selector<commit_after>export function addonPageSelector(substate, router) {
  const pageNum = parseInt(router.params.page, 10) || 1;
  const page = substate.pages[pageNum] || {
    addons: [],
    hasNextPage: false,
    hasPrevPage: false,
    isFetching: true,
    page: pageNum
  };

  return {
    addons: page.addons,
    hasNextPage: page.hasNextPage,
    hasPrevPage: page.hasPrevPage,
    isFetching: page.isFetching,
    page: pageNum
  };
}
{'fraction_non_alphanumeric': 0.11503531786074672, 'fraction_numerical': 0.006054490413723511, 'mean_word_length': 3.635514018691589, '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': '6799648', 'n_tokens_mistral': 339, 'n_tokens_neox': 337, 'n_words': 73}