<commit_before><div class="panel panel-default">
    <div class="panel-heading primary">
        <div class="panel-title">
            Details
        </div>
    </div>
    <div class="panel-body">
        <div class="alert alert-danger" data-ng-show="errors.message">
            {{errors.message}}
        </div>
        <form class="form-horizontal">
            <div class="form-group" ng-class="{'has-error' : errors.name}">
                <label class="col-sm-3 control-label">Name
                    <br><em>
                        <small class="help-block">required</small>
                    </em></label>
                <div class="col-sm-8">
                    <input ng-model="upstream.name" class="form-control">
                    <div class="text-danger" ng-if="errors.name" data-ng-bind="errors.name"></div>
                    <p class="help-block">
                        This is a hostname like name that can be referenced in an <code>upstream_url</code> field of an
                        <code>api</code>.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.slots}">
                <label class="col-sm-3 control-label">Slots
                    <br><em>
                        <small class="help-block">optional</small>
                    </em></label>
                <div class="col-sm-8">
                    <input type="number" ng-model="upstream.slots" class="form-control">
                    <div class="text-danger" ng-if="errors.slots" data-ng-bind="errors.slots"></div>
                    <p class="help-block">
                        The number of slots in the loadbalancer algorithm (<code>10-65536</code>, defaults to
                        <code>1000</code>).
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.orderlist}">
                <label class="col-sm-3 control-label">Orderlist
                    <br><em>
                        <small class="help-block">optional</small>
                    </em></label>
                <div class="col-sm-8">
                    <chips ng-model="upstream.orderlist">
                        <chip-tmpl>
                            <div class="default-chip">
                                {{chip}}
                                <i class="mdi mdi-close" remove-chip></i>
                            </div>
                        </chip-tmpl>
                        <input chip-control/>
                    </chips>
                    <div class="text-danger" ng-if="errors.orderlist" data-ng-bind="errors.orderlist"></div>
                    <p class="help-block">
                        A list of sequential, but randomly ordered, integer numbers that determine the distribution of<commit_msg>Enable active health checks for  0.12.x<commit_after><div class="panel panel-default">
    <div class="panel-heading primary">
        <div class="panel-title">
            Details
        </div>
    </div>
    <div class="panel-body">
        <div class="alert alert-danger" data-ng-show="errors.message">
            {{errors.message}}
        </div>
        <form class="form-horizontal">
            <div class="form-group" ng-class="{'has-error' : errors.name}">
                <label class="col-sm-3 control-label">Name
                    <br><em>
                        <small class="help-block">required</small>
                    </em></label>
                <div class="col-sm-8">
                    <input ng-model="upstream.name" class="form-control">
                    <div class="text-danger" ng-if="errors.name" data-ng-bind="errors.name"></div>
                    <p class="help-block">
                        This is a hostname like name that can be referenced in an <code>upstream_url</code> field of an
                        <code>api</code>.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.slots}">
                <label class="col-sm-3 control-label">Slots
                    <br><em>
                        <small class="help-block">optional</small>
                    </em></label>
                <div class="col-sm-8">
                    <input type="number" ng-model="upstream.slots" class="form-control">
                    <div class="text-danger" ng-if="errors.slots" data-ng-bind="errors.slots"></div>
                    <p class="help-block">
                        The number of slots in the loadbalancer algorithm (<code>10-65536</code>, defaults to
                        <code>1000</code>).
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.healthchecks.active.http_path}">
                <label class="col-sm-3 control-label">Active healthchecks HTTP path
                    <br>
                    <em>
                        <small class="help-block">optional</small>
                    </em>
                </label>
                <div class="col-sm-8">
                    <input ng-model="upstream.healthchecks.active.http_path" class="form-control">
                    <div class="text-danger" ng-if="errors.healthchecks.active.http_path" data-ng-bind="errors.healthchecks.active.http_path"></div>
                    <p class="help-block">
                        The path that should be used when issuing the HTTP GET request to the target. The default value is <code>/</code>.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.healthchecks.active.timeout}">
                <label class="col-sm-3 control-label">Active healthchecks timeout
                    <br>
                    <em>
                        <small class="help-block">optional</small>
                    </em>
                </label>
                <div class="col-sm-8">
                    <input ng-model="upstream.healthchecks.active.timeout" class="form-control">
                    <div class="text-danger" ng-if="errors.healthchecks.active.timeout" data-ng-bind="errors.healthchecks.active.timeout"></div>
                    <p class="help-block">
                        The connection timeout limit for the HTTP GET request of the probe. The default value is 1 second.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.healthchecks.active.healthy.interval}">
                <label class="col-sm-3 control-label">Active healthchecks healthy interval
                    <br>
                    <em>
                        <small class="help-block">optional</small>
                    </em>
                </label>
                <div class="col-sm-8">
                    <input ng-model="upstream.healthchecks.active.healthy.interval" class="form-control">
                    <div class="text-danger" ng-if="errors.healthchecks.active.healthy.interval" data-ng-bind="errors.healthchecks.active.healthy.interval"></div>
                    <p class="help-block">
                        Interval between active health checks for healthy targets (in seconds). A value of zero indicates that active probes for
                        healthy targets should not be performed.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.healthchecks.active.unhealthy.interval}">
                <label class="col-sm-3 control-label">Active healthchecks unhealthy interval
                    <br>
                    <em>
                        <small class="help-block">optional</small>
                    </em>
                </label>
                <div class="col-sm-8">
                    <input ng-model="upstream.healthchecks.active.unhealthy.interval" class="form-control">
                    <div class="text-danger" ng-if="errors.healthchecks.active.unhealthy.interval" data-ng-bind="errors.healthchecks.active.unhealthy.interval"></div>
                    <p class="help-block">
                        Interval between active health checks for healthy targets (in seconds). A value of zero indicates that active probes for
                        healthy targets should not be performed.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.healthchecks.active.healthy.successes}">
                <label class="col-sm-3 control-label">Active healthchecks healthy successes
                    <br>
                    <em>
                        <small class="help-block">optional</small>
                    </em>
                </label>
                <div class="col-sm-8">
                    <input ng-model="upstream.healthchecks.active.healthy.successes" class="form-control">
                    <div class="text-danger" ng-if="errors.healthchecks.active.healthy.successes" data-ng-bind="errors.healthchecks.active.healthy.successes"></div>
                    <p class="help-block">
                        Number of successes in active probes (as defined by <code>healthchecks.active.healthy.http_statuses</code>) to consider a target healthy.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.healthchecks.active.unhealthy.tcp_failures}">
                <label class="col-sm-3 control-label">Active healthchecks unhealthy TCP failures
                    <br>
                    <em>
                        <small class="help-block">optional</small>
                    </em>
                </label>
                <div class="col-sm-8">
                    <input ng-model="upstream.healthchecks.active.unhealthy.tcp_failures" class="form-control">
                    <div class="text-danger" ng-if="errors.healthchecks.active.unhealthy.tcp_failures" data-ng-bind="errors.healthchecks.active.unhealthy.tcp_failures"></div>
                    <p class="help-block">
                        Number of TCP failures in active probes to consider a target unhealthy.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.healthchecks.active.unhealthy.timeouts}">
                <label class="col-sm-3 control-label">Active healthchecks unhealthy timeouts
                    <br>
                    <em>
                        <small class="help-block">optional</small>
                    </em>
                </label>
                <div class="col-sm-8">
                    <input ng-model="upstream.healthchecks.active.unhealthy.timeouts" class="form-control">
                    <div class="text-danger" ng-if="errors.healthchecks.active.unhealthy.timeouts" data-ng-bind="errors.healthchecks.active.unhealthy.timeouts"></div>
                    <p class="help-block">
                        Number of timeouts in active probes to consider a target unhealthy.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.healthchecks.active.unhealthy.http_failures}">
                <label class="col-sm-3 control-label">Active healthchecks unhealthy HTTP failures
                    <br>
                    <em>
                        <small class="help-block">optional</small>
                    </em>
                </label>
                <div class="col-sm-8">
                    <input ng-model="upstream.healthchecks.active.unhealthy.http_failures" class="form-control">
                    <div class="text-danger" ng-if="errors.healthchecks.active.unhealthy.http_failures" data-ng-bind="errors.healthchecks.active.unhealthy.http_failures"></div>
                    <p class="help-block">
                        Number of HTTP failures in active probes (as defined by <code>healthchecks.active.unhealthy.http_statuses</code>) to consider a target
                        unhealthy.
                    </p>

                </div>
            </div>
            <div class="form-group" ng-class="{'has-error' : errors.orderlist}">
                <label class="col-sm-3 control-label">Orderlist
                    <br><em>
                        <small class="help-block">optional</small>
                    </em></label>
                <div class="col-sm-8">
                    <chips ng-model="upstream.orderlist">
                        <chip-tmpl>
                            <div class="default-chip">
                                {{chip}}
                                <i class="mdi mdi-close" remove-chip></i>
                            </div>
                        </chip-tmpl>
                        <input chip-control/>
                    </chips>
                    <div class="text-danger" ng-if="errors.orderlist" data-ng-bind="errors.orderlist"></div>
                    <p class="help-block">
                        A list of sequential, but randomly ordered, integer numbers that determine the distribution of
{'fraction_non_alphanumeric': 0.12923123213479765, 'fraction_numerical': 0.004061982849405747, 'mean_word_length': 1.3946325648414986, 'pattern_counts': {'":': 0, '<': 277, '<?xml version=': 0, '>': 277, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3420798', 'n_tokens_mistral': 3591, 'n_tokens_neox': 3261, 'n_words': 685}