<commit_before>angular.module('scraper', []);


angular.module('scraper',[])
  .controller('MainController', function($scope, $interval, $http) {

    $scope.successItem = 0;
    $scope.failureItem = 0;

    $scope.startCount = 1;
    $scope.endCount = 2001;

    $scope.scraping = false;

    var validateBeforePull = function() {
      if( Math.abs($scope.endCount - $scope.startCount) === 2000) {
        return true;
      } else {
        alert('Please enter start and end values\nwith a difference of 2000.\nYour current difference is: ' + Math.abs($scope.endCount - $scope.startCount) );
        return false;
      }
    }

    // loop through the start count and stop count.
    var pullAndWrite = function() {
      if ( $scope.startCount < $scope.endCount ) {
        for ( var i = $scope.startCount; i <= $scope.endCount; i++) {<commit_msg>(fix) missing semicolon<commit_after>angular.module('scraper', []);


angular.module('scraper',[])
  .controller('MainController', function($scope, $interval, $http) {

    $scope.successItem = 0;
    $scope.failureItem = 0;

    $scope.startCount = 1;
    $scope.endCount = 2001;

    $scope.scraping = false;

    var validateBeforePull = function() {
      if( Math.abs($scope.endCount - $scope.startCount) === 2000) {
        return true;
      } else {
        alert('Please enter start and end values\nwith a difference of 2000.\nYour current difference is: ' + Math.abs($scope.endCount - $scope.startCount) );
        return false;
      }
    };

    // loop through the start count and stop count.
    var pullAndWrite = function() {
      if ( $scope.startCount < $scope.endCount ) {
        for ( var i = $scope.startCount; i <= $scope.endCount; i++) {
{'fraction_non_alphanumeric': 0.14635568513119535, 'fraction_numerical': 0.01749271137026239, 'mean_word_length': 2.856179775280899, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1013687', 'n_tokens_mistral': 566, 'n_tokens_neox': 521, 'n_words': 130}