<commit_before>require 'rails_helper'
require 'support/privacy_example'
require 'support/public_scope_example'

shared_examples_for 'content with privacy' do
  context 'model is public' do
    let(:model) {
      build(
        described_class.model_name.param_key.to_sym,
        privacy: 'public'
      )
    }

    describe '.public_content?' do
      subject { model.public_content? }
      it { is_expected.to be true }
    end
  end
end<commit_msg>Clean up unnecessary requires<commit_after>require 'rails_helper'

shared_examples_for 'content with privacy' do
  context 'model is public' do
    let(:model) {
      build(
        described_class.model_name.param_key.to_sym,
        privacy: 'public'
      )
    }

    describe '.public_content?' do
      subject { model.public_content? }
      it { is_expected.to be true }
    end
  end
end
{'fraction_non_alphanumeric': 0.08695652173913043, 'fraction_numerical': 0.0, 'mean_word_length': 2.9444444444444446, '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': '1533005', 'n_tokens_mistral': 267, 'n_tokens_neox': 262, 'n_words': 64}