<commit_before>require 'teststrap'
require 'contributions/git'

context "Contributions::Git" do
  context ".contributions" do
    context "calls for a clone to be created" do
      hookup do
        mock(Contributions::Git).clone('r/r') { 'string' }
        mock(Contributions::StringUtils).parse('string', Contributions::Git::SEPARATOR, Contributions::Git::ENDING ) { true }
      end
      setup { Contributions::Git.contributions('u', 'r/r') }

      denies_topic.nil
    end

    context 'determines all the user\'s contributions' do
      setup { Contributions::Git.contributions('<NAME>', 'thumblemonks/riot') }

      asserts_topic.size 6
    end
  end
<commit_msg>remove overwhelmingly fragile Git.clone test<commit_after>require 'teststrap'
require 'contributions/git'

context "Contributions::Git" do
  context ".contributions" do
    context 'determines all the user\'s contributions' do
      setup { Contributions::Git.contributions('<NAME>', 'thumblemonks/riot') }

      asserts_topic.size 6
    end
  end

{'fraction_non_alphanumeric': 0.11949069539666993, 'fraction_numerical': 0.0019588638589618022, 'mean_word_length': 3.9134615384615383, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7011002', 'n_tokens_mistral': 328, 'n_tokens_neox': 294, 'n_words': 75}