<commit_before>// ******************************************************************
// Format keyword
// ******************************************************************

var Errors = require('../../../../errors.js')
  , core = require('../../core.js')
  ;

module.exports = function(config) {
  var errors = [];

  if (!config.inst.match(core.FORMAT_REGEXPS.uri)) {
    var desc = 'not a valid URI';
    errors.push(new Errors.FormatValidationError(config.resolutionScope,
      config.instanceContext, 'format', 'ipv4', config.inst, desc));
  }

  return errors;
};
<commit_msg>fix incorrect error message<commit_after>// ******************************************************************
// Format keyword
// ******************************************************************

var Errors = require('../../../../errors.js')
  , core = require('../../core.js')
  ;

module.exports = function(config) {
  var errors = [];

  if (!config.inst.match(core.FORMAT_REGEXPS.uri)) {
    var desc = 'not a valid URI';
    errors.push(new Errors.FormatValidationError(config.resolutionScope,
      config.instanceContext, 'format', 'uri', config.inst, desc));
  }

  return errors;
};

{'fraction_non_alphanumeric': 0.37150127226463103, 'fraction_numerical': 0.0008481764206955047, 'mean_word_length': 4.221238938053097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '40', 'n_tokens_mistral': 319, 'n_tokens_neox': 301, 'n_words': 61}