<commit_before>const url = (value) => {
  if ((value == null) || value.length === 0) {
    return value;
  }
  if (!((value.indexOf("http://") === 0) || (value.indexOf("https://") === 0))) {
    value = "http://" + value;
  }
  return value;
};

const tags = (value) => {
  if ((value == null) || value.length === 0) {
    return value;
  }
  if ((value == '-') || value == ' ') {
    return '';
  }
  return value
    .toLowerCase()
    .replace(' ','-')
    .replace(',,',',')
    .replace(',-', ',')
    .replace('--', '-')
};

const username = (name) => {
  if ((name == null) || name.length === 0) {
    return name;<commit_msg>new(EntryForm): in the tag-field, replace whitespace by comma, not hyphen<commit_after>const url = (value) => {
  if ((value == null) || value.length === 0) {
    return value;
  }
  if (!((value.indexOf("http://") === 0) || (value.indexOf("https://") === 0))) {
    value = "http://" + value;
  }
  return value;
};

const tags = (value) => {
  if ((value == null) || value.length === 0) {
    return value;
  }
  if ((value == '-') || value == ' ') {
    return '';
  }
  return value
    .toLowerCase()
    .replace(' ',',')
    .replace(',,',',')
    .replace(',-', ',')
    .replace('--', '-')
};

const username = (name) => {
  if ((name == null) || name.length === 0) {
    return name;
{'fraction_non_alphanumeric': 0.2730015082956259, 'fraction_numerical': 0.007541478129713424, 'mean_word_length': 2.5864864864864865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '6305801', 'n_tokens_mistral': 478, 'n_tokens_neox': 469, 'n_words': 110}