<commit_before>'use strict';
require('./scss/main.scss');
const path = require('path');
const angular = require('angular');
const camelcase = require('camelcase');
const pascalcase = require('pascalcase');
const uiRouter = require('angular-ui-router');
const ngFileUpload = require('ng-file-upload');
const ngAnimate = require('angular-animate');
const ngDialog = require('ng-dialog');
const uiBootstrap = require('angular-ui-bootstrap');
const duScroll = require('angular-scroll');

const app = angular.module('portfolio', [duScroll, uiRouter, ngFileUpload, ngAnimate, ngDialog, uiBootstrap]);

let context = require.context('./config/', true, /\.js$/);
context.keys().forEach( path => {
  app.config(context(path));
});

context = require.context('./view/', true, /\.js$/);
context.keys().forEach( key => {
  let name = pascalcase(path.basename(key, '.js'));
  app.controller(name, context(key));
});

context = require.context('./service/', true, /\.js$/);
context.keys().forEach( key => {
  let name = camelcase(path.basename(key, '.js'));
  app.service(name, context(key));
});

context = require.context('./component/', true, /\.js$/);
context.keys().forEach( key => {
  let name = camelcase(path.basename(key, '.js'));
  let module = context(key);
  console.log(name, module);
  app.component(name, module);
});

context = require.context('./assets/', true, /\.(jpg|jpeg|svg|bmp|tiff|gif|png)$/);
context.keys().forEach( key => {});<commit_msg>cleanup<commit_after>'use strict';
require('./scss/main.scss');
const path = require('path');
const angular = require('angular');
const camelcase = require('camelcase');
const pascalcase = require('pascalcase');
const uiRouter = require('angular-ui-router');
const ngFileUpload = require('ng-file-upload');
const ngAnimate = require('angular-animate');
const ngDialog = require('ng-dialog');
const uiBootstrap = require('angular-ui-bootstrap');
const duScroll = require('angular-scroll');

const app = angular.module('portfolio', [duScroll, uiRouter, ngFileUpload, ngAnimate, ngDialog, uiBootstrap]);

let context = require.context('./config/', true, /\.js$/);
context.keys().forEach( path => {
  app.config(context(path));
});

context = require.context('./view/', true, /\.js$/);
context.keys().forEach( key => {
  let name = pascalcase(path.basename(key, '.js'));
  app.controller(name, context(key));
});

context = require.context('./service/', true, /\.js$/);
context.keys().forEach( key => {
  let name = camelcase(path.basename(key, '.js'));
  app.service(name, context(key));
});

context = require.context('./component/', true, /\.js$/);
context.keys().forEach( key => {
  let name = camelcase(path.basename(key, '.js'));
  let module = context(key);
  app.component(name, module);
});

context = require.context('./assets/', true, /\.(jpg|jpeg|svg|bmp|tiff|gif|png)$/);
context.keys().forEach( key => {});
{'fraction_non_alphanumeric': 0.2173003139169864, 'fraction_numerical': 0.0, 'mean_word_length': 5.317180616740088, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '2699082', 'n_tokens_mistral': 925, 'n_tokens_neox': 896, 'n_words': 192}