<commit_before><%--

    Copyright 2012 Netflix, Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

--%>
<table>
  <tr>
    <td colspan="100%" class="subitems">
      <div class="buttons">
        <span class="count">Total Instances: <span class="instanceCount">${instanceCount}</span></span>
        <g:if test="${discoveryExists}">
          <a class="monitor healthCheckRunLink${runHealthChecks ? " autoLaunch" : ""}" href="javascript:;"
             title="Check the Discovery status and health check result of all instances.">Run All Health Checks</a>
        </g:if>
        <g:buttonSubmit class="stop terminateMany" title="Terminate the selected instances."
                        controller="instance" action="terminate" value="Terminate Instances"/>
      </div>
      <div class="buttons">
        <label>Load Balancing:</label>
        <g:buttonSubmit class="removeBalance" title="Remove the selected instances from the group's load balancers."
                        controller="instance" action="deregister" value="Deregister Instances from ELBs"/>
        <g:buttonSubmit class="instanceBalance" title="Add the selected instances to the group's load balancers."
                        controller="instance" action="register" value="Register Instances with group's ELBs" />
      </div>
      <g:if test="${discoveryExists}">
        <div class="buttons">
          <label>Discovery:</label>
          <g:buttonSubmit class="outOfService" title="Prevent Discovery from listing the selected instances for use by other applications."
                          controller="instance" action="takeOutOfService" value="Deactivate in Discovery"/>
          <g:buttonSubmit class="inService" title="Allow Discovery to list the selected instances for use by other applications."
                          controller="instance" action="putInService" value="Activate in Discovery"/>
        </div>
      </g:if>
    </td>
  </tr>
</table>
<commit_msg>ASGARD-972 - 2nd set of instance controls should be below instances<commit_after><%--

    Copyright 2012 Netflix, Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

--%>
<table class="clear">
  <tr>
    <td colspan="100%" class="subitems">
      <div class="buttons">
        <span class="count">Total Instances: <span class="instanceCount">${instanceCount}</span></span>
        <g:if test="${discoveryExists}">
          <a class="monitor healthCheckRunLink${runHealthChecks ? " autoLaunch" : ""}" href="javascript:;"
             title="Check the Discovery status and health check result of all instances.">Run All Health Checks</a>
        </g:if>
        <g:buttonSubmit class="stop terminateMany" title="Terminate the selected instances."
                        controller="instance" action="terminate" value="Terminate Instances"/>
      </div>
      <div class="buttons">
        <label>Load Balancing:</label>
        <g:buttonSubmit class="removeBalance" title="Remove the selected instances from the group's load balancers."
                        controller="instance" action="deregister" value="Deregister Instances from ELBs"/>
        <g:buttonSubmit class="instanceBalance" title="Add the selected instances to the group's load balancers."
                        controller="instance" action="register" value="Register Instances with group's ELBs" />
      </div>
      <g:if test="${discoveryExists}">
        <div class="buttons">
          <label>Discovery:</label>
          <g:buttonSubmit class="outOfService" title="Prevent Discovery from listing the selected instances for use by other applications."
                          controller="instance" action="takeOutOfService" value="Deactivate in Discovery"/>
          <g:buttonSubmit class="inService" title="Allow Discovery to list the selected instances for use by other applications."
                          controller="instance" action="putInService" value="Activate in Discovery"/>
        </div>
      </g:if>
    </td>
  </tr>
</table>

{'fraction_non_alphanumeric': 0.10869565217391304, 'fraction_numerical': 0.005185480654168329, 'mean_word_length': 3.0640194489465156, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3007583', 'n_tokens_mistral': 1272, 'n_tokens_neox': 1217, 'n_words': 444}