<commit_before><!--Modal-->
<div class="modal fade" id="modal-form" tabindex="-1">
  <div class="modal-dialog">
    <div class="modal-content">
      <!--Header-->
      <div class="modal-form-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      </div> <!-- modal-form-header -->

      <!--Body-->
      <div class="modal-form-body main-container">
        <div class="row">
          <div class="col-sm-12">
            <div class="modal-form-message">    
              <form data-disable=true data-toggle="validator" role="form" id="addDefinitionForm">          
                <div class="form-group">
                  <label for="inputRefDes" class="control-label">Reference Designator</label>
                  <input type="text" class="form-control" id="inputRefDes" placeholder="<%=model.get('reference_designator')%>" data-error="" required disabled>
                  <div class="help-block with-errors"></div>
                </div> 

                <div class="form-group">
                  <label for="inputStream" class="control-label">Stream Name</label>
                  <input type="text" class="form-control" id="inputStream" placeholder="<%=model.get('stream')%>" data-error="" required disabled>
                  <div class="help-block with-errors"></div>
                </div>

                <div class="form-group">
                  <label for="inputDescription" class="control-label">Description</label>
                  <input type="text" data-minlength="1" class="form-control" id="inputDescription" placeholder="Description" data-error="Minimum of 1 characters required" required 
                  <% if( this.model.get('description') ){ %>
                    value="<%=this.model.get('description')%>"
                  <% } %>
                  >
                  <div class="help-block with-errors"></div>
                </div>      

                <div class="row">
                  <div class="col-sm-3">                    

                    <div class="form-group has-feedback">
                      <label for="inputMinVal" class="control-label">Minimum Value</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="number" minlength="1" maxlength="20" class="form-control" id="inputMinVal" placeholder="0" required>
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors"></span>
                    </div>
                  </div>

                  <div class="col-sm-3">
                    <div class="form-group has-feedback">
                      <label for="inputMaxVal" class="control-label">Maximum Value</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="number" minlength="1" maxlength="20" class="form-control" id="inputMaxVal" placeholder="1" required>
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors"></span>
                    </div>
                  </div>

                  <div class="col-sm-3">
                    <div class="form-group has-feedback">
                      <label for="inputSeverityVal" class="control-label">Severity Value</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="number" minlength="1" maxlength="2" class="form-control" id="inputSeverityVal" placeholder="1" required>
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors"></span>
                    </div>
                  </div>

                  <div class="col-sm-3">  
                      <div class="form-group">
                        <label for="typeSelection" class="control-label">Alert or Alarm</label>
                        <div id="typeSelection" class="radio">
                          <label>
                            <input type="radio" name="alertalarm" val="alert" required>
                            Alert
                          </label>
                        </div>
                        <div class="radio">
                          <label>
                            <input type="radio" name="alertalarm" val="alarm" required>
                            Alarm
                          </label>
                        </div>
                      </div> 
                  </div> 
                </div>

             
                <div class="row">

                  <div class="col-sm-6 escalate-field" style="visibility: hidden;">
                    <div class="form-group has-feedback">
                      <label for="inputEscalateOn" class="control-label">Escalate On</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="text" pattern="^\d+(\.\d{1,2})?$" class="form-control" id="inputEscalateOn" placeholder="5.0" >
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors">Escalate On: when first red mine ticket is generated</span>
                    </div>
                  </div>   

                  <div class="col-sm-6 escalate-field" style="visibility: hidden;">
                    <div class="form-group has-feedback">
                      <label for="inputEscalateBoundary" class="control-label">Escalate Boundary</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="text" pattern="^\d+(\.\d{1,2})?$" class="form-control" id="inputEscalateBoundary" placeholder="10.0" >
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors">Escalate Boundary (when exceeded): Forces a new red mine ticket to be generated</span>
                    </div>
                  </div>                     
                  
                </div><!-- .row -->              
               <commit_msg>Updates A&A help text for escalation time imput boxes.<commit_after><!--Modal-->
