<commit_before>config-page
    .panel.panel-default(ng-repeat="worker in cfg.workers")
        .panel-heading
            .panel-title
                | {{ worker.name }} ({{ worker.type }})
                .btn.btn-xs.btn-default.pull-right(ng-click="toggle_show(worker.id)")
                    i.fa.fa-sliders
        .panel-body(ng-show="is_shown(worker.id)")
            ng-form.form-horizontal(name="form")
                .form-group(show-errors)
                    label.col-sm-2.control-label Worker basename:
                    .col-sm-8
                        input.form-control(type="text", ng-model="worker.name", name="name"
                                           placeholder="<NAME>", required)
                        p.help-block(ng-if="form.name.$error.required") The Worker's name is required
                    .col-sm-2
                        .pull-right.btn.btn-danger(ng-click="worker_remove(worker)")
                            | delete worker
                .form-group
                    label.col-sm-2.control-label Number of workers:
                    .col-sm-10
                        input.form-control(type="number", ng-model="worker.number")

                .form-group(ng-if="worker.type=='Worker'")
                    label.col-sm-2.control-label Password for the workers:
                    .col-sm-10
                        input.form-control(type="text", ng-model="worker.password", ng-init="change_me")
                div(ng-if="worker.type=='HyperWorker'")
                    .form-group
                        label.col-sm-2.control-label Hyper Host Url:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.hyper_host", placeholder = "tcp://us-west-1.hyper.sh:443")
                    .form-group
                        label.col-sm-2.control-label MasterFQDN:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.masterFQDN", placeholder = "IP or dns of the master, leave empty for autodetection")
                    .form-group
                        label.col-sm-2.control-label Accesskey:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.hyper_accesskey")
                    .form-group
                        label.col-sm-2.control-label Secretkey:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.hyper_secretkey")
                    .form-group
                        label.col-sm-2.control-label
                            a(href='https://www.hyper.sh/pricing.html')  Worker Size
                            | &nbsp;:
                        .col-sm-2
                            select.form-control(ng-model="worker.size")
                                option(value="{{s}}" ng-repeat="s in 's1 s2 s3 s4 m1 m2 m3 l1 l2 l3'.split(' ')") {{s}}
                div(ng-if="worker.type=='DockerWorker' || worker.type=='HyperWorker'")
                    .form-group
                        label.col-sm-2.control-label image name:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.image", placeholder = "buildbot/worker-%(prop:language)s")
                    .alert.alert-info
                        b Note:&nbsp;
                        | image name is interpolated with buildrequest properties

                .form-group(ng-if="worker.type=='DockerWorker'")
                    label.col-sm-2.control-label Docker Host Url:
                    .col-sm-10
                        input.form-control(type="text", ng-model="worker.docker_host", placeholder = "tcp://dockerhost:2375")

    .row
        .col-sm-12<commit_msg>Uppercase the 'i' in 'image name'<commit_after>config-page
    .panel.panel-default(ng-repeat="worker in cfg.workers")
        .panel-heading
            .panel-title
                | {{ worker.name }} ({{ worker.type }})
                .btn.btn-xs.btn-default.pull-right(ng-click="toggle_show(worker.id)")
                    i.fa.fa-sliders
        .panel-body(ng-show="is_shown(worker.id)")
            ng-form.form-horizontal(name="form")
                .form-group(show-errors)
                    label.col-sm-2.control-label Worker basename:
                    .col-sm-8
                        input.form-control(type="text", ng-model="worker.name", name="name"
                                           placeholder="<NAME>", required)
                        p.help-block(ng-if="form.name.$error.required") The Worker's name is required
                    .col-sm-2
                        .pull-right.btn.btn-danger(ng-click="worker_remove(worker)")
                            | delete worker
                .form-group
                    label.col-sm-2.control-label Number of workers:
                    .col-sm-10
                        input.form-control(type="number", ng-model="worker.number")

                .form-group(ng-if="worker.type=='Worker'")
                    label.col-sm-2.control-label Password for the workers:
                    .col-sm-10
                        input.form-control(type="text", ng-model="worker.password", ng-init="change_me")
                div(ng-if="worker.type=='HyperWorker'")
                    .form-group
                        label.col-sm-2.control-label Hyper Host Url:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.hyper_host", placeholder = "tcp://us-west-1.hyper.sh:443")
                    .form-group
                        label.col-sm-2.control-label MasterFQDN:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.masterFQDN", placeholder = "IP or dns of the master, leave empty for autodetection")
                    .form-group
                        label.col-sm-2.control-label Accesskey:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.hyper_accesskey")
                    .form-group
                        label.col-sm-2.control-label Secretkey:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.hyper_secretkey")
                    .form-group
                        label.col-sm-2.control-label
                            a(href='https://www.hyper.sh/pricing.html')  Worker Size
                            | &nbsp;:
                        .col-sm-2
                            select.form-control(ng-model="worker.size")
                                option(value="{{s}}" ng-repeat="s in 's1 s2 s3 s4 m1 m2 m3 l1 l2 l3'.split(' ')") {{s}}
                div(ng-if="worker.type=='DockerWorker' || worker.type=='HyperWorker'")
                    .form-group
                        label.col-sm-2.control-label Image name:
                        .col-sm-10
                            input.form-control(type="text", ng-model="worker.image", placeholder = "buildbot/worker-%(prop:language)s")
                    .alert.alert-info
                        b Note:&nbsp;
                        | image name is interpolated with buildrequest properties

                .form-group(ng-if="worker.type=='DockerWorker'")
                    label.col-sm-2.control-label Docker Host Url:
                    .col-sm-10
                        input.form-control(type="text", ng-model="worker.docker_host", placeholder = "tcp://dockerhost:2375")

    .row
        .col-sm-12
{'fraction_non_alphanumeric': 0.12853403141361255, 'fraction_numerical': 0.012827225130890052, 'mean_word_length': 1.2238067520372526, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5628311', 'n_tokens_mistral': 2145, 'n_tokens_neox': 1987, 'n_words': 294}