<commit_before><div class="modal-header">
     <h3 class="modal-title">Add Release File</h3>
 </div>
 <div class="modal-body">
  <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</alert>
 	  <form name="formReleaseFile" bs-validation>
 	  <div class="row">
      <div class="form-group">
        <div class="col-md-12">
          <label>Label</label> 
          <input class="form-control" placeholder="Enter Display Label For File" name="label" ng-model="releaseFile.label" ng-required="true">
          <span ng-show="formReleaseFile.label.$error.required && submitAttempted" class="help-block">Required Field</span>
        </div>
      </div>
      <div class="form-group">
        <div class="col-md-12">
          <label>Download URL</label> 
          <input class="form-control" rows="3" placeholder="Enter File Download URL" name="downloadUrl" ng-model="releaseFile.downloadUrl" ng-required="true"></textarea>
          <span ng-show="formReleaseFile.downloadUrl.$error.required && submitAttempted" class="help-block">Required Field</span>
        </div>
      </div>
      </div>
	</form>
 	
 </div>
 <div class="modal-footer">
     <button class="btn btn-secondary btn-link" ng-click="$dismiss()">Cancel</button>
     <button class="btn btn-success" ng-show="formReleaseFile.$invalid" ng-click="submitAttempted = true"><i class="fa fa-plus"></i> Add</button>
     <button class="btn btn-success" ng-hide="formReleaseFile.$invalid" ng-click="ok(formReleaseFile)" ng-disabled="submitting">
     	<i class="fa fa-plus"></i>
     	Add
     	<span ng-show="submitting"><i class="fa fa-spinner"></i></span>
     </button>
 </div><commit_msg>MLDS-271 adding url validation for the download url<commit_after><div class="modal-header">
     <h3 class="modal-title">Add Release File</h3>
 </div>
 <div class="modal-body">
  <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</alert>
 	  <form name="formReleaseFile" bs-validation>
 	  <div class="row">
      <div class="form-group">
        <div class="col-md-12">
          <label>Label</label> 
          <input class="form-control" placeholder="Enter Display Label For File" name="label" ng-model="releaseFile.label" ng-required="true"/>
          <span ng-show="formReleaseFile.label.$error.required && submitAttempted" class="help-block">Required Field</span>
        </div>
      </div>
      <div class="form-group">
        <div class="col-md-12">
          <label>Download URL</label> 
          <input class="form-control" rows="3" placeholder="Enter File Download URL" name="downloadUrl" ng-model="releaseFile.downloadUrl" ng-required="true" type="url"/>
          <span ng-show="formReleaseFile.downloadUrl.$error.required && submitAttempted" class="help-block">Required Field</span>
          <span ng-show="formReleaseFile.downloadUrl.$error.url && submitAttempted" class="help-block">Invalid URL</span>
        </div>
      </div>
      </div>
	</form>
 	
 </div>
 <div class="modal-footer">
     <button class="btn btn-secondary btn-link" ng-click="$dismiss()">Cancel</button>
     <button class="btn btn-success" ng-show="formReleaseFile.$invalid" ng-click="submitAttempted = true"><i class="fa fa-plus"></i> Add</button>
     <button class="btn btn-success" ng-hide="formReleaseFile.$invalid" ng-click="ok(formReleaseFile)" ng-disabled="submitting">
     	<i class="fa fa-plus"></i>
     	Add
     	<span ng-show="submitting"><i class="fa fa-spinner"></i></span>
     </button>
 </div>
{'fraction_non_alphanumeric': 0.18422535211267604, 'fraction_numerical': 0.004788732394366197, 'mean_word_length': 3.728362183754993, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 98, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6982297', 'n_tokens_mistral': 1122, 'n_tokens_neox': 1081, 'n_words': 212}