<commit_before>{{#if editing}}
  <div>
    <label class="pb-5 acc-label">{{t 'formScale.label'}}</label>
    {{#if canAdvanced}}
      <div class="pull-right text-small">
        <a role="button" class="btn bg-transparent p-0" {{action "showAdvanced"}}>{{t 'formScale.showAdvanced'}}</a>
      </div>
    {{/if}}
  </div>
{{/if}}

{{#if (and advancedShown canChangeScaleMode)}}
  <div class="radio">
    <label>
      {{radio-button selection=scaleMode value="deployment"}}
      <i class="icon icon-lg icon-service"></i>
      {{t 'formScale.scaleMode.deploymentPrefix' scale=asInteger}}
      {{#if (eq scaleMode "deployment")}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
      {{else}}
        {{asInteger}}
      {{/if}}
      {{t 'formScale.scaleMode.scaleSuffix' scale=asInteger}}
    </label>
  </div>
  <div class="radio">
    <label>
      {{radio-button selection=scaleMode value="daemonSet"}}
      <i class="icon icon-lg icon-globe"></i>
      {{t 'formScale.scaleMode.daemonSet'}}
    </label>
  </div>
  <div class="radio">
    <label>
      {{radio-button selection=scaleMode value="statefulSet"}}
      <i class="icon icon-lg icon-database"></i>
      {{t 'formScale.scaleMode.statefulSetPrefix' scale=asInteger}}
      {{#if (eq scaleMode "statefulSet")}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
      {{else}}
        {{asInteger}}
      {{/if}}
      {{t 'formScale.scaleMode.scaleSuffix' scale=asInteger}}
    </label>
  </div>
  <div class="radio">
    <label>
      {{radio-button selection=scaleMode value="cronJob"}}
      <i class="icon icon-lg icon-history"></i>
      {{t 'formScale.scaleMode.cronJob'}}
      {{~#if (eq scaleMode "cronJob")~}}
        : {{input safeStyle="width: 150px; padding: 0 2px; display: inline-block;" value=workload.cronJobConfig.schedule}}
      {{~/if~}}
    </label>
    {{#if (eq scaleMode "cronJob")}}
      <p class="text-small text-muted" style="margin: 0 0 0 45px;">{{pretty-cron workload.cronJobConfig.schedule 'toString'}}</p>
    {{/if}}
  </div>
{{else}}
  <div class="form-control-static">
    {{#if (eq scaleMode "deployment")}}
      <i class="icon icon-lg icon-service"></i>
      {{t 'formScale.scaleMode.deploymentPrefix' scale=asInteger}}
      {{#if editing}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
      {{else}}
        {{asInteger}}
      {{/if}}
      {{t 'formScale.scaleMode.scaleSuffix' scale=asInteger}}
    {{else if (eq scaleMode "statefulSet")}}
      <i class="icon icon-lg icon-service"></i>
      {{t 'formScale.scaleMode.statefulSetPrefix' scale=asInteger}}
      {{#if editing}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
      {{else}}
        {{asInteger}}
      {{/if}}
      {{t 'formScale.scaleMode.scaleSuffix' scale=asInteger}}
    {{else if (eq scaleMode "replicaSet")}}
      <i class="icon icon-lg icon-service"></i>
      {{t 'formScale.scaleMode.replicaSetPrefix' scale=asInteger}}
      {{#if editing}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}<commit_msg>Fix icon issue<commit_after>{{#if editing}}
  <div>
    <label class="pb-5 acc-label">{{t 'formScale.label'}}</label>
    {{#if canAdvanced}}
      <div class="pull-right text-small">
        <a role="button" class="btn bg-transparent p-0" {{action "showAdvanced"}}>{{t 'formScale.showAdvanced'}}</a>
      </div>
    {{/if}}
  </div>
{{/if}}

{{#if (and advancedShown canChangeScaleMode)}}
  <div class="radio">
    <label>
      {{radio-button selection=scaleMode value="deployment"}}
      <i class="icon icon-lg icon-service"></i>
      {{t 'formScale.scaleMode.deploymentPrefix' scale=asInteger}}
      {{#if (eq scaleMode "deployment")}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
      {{else}}
        {{asInteger}}
      {{/if}}
      {{t 'formScale.scaleMode.scaleSuffix' scale=asInteger}}
    </label>
  </div>
  <div class="radio">
    <label>
      {{radio-button selection=scaleMode value="daemonSet"}}
      <i class="icon icon-lg icon-globe"></i>
      {{t 'formScale.scaleMode.daemonSet'}}
    </label>
  </div>
  <div class="radio">
    <label>
      {{radio-button selection=scaleMode value="statefulSet"}}
      <i class="icon icon-lg icon-database"></i>
      {{t 'formScale.scaleMode.statefulSetPrefix' scale=asInteger}}
      {{#if (eq scaleMode "statefulSet")}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
      {{else}}
        {{asInteger}}
      {{/if}}
      {{t 'formScale.scaleMode.scaleSuffix' scale=asInteger}}
    </label>
  </div>
  <div class="radio">
    <label>
      {{radio-button selection=scaleMode value="cronJob"}}
      <i class="icon icon-lg icon-history"></i>
      {{t 'formScale.scaleMode.cronJob'}}
      {{~#if (eq scaleMode "cronJob")~}}
        : {{input safeStyle="width: 150px; padding: 0 2px; display: inline-block;" value=workload.cronJobConfig.schedule}}
      {{~/if~}}
    </label>
    {{#if (eq scaleMode "cronJob")}}
      <p class="text-small text-muted" style="margin: 0 0 0 45px;">{{pretty-cron workload.cronJobConfig.schedule 'toString'}}</p>
    {{/if}}
  </div>
{{else}}
  <div class="form-control-static">
    {{#if (eq scaleMode "deployment")}}
      <i class="icon icon-lg icon-service"></i>
      {{t 'formScale.scaleMode.deploymentPrefix' scale=asInteger}}
      {{#if editing}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
      {{else}}
        {{asInteger}}
      {{/if}}
      {{t 'formScale.scaleMode.scaleSuffix' scale=asInteger}}
    {{else if (eq scaleMode "statefulSet")}}
      <i class="icon icon-lg icon-database"></i>
      {{t 'formScale.scaleMode.statefulSetPrefix' scale=asInteger}}
      {{#if editing}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
      {{else}}
        {{asInteger}}
      {{/if}}
      {{t 'formScale.scaleMode.scaleSuffix' scale=asInteger}}
    {{else if (eq scaleMode "replicaSet")}}
      <i class="icon icon-lg icon-service"></i>
      {{t 'formScale.scaleMode.replicaSetPrefix' scale=asInteger}}
      {{#if editing}}
        {{input-integer safeStyle="width: 60px; padding: 0 2px; display: inline-block" value=userInput min=min max=max}}
{'fraction_non_alphanumeric': 0.18552709946396664, 'fraction_numerical': 0.009529481834425254, 'mean_word_length': 3.4278180619644036, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, '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': '5998904', 'n_tokens_mistral': 2309, 'n_tokens_neox': 2228, 'n_words': 493}