<commit_before>module Yoolk
  module Liquid
    class Listing::BusinessHourDrop < BaseDrop
      attributes  :id, :day, :created_at, :updated_at

      belongs_to  :open,     with: 'Yoolk::Liquid::HourDrop'
      belongs_to  :close,    with: 'Yoolk::Liquid::HourDrop'
    end
  end
end<commit_msg>add 24h checking day<commit_after>module Yoolk
  module Liquid
    class Listing::BusinessHourDrop < BaseDrop
      attributes  :id, :day, :created_at, :updated_at

      belongs_to  :open,     with: 'Yoolk::Liquid::HourDrop'
      belongs_to  :close,    with: 'Yoolk::Liquid::HourDrop'

      def full_day?
        open.hour.to_i  + close.hour.to_i == 23 && \
        open.minute.to_i + close.minute.to_i == 59
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.10869565217391304, 'fraction_numerical': 0.008152173913043478, 'mean_word_length': 2.9623655913978495, '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': '1365720', 'n_tokens_mistral': 283, 'n_tokens_neox': 271, 'n_words': 57}