<commit_before>Feature: Visiting a messageboard with various privileges 
  In order to allow, or deny, users' access to a messageboard
  A user
  Should see the messageboard homepage or be notified of what the problem is

  Scenario: The messageboard is private and "Jimmy" is a member
    Given I am signed in as "Jimmy"
      And I go to a "private" messageboard
      And I am a member of the messageboard
     When I go to the topic listing page
     Then I should see a list of threads

  Scenario: The messageboard is private and "Jon" is not a member
    Given I am signed in as "Jon" 
      And I go to a "private" messageboard
      And I am not a member of the messageboard
     When I go to the topic listing page
     Then I should see "You are not authorized to access this page."

  Scenario: The messageboard is private and I am anonymous
    Given I am an anonymous visitor of the messageboard
      And I go to a "private" messageboard
     When I go to the topic listing page
     Then I should see "You are not authorized to access this page."

  Scenario: The messageboard is public and I am not a member
    Given I am signed in as "Jeff" 
      And I go to a "public" messageboard
      And I am not a member of the messageboard
     When I go to the topic listing page
     Then I should see a list of threads

  Scenario: The messageboard is public and I am a member
    Given I am signed in as "Jeff" 
      And I go to a "public" messageboard
      And I am a member of the messageboard<commit_msg>Consolidating some features from deleted homepage feature file into this one. Reducing cruft<commit_after>Feature: Visiting a messageboard with various privileges 
  In order to allow, or deny, users' access to a messageboard
  A user
  Should see the messageboard homepage or be notified of what the problem is

  Scenario: The messageboard is private and "Jimmy" is a member
    Given I am signed in as "Jimmy"
      And I go to a "private" messageboard
      And I am a member of the messageboard
     When I go to the topic listing page
     Then I should see a list of threads

  Scenario: The messageboard is private and "Jon" is not a member
    Given I am signed in as "Jon" 
      And I go to a "private" messageboard
      And I am not a member of the messageboard
     When I go to the topic listing page
     Then I should see "You are not authorized to access this page."

  Scenario: The messageboard is private and I am anonymous
    Given I am an anonymous visitor of the messageboard
      And I go to a "private" messageboard
     When I go to the topic listing page
     Then I should see "You are not authorized to access this page."

  Scenario: The messageboard is for those that are logged in and I am anonymous
    Given a "logged_in" messageboard exists named "thredded"
      And I am an anonymous visitor of the messageboard
      And I set the default messageboard home to "topics"
      And I set the default messageboard to "thredded"
     When I go to the homepage
     Then I should see "This messageboard is public, but you must be logged in to see it."
      And I should be signed out

  Scenario: The messageboard is for those that are logged in and I am logged in
    Given a "logged_in" messageboard exists named "thredded"
      And I have signed in with "<EMAIL>/password"
      And I set the default messageboard home to "topics"
      And I set the default messageboard to "thredded"
     When I go to the homepage
     Then I should see a list of threads
      And I should be signed in

  Scenario: The messageboard is public
    Given a "public" messageboard exists named "thredded"
     When I go to the homepage
     Then I should see a list of threads
      And I should be signed out

  Scenario: The messageboard is public, I am signed in but I am not a member
    Given I am signed in as "Jeff" 
      And I go to a "public" messageboard
      And I am not a member of the messageboard
     When I go to the topic listing page
     Then I should see a list of threads

  Scenario: The messageboard is public and I am a member
    Given I am signed in as "Jeff" 
      And I go to a "public" messageboard
      And I am a member of the messageboard
{'fraction_non_alphanumeric': 0.02700142112742776, 'fraction_numerical': 0.0, 'mean_word_length': 2.828649138712602, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3860463', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1084, 'n_words': 713}