<commit_before>{{!
    Copyright (C) 2016 Google Inc.
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
}}

{{#if_instance_of parent_instance 'Audit'}}
  {{#if_helpers '\
    #if_equals' model.shortName 'Control' '\
    or #if_equals' model.shortName 'Assessment'}}
    <li class="generate-control-assessments">
      <a href="javascript://">
        <i class="fa fa-magic" rel="tooltip" data-placement="left" title="" data-original-title="Generate Assessments"></i>
      </a>
    </li><commit_msg>Hide generate assessments icon for Readers<commit_after>{{!
    Copyright (C) 2016 Google Inc.
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
}}

{{#if_instance_of parent_instance 'Audit'}}
  {{#if_helpers '\
    #if_equals' model.shortName 'Control' '\
    or #if_equals' model.shortName 'Assessment'}}
      {{#is_allowed 'update' parent_instance context="for"}}
        <li class="generate-control-assessments">
          <a href="javascript://">
            <i
              class="fa fa-magic"
              rel="tooltip"
              data-placement="left"
              title=""
              data-original-title="Generate Assessments"
             ></i>
          </a>
        </li>
      {{/is_allowed}}
{'fraction_non_alphanumeric': 0.15752351097178682, 'fraction_numerical': 0.009404388714733543, 'mean_word_length': 2.6695402298850577, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6891508', 'n_tokens_mistral': 401, 'n_tokens_neox': 390, 'n_words': 84}