<commit_before># frozen_string_literal: true

RSpec.describe Stats::ManagementInformation::DailyReportGenerator do
  subject(:generator) { described_class.new(options) }

  let(:options) { {} }
  let(:expected_headers) do
    [
      'Id',
      'Scheme',
      'Case number',
      'Supplier number',
      'Organisation',
      'Case type name',
      'Bill type',
      'Claim total',
      'Submission type',
      'Transitioned at',
      'Last submitted at',
      'Originally submitted at',
      'Allocated at',<commit_msg>Use correct kwargs for Ruby 3+<commit_after># frozen_string_literal: true

RSpec.describe Stats::ManagementInformation::DailyReportGenerator do
  subject(:generator) { described_class.new(**options) }

  let(:options) { {} }
  let(:expected_headers) do
    [
      'Id',
      'Scheme',
      'Case number',
      'Supplier number',
      'Organisation',
      'Case type name',
      'Bill type',
      'Claim total',
      'Submission type',
      'Transitioned at',
      'Last submitted at',
      'Originally submitted at',
      'Allocated at',
{'fraction_non_alphanumeric': 0.12858464384828863, 'fraction_numerical': 0.0009250693802035153, 'mean_word_length': 2.948905109489051, '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': '5833622', 'n_tokens_mistral': 321, 'n_tokens_neox': 309, 'n_words': 78}