<commit_before>- var classes = object_type
.typeahead-suggestion(class!=classes)
  a(href="#")
    .icon
      if object_type === 'service'
        span.icon-icon-browse
      else if object_type === 'address'
        span.icon-icon-address
      else if object_type === 'event'
        span.icon-icon-events
      else if object_type === 'unit'
        - rootId = root_services.length ? root_services[0] : 0
        div(class="color-ball service-background-color-#{rootId}")
    .suggestion-text
      if address
        = address
      else
        = tAttr(name)
    if object_type === 'event'
      - var dates = humanDateRange(start_time, end_time)
      .date
        != dates[0]
        if dates[1]
          | &mdash;
          != dates[1]
<commit_msg>Typeahead suggestion visuals for tree node<commit_after>- var classes = object_type
.typeahead-suggestion(class!=classes)
  a(href="#")
    .icon
      if object_type === 'ontologytreenode'
        span.icon-icon-browse
      else if object_type === 'address'
        span.icon-icon-address
      else if object_type === 'event'
        span.icon-icon-events
      else if object_type === 'unit'
        - rootId = (root_services && root_services.length) ? root_services[0] : 0
        div(class="color-ball service-background-color-#{rootId}")
    .suggestion-text
      if address
        = address
      else
        = tAttr(name)
    if object_type === 'event'
      - var dates = humanDateRange(start_time, end_time)
      .date
        != dates[0]
        if dates[1]
          | &mdash;
          != dates[1]

{'fraction_non_alphanumeric': 0.12444444444444444, 'fraction_numerical': 0.006349206349206349, 'mean_word_length': 2.1774193548387095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4543034', 'n_tokens_mistral': 499, 'n_tokens_neox': 489, 'n_words': 106}