<commit_before>require 'restfully'
require 'gosen/deployment_run'
require 'gosen/deployment'
require 'gosen/error'

module Gosen
  # Extracts the site part of a Grid'5000 node hostname, and returns a hash indexing the nodes by their site
  # Example:
  #
  #   Input is:
  #   [
  #     'paramount-1.rennes.grid5000.fr',
  #     'paramount-2.rennes.grid5000.fr',
  #     'grelon-1.nancy.grid5000.fr',
  #     'grelon-2.nancy.grid5000.fr'
  #   ]<commit_msg>Add a version number inside Gosen<commit_after>require 'restfully'
require 'gosen/deployment_run'
require 'gosen/deployment'
require 'gosen/error'

module Gosen
  VERSION = "0.1.5"

  # Extracts the site part of a Grid'5000 node hostname, and returns a hash indexing the nodes by their site
  # Example:
  #
  #   Input is:
  #   [
  #     'paramount-1.rennes.grid5000.fr',
  #     'paramount-2.rennes.grid5000.fr',
  #     'grelon-1.nancy.grid5000.fr',
  #     'grelon-2.nancy.grid5000.fr'
  #   ]
{'fraction_non_alphanumeric': 0.12460732984293194, 'fraction_numerical': 0.05340314136125655, 'mean_word_length': 3.1206896551724137, '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': '3161139', 'n_tokens_mistral': 398, 'n_tokens_neox': 360, 'n_words': 79}