<commit_before>(function(window, angular, undefined) {
'use strict';

var noop   = angular.noop,
  forEach  = angular.forEach,
  extend   = angular.extend,
  copy     = angular.copy,
  isFunc   = angular.isFunction,
  isObject = angular.isObject,
  isArray  = angular.isArray,
  isUndef  = angular.isUndefined,
  equals   = angular.equals;


function lisObject(thing) {
  return thing.constructor && thing.constructor === Object;
}

function deepExtend(dst, source) {
  for (var prop in source) {
    if (source[prop] && lisObject(source[prop])) {
      dst[prop] = dst[prop] || {};

      if (lisObject(dst[prop])) {
        deepExtend(dst[prop], source[prop]);
        continue;<commit_msg>Fix edge case with lisObject check<commit_after>(function(window, angular, undefined) {
'use strict';

var noop   = angular.noop,
  forEach  = angular.forEach,
  extend   = angular.extend,
  copy     = angular.copy,
  isFunc   = angular.isFunction,
  isObject = angular.isObject,
  isArray  = angular.isArray,
  isUndef  = angular.isUndefined,
  equals   = angular.equals;


function lisObject(thing) {
  return thing && thing.constructor && thing.constructor === Object;
}

function deepExtend(dst, source) {
  for (var prop in source) {
    if (source[prop] && lisObject(source[prop])) {
      dst[prop] = dst[prop] || {};

      if (lisObject(dst[prop])) {
        deepExtend(dst[prop], source[prop]);
        continue;
{'fraction_non_alphanumeric': 0.13578500707213578, 'fraction_numerical': 0.0, 'mean_word_length': 3.53525641025641, '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': '6678124', 'n_tokens_mistral': 462, 'n_tokens_neox': 447, 'n_words': 101}