<commit_before>/**
 * Copyright 2003-present <NAME>. All rights reserved.
 * Licensed under the terms of the MIT license.
 *
 * @flow
 */

import DIGITS from './DIGITS';

function encode(number: string, base: number) {
  if (base > 36 && base <= 62) {
    return DIGITS[number - 1];<commit_msg>Add a clarifying comment<commit_after>/**
 * Copyright 2003-present <NAME>. All rights reserved.
 * Licensed under the terms of the MIT license.
 *
 * @flow
 */

import DIGITS from './DIGITS';

function encode(number: string, base: number) {
  if (base > 36 && base <= 62) {
    // This branch really only ever called for serializing to the URL.
    return DIGITS[number - 1];
{'fraction_non_alphanumeric': 0.12985074626865672, 'fraction_numerical': 0.026865671641791045, 'mean_word_length': 3.3856209150326797, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7613962', 'n_tokens_mistral': 221, 'n_tokens_neox': 200, 'n_words': 79}