<commit_before>

//// Connect to the cluster with a MongoDB URL. Better if it's a replica set
//if (Meteor.isServer){
//
//// Connect to the cluster with a MongoDB URL. Better if it's a replica set
//var connectOptions = {
//  // Value of 0 to 1, mentioning which portion of requestes to process here or proxy
//  // If 1, all the requests allocated to this host will get processed
//  // If 0.5 half of the requsted allocated to this host will get processed, others will get proxied
//  // If 0, only do proxying
//  selfWeight: 1 // optional
//};
//
//Cluster.connect("mongodb://192.168.3.11:27019,172.16.31.10:27018,192.168.127.12:27020/dbName?replicaSet=sysdist&readPreference=primaryPreferred&w=majority", connectOptions)
//
//
//Cluster.register("serviceName");
//
//// Discover a DDP connection
//// > This is available on both the client and the server
//Cluster.discoverConnection("serviceName");
//
//}<commit_msg>ajout du css sur les stats et corrections css pour la legende du graphe<commit_after>

// Connect to the cluster with a MongoDB URL. Better if it's a replica set
if (Meteor.isServer){

// Connect to the cluster with a MongoDB URL. Better if it's a replica set
var connectOptions = {
  // Value of 0 to 1, mentioning which portion of requestes to process here or proxy
  // If 1, all the requests allocated to this host will get processed
  // If 0.5 half of the requsted allocated to this host will get processed, others will get proxied
  // If 0, only do proxying
  selfWeight: 1 // optional
};

Cluster.connect("mongodb://192.168.3.11:27019,172.16.31.10:27018,192.168.127.12:27020/dbName?replicaSet=sysdist&readPreference=primaryPreferred&w=majority", connectOptions)


Cluster.register("serviceName");

// Discover a DDP connection
// > This is available on both the client and the server
Cluster.discoverConnection("serviceName");

}
{'fraction_non_alphanumeric': 0.11278195488721804, 'fraction_numerical': 0.05477980665950591, 'mean_word_length': 3.680904522613065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '2060809', 'n_tokens_mistral': 635, 'n_tokens_neox': 546, 'n_words': 219}