<commit_before>%script#menu-election-template{type: "text/html"}
  {{election.name}}
  
%script#menu-candidacies-template{type: "text/html"}
  :plain
    {{#candidacy1}}
      {{#candidates}}
        <img src="{{photo.sizes.small.url}}" width="50px" height="50px" valign="middle" />
      {{/candidates}}
    {{/candidacy1}}
    vs
    {{#candidacy2}}
      {{#candidates}}
        <img src="{{photo.sizes.small.url}}" width="50px" height="50px" valign="middle" />
      {{/candidates}}
    {{/candidacy2}}
  
%script#menu-tags-template{type: "text/html"}
  :plain
    {{#tag}}
      <li class="theme">
        <img src="{{icon.prefix}}32{{icon.name}}" width="32px" height="32px" valign="midle" />
        {{name}}
      </li>
      {{#tags}}
        <li class="section">{{name}}</li>
      {{/tags}}
    {{/tag}}

%script#election-cell-template{type: "text/html"}
  :plain
    <div election-id="{{election.id}}" class="election">
      <div class="name">{{election.name}}</div>
      <div class="facepile">
        {{#election.candidacies}}
          {{#candidates}}
            <img src="{{photo.sizes.small.url}}" width="30px" height="30px" />
          {{/candidates}}
        {{/election.candidacies}}
      </div>
    </div>
    
%script#candidacies-list-template{type: "text/html"}
  
%script#candidacy-cell-template{type: "text/html"}
  :plain
    {{#candidacy.candidates}}
      <div class="image"><img src="{{photo.sizes.small.url}}" width="50px" height="50px" /></div>
      <div class="name">{{firstName}} {{lastName}}</div>
    {{/candidacy.candidates}}
    
%script#tags-list-template{type: "text/html"}
  :plain
    {{#tags}}
      <li tag-id="{{id}}">
        <div class="icon"><img src="{{icon.prefix}}32{{icon.name}}" width="32px" height="32px" /></div>
        <div class="name">{{name}}</div>
      </li>
    {{/tags}}
  
%script#compare-template{type: "text/html"}
  :plain
    {{#tag}}
      <div class="tag-image">
        <img src="{{icon.prefix}}64{{icon.name}}" width="64px" height="64px" />
      </div>
      <div class="tag">
        <span>{{name}}</span>
      </div>
    {{/tag}}
    
%script#propositions-template{type: "text/html"}  
  :plain
    {{#loading}}<div class="tag-image">#{image_tag('web/ajax-loader.gif')}</div>{{/loading}}
    
    {{#categories}}
      <div class="tag">
        <span>{{name}}</span>
      </div>
      {{#sections}}
        <div class="tag">
          <span>{{name}}</span>
        </div>
        <div class="propositions">
          {{#candidacies}}
            <div>
              {{#candidates}}
                <img src="{{photo.sizes.small.url}}" width="60px" height="60px" />
              {{/candidates}}
    
              {{#propositions}}
                <div class="proposition">
                  {{text}}
                </div>
              {{/propositions}}
            </div>
          {{/candidacies}}
        </div>
      {{/sections}}
    {{/categories}}<commit_msg>web: using medium photo in web<commit_after>%script#menu-election-template{type: "text/html"}
  {{election.name}}
  
%script#menu-candidacies-template{type: "text/html"}
  :plain
    {{#candidacy1}}
      {{#candidates}}
        <img src="{{photo.sizes.small.url}}" width="50px" height="50px" valign="middle" />
      {{/candidates}}
    {{/candidacy1}}
    vs
    {{#candidacy2}}
      {{#candidates}}
        <img src="{{photo.sizes.small.url}}" width="50px" height="50px" valign="middle" />
      {{/candidates}}
    {{/candidacy2}}
  
%script#menu-tags-template{type: "text/html"}
  :plain
    {{#tag}}
      <li class="theme">
        <img src="{{icon.prefix}}32{{icon.name}}" width="32px" height="32px" valign="midle" />
        {{name}}
      </li>
      {{#tags}}
        <li class="section">{{name}}</li>
      {{/tags}}
    {{/tag}}

%script#election-cell-template{type: "text/html"}
  :plain
    <div election-id="{{election.id}}" class="election">
      <div class="name">{{election.name}}</div>
      <div class="facepile">
        {{#election.candidacies}}
          {{#candidates}}
            <img src="{{photo.sizes.small.url}}" width="30px" height="30px" />
          {{/candidates}}
        {{/election.candidacies}}
      </div>
    </div>
    
%script#candidacies-list-template{type: "text/html"}
  
%script#candidacy-cell-template{type: "text/html"}
  :plain
    {{#candidacy.candidates}}
      <div class="image"><img src="{{photo.sizes.small.url}}" width="50px" height="50px" /></div>
      <div class="name">{{firstName}} {{lastName}}</div>
    {{/candidacy.candidates}}
    
%script#tags-list-template{type: "text/html"}
  :plain
    {{#tags}}
      <li tag-id="{{id}}">
        <div class="icon"><img src="{{icon.prefix}}32{{icon.name}}" width="32px" height="32px" /></div>
        <div class="name">{{name}}</div>
      </li>
    {{/tags}}
  
%script#compare-template{type: "text/html"}
  :plain
    {{#tag}}
      <div class="tag-image">
        <img src="{{icon.prefix}}64{{icon.name}}" width="64px" height="64px" />
      </div>
      <div class="tag">
        <span>{{name}}</span>
      </div>
    {{/tag}}
    
%script#propositions-template{type: "text/html"}  
  :plain
    {{#loading}}<div class="tag-image">#{image_tag('web/ajax-loader.gif')}</div>{{/loading}}
    
    {{#categories}}
      <div class="tag">
        <span>{{name}}</span>
      </div>
      {{#sections}}
        <div class="tag">
          <span>{{name}}</span>
        </div>
        <div class="propositions">
          {{#candidacies}}
            <div>
              {{#candidates}}
                <img src="{{photo.sizes.medium.url}}" width="60px" height="60px" />
              {{/candidates}}
    
              {{#propositions}}
                <div class="proposition">
                  {{text}}
                </div>
              {{/propositions}}
            </div>
          {{/candidacies}}
        </div>
      {{/sections}}
    {{/categories}}
{'fraction_non_alphanumeric': 0.22659682325109834, 'fraction_numerical': 0.014193984454207503, 'mean_word_length': 2.4293163383545773, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, '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': '5101371', 'n_tokens_mistral': 2089, 'n_tokens_neox': 1990, 'n_words': 298}