<commit_before>import * as constants from '~/plugins/constants'
import axios from '~/plugins/axios'

function randomSeed () {
  return Math.floor(Math.random() * 4294967295) + 1
}

function query () {
  return {
    category: constants.browseCategoryOptions[0],
    limit: 50,
    offset: 0,
    refine: constants.browseRefineOptions[0],
    seed: randomSeed(),
    tags: [],
    text: ''<commit_msg>Refactor randomSeed function<commit_after>import * as constants from '~/plugins/constants'
import axios from '~/plugins/axios'

function randomSeed () {
  const UINT_MAX = 4294967295
  return Math.floor(Math.random() * (UINT_MAX + 1))
}

function query () {
  return {
    category: constants.browseCategoryOptions[0],
    limit: 50,
    offset: 0,
    refine: constants.browseRefineOptions[0],
    seed: randomSeed(),
    tags: [],
    text: ''
{'fraction_non_alphanumeric': 0.13372781065088757, 'fraction_numerical': 0.0378698224852071, 'mean_word_length': 3.8901734104046244, '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': '5124859', 'n_tokens_mistral': 303, 'n_tokens_neox': 274, 'n_words': 65}