<commit_before>(ns weather.ui.view.history
  (:require [reagent.core :as reagent]
            [weather.localization :refer [tr]]
            [weather.ui.utils :as utils]))

(defn weather-data-view
  [weather-history-data]
  [:div
   [:h2 (tr :data-arrived)]
   [:ul
    [:li (tr :highest)
              [:strong (utils/->celsius-str (:maxtempm weather-history-data))]]
    [:li (tr :lowest)
     [:strong (utils/->celsius-str (:mintempm weather-history-data))]]
    (if (> (:fog weather-history-data) 0) [:li (tr :fog)])
    (if (> (:rain weather-history-data) 0) [:li (tr :rain)] [:h1])
    (if (> (:snow weather-history-data) 0) [:li (tr :snow)])<commit_msg>Removed an useless html tag.<commit_after>(ns weather.ui.view.history
  (:require [reagent.core :as reagent]
            [weather.localization :refer [tr]]
            [weather.ui.utils :as utils]))

(defn weather-data-view
  [weather-history-data]
  [:div
   [:h2 (tr :data-arrived)]
   [:ul
    [:li (tr :highest)
              [:strong (utils/->celsius-str (:maxtempm weather-history-data))]]
    [:li (tr :lowest)
     [:strong (utils/->celsius-str (:mintempm weather-history-data))]]
    (if (> (:fog weather-history-data) 0) [:li (tr :fog)])
    (if (> (:rain weather-history-data) 0) [:li (tr :rain)])
    (if (> (:snow weather-history-data) 0) [:li (tr :snow)])
{'fraction_non_alphanumeric': 0.2016553799849511, 'fraction_numerical': 0.006772009029345372, 'mean_word_length': 3.0425531914893615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '3813984', 'n_tokens_mistral': 540, 'n_tokens_neox': 485, 'n_words': 114}