<commit_before><form id="question-form" class="" action="/question/save" method="post" role="form">
    {% csrf_token %}
    <input type="hidden" name="pk" value="{{pk}}">
    <input type="hidden" id="prompt" name="prompt">
    <input type="hidden" id="solution" name="solution">

    <div class="well nopad-top">
        <div id="question-tools" class="btn-group">
            <div class="btn-group">
                <a id="save-question" href="#save"
                    data-html="true"
                    data-toggle="tooltip" data-placement="bottom"
                    data-content="<kbd>{{os_ctrl}}-s</kbd> saves from the prompt and solution editors."
                    title="Save question"
                    class="btn btn-success btn-sm">
                    Save <span class="glyphicon glyphicon-record"></span>
                </a>
            </div>
            <div class="btn-group">
                <a id="run-tests" href="#test">
                    Test <span class="glyphicon glyphicon-play-circle"></span>
                </a>
            </div>
            <div class="btn-group">
                <!-- Button trigger modal -->
                <a href="#del" type="button" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#del-confirm">
                    Delete <span class="glyphicon glyphicon-remove-circle"></span>
                </a>
            </div>
        </div><!-- /submit buttons -->
        <div id="question-status-indicator" class="change-indicator pull-right label label-success margin-top"><span class="glyphicon glyphicon-flash"></span></div>

        <div class="form-group margin-top">
            <input id="id_function_name" 
               placeholder="Enter the name of the function the studier must create, e.g. is_prime" 
               class="form-control" type="text" value="{{question.instance.function_name}}" name="function_name" maxlength="300">
        </div>

         <div class="form-group row">
            <div class="col-md-1">{{ question.level.label_tag }}</div>
            <div class="col-md-11">{{ question.level }}</div>
        </div>

        <div class="form-group">
            {{ question.prompt.label_tag }}
            <div id="prompt-editor" class="code-editor" data-code-field="prompt">{{question.instance.prompt}}</div><commit_msg>fixed test button<commit_after><form id="question-form" class="" action="/question/save" method="post" role="form">
    {% csrf_token %}
    <input type="hidden" name="pk" value="{{pk}}">
    <input type="hidden" id="prompt" name="prompt">
    <input type="hidden" id="solution" name="solution">

    <div class="well nopad-top">
        <div id="question-tools" class="btn-group">
            <div class="btn-group">
                <a id="save-question" href="#save"
                    data-html="true"
                    data-toggle="tooltip" data-placement="bottom"
                    data-content="<kbd>{{os_ctrl}}-s</kbd> saves from the prompt and solution editors."
                    title="Save question"
                    class="btn btn-success btn-sm">
                    Save <span class="glyphicon glyphicon-record"></span>
                </a>
            </div>
            <div class="btn-group">
                <a id="run-tests" class="btn btn-primary btn-sm" href="#test">
                    Test <span class="glyphicon glyphicon-play-circle"></span>
                </a>
            </div>
            <div class="btn-group">
                <!-- Button trigger modal -->
                <a href="#del" type="button" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#del-confirm">
                    Delete <span class="glyphicon glyphicon-remove-circle"></span>
                </a>
            </div>
        </div><!-- /submit buttons -->
        <div id="question-status-indicator" class="change-indicator pull-right label label-success margin-top"><span class="glyphicon glyphicon-flash"></span></div>

        <div class="form-group margin-top">
            <input id="id_function_name" 
               placeholder="Enter the name of the function the studier must create, e.g. is_prime" 
               class="form-control" type="text" value="{{question.instance.function_name}}" name="function_name" maxlength="300">
        </div>

         <div class="form-group row">
            <div class="col-md-1">{{ question.level.label_tag }}</div>
            <div class="col-md-11">{{ question.level }}</div>
        </div>

        <div class="form-group">
            {{ question.prompt.label_tag }}
            <div id="prompt-editor" class="code-editor" data-code-field="prompt">{{question.instance.prompt}}</div>
{'fraction_non_alphanumeric': 0.16613350394540413, 'fraction_numerical': 0.0025591810620601407, 'mean_word_length': 2.0936675461741423, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '4437619', 'n_tokens_mistral': 1354, 'n_tokens_neox': 1261, 'n_words': 276}