<commit_before>- obj ||= nil
- if obj
  - cache obj do
    - content_for :meta do
      - seo_page = @seo_page || @seo_parent_page
      = render 'shared/meta', obj: obj

      - og_title = (obj.get_og_title.blank? and seo_page ? seo_page.get_og_title  : obj.get_og_title)
      - og_image = (obj.og_image.blank?     and seo_page ? seo_page.og_image      : obj.og_image)
      = render 'shared/og', title: og_title, image: og_image
    - if obj.title
      - content_for :title do
        = obj.title
      
- else
  = render 'blocks/seo_block'<commit_msg>cache upd<commit_after>- obj ||= nil
- if obj
  - seo_page = @seo_page || @seo_parent_page
  - cache [obj, seo_page] do
    - content_for :meta do
      = render 'shared/meta', obj: obj

      - og_title = (obj.get_og_title.blank? and seo_page ? seo_page.get_og_title  : obj.get_og_title)
      - og_image = (obj.og_image.blank?     and seo_page ? seo_page.og_image      : obj.og_image)
      = render 'shared/og', title: og_title, image: og_image
    - if obj.title
      - content_for :title do
        = obj.title
      
- else
  = render 'blocks/seo_block'
{'fraction_non_alphanumeric': 0.11738351254480286, 'fraction_numerical': 0.0, 'mean_word_length': 2.436923076923077, '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': '2758332', 'n_tokens_mistral': 426, 'n_tokens_neox': 420, 'n_words': 91}