<commit_before>!!!
%html
  %head
    %meta{charset: "utf-8"}
    %meta{content: "IE=edge", "http-equiv" => "X-UA-Compatible"}
    %meta{content: "width=device-width, initial-scale=1", name: "viewport"}
    %meta{content: "Tempurature and humidity records for our underground man cave", name: "description"}
    %meta{content: "<NAME>", name: "author"}
    %title Basement Weather

    =favicon_link_tag 'Beer_Favicon-128x128.png'

    / HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
    /[if lt IE 9]
    = javascript_include_tag "https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js", "https://oss.maxcdn.com/respond/1.4.2/respond.min.js"

    = stylesheet_link_tag    'application', media: 'all'
    = javascript_include_tag 'application'
    = csrf_meta_tags
  %body{"class": "#{controller_name} #{action_name}"}
    %nav.navbar.navbar-inverse.navbar-fixed-top{role: "navigation"}
      .container
        .navbar-header
          / %button.navbar-toggle.collapsed{type: "button", data: {toggle: "collapse", target: "#navbar"}, aria: {expanded: "false", controls: "navbar"} }
          /   %span.sr-only Toggle navigation
          /   %span.icon-bar
          /   %span.icon-bar
          /   %span.icon-bar
          = link_to "Basement Weather", root_path, class: "navbar-brand"
        .current-conditions.pull-right
          %span.date= @last_reading.created_at.strftime("Last reading on %a, %b %e %Y @ %I:%M %p")
          %span.temperature 
            Temp:
            %span.reading= "#{@last_reading.temperature}℃"
          %span.humidity 
            Humidity:
            %span.reading= "#{@last_reading.humidity}%"
          %span.probe1 
            Probe 1:
            %span.reading= "#{@last_reading.probe1_temperature}%"
        / #navbar.collapse.navbar-collapse
        /   %ul.nav.navbar-nav
        /     %li.active
        /       %a{href: "#"} Home
        /     %li
        /       %a{href: "#about"} About
        /     %li
        /       %a{href: "#contact"} Contact
    .container
      - flash.each do |name, msg|
        = content_tag :div, class: "alert alert-#{name == :error ? "danger" : "success" } alert-dismissable", role: "alert" do
          %button.close{type: "button", data: {dismiss: "alert"} }
            %span{aria: {hidden: "true"} } &times;
            %span.sr-only Close
          = msg
      = yield
<commit_msg>Correct units for last probe 1 reading<commit_after>!!!
%html
  %head
    %meta{charset: "utf-8"}
    %meta{content: "IE=edge", "http-equiv" => "X-UA-Compatible"}
    %meta{content: "width=device-width, initial-scale=1", name: "viewport"}
    %meta{content: "Tempurature and humidity records for our underground man cave", name: "description"}
    %meta{content: "<NAME>", name: "author"}
    %title Basement Weather

    =favicon_link_tag 'Beer_Favicon-128x128.png'

    / HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
    /[if lt IE 9]
    = javascript_include_tag "https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js", "https://oss.maxcdn.com/respond/1.4.2/respond.min.js"

    = stylesheet_link_tag    'application', media: 'all'
    = javascript_include_tag 'application'
    = csrf_meta_tags
  %body{"class": "#{controller_name} #{action_name}"}
    %nav.navbar.navbar-inverse.navbar-fixed-top{role: "navigation"}
      .container
        .navbar-header
          / %button.navbar-toggle.collapsed{type: "button", data: {toggle: "collapse", target: "#navbar"}, aria: {expanded: "false", controls: "navbar"} }
          /   %span.sr-only Toggle navigation
          /   %span.icon-bar
          /   %span.icon-bar
          /   %span.icon-bar
          = link_to "Basement Weather", root_path, class: "navbar-brand"
        .current-conditions.pull-right
          %span.date= @last_reading.created_at.strftime("Last reading on %a, %b %e %Y @ %I:%M %p")
          %span.temperature 
            Temp:
            %span.reading= "#{@last_reading.temperature}℃"
          %span.humidity 
            Humidity:
            %span.reading= "#{@last_reading.humidity}%"
          %span.probe1 
            Probe 1:
            %span.reading= "#{@last_reading.probe1_temperature}℃"
        / #navbar.collapse.navbar-collapse
        /   %ul.nav.navbar-nav
        /     %li.active
        /       %a{href: "#"} Home
        /     %li
        /       %a{href: "#about"} About
        /     %li
        /       %a{href: "#contact"} Contact
    .container
      - flash.each do |name, msg|
        = content_tag :div, class: "alert alert-#{name == :error ? "danger" : "success" } alert-dismissable", role: "alert" do
          %button.close{type: "button", data: {dismiss: "alert"} }
            %span{aria: {hidden: "true"} } &times;
            %span.sr-only Close
          = msg
      = yield

{'fraction_non_alphanumeric': 0.15550487248600456, 'fraction_numerical': 0.009744972009122952, 'mean_word_length': 2.3109128345916266, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '5202519', 'n_tokens_mistral': 1665, 'n_tokens_neox': 1562, 'n_words': 324}