<commit_before>!!! 5
%html
  %head
    %meta{ charset: 'utf-8' }
    %meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0' }
    %meta{ name: 'robots', content: 'noindex, follow' }
    %title= "Malmö stad – Sök"
    /[if IE]
      %meta{ "http-equiv" => "X-UA-Compatible", "content" => "IE=edge"}
    /[if lte IE 8]
      = javascript_include_tag "#{APP_CONFIG['assets_url_base']}html5shiv-printshiv.js"
    = stylesheet_link_tag "#{APP_CONFIG['assets_url_base']}malmo.css", media: 'all'
    = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
    / TODO: Move JS to bottom if turbolinks is disabled
    = javascript_include_tag "#{APP_CONFIG['assets_url_base']}malmo.js"
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    %link{ rel: 'icon', type: 'image/x-icon', href: "#{APP_CONFIG['assets_url_base']}favicon.ico" }
    = csrf_meta_tags
  %body.malmo-form{ class: @body_classes }
    .wrapper
      - if current_user
        = "Inloggad som #{current_user.provider}/#{current_user.nickname}"
        = link_to "Logga ut", signout_path
      - flash.each do |key, value|
        %p{ class: "flash #{key}" }= value<commit_msg>Check that user is activated<commit_after>!!! 5
%html
  %head
    %meta{ charset: 'utf-8' }
    %meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0' }
    %meta{ name: 'robots', content: 'noindex, follow' }
    %title= "Malmö stad – Sök"
    /[if IE]
      %meta{ "http-equiv" => "X-UA-Compatible", "content" => "IE=edge"}
    /[if lte IE 8]
      = javascript_include_tag "#{APP_CONFIG['assets_url_base']}html5shiv-printshiv.js"
    = stylesheet_link_tag "#{APP_CONFIG['assets_url_base']}malmo.css", media: 'all'
    = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
    / TODO: Move JS to bottom if turbolinks is disabled
    = javascript_include_tag "#{APP_CONFIG['assets_url_base']}malmo.js"
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    %link{ rel: 'icon', type: 'image/x-icon', href: "#{APP_CONFIG['assets_url_base']}favicon.ico" }
    = csrf_meta_tags
  %body.malmo-form{ class: @body_classes }
    .wrapper
      - if current_user && current_user.active?
        = "Inloggad som #{current_user.provider}/#{current_user.nickname}"
        = link_to "Logga ut", signout_path
      - flash.each do |key, value|
        %p{ class: "flash #{key}" }= value
{'fraction_non_alphanumeric': 0.1663269465960049, 'fraction_numerical': 0.004891969017529555, 'mean_word_length': 3.8307086614173227, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '116707', 'n_tokens_mistral': 908, 'n_tokens_neox': 889, 'n_words': 188}