<commit_before><widget-modal widget-modal-title="Configure Code Analysis Widget" class="ca-config">
    <form name="configForm" role="form"
          ng-submit="caWidget.submit(caWidget.caCollectorItem, caWidget.saCollectorItem, caWidget.testConfigs)"
          novalidate="novalidate">

        <div class="box">

            <form-group input="caCollectorItem" class="text-center">

                <div class="text-center modal-label">Static Code Analysis:</div>

                <!--<select name="caCollectorItem"
                        class="form-control"
                        ng-model="caWidget.caCollectorItem"
                        ng-options="(item.displayName + ' - ' + item.description) for item in caWidget.caJobs | orderBy:['collector.name','description'] track by item.id"
                        ng-disabled="caWidget.caJobs.length === 0">
                    <option value="" disabled>{{caWidget.caToolsDropdownPlaceholder}}</option>
                </select>-->

                <ui-select ng-model="caWidget.caCollectorItem" theme="bootstrap"
                           ng-disabled="caWidget.caJobs.length === 0">
                    <ui-select-match placeholder="Select your CodeAnalysis job">{{$select.selected.description}}
                    </ui-select-match>
                    <ui-select-choices repeat="item in (caWidget.caJobs | filter: $select.search) track by item.id">
                        <div ng-bind-html="(item.description) | highlight: $select.search"></div>
                    </ui-select-choices>
                </ui-select>


            </form-group>
        </div>


        <div class="form-group text-center">
            <div class="text-center modal-label">Security Scan:</div>
            <!-- <select name="saCollectorItem"
                     class="form-control"
                     ng-model="caWidget.saCollectorItem"
                     ng-options="(item.collector.name + ' - ' + item.options.projectName + '-' + item.options.projectversion) for item in caWidget.saJobs | orderBy:['collector.name','description'] track by item.id"
                     ng-disabled="caWidget.saJobs.length === 0">
                 <option value="">{{caWidget.saToolsDropdownPlaceholder}}</option>
             </select>-->

            <ui-select ng-model="caWidget.saCollectorItem" theme="bootstrap" ng-disabled="caWidget.saJobs.length === 0">
                <ui-select-match placeholder="Select your SecurityAnalysis job">{{$select.selected.description}}
                </ui-select-match>
                <ui-select-choices repeat="item in (caWidget.saJobs | filter: $select.search) track by item.id">
                    <div ng-bind-html="(item.collector.name + ' - ' + item.options.projectName + '-' + item.options.projectversion) | highlight: $select.search"></div>
                </ui-select-choices>
            </ui-select>

        </div>


        <form-group class="text-center">
            <div class="text-center modal-label">Functional Tests:</div>

            <div class="form-group text-center" ng-repeat="configItem in caWidget.testConfigs">
                <div class="col-sm-3">
                    <input
                            type="text"
                            name="testJobName"
                            class="form-control-inline text-center"
                            ng-model="configItem.testJobName"
                            minlength="1"
                            maxlength="8"
                            required>
                </div>
                <div class="col-sm-8">
                    <select class="form-control" name="collectorItemList"
                            ng-model="configItem.testCollectorItem"
                            ng-options="(item.niceName + '-' + item.description) for item in configItem.testJob | orderBy:['collector.name','description'] track by item.id"
                            ng-disabled="caWidget.testJobs.length === 0">
                        <option value="">{{caWidget.testToolsDropdownPlaceholder}}</option>
                    </select>
                </div>
                <dash-trash class="fa-lg" ng-click="caWidget.deleteTestConfig(configItem)"></dash-trash>
            </div>
            <div class="form-group text-center"
                 ng-show="caWidget.testConfigs.length==0 || caWidget.testConfigs[caWidget.testConfigs.length-1].testCollectorItem != null">
                <span class="fa fa-plus-circle fa-2x clickable" ng-click="caWidget.addTestConfig()"></span>
            </div>
            <div class="form group text-center">
                <label></label>
                <button type="submit" class="btn btn-primary btn-wide">Save</button>
            </div><commit_msg>- Added ui-select for drop downs of widget for easy searching -Deleted an unnecessary properties file<commit_after><widget-modal widget-modal-title="Configure Code Analysis Widget" class="ca-config">
    <form name="configForm" role="form"
          ng-submit="caWidget.submit(caWidget.caCollectorItem, caWidget.saCollectorItem, caWidget.testConfigs)"
          novalidate="novalidate">

        <div class="box">

            <form-group input="caCollectorItem" class="text-center">

                <div class="text-center modal-label">Static Code Analysis:</div>

                <!--<select name="caCollectorItem"
                        class="form-control"
                        ng-model="caWidget.caCollectorItem"
                        ng-options="(item.displayName + ' - ' + item.description) for item in caWidget.caJobs | orderBy:['collector.name','description'] track by item.id"
                        ng-disabled="caWidget.caJobs.length === 0">
                    <option value="" disabled>{{caWidget.caToolsDropdownPlaceholder}}</option>
                </select>-->

                <ui-select ng-model="caWidget.caCollectorItem" theme="bootstrap"
                           ng-disabled="caWidget.caJobs.length === 0">
                    <ui-select-match placeholder="Select your CodeAnalysis job">{{$select.selected.description}}
                    </ui-select-match>
                    <ui-select-choices repeat="item in (caWidget.caJobs | filter: $select.search) track by item.id">
                        <div ng-bind-html="(item.description) | highlight: $select.search"></div>
                    </ui-select-choices>
                </ui-select>


            </form-group>
        </div>


        <div class="form-group text-center">
            <div class="text-center modal-label">Security Scan:</div>
            <!-- <select name="saCollectorItem"
                     class="form-control"
                     ng-model="caWidget.saCollectorItem"
                     ng-options="(item.collector.name + ' - ' + item.options.projectName + '-' + item.options.projectversion) for item in caWidget.saJobs | orderBy:['collector.name','description'] track by item.id"
                     ng-disabled="caWidget.saJobs.length === 0">
                 <option value="">{{caWidget.saToolsDropdownPlaceholder}}</option>
             </select>-->

            <ui-select ng-model="caWidget.saCollectorItem" theme="bootstrap" ng-disabled="caWidget.saJobs.length === 0">
                <ui-select-match placeholder="Select your SecurityAnalysis job">{{$select.selected.description}}
                </ui-select-match>
                <ui-select-choices repeat="item in (caWidget.saJobs | filter: $select.search) track by item.id">
                    <div ng-bind-html="(item.collector.name + ' - ' + item.options.projectName + '-' + item.options.projectversion) | highlight: $select.search"></div>
                </ui-select-choices>
            </ui-select>

        </div>


        <form-group class="text-center">
            <div class="text-center modal-label">Functional Tests:</div>

            <div class="form-group text-center" ng-repeat="configItem in caWidget.testConfigs">
                <div class="col-sm-3">
                    <input
                            type="text"
                            name="testJobName"
                            class="form-control-inline text-center"
                            ng-model="configItem.testJobName"
                            minlength="1"
                            maxlength="8"
                            required>
                </div>
                <div class="col-sm-8">
                    <!--<select class="form-control" name="collectorItemList"
                            ng-model="configItem.testCollectorItem"
                            ng-options="(item.niceName + '-' + item.description) for item in configItem.testJob | orderBy:['collector.name','description'] track by item.id"
                            ng-disabled="caWidget.testJobs.length === 0">
                        <option value="">{{caWidget.testToolsDropdownPlaceholder}}</option>
                    </select>-->

                    <ui-select ng-model="configItem.testCollectorItem" theme="bootstrap"
                               ng-disabled="caWidget.testJobs.length === 0">
                        <ui-select-match placeholder="{{caWidget.testToolsDropdownPlaceholder}}">
                            {{$select.selected.description}}
                        </ui-select-match>
                        <ui-select-choices
                                repeat="item in (configItem.testJob | filter: $select.search) track by item.id">
                            <div ng-bind-html="(item.niceName + '-' + item.description) | highlight: $select.search"></div>
                        </ui-select-choices>
                    </ui-select>


                </div>
                <dash-trash class="fa-lg" ng-click="caWidget.deleteTestConfig(configItem)"></dash-trash>
            </div>
            <div class="form-group text-center"
                 ng-show="caWidget.testConfigs.length==0 || caWidget.testConfigs[caWidget.testConfigs.length-1].testCollectorItem != null">
                <span class="fa fa-plus-circle fa-2x clickable" ng-click="caWidget.addTestConfig()"></span>
            </div>
            <div class="form group text-center">
                <label></label>
                <button type="submit" class="btn btn-primary btn-wide">Save</button>
            </div>
{'fraction_non_alphanumeric': 0.1360906625339016, 'fraction_numerical': 0.0024215420379697793, 'mean_word_length': 1.7525993068515062, 'pattern_counts': {'":': 0, '<': 140, '<?xml version=': 0, '>': 140, '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': '6534569', 'n_tokens_mistral': 2767, 'n_tokens_neox': 2631, 'n_words': 441}