<commit_before>describe "the game of set" do
  before :all do
    require_relative "../lib/set"
  end
  before :each do
    # screenshot of the game is at misc/1.png
    @cards =
      [
        ["two", "red", "empty", "diamonds"],
        ["three", "green", "empty", "diamonds"],
        ["one", "purple", "empty", "squiggle"],
        ["two", "red", "empty", "ovals"],

        ["two", "green", "solid", "ovals"],
        ["one", "purple", "shaded", "squiggle"],
        ["one", "purple", "empty", "diamond"],
        ["two", "red", "shaded", "ovals"],

        ["two", "green", "shaded", "ovals"],
        ["one", "purple", "solid", "oval"],
        ["one", "green", "empty", "squiggle"],
        ["three", "green", "solid", "diamonds"]
      ]
  end
    sets =
      [
        [
          ["two", "red", "empty", "diamonds"],
          ["three", "green", "empty", "diamonds"],
          ["one", "purple", "empty", "diamond"],
        ],
        [
          ["one", "purple", "solid", "oval"],
          ["one", "purple", "shaded", "squiggle"],
          ["one", "purple", "empty", "diamond"],
        ],
        [
          ["one", "green", "empty", "squiggle"],
          ["three", "green", "solid", "diamonds"],
          ["two", "red", "shaded", "ovals"],
        ],
        [
          ["three", "green", "solid", "diamonds"],
          ["two", "red", "empty", "ovals"],
          ["one", "purple", "shaded", "squiggle"],
        ],
        [
          ["three", "green", "empty", "diamonds"],
          ["one", "purple", "empty", "squiggle"],
          ["two", "red", "empty", "ovals"],
        ],
        [
          ["three", "green", "solid", "diamonds"],<commit_msg>bug: forgot to commit one line in the previous commit<commit_after>describe "the game of set" do
  before :all do
    require_relative "../lib/set"
  end
  before :each do
    # screenshot of the game is at misc/1.png
    @cards =
      [
        ["two", "red", "empty", "diamonds"],
        ["three", "green", "empty", "diamonds"],
        ["one", "purple", "empty", "squiggle"],
        ["two", "red", "empty", "ovals"],

        ["two", "green", "solid", "ovals"],
        ["one", "purple", "shaded", "squiggle"],
        ["one", "purple", "empty", "diamond"],
        ["two", "red", "shaded", "ovals"],

        ["two", "green", "shaded", "ovals"],
        ["one", "purple", "solid", "oval"],
        ["one", "green", "empty", "squiggle"],
        ["three", "green", "solid", "diamonds"]
      ]
  end
  it "returns 6 sets of 3 cards for valid game with 12 cards" do
    sets =
      [
        [
          ["two", "red", "empty", "diamonds"],
          ["three", "green", "empty", "diamonds"],
          ["one", "purple", "empty", "diamond"],
        ],
        [
          ["one", "purple", "solid", "oval"],
          ["one", "purple", "shaded", "squiggle"],
          ["one", "purple", "empty", "diamond"],
        ],
        [
          ["one", "green", "empty", "squiggle"],
          ["three", "green", "solid", "diamonds"],
          ["two", "red", "shaded", "ovals"],
        ],
        [
          ["three", "green", "solid", "diamonds"],
          ["two", "red", "empty", "ovals"],
          ["one", "purple", "shaded", "squiggle"],
        ],
        [
          ["three", "green", "empty", "diamonds"],
          ["one", "purple", "empty", "squiggle"],
          ["two", "red", "empty", "ovals"],
        ],
        [
          ["three", "green", "solid", "diamonds"],
{'fraction_non_alphanumeric': 0.24862835691596882, 'fraction_numerical': 0.0017326017903551833, 'mean_word_length': 2.092857142857143, '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': '1152438', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1122, 'n_words': 296}