<commit_before>class About extends require "views.base"
  content: =>

    h2 class: "list-header", "About Lua Toolbox"
    div class: "cell", ->
        p ->
            text "Lua Toolbox is an "
            a href: "https://github.com/catwell/lua-toolbox/", "Open Source"
            text " website aiming at helping with the discovery and selection"
            text " of Lua modules."
        p ->
            text "For that pupose, it lets its users endorse modules and"
            text " ranks them by number of endorsements. It also has a labels"
            text " system to classify modules by intended use."
        p ->
            text "To help with the project or report bugs, use GitHub issues."
            text " To report security issues that should be fixed before they"
            text " are disclosed, please get in touch with "
            a href:  "http://catwell.info", "<NAME>"
            text "."

    h2 class: "list-header", "Metrics"
    div class: "cell", ->
        h3 "Endorsements per module"
        object type: "image/svg+xml", data: table.concat {
            "#{@chartspree_root}/bar.svg",
            "?series=#{table.concat(@endorsement_data.values, ",")}",
            "&_labels=#{table.concat(@endorsement_data.labels, ",")}",
            "&_show_legend=false",
            "&_height=300px",
        }<commit_msg>Fix typo, thanks @deltheil!<commit_after>class About extends require "views.base"
  content: =>

    h2 class: "list-header", "About Lua Toolbox"
    div class: "cell", ->
        p ->
            text "Lua Toolbox is an "
            a href: "https://github.com/catwell/lua-toolbox/", "Open Source"
            text " website aiming at helping with the discovery and selection"
            text " of Lua modules."
        p ->
            text "For that purpose, it lets its users endorse modules and"
            text " ranks them by number of endorsements. It also has a labels"
            text " system to classify modules by intended use."
        p ->
            text "To help with the project or report bugs, use GitHub issues."
            text " To report security issues that should be fixed before they"
            text " are disclosed, please get in touch with "
            a href:  "http://catwell.info", "<NAME>"
            text "."

    h2 class: "list-header", "Metrics"
    div class: "cell", ->
        h3 "Endorsements per module"
        object type: "image/svg+xml", data: table.concat {
            "#{@chartspree_root}/bar.svg",
            "?series=#{table.concat(@endorsement_data.values, ",")}",
            "&_labels=#{table.concat(@endorsement_data.labels, ",")}",
            "&_show_legend=false",
            "&_height=300px",
        }
{'fraction_non_alphanumeric': 0.11835837303041408, 'fraction_numerical': 0.004397215097105167, 'mean_word_length': 2.0066079295154187, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1268038', 'n_tokens_mistral': 767, 'n_tokens_neox': 745, 'n_words': 263}