<commit_before><div id="TipCommunicationMessages" class="panel panel-default" data-ng-init="collapsed = false">
  <div class="panel-heading" data-ng-click="collapsed = !collapsed; $event.stopPropagation();">
    <div>
      <span>{{node.widget_messages_title}}</span>
      <span class="pull-right">
        <i data-ng-if="!collapsed" class="glyphicon glyphicon-collapse-down" popover="{{'Collapse' | translate}}" popover-placement="left" popover-trigger="mouseenter"></i>
        <i data-ng-if="collapsed" class="glyphicon glyphicon-fullscreen" popover="{{'Expand' | translate}}" popover-placement="left" popover-trigger="mouseenter"></i>
      </span>
    </div>
  </div>
  <div class="TipPageSectionContent panel-body" data-ng-show="!collapsed">
    <div data-ng-if="role != 'whistleblower' || tip.enable_two_way_messages" class="row">
      <div class="col-md-12">
        <div class="form-inline">
          <span data-ng-if="role == 'wb'">
            <label><span data-translate>Recipient</span>:<span>&nbsp;</span></label>
            <select data-ng-model="tip.msg_receiver_selected" data-ng-options="obj.key as obj.value for obj in tip.msg_receivers_selector | orderBy:'value'" class="form-control"></select>
          </span>
        </div>
        <textarea id="TipCommunicationMessagesInput" data-ng-model="tip.newMessageContent" maxlength="{{::node.maximum_textsize}}" class="form-control"></textarea>
        <div data-translate-values="{available_characters_count: node.maximum_textsize - tip.newCommentContent.length}"
             data-translate>FIELD_INPUT_AVAILABLE_CHARS</div>
      </div>
      <div class="col-md-12">
        <span class="pull-left">
          <a id="message-action-send" class="btn btn-success" data-ng-click="newMessage()" data-ng-disabled="!tip.newMessageContent || (role == 'wb' && !tip.msg_receiver_selected)">
            <i class="glyphicon glyphicon-envelope"></i>
            <span data-translate>Send</span>
          </a>
        </span>
        <span data-ng-if="role == 'receiver' && preferences.can_grant_permissions" data-ng-switch="tip.enable_two_way_messages" class="pull-right">
          <span data-ng-switch-when="false">
            <a id="button-enable-whistleblower-messages" class="btn btn-primary" data-ng-click="allowWhistleblowerToMessage()">
              <i class="glyphicon glyphicon-ok-circle"></i>
              <span data-translate>Allow the whistleblower to send messages</span>
            </a>
          </span>
          <span data-ng-switch-when="true">
            <a id="button-enable-whistleblower-messages" class="btn btn-danger" data-ng-click="denyWhistleblowerToMessage()">
              <i class="glyphicon glyphicon-ban-circle"></i>
              <span data-translate>Deny the whistleblower to send messages</span>
            </a>
          </span>
        </span>
      </div>
    </div>
    <div data-ng-if="role == 'whistleblower' && !tip.enable_two_way_messages">
      <span data-translate>You are not allowed to write messages.</span>
    </div>
    <div id="SubmissionMessages" data-ng-if="tip.messages.length > 0" data-ng-repeat="message in tip.messages | orderBy:'creation_date':true">
      <div id="message-{{$index}}" data-ng-switch="" on="message.type">
         <div data-ng-switch-when="whistleblower" class="alert alert-info">
          <div class="row">
            <div class="col-md-6">
              <div data-translate class="WbNameInMessages">Whistleblower</div>
            </div>
            <div class="pull-right" style="margin-right:20px">
              <div>{{::message.creation_date | date:'dd-MM-yyyy HH:mm'}}</div>
            </div>
          </div>
          <div class="preformatted">{{::message.content}}</div>
        </div>
        <div data-ng-switch-when="receiver" class="alert alert-success">
          <div class="row">
            <div class="col-md-6">
              <div class="WbNameInMessages">{{::message.author}}</div>
            </div>
            <div class="pull-right" style="margin-right:20px">
              <div>{{::message.creation_date | date:'dd-MM-yyyy HH:mm'}}</div>
            </div>
          </div>
          <div class="preformatted">{{::message.content}}</div>
        </div>
      </div>
    </div>
  </div>
