<commit_before>require 'spec_helper'

describe Interactors::Topics::Facts do
  include PavlovSupport
  include Pavlov::Helpers

  let(:user1) {create :user}
  let(:user2) {create :user}
  let(:user3) {create :user}

  it 'returns a list of all facts in all channels in the topic and gets a valid timestamp for the facts' do
    channel1,facts, fact1, fact2, fact3 = ()
    title = "Channel Title"

    as(user1) do |pavlov|<commit_msg>removed unneeded include<commit_after>require 'spec_helper'

describe Interactors::Topics::Facts do
  include PavlovSupport

  let(:user1) {create :user}
  let(:user2) {create :user}
  let(:user3) {create :user}

  it 'returns a list of all facts in all channels in the topic and gets a valid timestamp for the facts' do
    channel1,facts, fact1, fact2, fact3 = ()
    title = "Channel Title"

    as(user1) do |pavlov|
{'fraction_non_alphanumeric': 0.10292397660818714, 'fraction_numerical': 0.01871345029239766, 'mean_word_length': 4.383647798742138, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5323241', 'n_tokens_mistral': 288, 'n_tokens_neox': 275, 'n_words': 99}