<commit_before><a href="#" data-hull-action='previousPage'>&larr; Previous</a>
<span>{{query.page}}</span>
<span>VERB ?: {{query.where.verb}}</span>
<span>ObjectType ?: {{query.where.obj_type}}</span>
<pre>{{json query}}</pre>
<a href="#" data-hull-action='nextPage'>Next &rarr;</a>

<ul class='activities list unstyled'>
  {{#activities}}
    <li class='entry {{verb}}'>
      <div class="avatar">
        {{#actor.picture}}
          <img src="{{actor.picture}}"/>
        {{/actor.picture}}
      </div>

      <div class='data'>
        <i class='icon verb'></i>

        <div class='summary'>
          <span class='actor'>{{actor.name}}</span>
          <span class='verb'>{{verb}}</span>
          <span class='object'>{{object.type}} - {{object.name}}</span>
          <span class='target'>{{target.name}}</span>
        </div>

          <div class='activity content_{{object.type}}'>

            {{#object}}
              <div class='object'>

                <span class="image inset_shadow"><img src="{{imageUrl id format}}"/></span>

                <span class='name'> {{name}} </span>
              </div>
            {{/object}}

            <div class="content">
              {{#if content}}
                {{content}}
              {{else}}
                {{object.name}}
              {{/if}}
            </div>

            <div class='clear'></div>
          </div>


        <div class='meta'>
          <img class='icon target' src="{{target.picture}}">
          <span class='date'>{{fromNow published}}</span>
          {{#target}}
            <span class='target {{type}}'><span class='text'>{{name}}</span></span>
          {{/target}}
        </div>
      </div>

      <div class='clear'></div>
    </li>
  {{/activities}}
  {{#if activities}}
    <li><button data-hull-action="fetchMore">Fetch more...</button></li>
  {{/if}}
  {{^activities}}
    <li>No activity</li>
  {{/activities}}
</ul><commit_msg>widget: update activity feed widget<commit_after><a href="#" data-hull-action="previousPage">&larr; Previous</a>
  <span>{{query.page}}</span>
  <span>VERB ?: {{query.where.verb}}</span>
  <span>ObjectType ?: {{query.where.obj_type}}</span>
  <pre>{{json query}}</pre>
<a href="#" data-hull-action="nextPage">Next &rarr;</a>


<ul class="hull-activity">
  {{#activities}}
    <li class="hull-media hull-activity__item hull-activity__item--{{verb}}">
      {{#if actor.picture}}
        <div class="hull-media__img">
            <img src="{{actor.picture}}"/>
        </div>
      {{/if}}
      <div class="hull-media__body">

        <h3 class="hull-activity__summary">
          <span class="hull-activity__summary__actor">{{actor.name}}</span>
          <span class="hull-activity__summary__verb">{{verb}}</span>
          <span class="hull-activity__summary__object">{{object.type}} - {{object.name}}</span>
          <span class="hull-activity__summary__target">{{target.name}}</span>
        </h3>

        <div class="hull-activity__content hull-activity__content--{{object.type}}">

          <div class="hull-media">
            <div class="hull-media__img">
                {{#target}}
                  <div class="hull-activity__meta__target hull-activity__meta__target--{{type}}">
                     <img src="{{imageUrl id "thumb"}}"/>
                  </div>
                {{/target}}
            </div>
            <div class="hull-media__body">
               {{#object}}
                  <div class="hull-activity__content__object">
                    <img src="{{imageUrl id "original"}}"/>
                    <h4 class="hull-activity__content__object__name">{{name}}</h4>
                  </div>
                {{/object}}

                {{#if content}}
                  <div class="hull-activity__content__content">
                    {{content}}
                  </div>
                {{/if}}

            </div>
          </div>

        </div>

        <div class="hull-activity__meta">
          {{#if target.picture}}
            <img class="hull-activity__meta__target--icon" src="{{target.picture id "thumb"}}">
          {{/if}}
          <span class="hull-activity__meta__date">{{fromNow published}}</span>
        </div>

      </div>

    </li>
  {{/activities}}
  {{#if activities}}
    <li class="hull-media hull-activity__item">
      <button data-hull-action="fetchMore" class="hull-btn hull-btn--lrg hull-btn--full">
        Fetch more...
      </button>
    </li>
  {{/if}}
  {{^activities}}
    <li class="hull-media hull-activity__item">
      <h4>No activity</h4>
    </li>
  {{/activities}}
</ul>
{'fraction_non_alphanumeric': 0.20365933347854498, 'fraction_numerical': 0.001306904813766064, 'mean_word_length': 2.119565217391304, 'pattern_counts': {'":': 0, '<': 128, '<?xml version=': 0, '>': 128, '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': '2336887', 'n_tokens_mistral': 1462, 'n_tokens_neox': 1384, 'n_words': 238}