<commit_before>- blue = "#4886C2"
- green = "#7FEC8D"
- red = "#E44646"
- orange = "#F49C54"
- grey = "#A6A6A6"
- colors = { accepted: blue, rsvp_confirmed: green, rsvp_denied: red, pending: "#F98728", denied: "#666", waitlist: "#059", late_waitlist: "#057" }

= javascript_include_tag "hackathon_manager/vendor/d3.v3.min.js"
= javascript_include_tag "hackathon_manager/vendor/queue.v1.min.js"
= javascript_include_tag "hackathon_manager/vendor/topojson.v1.min.js"

= render "layouts/manage/page_title", title: "Dashboard"

.row
  .col
    #map
    :javascript
      $('#map').initMap();

.row
  .col-7
    %h5.dashboard-container-title  Today's Activity
    = area_chart todays_activity_data_manage_dashboard_index_path, colors: [blue, green, red, grey]
  .col
    %h5.dashboard-container-title Today's Stats
    = pie_chart todays_stats_data_manage_dashboard_index_path, colors: [blue, green, red, grey]
<commit_msg>Hide map until it's fixed<commit_after>- blue = "#4886C2"
- green = "#7FEC8D"
- red = "#E44646"
- orange = "#F49C54"
- grey = "#A6A6A6"
- colors = { accepted: blue, rsvp_confirmed: green, rsvp_denied: red, pending: "#F98728", denied: "#666", waitlist: "#059", late_waitlist: "#057" }

= javascript_include_tag "hackathon_manager/vendor/d3.v3.min.js"
= javascript_include_tag "hackathon_manager/vendor/queue.v1.min.js"
= javascript_include_tag "hackathon_manager/vendor/topojson.v1.min.js"

= render "layouts/manage/page_title", title: "Dashboard"

-# .row
-#   .col
-#     #map
-#     :javascript
-#       $('#map').initMap();

.row
  .col-7
    %h5.dashboard-container-title  Today's Activity
    = area_chart todays_activity_data_manage_dashboard_index_path, colors: [blue, green, red, grey]
  .col
    %h5.dashboard-container-title Today's Stats
    = pie_chart todays_stats_data_manage_dashboard_index_path, colors: [blue, green, red, grey]

{'fraction_non_alphanumeric': 0.1497584541062802, 'fraction_numerical': 0.04294149221685454, 'mean_word_length': 4.564179104477612, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1776860', 'n_tokens_mistral': 761, 'n_tokens_neox': 711, 'n_words': 132}