<commit_before>- if current_user.words.count == 0
  .row
    .alert.alert-info
      You have no cards in your deck! Click 'Add Card' to add your first card.
.row
  %a.btn.btn-primary{:href => url_for(:controller => :cards, :action => :new)}
    Add Card
.row
  %br
.row
  %table.table
    %thead
      %tr
        %th
          Kanji
        %th
          Kana
        %th
          Translation
        %th
          Times Right
        %th
          Times Wrong
        %th
          Box
        %th
          Last Reviewed
        %th
          Next Review
    %tbody
      - current_user.words.each do |w|
        - stats = w.stats
        %tr
          %td=w.kanji
          %td=w.kana
          %td=w.translation
          %td=stats.times_right
          %td=stats.times_wrong
          %td=stats.box
          %td=stats.last_reviewed
          %td=stats.next_review<commit_msg>Removed box from stats. Bit of an implementation detail.<commit_after>- if current_user.words.count == 0
  .row
    .alert.alert-info
      You have no cards in your deck! Click 'Add Card' to add your first card.
.row
  %a.btn.btn-primary{:href => url_for(:controller => :cards, :action => :new)}
    Add Card
.row
  %br
.row
  %table.table
    %thead
      %tr
        %th
          Kanji
        %th
          Kana
        %th
          Translation
        %th
          Times Right
        %th
          Times Wrong
        %th
          Last Reviewed
        %th
          Next Review
    %tbody
      - current_user.words.each do |w|
        - stats = w.stats
        %tr
          %td=w.kanji
          %td=w.kana
          %td=w.translation
          %td=stats.times_right
          %td=stats.times_wrong
          %td=stats.last_reviewed
          %td=stats.next_review
{'fraction_non_alphanumeric': 0.09653605905735378, 'fraction_numerical': 0.001135718341851221, 'mean_word_length': 1.3462050599201065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2454703', 'n_tokens_mistral': 566, 'n_tokens_neox': 551, 'n_words': 144}