<commit_before>a.search-result( href=result.href(), class=result.get('display_model'), data-id=result.get('id') )
  .search-result-thumbnail
    .search-result-thumbnail-fallback
      img(
        src= result.imageUrl()
        width='70'
        height='70'
        alt= result.get('title')
        onerror='this.style.display="none";'
      )
  .search-result-info
    if result.get('display_model')
      .search-result-kind= result.get('display_model')
    .search-result-title= result.get('display')
    if result.get('about')
      .search-result-about= result.get('about')
    if result.get('display_model') == 'artist' || result.get('display_model') == 'category'
      .search-result-images<commit_msg>Only display image if available<commit_after>a.search-result( href=result.href(), class=result.get('display_model'), data-id=result.get('id') )
  .search-result-thumbnail
    .search-result-thumbnail-fallback
      if result.imageUrl()
        img(
          src= result.imageUrl()
          width='70'
          height='70'
          alt= result.get('title')
          onerror='this.style.display="none";'
        )
  .search-result-info
    if result.get('display_model')
      .search-result-kind= result.get('display_model')
    .search-result-title= result.get('display')
    if result.get('about')
      .search-result-about= result.get('about')
    if result.get('display_model') == 'artist' || result.get('display_model') == 'category'
      .search-result-images
{'fraction_non_alphanumeric': 0.16790289952798382, 'fraction_numerical': 0.005394470667565745, 'mean_word_length': 3.076923076923077, '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': '495323', 'n_tokens_mistral': 469, 'n_tokens_neox': 464, 'n_words': 67}