<commit_before>require 'rails_helper'

describe CaseDecorator, type: :model do
  let(:disclosure)           { find_or_create(:team_dacu_disclosure) }
  let(:responder)            { create(:responder).decorate }
  let(:sds)                  { disclosure.approvers.first.decorate }
  let(:accepted_case)        { create(:accepted_case, :flagged_accepted,
                                      approver: sds,
                                      approving_team: disclosure) }
  let(:another_accepted_case){ create(:accepted_case, :flagged_accepted,
                                      approver: sds,
                                      approving_team: disclosure) }
<commit_msg>CT-1035 update decorator spec name<commit_after>require 'rails_helper'

describe UserDecorator, type: :model do
  let(:disclosure)           { find_or_create(:team_dacu_disclosure) }
  let(:responder)            { create(:responder).decorate }
  let(:sds)                  { disclosure.approvers.first.decorate }
  let(:accepted_case)        { create(:accepted_case, :flagged_accepted,
                                      approver: sds,
                                      approving_team: disclosure) }
  let(:another_accepted_case){ create(:accepted_case, :flagged_accepted,
                                      approver: sds,
                                      approving_team: disclosure) }

{'fraction_non_alphanumeric': 0.0890658942795076, 'fraction_numerical': 0.002896451846488052, 'mean_word_length': 1.752988047808765, '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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4724742', 'n_tokens_mistral': 391, 'n_tokens_neox': 366, 'n_words': 58}