<commit_before>/*
 *= require application
 *= require jquery
 *= require jquery-migrate
 *= require fastfix
 *= require jquery-ui
 *= require bootstrap
 *= require related_selector
 *= require single_selector
 *= require spin.min
 *= require tmpl
 *= require can.jquery-all
 *= require mustache_helper
 *= require_tree ./models
 *= require_tree ./controllers
 *= require_tree ./apps
 *= require sections/notes_controller.js
 *= require_self
 *= require jquery.remotipart-patched
 *= require d3.v2
 *= require related
 *= require related_graph
 */

  window.cms_singularize = function(type) {
    type = type.trim();
    var _type = type.toLowerCase();
    switch(_type) {
      case "facilities":
      type = type[0] + "acility"; break;
      case "people":
      type = type[0] + "erson"; break;
      case "processes":
      type = type[0] + "rocess"; break;
      case "systems_processes":
      type = type[0] + "ystem_" + type[8] + "rocess";
      break;
      case "policies":
      type = type[0] + "olicy"; break;
      default:
      type = type.replace(/e?s$/, "");
    }

    return type;
  }

// Initialize delegated event handlers
jQuery(function($) {

  window.calculate_spinner_z_index = function() {
      var zindex = 0;
      $(this).parents().each(function() {
        var z;
        if(z = parseInt($(this).css("z-index"))) {
          zindex = z;
          return false;
        }
      });<commit_msg>Story 49453095: fixing typo in button<commit_after>/*
 *= require application
 *= require jquery
 *= require jquery-migrate
 *= require fastfix
 *= require jquery-ui
 *= require bootstrap
 *= require related_selector
 *= require single_selector
 *= require spin.min
 *= require tmpl
 *= require can.jquery-all
 *= require mustache_helper
 *= require_tree ./models
 *= require_tree ./controllers
 *= require_tree ./apps
 *= require sections/notes_controller.js
 *= require_self
 *= require jquery.remotipart-patched
 *= require d3.v2
 *= require related
 *= require related_graph
 */

  window.cms_singularize = function(type) {
    type = type.trim();
    var _type = type.toLowerCase();
    switch(_type) {
      case "facilities":
      type = type[0] + "acility"; break;
      case "people":
      type = type[0] + "erson"; break;
      case "attributes":
      type = type[0] + "ttribute"; break;
      case "systems_processes":
      type = type[0] + "ystem_" + type[8] + "rocess";
      break;
      case "policies":
      type = type[0] + "olicy"; break;
      default:
      type = type.replace(/e?s$/, "");
    }

    return type;
  }

// Initialize delegated event handlers
jQuery(function($) {

  window.calculate_spinner_z_index = function() {
      var zindex = 0;
      $(this).parents().each(function() {
        var z;
        if(z = parseInt($(this).css("z-index"))) {
          zindex = z;
          return false;
        }
      });
{'fraction_non_alphanumeric': 0.14504347826086955, 'fraction_numerical': 0.009043478260869564, 'mean_word_length': 2.735064935064935, 'pattern_counts': {'":': 10, '<': 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': '6796599', 'n_tokens_mistral': 900, 'n_tokens_neox': 877, 'n_words': 217}