<commit_before><div class="dialog-med">
  <div class="panel-header">
    <h2>New Service Settings</h2>
  </div>
  <form
     class="forms"
     mn-spinner="serversMemoryQuotaDialogCtl.viewLoading"
     ng-submit="serversMemoryQuotaDialogCtl.onSubmit()">
    <div class="panel-content">
      <div class="formrow">
        The <span class="semi-bold" ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.index">GSI Index</span><span ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.count > 1"> and </span><span class="semi-bold" ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.fts">Full Text</span><span ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.count > 1"> services have</span><span ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.count == 1"> service has</span> been added to the cluster for the first time. Please review and set the following service-specific settings.
      </div>
      <div class="formrow">
        <h4>RAM Quotas <small>in megabytes per server node</small></h4>
      </div>
      <div class="formrow indent-1"
         mn-memory-quota="serversMemoryQuotaDialogCtl.config"
         rbac="rbac"
         errors="serversMemoryQuotaDialogCtl.errors">
      </div>
      <label>Index Storage Setting</label>
      <mn-storage-mode
         ng-if="serversMemoryQuotaDialogCtl.firstTimeAddedServices.index"
         mn-is-enterprise="serversMemoryQuotaDialogCtl.isEnterprise"
         mn-model="serversMemoryQuotaDialogCtl.indexSettings"
         mn-errors="serversMemoryQuotaDialogCtl.postIndexSettingsErrors"
         mn-initial="serversMemoryQuotaDialogCtl.initialIndexSettings"
         mn-permissions="rbac"
         mn-compat="poolDefault.compat"
         class="formrow">
      </mn-storage-mode>
    </div>
    <div class="panel-footer">
      <button type="submit">Save Settings</button>
    </div>
  </form>
</div>
<commit_msg>MB-25852: display Index Storage Setting only when index service is added<commit_after><div class="dialog-med">
  <div class="panel-header">
    <h2>New Service Settings</h2>
  </div>
  <form
     class="forms"
     mn-spinner="serversMemoryQuotaDialogCtl.viewLoading"
     ng-submit="serversMemoryQuotaDialogCtl.onSubmit()">
    <div class="panel-content">
      <div class="formrow">
        The <span class="semi-bold" ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.index">GSI Index</span><span ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.count > 1"> and </span><span class="semi-bold" ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.fts">Full Text</span><span ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.count > 1"> services have</span><span ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.count == 1"> service has</span> been added to the cluster for the first time. Please review and set the following service-specific settings.
      </div>
      <div class="formrow">
        <h4>RAM Quotas <small>in megabytes per server node</small></h4>
      </div>
      <div class="formrow indent-1"
         mn-memory-quota="serversMemoryQuotaDialogCtl.config"
         rbac="rbac"
         errors="serversMemoryQuotaDialogCtl.errors">
      </div>
      <label
         ng-show="serversMemoryQuotaDialogCtl.firstTimeAddedServices.index"
         >Index Storage Setting</label>
      <mn-storage-mode
         ng-if="serversMemoryQuotaDialogCtl.firstTimeAddedServices.index"
         mn-is-enterprise="serversMemoryQuotaDialogCtl.isEnterprise"
         mn-model="serversMemoryQuotaDialogCtl.indexSettings"
         mn-errors="serversMemoryQuotaDialogCtl.postIndexSettingsErrors"
         mn-initial="serversMemoryQuotaDialogCtl.initialIndexSettings"
         mn-permissions="rbac"
         mn-compat="poolDefault.compat"
         class="formrow">
      </mn-storage-mode>
    </div>
    <div class="panel-footer">
      <button type="submit">Save Settings</button>
    </div>
  </form>
</div>

{'fraction_non_alphanumeric': 0.12433929020891014, 'fraction_numerical': 0.005285678328718852, 'mean_word_length': 3.936645962732919, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 83, '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': '5015925', 'n_tokens_mistral': 1219, 'n_tokens_neox': 1216, 'n_words': 198}