<commit_before>/* ----------------------------------------------------------------------------
                GitHup Ctrl
---------------------------------------------------------------------------- */

//Initialisation
var app = angular.module("AdobeOpenSource", ["ngResource"]);

/* ----------------------------------------------------------------------------
                Main Controller */

//Get Adobe Github repos & orgs
app.factory("DatasAdobe", function($resource) {
    return $resource("http://ec2-54-221-78-73.compute-1.amazonaws.com:8000", {'8000': ':8000'});
});

//Offline backup of json
app.factory("DatasAdobeOffline", function($resource) {
    return $resource("data/server.json");
});

//Get Feaatured for the header
app.factory("FeaturedHeader", function($resource) {
    return $resource("data/featured.json")
});

//TODO : Manage offline project list when errors
this.GitHubCtrl = function($scope, $sce, $filter, DatasAdobe, DatasAdobeOffline, FeaturedHeader) {
    
    //------------------------------- Init --------------------------------
    
	//Be able to call math functions
	$scope.Math = Math;
	$scope.Object = Object;
	$scope.filter = $filter;
	$scope.filterStarIndex = 0;<commit_msg>Updating server port<commit_after>/* ----------------------------------------------------------------------------
                GitHup Ctrl
---------------------------------------------------------------------------- */

//Initialisation
var app = angular.module("AdobeOpenSource", ["ngResource"]);

/* ----------------------------------------------------------------------------
                Main Controller */

//Get Adobe Github repos & orgs
app.factory("DatasAdobe", function($resource) {
    return $resource("http://ec2-54-221-78-73.compute-1.amazonaws.com");
});

//Offline backup of json
app.factory("DatasAdobeOffline", function($resource) {
    return $resource("data/server.json");
});

//Get Feaatured for the header
app.factory("FeaturedHeader", function($resource) {
    return $resource("data/featured.json")
});

//TODO : Manage offline project list when errors
this.GitHubCtrl = function($scope, $sce, $filter, DatasAdobe, DatasAdobeOffline, FeaturedHeader) {
    
    //------------------------------- Init --------------------------------
    
	//Be able to call math functions
	$scope.Math = Math;
	$scope.Object = Object;
	$scope.filter = $filter;
	$scope.filterStarIndex = 0;
{'fraction_non_alphanumeric': 0.3577034283353986, 'fraction_numerical': 0.01486988847583643, 'mean_word_length': 1.4689092762487257, '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': '6289408', 'n_tokens_mistral': 631, 'n_tokens_neox': 593, 'n_words': 133}