<commit_before>import React from 'react'

const buttonStyle = {
  display: 'inline-block',
  marginRight: '10px',
}

const clickableButtonStyle = Object.assign({}, buttonStyle, {
  color: 'blue',
  cursor: 'pointer',
})

const Paginator = ({
  count,
  perPage,
  current,

  setPage,
}) => {
  const pagesLength = Math.floor(count / perPage)

  return (
    <div>
      {
        (() => {
          const res = []<commit_msg>Fixed pages number in pagination example<commit_after>import React from 'react'

const buttonStyle = {
  display: 'inline-block',
  marginRight: '10px',
}

const clickableButtonStyle = Object.assign({}, buttonStyle, {
  color: 'blue',
  cursor: 'pointer',
})

const Paginator = ({
  count,
  perPage,
  current,

  setPage,
}) => {
  const pagesLength = Math.ceil(count / perPage)

  return (
    <div>
      {
        (() => {
          const res = []
{'fraction_non_alphanumeric': 0.1480637813211845, 'fraction_numerical': 0.004555808656036446, 'mean_word_length': 2.9594594594594597, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '111922', 'n_tokens_mistral': 299, 'n_tokens_neox': 288, 'n_words': 69}