<commit_before>/*jshint globalstrict:true*/
/*global angular:false*/
'use strict';

var m_isFunction = angular.isFunction,
    m_isString = angular.isString,
    m_isNumber = angular.isNumber,
    m_isObject = angular.isObject,
    m_isArray = angular.isArray,
    m_isDate = angular.isDate,
    m_isUndefined = angular.isUndefined,
    m_isBoolean = function(val) { return (val === true || val === false) ? true: false; },
    m_isRegEx = function(val) { return Object.prototype.toString.call(val) === '[object RegExp]' ? true : false; },
    m_isNull = function(val) { return val === null; },
    m_forEach = angular.forEach,
    m_extend = angular.extend,
    m_copy = angular.copy,
    m_equals = angular.equals;

function inherit(parent, extra) {
  return m_extend(new (m_extend(function () {}, { prototype: parent }))(), extra);
}

function merge(dst) {
  m_forEach(arguments, function (obj) {
    if (obj !== dst) {
      m_forEach(obj, function (value, key) {
        dst[key] = value;
      });
    }
  });<commit_msg>m_isDate should return false for invalid dates<commit_after>/*jshint globalstrict:true*/
/*global angular:false*/
'use strict';

var m_isFunction = angular.isFunction,
    m_isString = angular.isString,
    m_isNumber = angular.isNumber,
    m_isObject = angular.isObject,
    m_isArray = angular.isArray,
    m_isDate = function(val) { return angular.isDate(val) && !isNaN(val); },
    m_isUndefined = angular.isUndefined,
    m_isBoolean = function(val) { return (val === true || val === false) ? true: false; },
    m_isRegEx = function(val) { return Object.prototype.toString.call(val) === '[object RegExp]' ? true : false; },
    m_isNull = function(val) { return val === null; },
    m_forEach = angular.forEach,
    m_extend = angular.extend,
    m_copy = angular.copy,
    m_equals = angular.equals;

function inherit(parent, extra) {
  return m_extend(new (m_extend(function () {}, { prototype: parent }))(), extra);
}

function merge(dst) {
  m_forEach(arguments, function (obj) {
    if (obj !== dst) {
      m_forEach(obj, function (value, key) {
        dst[key] = value;
      });
    }
  });
{'fraction_non_alphanumeric': 0.1490857946554149, 'fraction_numerical': 0.0, 'mean_word_length': 3.6492374727668846, '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': '6835135', 'n_tokens_mistral': 700, 'n_tokens_neox': 701, 'n_words': 157}