<commit_before>'use strict';

import md from 'angular-material';
import state from 'angular-ui-router';
import baseball from './components/main/baseball.js';
import mdDataTable from 'angular-material-data-table';

import 'angular-material/angular-material.min.css';

import 'angular-material-data-table/dist/md-data-table.min.css';


// Declare app level module which depends on views, and components
angular.module('app', [md,state,baseball, mdDataTable, 'ngMockE2E'])
    .config(($stateProvider, $urlRouterProvider, $mdThemingProvider)  => {

        $urlRouterProvider.otherwise('/baseball');

        $stateProvider.state('baseball', {
            url: '/baseball',
            controller: 'BaseballController',
            controllerAs: 'BaseballCtrl',
            template: require('./components/main/baseball.tpl.html')
        });

        $mdThemingProvider.theme('default')
            .primaryPalette('green')
            // If you specify less than all of the keys, it will inherit from the
            // default shades
            .accentPalette('purple');
    })
    .run(($httpBackend) => {
        //where shit gets mocked for now
        var tableResponse = ['Steves Baseball', 'BTR3Ball', 'Chaos Sluggers', 'SheppJaks Baseball',
            'Leema','The Nationals Suck :('];
        var metaResponse = {
            rowDesc: "Each row is a Team",
            colMetaData:[
                {colName:'playerID', colType:'String', colDesc:'The ID'},
                {colName:'yearID', colType:'Number', colDesc:'The Year'},
                {colName:'stint', colType:'Number', colDesc:'How long the player played'},
                {colName:'teamID', colType:'String', colDesc:'The team of the player'},
                {colName:'lgID', colType:'String', colDesc:'The Fuck is this?'},
                {colName:'G',colType:'String',colDesc:'Go'},
                {colName:'AB', colType:'String', colDesc:'I think this is at bat'},
                {colName:'R', colType:'Number', colDesc:'Runs'},
                {colName:'H', colType:'Number', colDesc:'Hits'},
                {colName:'2B', colType:'Number', colDesc:'Doubles'},
                {colName:'3B', colType:'Number', colDesc:'Triples'},
                {colName:'HR', colType:'Number', colDesc:'Home Runs'},
                {colName:'RBI', colType:'Number', colDesc:'Runs Batted In'},
                {colName:'SB', colType:'Number', colDesc:'Stolen Bases'},
                {colName:'CS', colType:'Number', colDesc:'Caught Stealing'},
                {colName:'BB', colType:'Number', colDesc:'Big Balls'},
                {colName:'SO', colType:'Number', colDesc:'Significant Others'},
                {colName:'IBB',colType:'Number', colDesc:'In Before Baseball'},
                {colName:'HBP',colType:'Number', colDesc:'Hello Big Puppy'},
                {colName:'SH',colType:'Number', colDesc:'Shits Taken'},
                {colName:'SF',colType:'Number', colDesc:'Shits Farted'},
                {colName:'GIDP', colType:'Number', colDesc:'Giddy P'}]};
<commit_msg>Clean up steve's potty mouth; Add more details to mocked data<commit_after>'use strict';

import md from 'angular-material';
import state from 'angular-ui-router';
import baseball from './components/main/baseball.js';
import mdDataTable from 'angular-material-data-table';

import 'angular-material/angular-material.min.css';

import 'angular-material-data-table/dist/md-data-table.min.css';


// Declare app level module which depends on views, and components
angular.module('app', [md,state,baseball, mdDataTable, 'ngMockE2E'])
    .config(($stateProvider, $urlRouterProvider, $mdThemingProvider)  => {

        $urlRouterProvider.otherwise('/baseball');

        $stateProvider.state('baseball', {
            url: '/baseball',
            controller: 'BaseballController',
            controllerAs: 'BaseballCtrl',
            template: require('./components/main/baseball.tpl.html')
        });

        $mdThemingProvider.theme('default')
            .primaryPalette('green')
            // If you specify less than all of the keys, it will inherit from the
            // default shades
            .accentPalette('purple');
    })
    .run(($httpBackend) => {
        //where shit gets mocked for now
        var tableResponse = ['Steves Baseball', 'BTR3Ball', 'Chaos Sluggers', 'SheppJaks Baseball',
            'Leema','The Nationals Suck'];
        var metaResponse = {
            rowDesc: "Each row is a Player Stint - a set of games that a single player participated in for a single team in a single season. A player may have multiple stints within a single season, and each will have a unique value in the 'stint' column.",
            colMetaData:[
                {colName:'playerID', colType:'String', colDesc:'The ID'},
                {colName:'yearID', colType:'Number', colDesc:'The Year'},
                {colName:'stint', colType:'Number', colDesc:'ID for this sequence of games (unique to player and year)'},
                {colName:'teamID', colType:'String', colDesc:'The team of the player'},
                {colName:'lgID', colType:'String', colDesc:'League ID'},
                {colName:'G',colType:'Count',colDesc:'Games'},
                {colName:'AB', colType:'Count', colDesc:'At Bats'},
                {colName:'R', colType:'Count', colDesc:'Runs'},
                {colName:'H', colType:'Count', colDesc:'Hits'},
                {colName:'2B', colType:'Count', colDesc:'Doubles'},
                {colName:'3B', colType:'Count', colDesc:'Triples'},
                {colName:'HR', colType:'Count', colDesc:'Home Runs'},
                {colName:'RBI', colType:'Count', colDesc:'Runs Batted In'},
                {colName:'SB', colType:'Count', colDesc:'Stolen Bases'},
                {colName:'CS', colType:'Count', colDesc:'Caught Stealing'},
                {colName:'BB', colType:'Count', colDesc:'Walks (Base on Balls)'},
                {colName:'SO', colType:'Count', colDesc:'Strikeouts'},
                {colName:'IBB',colType:'Count', colDesc:'Intentional Walks'},
                {colName:'HBP',colType:'Count', colDesc:'Hit By Pitch'},
                {colName:'SH',colType:'Count', colDesc:'Sacrifice Hits'},
                {colName:'SF',colType:'Count', colDesc:'Sacrifice Flies'},
                {colName:'GIDP', colType:'Count', colDesc:'Grounded Into Double Play'}]};

{'fraction_non_alphanumeric': 0.15689655172413794, 'fraction_numerical': 0.0012539184952978057, 'mean_word_length': 2.7982142857142858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5953153', 'n_tokens_mistral': 1846, 'n_tokens_neox': 1777, 'n_words': 428}