<commit_before>function toHTML(value, options = {}) {
  const { parenthesis = false, ascending = false } = options;
  value = JSON.parse(JSON.stringify(value));
  if (value && value.peak) {
    if (ascending) {
      value.peak.sort((a, b) => a.wavenumber - b.wavenumber);
    } else {
      value.peak.sort((a, b) => b.wavenumber - a.wavenumber);
    }
  }
  if (parenthesis) return format2(value);
  return format1(value);
}

// IR (cm-1): 1955w, 1881w, 1807w, 1614m, 1500S, 1454m<commit_msg>chore: fix comment in raman renderer<commit_after>function toHTML(value, options = {}) {
  const { parenthesis = false, ascending = false } = options;
  value = JSON.parse(JSON.stringify(value));
  if (value && value.peak) {
    if (ascending) {
      value.peak.sort((a, b) => a.wavenumber - b.wavenumber);
    } else {
      value.peak.sort((a, b) => b.wavenumber - a.wavenumber);
    }
  }
  if (parenthesis) return format2(value);
  return format1(value);
}

// Raman (cm-1): 1955w, 1881w, 1807w, 1614m, 1500S, 1454m
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.05325443786982249, 'mean_word_length': 3.375, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1406827', 'n_tokens_mistral': 421, 'n_tokens_neox': 371, 'n_words': 82}