<commit_before>require 'acceptance_helper'

feature 'the profile page', type: :feature do
  include Acceptance::ProfileHelper
  include Acceptance::FactHelper
  include PavlovSupport

  scenario "the users top channels should render" do
    user = sign_in_user create :full_user, :confirmed
    channel = create :channel, created_by: user.graph_user

    go_to_profile_page_of user
    find('.top-channels a', text: channel.title)
  end

  scenario 'follow a user and unfollow a user' do
    following_user = sign_in_user create :full_user, :confirmed
    followed_user = create :full_user, :confirmed<commit_msg>Fixed spec<commit_after>require 'acceptance_helper'

feature 'the profile page', type: :feature do
  include Acceptance::ProfileHelper
  include Acceptance::FactHelper
  include PavlovSupport

  scenario "the users top topics should render" do
    user = sign_in_user create :full_user, :confirmed
    channel = create :channel, created_by: user.graph_user

    go_to_profile_page_of user
    find('.top-topics a', text: channel.title)
  end

  scenario 'follow a user and unfollow a user' do
    following_user = sign_in_user create :full_user, :confirmed
    followed_user = create :full_user, :confirmed
{'fraction_non_alphanumeric': 0.07219031993437244, 'fraction_numerical': 0.0, 'mean_word_length': 4.754716981132075, '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': '7132693', 'n_tokens_mistral': 361, 'n_tokens_neox': 354, 'n_words': 116}