<commit_before>require 'spec_helper'

describe TenantsHelper::ConfigLoader do
  let(:tenant_config_hash) {
    {
      'tenant_one' => { 'name' => 'mock_tenant1', 'key' => 'abc123' },
      'tenant_two' => { 'name' => 'mock_tenant2', 'key' => 'abc456' }
    }
  }
  let(:config_dir) { '/workspace/test_project' }
  let(:config_file) { 'test_config.yml' }<commit_msg>Removed 'key' from specs as key is no longer a required field.<commit_after>require 'spec_helper'

describe TenantsHelper::ConfigLoader do
  let(:tenant_config_hash) {
    {
      'tenant_one' => { 'name' => 'mock_tenant1' },
      'tenant_two' => { 'name' => 'mock_tenant2' }
    }
  }
  let(:config_dir) { '/workspace/test_project' }
  let(:config_file) { 'test_config.yml' }
{'fraction_non_alphanumeric': 0.17362045760430686, 'fraction_numerical': 0.013458950201884253, 'mean_word_length': 4.13103448275862, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '7237216', 'n_tokens_mistral': 278, 'n_tokens_neox': 274, 'n_words': 47}