<commit_before><!DOCTYPE html>
<html lang="zh-Hant">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="http://overpass-30e2.kxcdn.com/overpass.css" />
    <link rel="stylesheet" href="https://rschiang.github.io/ntu-weather/assets/normalize.min.css" />
    <link rel="stylesheet" href="https://rschiang.github.io/ntu-weather/assets/chartist.min.css" />
    <link rel="stylesheet" href="https://rschiang.github.io/ntu-weather/assets/weather.css" />
    <script src="https://rschiang.github.io/ntu-weather/assets/chartist.min.js"></script>
    <script src="https://rschiang.github.io/ntu-weather/assets/chartist-plugin-pointlabels.min.js"></script>

    <title>天氣 – 國立交通大學, 臺灣</title>
    <meta name="description" content="今天要回學校，究竟交大現在有沒有在下雨呢？讓網路福利社告訴你！" />
    <meta property="og:site_name" content="網路福利社" />
    <meta property="og:title" content="國立交通大學, 臺灣 — 網路福利社 氣象" />
    <meta property="og:image" content="https://raw.githubusercontent.com/NCTU-NBA/nctu-weather/gh-pages/assets/social.png" />
    <meta property="og:url" content="http://weather.nctu.me" />

<%
    def value(text, default='N/A'):
        try:
            float_value = float(text)
            return round(float_value)
        except ValueError:
            return default
        end
    end

    def dec_value(text, default='N/A'):
        try:
            float_value = round(float(text), 1)
            if float_value < 0.1:
                return 0
            else:
                return float_value
            end
        except ValueError:
            return default
        end
    end
%>
</head>
<body>
    <a href="https://github.com/NCTU-NBA/nctu-weather"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
    <header class="section">
        <img alt="網路福利社" class="vendor logo" src="https://raw.githubusercontent.com/NCTU-NBA/nctu-weather/gh-pages/assets/logo.png" />
    </header>
<%
    if not defined('error'):
        humidity = dec_value(humidity)
        rain = dec_value(rain)
        rain_day = dec_value(rain_day)<commit_msg>fix all links to gh-pages<commit_after><!DOCTYPE html>
<html lang="zh-Hant">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="http://overpass-30e2.kxcdn.com/overpass.css" />
    <link rel="stylesheet" href="http://blog.nba.nctu.edu.tw/nctu-weather/assets/normalize.min.css" />
    <link rel="stylesheet" href="http://blog.nba.nctu.edu.tw/nctu-weather/assets/chartist.min.css" />
    <link rel="stylesheet" href="http://blog.nba.nctu.edu.tw/nctu-weather/assets/weather.css" />
    <script src="http://blog.nba.nctu.edu.tw/nctu-weather/assets/chartist.min.js"></script>
    <script src="http://blog.nba.nctu.edu.tw/nctu-weather/assets/chartist-plugin-pointlabels.min.js"></script>

    <title>天氣 – 國立交通大學, 臺灣</title>
    <meta name="description" content="今天要回學校，究竟交大現在有沒有在下雨呢？讓網路福利社告訴你！" />
    <meta property="og:site_name" content="網路福利社" />
    <meta property="og:title" content="國立交通大學, 臺灣 — 網路福利社 氣象" />
    <meta property="og:image" content="http://blog.nba.nctu.edu.tw/nctu-weather/assets/social.png" />
    <meta property="og:url" content="http://weather.nctu.me" />

<%
    def value(text, default='N/A'):
        try:
            float_value = float(text)
            return round(float_value)
        except ValueError:
            return default
        end
    end

    def dec_value(text, default='N/A'):
        try:
            float_value = round(float(text), 1)
            if float_value < 0.1:
                return 0
            else:
                return float_value
            end
        except ValueError:
            return default
        end
    end
%>
</head>
<body>
    <a href="https://github.com/NCTU-NBA/nctu-weather"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
    <header class="section">
        <img alt="網路福利社" class="vendor logo" src="http://blog.nba.nctu.edu.tw/nctu-weather/assets/logo.png" />
    </header>
<%
    if not defined('error'):
        humidity = dec_value(humidity)
        rain = dec_value(rain)
        rain_day = dec_value(rain_day)
{'fraction_non_alphanumeric': 0.16741573033707866, 'fraction_numerical': 0.00853932584269663, 'mean_word_length': 2.8839441535776613, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 61, 'https://': 11, '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': '2797795', 'n_tokens_mistral': 1707, 'n_tokens_neox': 1663, 'n_words': 243}