<commit_before>// -- Github Repository --------------------------------------------------------

function GithubRepo( repo ) {
        this.description = repo.description;
        this.forks = repo.forks;
        this.name = repo.name;
        this.open_issues = repo.open_issues;
        this.pushed_at = repo.pushed_at;
        this.url = repo.url;
        this.watchers = repo.watchers;
}

// Parses HTML template
GithubRepo.prototype.toHTML = function () {
        var self = this;

        self.pushed_at = self._parsePushedDate( self.pushed_at ),
        self.url = self._parseURL( self.url );

        return $(
                "<div class='github-box'>" +
                        "<div class='github-box-header'>" +
                                "<h3>" +
                                        "<a href='" + self.url + "'>" + self.name + "</a>" +
                                "</h3>" +
                                "<div class='github-stats'>" +
                                        "<a class='repo-stars' title='Stars' data-icon='7' href='" + self.url + "/watchers'>" + self.watchers + "</a>" +
                                        "<a class='repo-forks' title='Forks' data-icon='f' href='" + self.url + "/network'>" + self.forks + "</a>" +
                                        "<a class='repo-issues' title='Issues' data-icon='i' href='" + self.url + "/issues'>" + self.open_issues + "</a>" +
                                "</div>" +
                        "</div>" +<commit_msg>replace old fashioned project-box with material design custom theme<commit_after>// -- Github Repository --------------------------------------------------------

function GithubRepo( repo ) {
        this.description = repo.description;
        this.forks = repo.forks;
        this.name = repo.name;
        this.open_issues = repo.open_issues;
        this.pushed_at = repo.pushed_at;
        this.url = repo.url;
        this.watchers = repo.watchers;
}

// Parses HTML template
GithubRepo.prototype.toHTML = function () {
        var self = this;

        self.pushed_at = self._parsePushedDate( self.pushed_at ),
        self.url = self._parseURL( self.url );

        return $(
                '<div class="card">'+
                  '<div class="card-content">'+
                    '<span class="card-title activator grey-text text-darken-4">'+self.name+'<i class="mdi-navigation-more-vert right"></i></span>' +
                    '<p>' + self.description + '</p>'+
                    '<p><a href="' + self.url + '" target="_blank">' + self.name + '</a><span class="repo-update"> - Latest commit to <strong>master</strong> on ' + self.pushed_at + '</span>'+
                    '<span class="github-stats right">' +
                        '<a class="repo-stars  tooltipped" target="_blank" href="' + self.url + '/watchers" data-position="bottom" data-tooltip="Stars on repo"><i class="fa fa-star"></i> ' + self.watchers + '</a>' +
                        '<a class="repo-forks  tooltipped" target="_blank" href="' + self.url + '/network" data-position="bottom" data-tooltip="Repo Forks"><i class="fa fa-code-fork"></i> ' + self.forks + '</a>' +
                    '</span>'+
                    '</p>'+
                  '</div>'+
                  '<div class="card-reveal">'+
                    '<span class="card-title grey-text text-darken-4">'+self.name+'<i class="mdi-navigation-close right"></i></span>'+
                    '<p><a href="'+self.url+'#readme" target="_blank">Read more</a></p>'+
                  '</div'+
                  '</div>'
                );
        return $(
                "<div class='github-box'>" +
                        "<div class='github-box-header'>" +
                                "<h3>" +
                                        "<a href='" + self.url + "'>" + self.name + "</a>" +
                                "</h3>" +
                                "<div class='github-stats'>" +
                                        "<a class='repo-stars' title='Stars' data-icon='7' href='" + self.url + "/watchers'>" + self.watchers + "</a>" +
                                        "<a class='repo-forks' title='Forks' data-icon='f' href='" + self.url + "/network'>" + self.forks + "</a>" +
                                        "<a class='repo-issues' title='Issues' data-icon='i' href='" + self.url + "/issues'>" + self.open_issues + "</a>" +
                                "</div>" +
                        "</div>" +
{'fraction_non_alphanumeric': 0.19795373665480426, 'fraction_numerical': 0.0017793594306049821, 'mean_word_length': 1.3945686900958467, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 70, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4539263', 'n_tokens_mistral': 1266, 'n_tokens_neox': 1239, 'n_words': 240}