<commit_before>const fs = require('fs')
const path = require('path')
const pageComponents = fs.readdirSync(
  path.join(__dirname, '../../src/components')
)
const pageModules = fs.readdirSync(path.join(__dirname, '../../src/modules'))
const components = pageComponents.concat(pageModules)

function componentExists(comp) {
  return components.indexOf(comp) >= 0
}

module.exports = componentExists<commit_msg>No Modules files exists <commit_after>const fs = require('fs')
const path = require('path')
const pageComponents = fs.readdirSync(
  path.join(__dirname, '../../src/components')
)
const pageModules = fs.readdirSync(path.join(__dirname, '../../src/components'))
const components = pageComponents.concat(pageModules)

function componentExists(comp) {
  return components.indexOf(comp) >= 0
}

module.exports = componentExists
{'fraction_non_alphanumeric': 0.14903846153846154, 'fraction_numerical': 0.002403846153846154, 'mean_word_length': 5.559055118110236, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1562488', 'n_tokens_mistral': 233, 'n_tokens_neox': 238, 'n_words': 53}