<commit_before>'use strict';

viewModel.ClusterWiseGeneration = new Object();
var page = viewModel.ClusterWiseGeneration;

page.dataSource = ko.observableArray([]);
page.GenerationDetails = {
    Id          : "ClusterWise",
    Title       : "Cluster Wise Generation",
    DrildownUrl : "/dashboard/getjmrdetailspersite",
    IsLoading   : ko.observable(true),
};

function toObject(arr, heads) {
    var tmp = {};
    tmp["heads"] = heads;
    _.each(arr, function(val, i){
      tmp["data"+i] = val;
    })<commit_msg>add menu<commit_after>'use strict';

viewModel.ClusterWiseGeneration = new Object();
var page = viewModel.ClusterWiseGeneration;

vm.currentMenu('DGR Cluster');
vm.currentTitle('DGR Cluster');
vm.breadcrumb([{ title: 'Analysis Tool Box', href: '#' }, { title: 'DGR Cluster', href: viewModel.appName + 'page/clusterwisegeneration' }]);

page.dataSource = ko.observableArray([]);
page.GenerationDetails = {
    Id          : "ClusterWise",
    Title       : "Cluster Wise Generation",
    DrildownUrl : "/dashboard/getjmrdetailspersite",
    IsLoading   : ko.observable(true),
};

function toObject(arr, heads) {
    var tmp = {};
    tmp["heads"] = heads;
    _.each(arr, function(val, i){
      tmp["data"+i] = val;
    })
{'fraction_non_alphanumeric': 0.15526950925181013, 'fraction_numerical': 0.0, 'mean_word_length': 3.8030888030888033, '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': '3103256', 'n_tokens_mistral': 402, 'n_tokens_neox': 397, 'n_words': 83}