<commit_before>require 'time'
require 'json'
require 'rss'
require 'collection-json'
require 'bcrypt'
require_relative 'couch'

class Datastore

  @database = nil
  @server = nil

  def self.connect(database)
    @database = database
  end

  def self.uuid
    uuids['uuids'][0]
  end<commit_msg>Reset server and uri on new connection<commit_after>require 'time'
require 'json'
require 'rss'
require 'collection-json'
require 'bcrypt'
require_relative 'couch'

class Datastore

  @database = nil
  @server = nil
  @uri = nil

  def self.connect(database)
    @uri = nil
    @server = nil
    @database = database
  end

  def self.uuid
    uuids['uuids'][0]
  end
{'fraction_non_alphanumeric': 0.10558069381598793, 'fraction_numerical': 0.0030165912518853697, 'mean_word_length': 3.8115942028985508, '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': '3547126', 'n_tokens_mistral': 229, 'n_tokens_neox': 222, 'n_words': 65}