<commit_before>// KEYWORD SELECT

.col-md-6
  .box.box-primary
    .box-header
      h4.box-title=template->getFieldName()
        if (template->getHelpdescription())
          i.fa.fa-question-circle(data-toggle="tooltip", title=template->getHelpdescription())
      .box-tools.pull-right
        button.btn.btn-default.btn-sm(data-widget="collapse")
         i.fa.fa-minus      
    .box-body          
      .form-group
        :php
          $data = $field->getRelationsAsArray($config['history_command']);
        select.form-control.rfkeyword(id=field->getId(), style='width: 100%;', multiple="multiple", data-tags=($config['history_command']=='self'?'true':'false'))
          each select in $field->getHistory()
            option(value=select.id, selected=(in_array($select['id'], $data)?'selected':false))=select.value<commit_msg>cleaned up sortable style<commit_after>// KEYWORD SELECT

.col-md-6
  .box.box-primary
    .box-header
      h4.box-title=template->getFieldName()
        if (template->getHelpdescription())
          i.fa.fa-question-circle(data-toggle="tooltip", title=template->getHelpdescription())
      .box-tools.pull-right
        button.btn.btn-default.btn-sm(data-widget="collapse")
         i.fa.fa-minus      
    .box-body          
      .form-group
        :php
          $data = $field->getRelationsAsArray($config['history_command']);
          $history_reverse = [];
          foreach ($field->getHistory() as $hist) {
            $history_reverse[$hist[id]] = $hist[value];
          };
        select.form-control.rfkeyword(id=field->getId(), style='width: 100%;', multiple="multiple", data-tags=($config['history_command']=='self'?'true':'false'))
          each dt in data
            option(value=dt, selected='selected')=$history_reverse[$dt]
          each select in $field->getHistory()
            if (!in_array($select['id'], $data))
              option(value=select.id)=select.value			
{'fraction_non_alphanumeric': 0.1692466460268318, 'fraction_numerical': 0.005159958720330237, 'mean_word_length': 2.7650485436893204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '2010491', 'n_tokens_mistral': 588, 'n_tokens_neox': 572, 'n_words': 78}