<commit_before>(function(ng, $, page) {
  "use strict";

  /**
   * Angular service for handling server interactions with samples.
   */
  var SampleService = (function() {
    var post, get;
    var location;
    var scope;

    /**
     * Internal function to reload the datatable.
     * @private
     */
    function _reloadTable() {
      // Need to keep the associated projects
      page.ajaxParam = {date: {}, associated: page.ajaxParam.associated};
      // Clear the search field if needed.
      oTable_samplesTable.search("");
      oTable_samplesTable.ajax.reload();
    }

    /**
     * Get the current state of the datatable filters.
     * @returns {{}}
     * @private
     */
    function _getFilterState() {
      var filters = {};
      Object.assign(filters, page.ajaxParam);
      var searchTerm = document.querySelector(".dataTables_filter input").value;
      filters.search = searchTerm;
      return filters;
    }

    function SampleService($http, $window, $rootScope) {<commit_msg>Fixes issue with select all in IE<commit_after>(function(ng, $, page) {
  "use strict";

  /**
   * Angular service for handling server interactions with samples.
   */
  var SampleService = (function() {
    var post, get;
    var location;
    var scope;

    /**
     * Internal function to reload the datatable.
     * @private
     */
    function _reloadTable() {
      // Need to keep the associated projects
      page.ajaxParam = {date: {}, associated: page.ajaxParam.associated};
      // Clear the search field if needed.
      oTable_samplesTable.search("");
      oTable_samplesTable.ajax.reload();
    }

    /**
     * Get the current state of the datatable filters.
     * @returns {{}}
     * @private
     */
    function _getFilterState() {
      var filters = ng.extend({}, filters, page.ajaxParam);
      var searchTerm = document.querySelector(".dataTables_filter input").value;
      filters.search = searchTerm;
      return filters;
    }

    function SampleService($http, $window, $rootScope) {
{'fraction_non_alphanumeric': 0.11811023622047244, 'fraction_numerical': 0.0, 'mean_word_length': 2.5855379188712524, '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': '3875735', 'n_tokens_mistral': 562, 'n_tokens_neox': 551, 'n_words': 161}