<commit_before>require_relative 'test_helper'
require_relative '../lib/trackler'

class TracklerTest < Minitest::Test
  def test_todos
    Trackler.use_fixture_data
    slugs = %w(banana cherry imbe mango)
    assert_equal slugs, Trackler.todos["fake"].map(&:slug)
  end

  def test_problems_does_not_contain_track_specific_problems
    Trackler.use_fixture_data

    assert_nil Trackler.problems.detect { |p| p.slug == "snowflake-only" }
  end

  def test_problems_does_not_contain_track_specific_problems
    Trackler.use_fixture_data

    refute_nil Trackler.implementations['snowflake-only']
  end

  def test_todos_does_not_contain_track_specific_problems
    Trackler.use_fixture_data

    assert_empty Trackler.todos['snowflake-only']
  end
end<commit_msg>Change test name to reflect what is being tested<commit_after>require_relative 'test_helper'
require_relative '../lib/trackler'

class TracklerTest < Minitest::Test
  def test_todos
    Trackler.use_fixture_data
    slugs = %w(banana cherry imbe mango)
    assert_equal slugs, Trackler.todos["fake"].map(&:slug)
  end

  def test_problems_does_not_contain_track_specific_problems
    Trackler.use_fixture_data

    assert_nil Trackler.problems.detect { |p| p.slug == "snowflake-only" }
  end

  def test_implementations_does_contain_track_specific_problems
    Trackler.use_fixture_data

    refute_nil Trackler.implementations['snowflake-only']
  end

  def test_todos_does_not_contain_track_specific_problems
    Trackler.use_fixture_data

    assert_empty Trackler.todos['snowflake-only']
  end
end
{'fraction_non_alphanumeric': 0.07289002557544758, 'fraction_numerical': 0.0, 'mean_word_length': 5.1857707509881426, 'pattern_counts': {'":': 0, '<': 5, '<?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': '316170', 'n_tokens_mistral': 578, 'n_tokens_neox': 559, 'n_words': 89}