<div class="modal fade" id="modal-form" tabindex="-1">
  <div class="modal-dialog">
    <div class="modal-content">
      <!--Header-->
      <div class="modal-form-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      </div> <!-- modal-form-header -->

      <!--Body-->
      <div class="modal-form-body main-container">
        <div class="row">
          <div class="col-sm-12">
            <div class="modal-form-message">    
              <form data-disable=true data-toggle="validator" role="form" id="addDefinitionForm">          
                <div class="form-group">
                  <label for="inputRefDes" class="control-label">Reference Designator</label>
                  <input type="text" class="form-control" id="inputRefDes" placeholder="<%=model.get('reference_designator')%>" data-error="" required disabled>
                  <div class="help-block with-errors"></div>
                </div> 

                <div class="form-group">
                  <label for="inputStream" class="control-label">Stream Name</label>
                  <input type="text" class="form-control" id="inputStream" placeholder="<%=model.get('stream')%>" data-error="" required disabled>
                  <div class="help-block with-errors"></div>
                </div>

                <div class="form-group">
                  <label for="inputDescription" class="control-label">Description</label>
                  <input type="text" data-minlength="1" class="form-control" id="inputDescription" placeholder="Description" data-error="Minimum of 1 characters required" required 
                  <% if( this.model.get('description') ){ %>
                    value="<%=this.model.get('description')%>"
                  <% } %>
                  >
                  <div class="help-block with-errors"></div>
                </div>      

                <div class="row">
                  <div class="col-sm-3">                    

                    <div class="form-group has-feedback">
                      <label for="inputMinVal" class="control-label">Minimum Value</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="number" minlength="1" maxlength="20" class="form-control" id="inputMinVal" placeholder="0" required>
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors"></span>
                    </div>
                  </div>

                  <div class="col-sm-3">
                    <div class="form-group has-feedback">
                      <label for="inputMaxVal" class="control-label">Maximum Value</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="number" minlength="1" maxlength="20" class="form-control" id="inputMaxVal" placeholder="1" required>
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors"></span>
                    </div>
                  </div>

                  <div class="col-sm-3">
                    <div class="form-group has-feedback">
                      <label for="inputSeverityVal" class="control-label">Severity Value</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="number" minlength="1" maxlength="2" class="form-control" id="inputSeverityVal" placeholder="1" required>
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors"></span>
                    </div>
                  </div>

                  <div class="col-sm-3">  
                      <div class="form-group">
                        <label for="typeSelection" class="control-label">Alert or Alarm</label>
                        <div id="typeSelection" class="radio">
                          <label>
                            <input type="radio" name="alertalarm" val="alert" required>
                            Alert
                          </label>
                        </div>
                        <div class="radio">
                          <label>
                            <input type="radio" name="alertalarm" val="alarm" required>
                            Alarm
                          </label>
                        </div>
                      </div> 
                  </div> 
                </div>

             
                <div class="row">

                  <div class="col-sm-6 escalate-field" style="visibility: hidden;">
                    <div class="form-group has-feedback">
                      <label for="inputEscalateOn" class="control-label">Escalate On</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="text" pattern="^\d+(\.\d{1,2})?$" class="form-control" id="inputEscalateOn" placeholder="5.0" >
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors">Escalate On: Time in seconds after Alert is generated before it is escalated to a Redmine ticket</span>
                    </div>
                  </div>   

                  <div class="col-sm-6 escalate-field" style="visibility: hidden;">
                    <div class="form-group has-feedback">
                      <label for="inputEscalateBoundary" class="control-label">Escalate Boundary</label>
                      <div class="input-group">
                        <!--<span class="input-group-addon"></span>-->
                        <input type="text" pattern="^\d+(\.\d{1,2})?$" class="form-control" id="inputEscalateBoundary" placeholder="10.0" >
                      </div>
                      <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
                      <span class="help-block with-errors">Escalate Boundary: Time in seconds since last Alert added to previous escalation will issue new Redmine ticket</span>
                    </div>
                  </div>                     
                  
                </div><!-- .row -->              
               
{'fraction_non_alphanumeric': 0.1483451536643026, 'fraction_numerical': 0.004580378250591016, 'mean_word_length': 1.4364650827933765, 'pattern_counts': {'":': 0, '<': 293, '<?xml version=': 0, '>': 293, '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': '6264893', 'n_tokens_mistral': 3521, 'n_tokens_neox': 3232, 'n_words': 648}