</div>
<commit_msg>Update text<commit_after><div id="TipCommunicationMessages" class="panel panel-default" data-ng-init="collapsed = false">
  <div class="panel-heading" data-ng-click="collapsed = !collapsed; $event.stopPropagation();">
    <div>
      <span>{{node.widget_messages_title}}</span>
      <span class="pull-right">
        <i data-ng-if="!collapsed" class="glyphicon glyphicon-collapse-down" popover="{{'Collapse' | translate}}" popover-placement="left" popover-trigger="mouseenter"></i>
        <i data-ng-if="collapsed" class="glyphicon glyphicon-fullscreen" popover="{{'Expand' | translate}}" popover-placement="left" popover-trigger="mouseenter"></i>
      </span>
    </div>
  </div>
  <div class="TipPageSectionContent panel-body" data-ng-show="!collapsed">
    <div data-ng-if="role != 'whistleblower' || tip.enable_two_way_messages" class="row">
      <div class="col-md-12">
        <div class="form-inline">
          <span data-ng-if="role == 'wb'">
            <label><span data-translate>Recipient</span>:<span>&nbsp;</span></label>
            <select data-ng-model="tip.msg_receiver_selected" data-ng-options="obj.key as obj.value for obj in tip.msg_receivers_selector | orderBy:'value'" class="form-control"></select>
          </span>
        </div>
        <textarea id="TipCommunicationMessagesInput" data-ng-model="tip.newMessageContent" maxlength="{{::node.maximum_textsize}}" class="form-control"></textarea>
        <div data-translate-values="{available_characters_count: node.maximum_textsize - tip.newCommentContent.length}"
             data-translate>FIELD_INPUT_AVAILABLE_CHARS</div>
      </div>
      <div class="col-md-12">
        <span class="pull-left">
          <a id="message-action-send" class="btn btn-success" data-ng-click="newMessage()" data-ng-disabled="!tip.newMessageContent || (role == 'wb' && !tip.msg_receiver_selected)">
            <i class="glyphicon glyphicon-envelope"></i>
            <span data-translate>Send</span>
          </a>
        </span>
        <span data-ng-if="role == 'receiver' && preferences.can_grant_permissions" data-ng-switch="tip.enable_two_way_messages" class="pull-right">
          <span data-ng-switch-when="false">
            <a id="button-enable-whistleblower-messages" class="btn btn-primary" data-ng-click="allowWhistleblowerToMessage()">
              <i class="glyphicon glyphicon-ok-circle"></i>
              <span data-translate>Allow the whistleblower to send messages</span>
            </a>
          </span>
          <span data-ng-switch-when="true">
            <a id="button-enable-whistleblower-messages" class="btn btn-danger" data-ng-click="denyWhistleblowerToMessage()">
              <i class="glyphicon glyphicon-ban-circle"></i>
              <span data-translate>Deny the whistleblower to send messages</span>
            </a>
          </span>
        </span>
      </div>
    </div>
    <div data-ng-if="role == 'whistleblower' && !tip.enable_two_way_messages">
      <span data-translate>You are not allowed to send messages.</span>
    </div>
    <div id="SubmissionMessages" data-ng-if="tip.messages.length > 0" data-ng-repeat="message in tip.messages | orderBy:'creation_date':true">
      <div id="message-{{$index}}" data-ng-switch="" on="message.type">
         <div data-ng-switch-when="whistleblower" class="alert alert-info">
          <div class="row">
            <div class="col-md-6">
              <div data-translate class="WbNameInMessages">Whistleblower</div>
            </div>
            <div class="pull-right" style="margin-right:20px">
              <div>{{::message.creation_date | date:'dd-MM-yyyy HH:mm'}}</div>
            </div>
          </div>
          <div class="preformatted">{{::message.content}}</div>
        </div>
        <div data-ng-switch-when="receiver" class="alert alert-success">
          <div class="row">
            <div class="col-md-6">
              <div class="WbNameInMessages">{{::message.author}}</div>
            </div>
            <div class="pull-right" style="margin-right:20px">
              <div>{{::message.creation_date | date:'dd-MM-yyyy HH:mm'}}</div>
            </div>
          </div>
          <div class="preformatted">{{::message.content}}</div>
        </div>
      </div>
    </div>
  </div>
</div>

{'fraction_non_alphanumeric': 0.1758729417260306, 'fraction_numerical': 0.002569193039822492, 'mean_word_length': 2.8998178506375227, 'pattern_counts': {'":': 0, '<': 203, '<?xml version=': 0, '>': 205, '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': '5001200', 'n_tokens_mistral': 2746, 'n_tokens_neox': 2613, 'n_words': 435}