<commit_before><div class="md-whiteframe-z1 _main-content _middle-content"
     ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
    <div layout="row" class="layout-align-start-center _content-nav"
         ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
        <md-button ui-sref="my_projects" class="_nav-actions">
            <md-icon md-font-set="material-icons">chevron_left</md-icon>
        </md-button>
        <span class="_nav-title">Project Authoring</span>

        <div class="_content-actions">
            <!--md-button class="_nav-actions" ng-click="project.preview($event)">
                <md-icon md-font-set="material-icons">remove_red_eye</md-icon>
                <md-tooltip>Preview</md-tooltip>
            </md-button-->

            <!-- project.publish() -->

            <!--md-button class="_nav-actions" ng-click="project.save()">
              <md-icon md-font-set="material-icons">save</md-icon>
              <md-tooltip>Save Changes</md-tooltip>
            </md-button-->
            <span class="_save-message">{{ project.saveMessage }}</span>
            <md-button ng-if="project.project.status==1" class="_nav-actions" ng-click="project.deleteProject()">
                <md-icon md-font-set="material-icons">delete</md-icon>
                <md-tooltip>Discard Draft</md-tooltip>
            </md-button>
            <md-button ng-cloak="" ng-if="project.showPublish()"
                       class="_nav-actions md-raised md-accent _text-button" ng-click="project.validate($event)">
                <md-tooltip>Publish</md-tooltip>
                Publish
            </md-button>
            <!--md-button ng-cloak="" ng-if="project.project.status==project.status.STATUS_DRAFT && !project.showPublish()"
                       class="_nav-actions md-accent _text-button" ng-click="project.goToData()">
                <md-tooltip>Next</md-tooltip>
                Next
            </md-button-->

        </div>
    </div>
    <div class="_main-content-body" ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
        <div class="_project-title layout-row">
            <md-input-container class="_authoring_content">
                <label>Title</label>
                <input ng-disabled="project.isDisabled()" ng-model="project.project.name" autocomplete="off">
            </md-input-container>
            <div class="layout-row layout-align-start-start">
                <div class="_hash-id">Project Key <span class="_id">{{ project.project.hash_id }}</span></div>
            </div>

        </div>
        <div class="_error _authoring_content"
             ng-if="project.project.status==project.status.STATUS_IN_PROGRESS || project.project.status==project.status.STATUS_PAUSED">
            This project has launched. {{ project.unlockText }} click
            <div ng-disabled="project.createRevisionInProgress" ng-click="project.createRevision();"
                 class="_button-special">{{ project.unlockButtonText }}
            </div>
        </div>
        <div class="_authoring_content" ng-if="!project.showInstructions">
            <div style="padding-left: 4px">If you want to include variables in your task, use bracket syntax. For
                example,
                <span class="_variable">{{ '\{\{variablename\}\}' }}</span>.
            </div>
        </div>
        <div ng-controller="TemplateController as template" ng-if="!project.showInstructions">
            <div class="_template-builder">
                <ng-include src="'/static/templates/template/base.html'"></ng-include>
            </div>
            <div ng-if="!project.isDisabled()" class="_item-toolbar">
                <md-button ng-repeat="component in template.templateComponents"
                           ng-click="template.addComponent(component)">
                    <md-icon md-font-set="material-icons">{{ component.icon }}</md-icon>
                    <md-tooltip>
                        {{ component.tooltip }}
                    </md-tooltip>
                </md-button>
            </div>
        </div>
        <div class="_meta-info" layout="column" ng-if="!project.showInstructions">
            <form name="metaForm">
                <div class="_authoring_content" layout="row">
                    <md-input-container>
                        <label>Workers per task</label>
                        <input ng-disabled="project.isDisabled()" name="repetition" required type="number" min="1"
                               ng-model="project.project.repetition">
                        <!--div ng-show="metaForm.repetition.$touched && metaForm.repetition.$invalid"
                             ng-messages="metaForm.repetition.$error" role="alert" multiple>
                          <div ng-message="required" class="my-message">You must supply the number of workers per task.</div>
                        </div-->
                    </md-input-container>
                    <md-input-container class="_ml-24 md-block md-input-has-placeholder">
                        <label>Price</label>
                        <div><span class="currency-symbol">$</span><input ng-disabled="project.isDisabled()" name="price" required type="number" min="0.01" decimals="2" integers="15" is-currency
                               step="0.01" ng-model="project.project.price" class="currency-field"></div>
                        <!--div ng-show="metaForm.price.$touched && metaForm.price.$invalid"
                             ng-messages="metaForm.price.$error" role="alert" multiple>
                          <div ng-message="required" class="my-message">You must supply the task price.</div>
                        </div-->
                    </md-input-container>
                    <div class="_meta-files _ml-24 layout-column layout-align-center-center">
                      {{ (project.project.repetition * project.project.price || 0) | currency}} per task
                        <!--a class="_link" href="/api/project/{{ project.project.id }}/sample-script/"
                           target="_blank">Download initial script</a-->
                    </div>

                    <!--div ng-if="!project.isDisabled()" class="_meta-files _ml-24" layout="column">
                        <div ng-if="project.project.batch_files.length==0" ng-cloak="" class="_upload-text"><a
                                class="_file-upload"
                                ngf-select
                                ngf-change="project.upload($files)">Upload</a>
                            a spreadsheet to create a copy of this task for each row
                        </div>
                    </div>
                    <md-list ng-if="!project.isDisabled() && project.project.batch_files.length>0" class="_meta-sources"
                             ng-cloak="">
                        <md-list-item class="md-line-2" ng-repeat="file in project.project.batch_files">
                            <div class="md-list-item-text">
                                <div><a class="_file-upload">{{ file.name }}</a> ({{ file.size }})</div>
                            </div>
                            <md-icon ng-click="project.removeFile(file.id)" class="_file-action"
                                     md-font-set="material-icons">clear
                            </md-icon>
                        </md-list-item>
                    </md-list-->
                    <div layout="row" layout-align="end center" flex style="position: relative">

                        <md-button ng-click="project.isExpanded = !project.isExpanded" class="button-icon">Advanced
                            <span class="icon">
                                <i class="material-icons" ng-show="!project.isExpanded">chevron_right</i>
                                <i class="material-icons" ng-show="project.isExpanded">keyboard_arrow_down</i>
                            </span>
                        </md-button>
                    </div>
                </div>

                <div class="_authoring_content" ng-show="project.isExpanded">
                    <div layout="row">
                        <!--div class="md-datepicker-input _mr-24" layout="column">
                            <label>Deadline</label>
                            <md-datepicker ng-disabled="project.isDisabled()" class="md-input-has-value larger"
                                           name="deadline"
                                           ng-model="project.project.deadline" md-min-date="project.minDate"
                                           md-placeholder="mm/dd/yyyy">
                            </md-datepicker>
                        </div-->
                        <md-input-container class="md-block larger">
                            <label>Minutes allotted</label>
                            <input ng-disabled="project.isDisabled()" name="timeout" type="number"
                                   ng-model="project.project.timeout" min="1">
                        </md-input-container>
                    </div>
                    <div>
                        <span class="_sub-header">Mechanical Turk Qualifications</span>
                        <div>
                            <div class="layout-row" ng-repeat="item in project.project.qualification_items"
                                 ng-if="item.expression.attribute!='worker_groups'">
                                <md-input-container flex="33"><commit_msg>change Minutes allotted to Time limit per task<commit_after><div class="md-whiteframe-z1 _main-content _middle-content"
     ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
    <div layout="row" class="layout-align-start-center _content-nav"
         ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
        <md-button ui-sref="my_projects" class="_nav-actions">
            <md-icon md-font-set="material-icons">chevron_left</md-icon>
        </md-button>
        <span class="_nav-title">Project Authoring</span>

        <div class="_content-actions">
            <!--md-button class="_nav-actions" ng-click="project.preview($event)">
                <md-icon md-font-set="material-icons">remove_red_eye</md-icon>
                <md-tooltip>Preview</md-tooltip>
            </md-button-->

            <!-- project.publish() -->

            <!--md-button class="_nav-actions" ng-click="project.save()">
              <md-icon md-font-set="material-icons">save</md-icon>
              <md-tooltip>Save Changes</md-tooltip>
            </md-button-->
            <span class="_save-message">{{ project.saveMessage }}</span>
            <md-button ng-if="project.project.status==1" class="_nav-actions" ng-click="project.deleteProject()">
                <md-icon md-font-set="material-icons">delete</md-icon>
                <md-tooltip>Discard Draft</md-tooltip>
            </md-button>
            <md-button ng-cloak="" ng-if="project.showPublish()"
                       class="_nav-actions md-raised md-accent _text-button" ng-click="project.validate($event)">
                <md-tooltip>Publish</md-tooltip>
                Publish
            </md-button>
            <!--md-button ng-cloak="" ng-if="project.project.status==project.status.STATUS_DRAFT && !project.showPublish()"
                       class="_nav-actions md-accent _text-button" ng-click="project.goToData()">
                <md-tooltip>Next</md-tooltip>
                Next
            </md-button-->

        </div>
    </div>
    <div class="_main-content-body" ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
        <div class="_project-title layout-row">
            <md-input-container class="_authoring_content">
                <label>Title</label>
                <input ng-disabled="project.isDisabled()" ng-model="project.project.name" autocomplete="off">
            </md-input-container>
            <div class="layout-row layout-align-start-start">
                <div class="_hash-id">Project Key <span class="_id">{{ project.project.hash_id }}</span></div>
            </div>

        </div>
        <div class="_error _authoring_content"
             ng-if="project.project.status==project.status.STATUS_IN_PROGRESS || project.project.status==project.status.STATUS_PAUSED">
            This project has launched. {{ project.unlockText }} click
            <div ng-disabled="project.createRevisionInProgress" ng-click="project.createRevision();"
                 class="_button-special">{{ project.unlockButtonText }}
            </div>
        </div>
        <div class="_authoring_content" ng-if="!project.showInstructions">
            <div style="padding-left: 4px">If you want to include variables in your task, use bracket syntax. For
                example,
                <span class="_variable">{{ '\{\{variablename\}\}' }}</span>.
            </div>
        </div>
        <div ng-controller="TemplateController as template" ng-if="!project.showInstructions">
            <div class="_template-builder">
                <ng-include src="'/static/templates/template/base.html'"></ng-include>
            </div>
            <div ng-if="!project.isDisabled()" class="_item-toolbar">
                <md-button ng-repeat="component in template.templateComponents"
                           ng-click="template.addComponent(component)">
                    <md-icon md-font-set="material-icons">{{ component.icon }}</md-icon>
                    <md-tooltip>
                        {{ component.tooltip }}
                    </md-tooltip>
                </md-button>
            </div>
        </div>
        <div class="_meta-info" layout="column" ng-if="!project.showInstructions">
            <form name="metaForm">
                <div class="_authoring_content" layout="row">
                    <md-input-container>
                        <label>Workers per task</label>
                        <input ng-disabled="project.isDisabled()" name="repetition" required type="number" min="1"
                               ng-model="project.project.repetition">
                        <!--div ng-show="metaForm.repetition.$touched && metaForm.repetition.$invalid"
                             ng-messages="metaForm.repetition.$error" role="alert" multiple>
                          <div ng-message="required" class="my-message">You must supply the number of workers per task.</div>
                        </div-->
                    </md-input-container>
                    <md-input-container class="_ml-24 md-block md-input-has-placeholder">
                        <label>Price</label>
                        <div><span class="currency-symbol">$</span><input ng-disabled="project.isDisabled()" name="price" required type="number" min="0.01" decimals="2" integers="15" is-currency
                               step="0.01" ng-model="project.project.price" class="currency-field"></div>
                        <!--div ng-show="metaForm.price.$touched && metaForm.price.$invalid"
                             ng-messages="metaForm.price.$error" role="alert" multiple>
                          <div ng-message="required" class="my-message">You must supply the task price.</div>
                        </div-->
                    </md-input-container>
                    <div class="_meta-files _ml-24 layout-column layout-align-center-center">
                      {{ (project.project.repetition * project.project.price || 0) | currency}} per task
                        <!--a class="_link" href="/api/project/{{ project.project.id }}/sample-script/"
                           target="_blank">Download initial script</a-->
                    </div>

                    <!--div ng-if="!project.isDisabled()" class="_meta-files _ml-24" layout="column">
                        <div ng-if="project.project.batch_files.length==0" ng-cloak="" class="_upload-text"><a
                                class="_file-upload"
                                ngf-select
                                ngf-change="project.upload($files)">Upload</a>
                            a spreadsheet to create a copy of this task for each row
                        </div>
                    </div>
                    <md-list ng-if="!project.isDisabled() && project.project.batch_files.length>0" class="_meta-sources"
                             ng-cloak="">
                        <md-list-item class="md-line-2" ng-repeat="file in project.project.batch_files">
                            <div class="md-list-item-text">
                                <div><a class="_file-upload">{{ file.name }}</a> ({{ file.size }})</div>
                            </div>
                            <md-icon ng-click="project.removeFile(file.id)" class="_file-action"
                                     md-font-set="material-icons">clear
                            </md-icon>
                        </md-list-item>
                    </md-list-->
                    <div layout="row" layout-align="end center" flex style="position: relative">

                        <md-button ng-click="project.isExpanded = !project.isExpanded" class="button-icon">Advanced
                            <span class="icon">
                                <i class="material-icons" ng-show="!project.isExpanded">chevron_right</i>
                                <i class="material-icons" ng-show="project.isExpanded">keyboard_arrow_down</i>
                            </span>
                        </md-button>
                    </div>
                </div>

                <div class="_authoring_content" ng-show="project.isExpanded">
                    <div layout="row">
                        <!--div class="md-datepicker-input _mr-24" layout="column">
                            <label>Deadline</label>
                            <md-datepicker ng-disabled="project.isDisabled()" class="md-input-has-value larger"
                                           name="deadline"
                                           ng-model="project.project.deadline" md-min-date="project.minDate"
                                           md-placeholder="mm/dd/yyyy">
                            </md-datepicker>
                        </div-->
                        <md-input-container class="md-block larger">
                            <label>Time limit per task (in min.)</label>
                            <input ng-disabled="project.isDisabled()" name="timeout" type="number"
                                   ng-model="project.project.timeout" min="1">
                        </md-input-container>
                    </div>
                    <div>
                        <span class="_sub-header">Mechanical Turk Qualifications</span>
                        <div>
                            <div class="layout-row" ng-repeat="item in project.project.qualification_items"
                                 ng-if="item.expression.attribute!='worker_groups'">
                                <md-input-container flex="33">
{'fraction_non_alphanumeric': 0.1479293034929931, 'fraction_numerical': 0.0029282576866764276, 'mean_word_length': 1.5592131674026495, 'pattern_counts': {'":': 0, '<': 315, '<?xml version=': 0, '>': 317, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2387063', 'n_tokens_mistral': 5081, 'n_tokens_neox': 4795, 'n_words': 800}