<commit_before>#ifndef __STDAIR_STDAIR_MATHS_TYPES_HPP
#define __STDAIR_STDAIR_MATHS_TYPES_HPP

// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <string>
#include <vector>
#include <map>
// Boost Random
#include <boost/random/linear_congruential.hpp>
#include <boost/random/uniform_real.hpp>
#include <boost/random/variate_generator.hpp>

namespace stdair {

  // //////// Type definitions /////////
  /**
   * Define the replication number.
   */
  typedef unsigned int ReplicationNumber_T;

  /**
   * Define the seed type of an Exponential function.
   */
  typedef unsigned long int ExponentialSeed_T;

  /**
   * Define the seed type of an Uniform function.
   */
  typedef unsigned long int UniformSeed_T;

  /**
   * Seed for the random generation, so that it can be reproductible.
   */
  typedef unsigned long int RandomSeed_T;
  
  /**
   * Random number generator.
   */
  typedef boost::minstd_rand BaseGenerator_T;

  /**
   * Uniform random generator.
   */
  typedef boost::variate_generator<stdair::BaseGenerator_T&,
                                   boost::uniform_real<> > UniformGenerator_T;

  /**
   * Define a mean value (e.g., 20.2).
   */
  typedef double MeanValue_T;

  /**
   * Define a standard deviation value (e.g., 1.5).
   */
  typedef double StdDevValue_T;

  /**
   * Probability.
   */
  typedef float Probability_T;

}
#endif // __STDAIR_STDAIR_MATHS_TYPES_HPP<commit_msg>[Dev] Replaced boost::uniform_01 by boost::uniform_real (supposedly less buggy).<commit_after>#ifndef __STDAIR_STDAIR_MATHS_TYPES_HPP
#define __STDAIR_STDAIR_MATHS_TYPES_HPP

// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <string>
#include <vector>
#include <map>
// Boost Random
#include <boost/random/linear_congruential.hpp>
#include <boost/random/uniform_real.hpp>
#include <boost/random/variate_generator.hpp>

namespace stdair {

  // //////// Type definitions /////////
  /**
   * Define the replication number.
   */
  typedef unsigned int ReplicationNumber_T;

  /**
   * Define the seed type of an Exponential function.
   */
  typedef unsigned long int ExponentialSeed_T;

  /**
   * Define the seed type of an Uniform function.
   */
  typedef unsigned long int UniformSeed_T;

  /**
   * Seed for the random generation, so that it can be reproductible.
   */
  typedef unsigned long int RandomSeed_T;
  
  /**
   * Random number generator.
   */
  typedef boost::minstd_rand BaseGenerator_T;

  /**
   * Uniform distribution of real numbers (by default, double).
   */
  typedef boost::uniform_real<> UniformDistribution_T;

  /**
   * Uniform random generator.
   */
  typedef boost::variate_generator<BaseGenerator_T&,
                                   UniformDistribution_T> UniformGenerator_T;

  /**
   * Define a mean value (e.g., 20.2).
   */
  typedef double MeanValue_T;

  /**
   * Define a standard deviation value (e.g., 1.5).
   */
  typedef double StdDevValue_T;

  /**
   * Probability.
   */
  typedef float Probability_T;

}
#endif // __STDAIR_STDAIR_MATHS_TYPES_HPP
{'fraction_non_alphanumeric': 0.1918142944410507, 'fraction_numerical': 0.0036652412950519244, 'mean_word_length': 2.119047619047619, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6789538', 'n_tokens_mistral': 1021, 'n_tokens_neox': 961, 'n_words': 243}