<commit_before>class GigsController < ApplicationController
  before_action :set_gig, only: [:show, :edit, :update, :destroy]

  # GET /gigs
  # GET /gigs.json
  def index
    @gigs = Gig.order(date: :desc)
  end

  # GET /gigs/1
  # GET /gigs/1.json
  def show
    @gigs = Gig.order(date: :desc)[0..2]
  end<commit_msg>future dates only on gig show page<commit_after>class GigsController < ApplicationController
  before_action :set_gig, only: [:show, :edit, :update, :destroy]

  # GET /gigs
  # GET /gigs.json
  def index
    @gigs = Gig.order(date: :desc)
  end

  # GET /gigs/1
  # GET /gigs/1.json
  def show
    @gigs = Gig.future_dates[0..2]
  end
{'fraction_non_alphanumeric': 0.13435114503816795, 'fraction_numerical': 0.012213740458015267, 'mean_word_length': 3.151898734177215, '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': '5196622', 'n_tokens_mistral': 262, 'n_tokens_neox': 253, 'n_words': 64}