<commit_before>module.exports = name => {
  if (!name) {
    return 'Dataset name is missing'
  }<commit_msg>[core] Ensure dataset name is a string before validating (#1277)<commit_after>module.exports = datasetName => {
  if (!datasetName) {
    return 'Dataset name is missing'
  }

  const name = `${datasetName}`
{'fraction_non_alphanumeric': 0.12974683544303797, 'fraction_numerical': 0.012658227848101266, 'mean_word_length': 4.19672131147541, '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': '2403768', 'n_tokens_mistral': 99, 'n_tokens_neox': 96, 'n_words': 30}