<commit_before>require 'rails_helper'

feature 'Cookies' do
  let(:how_we_use_cookies_header)          { '<h2 class="legend">How cookies are used on ATET</h2>' }
  let(:measuring_website_usage_header)     { '<strong>Measuring website usage (Google Analytics)</strong>' }
  let(:our_introductory_message_header)    { '<strong>Our introductory message</strong>' }
  let(:session_header)                     { '<strong>Session</strong>' }

  before :each do
    visit cookies_path
  end

  scenario "User visits the cookies page" do
    expect(page.html).to include(how_we_use_cookies_header)
    expect(page.html).to include(measuring_website_usage_header)
    expect(page.html).to include(our_introductory_message_header)
    expect(page.html).to include(session_header)<commit_msg>fixed spec<commit_after>require 'rails_helper'

feature 'Cookies' do
  let(:how_we_use_cookies_header)          { '<h2 class="legend">How cookies are used</h2>' }
  let(:measuring_website_usage_header)     { '<h3>Measuring website usage (Google Analytics)</h3>' }
  let(:your_progress)                      { '<h3>Your progress when using the service</h3>' }
  let(:intro_message)                      { '<h3>Our introductory message</h3>' }

  before :each do
    visit cookies_path
  end

  scenario "User visits the cookies page" do
    expect(page.html).to include(how_we_use_cookies_header)
    expect(page.html).to include(measuring_website_usage_header)
    expect(page.html).to include(your_progress)
    expect(page.html).to include(intro_message)
{'fraction_non_alphanumeric': 0.11320754716981132, 'fraction_numerical': 0.006506180871828237, 'mean_word_length': 4.126666666666667, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '5081988', 'n_tokens_mistral': 501, 'n_tokens_neox': 468, 'n_words': 95}