<commit_before>% if complete or 'write' in user['permissions']:
    <div class="panel panel-default" name="${short_name}" id="div">
            <div class="panel-heading clearfix">
                <h3 class="panel-title">${full_name}</h3>
                <div class="pull-right">
                    % if has_page:
                       <a href="${node['url']}${short_name}/">  <i class="fa fa-external-link"></i> </a>
                   % endif

                </div>
            </div>
    % else:
        <div>
    % endif

    % if complete:

        <div class="panel-body">
            ${self.body()}
        </div>

    % elif not complete and 'admin' in user['permissions']:

        <div mod-meta='{
                "tpl": "project/addon/config_error.mako",
                "kwargs": {
                    "short_name": "${short_name}",
                    "full_name": "${full_name}"
                }
            }'></div>

    % endif

</div><commit_msg>updated permissions to write instead of admin<commit_after>% if complete or 'write' in user['permissions']:
    <div class="panel panel-default" name="${short_name}" id="div">
            <div class="panel-heading clearfix">
                <h3 class="panel-title">${full_name}</h3>
                <div class="pull-right">
                    % if has_page:
                       <a href="${node['url']}${short_name}/">  <i class="fa fa-external-link"></i> </a>
                   % endif

                </div>
            </div>
    % else:
        <div>
    % endif

    % if complete:

        <div class="panel-body">
            ${self.body()}
        </div>

    % elif not complete and 'write' in user['permissions']:

        <div mod-meta='{
                "tpl": "project/addon/config_error.mako",
                "kwargs": {
                    "short_name": "${short_name}",
                    "full_name": "${full_name}"
                }
            }'></div>

    % endif

</div>
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.0020325203252032522, 'mean_word_length': 1.4581772784019975, 'pattern_counts': {'":': 8, '<': 37, '<?xml version=': 0, '>': 37, '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': '4142591', 'n_tokens_mistral': 594, 'n_tokens_neox': 557, 'n_words': 121}