<commit_before><div>

  <div class="panel panel-default">
    <div class="panel-body">

      <ul class="list-group">
        <li class="list-group-item" tal:repeat="item items">
          <div class="media">
            <span class="pull-left text-muted" aria-hidden="true">
              <i class="fa fa-globe"></i>
            </span>
            <div class="media-body">
              <h4 class="media-heading">${item.title} <small>${item.identifier}</small></h4>
              <div class="pull-right text-muted text-right" style="font-size: .75em;" tal:condition="'category' in item">
                <span>
                  ${item.category}
                </span>
              </div>
              ${item.get('abstract', 'No summary')}
              <div tal:condition="item.mime_type and item.reference">
                <a href="${item.reference}" class="label label-info">
                  ${item.mime_type}
                </a>
              </div>
              <div tal:condition="item.data">
                <span class="label label-default" tal:repeat="data item.data">
                  ${data}
                </span>
              </div>
              <p tal:condition="item.reference">
                <a href="${item.reference}" target="_"><i class="fa fa-download"></i> Download</a> |
                <a tal:condition="item.dataset" data-toggle="tooltip" title="Show on Map" data-value="value"
                    href="${request.route_path('map', _query=[('dataset', item.dataset)])}">
                  <i class="fa fa-map-marker"></i> Show on Map</a> |
                <a href="${item.reference}" target="_"><i class="fa fa-cart-plus"></i> Add to Cart</a>
              </p>
            </div>
          </div>
        </li>
      </ul>

    </div>
  </div>

</div>

<commit_msg>add preview image box to outputs/inputs<commit_after><div>
  <ul class="list-group">
    <li class="list-group-item" tal:repeat="item items">
      <div class="media">
        <div class="media-left media-top">
          <a href="#">
            <img class="media-object" src="${request.static_path('phoenix:static/phoenix/img/missing_thumb.png')}" alt="No Preview"/>
          </a>
        </div>
        <div class="media-body">
	  <a tal:condition="item.reference"
             class="btn btn-default btn-xs disabled pull-right"
             role="button">
            <icon class="fa fa-cart-plus"></icon>
          </a>
          <h4 class="media-heading">${item.title}</h4>
          <p><small>${item.get('abstract', 'No summary')}</small></p>
	  <table class="table">
	    <!--thead>
	      <tr>
		<th>Identifier</th>
		<th>Value</th>
	      </tr>
	    </thead-->
	    <tbody>
	      <tr>
		<th>Identifier</th>
		<td>${item.identifier}</td>
	      </tr>
	      <tr>
		<th>Value</th>
		<td>
		  <div tal:condition="item.reference">
		    ${item.reference}
		  </div>
		  <div tal:condition="item.data">
		    <span tal:repeat="data item.data">
		      ${data}
		    </span>
		  </div>
		</td>
	      </tr>
	    </tbody>
	  </table>
	  <p tal:condition="item.mime_type and item.reference">
	    <a href="${item.reference}" class="label label-warning">
	      ${item.mime_type}
	    </a>
	  </p>
          <p tal:condition="item.reference">
            <a href="${item.reference}" target="_"><i class="fa fa-download"></i> Download</a> 
            <a tal:condition="item.dataset" data-toggle="tooltip" title="Show on Map" data-value="value"
               href="${request.route_path('map', _query=[('dataset', item.dataset)])}">
              <i class="fa fa-map-marker"></i> Show on Map</a>
          </p>
        </div>
      </div>
    </li>
  </ul>
</div>


{'fraction_non_alphanumeric': 0.19308278867102396, 'fraction_numerical': 0.0016339869281045752, 'mean_word_length': 1.9266932270916335, 'pattern_counts': {'":': 0, '<': 120, '<?xml version=': 0, '>': 120, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3514674', 'n_tokens_mistral': 1193, 'n_tokens_neox': 1125, 'n_words': 222}