<commit_before>- content_for(:extracss) do
  = stylesheet_link_tag "admin/stats"
- content_for(:extrajs) do
  = javascript_include_tag "https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization','version':'1','packages':['corechart','annotationchart']}]}"
  = javascript_include_tag "admin/stats", "d3.min"
  :javascript
    var STATS_JSON = #{ @stats };
.container
  %h2 Stats
  .row
    .span12
      %h3 Observations (1 week moving window)
      #obs_7.stacked.vis
        .loading.status=t :loading
    .span6
      %dl.meta
        %dt=t :obs
        %dd Created in prev 7 days
        %dt Obs ID'd
        %dd Created in prev 7 days and have an ID (could be observer's)
        %dt Obs CID'd
        %dd Created in prev 7 days and have a community ID
    .span6
      %dl.meta
        %dt Obs CID'd to genus
        %dd Created in prev 7 days and have a community ID at or below genus-level
        %dt Active Users
        %dd Created an ID, obs, comment, or post in the previous 30 days
  .row
    .span12
      %h3 Time to ID (hours, 1 week moving window)
      #ttid.stacked.vis
        .loading.status=t :loading
      .meta
        %strong TTID
        is time to receive an identification from someone else, and 
        %strong TTCID
        is time to receive an identification from someone else that matches the community taxon.
        These stats are made for observations created for a week prior, which means it will miss identifications added to observations after more than a week, and thus make the stats look lower than they would if you computed them again in the present, but they should still provide a decent measure for how fast the community is at identifying within 1 week windows.
  .row
    .span12
      %h3=t :users
      #users.stacked.vis
        .loading.status=t :loading
    .span6
      %dl.meta
        %dt=t :active
        %dd Created an ID, obs, comment, or post in the previous 30 days
        %dt=t :new
        %dd Signed up on this day
        %dt=t :identifiers
        %dd Added an ID to someone else's obs on this day
    .span6
      %dl.meta
        %dt Recent
        %dd Signed up in prev 7
        %dt Recent w/ >= 5 obs
        %dd Signed up in prev 7 days and added >= 7 obs
        %dt Recent w/ 0 obs
        %dd Signed up in prev 7 days and added 0 obs
  .row
    .span6
      %h3 Observations (cumulative)
      #observations.stacked.vis
        .loading.status=t :loading
    .span6
      %h3 Observations By Rank
      #ranks.stacked.vis
        .loading.status=t :loading
  .row
    .span6
      %h3=t :cumulative_users
      #cumulative-users.stacked.vis
        .loading.status=t :loading
    .span6
      %h3 Projects
      #projects.stacked.vis
        .loading.status=t :loading
      
  #ranks_pie.stacked
    .loading.status=t :loading
<commit_msg>Minor text changes to admin/stats.<commit_after>- content_for(:extracss) do
  = stylesheet_link_tag "admin/stats"
- content_for(:extrajs) do
  = javascript_include_tag "https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization','version':'1','packages':['corechart','annotationchart']}]}"
  = javascript_include_tag "admin/stats", "d3.min"
  :javascript
    var STATS_JSON = #{ @stats };
.container
  %h2 Stats
  .row
    .span12
      %h3 Observations (1 week moving window)
      #obs_7.stacked.vis
        .loading.status=t :loading
    .span6
      %dl.meta
        %dt=t :obs
        %dd Created in prev 7 days
        %dt Obs ID'd
        %dd Created in prev 7 days and have an ID (could be observer's)
        %dt Obs CID'd
        %dd Created in prev 7 days and have a community ID
    .span6
      %dl.meta
        %dt Obs CID'd to genus
        %dd Created in prev 7 days and have a community ID at or below genus-level
        %dt Active Users
        %dd Created an ID, obs, comment, or post in the previous 30 days
  .row
    .span12
      %h3 Time to ID (hours, 1 week moving window)
      #ttid.stacked.vis
        .loading.status=t :loading
      %p.meta
        %strong TTID
        is time to receive an identification from someone else, and 
        %strong TTCID
        is time to receive an identification from someone else that matches the community taxon.
        These stats are made for observations created for a week prior, which means it will miss identifications added to observations after more than a week, and thus make the stats look lower than they would if you computed them again in the present, but they should still provide a decent measure for how fast the community is at identifying within 1 week windows.
      %p.meta
        Note that these stats are only for observations with photos.
  .row
    .span12
      %h3=t :users
      #users.stacked.vis
        .loading.status=t :loading
    .span6
      %dl.meta
        %dt=t :active
        %dd Created an ID, obs, comment, or post in the previous 30 days
        %dt=t :new
        %dd Signed up on this day
        %dt=t :identifiers
        %dd Added an ID to someone else's obs on this day
    .span6
      %dl.meta
        %dt Recent
        %dd Signed up in prev 7 days
        %dt Recent w/ >= 5 obs
        %dd Signed up in prev 7 days and added >= 7 obs
        %dt Recent w/ 0 obs
        %dd Signed up in prev 7 days and added 0 obs
  .row
    .span6
      %h3 Observations (cumulative)
      #observations.stacked.vis
        .loading.status=t :loading
    .span6
      %h3 Observations By Rank
      #ranks.stacked.vis
        .loading.status=t :loading
  .row
    .span6
      %h3=t :cumulative_users
      #cumulative-users.stacked.vis
        .loading.status=t :loading
    .span6
      %h3 Projects
      #projects.stacked.vis
        .loading.status=t :loading
      
  #ranks_pie.stacked
    .loading.status=t :loading

{'fraction_non_alphanumeric': 0.08092685457375065, 'fraction_numerical': 0.014871174131073837, 'mean_word_length': 2.225878416062465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3295563', 'n_tokens_mistral': 1810, 'n_tokens_neox': 1719, 'n_words': 682}