<commit_before>= link_to user_path(user) do
  %li
    =image_tag Gravatar.new(user.email).image_url(size: 40, secure: true), class: "avatar"
    %span= format_user_name(user)
    -if current_user.teacher?
      -if user.completed_codewar_for_lesson(lesson)
        %span.star
          &#9733;<commit_msg>checks if user signed in before referencing current_user in lesson page<commit_after>= link_to user_path(user) do
  %li
    =image_tag Gravatar.new(user.email).image_url(size: 40, secure: true), class: "avatar"
    %span= format_user_name(user)
    - if user_signed_in?
      - if current_user.teacher?
        - if user.completed_codewar_for_lesson(lesson)
          %span.star
            &#9733;
{'fraction_non_alphanumeric': 0.11095305832147938, 'fraction_numerical': 0.017069701280227598, 'mean_word_length': 3.4276729559748427, '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': '7236804', 'n_tokens_mistral': 257, 'n_tokens_neox': 241, 'n_words': 51}