<commit_before>
function calculate(element) {
  var text = element.previousElementSibling.value;
  document.getElementById("output").innerHTML = text;
}<commit_msg>simple parse function<commit_after>
function calculate(element) {
  var text = element.previousElementSibling.value;
  var newText = "";
  for (var line of text.split(",")) {
      newText += "<div>" + line + "</div>";
  }
  document.getElementById("output").innerHTML = newText;
}
{'fraction_non_alphanumeric': 0.14831460674157304, 'fraction_numerical': 0.0, 'mean_word_length': 5.109589041095891, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7106584', 'n_tokens_mistral': 127, 'n_tokens_neox': 128, 'n_words': 29}