<commit_before>.receptacle.overfloating
  .inner-recep
    %h1.user-home-title
      Hello
      - if current_user.name.present?
        #{current_user.name},
      - else
        #{current_user.email},
    .notifications-holder
      .notification
        - if @bikes.count > 0
          - if @bikes.last.stolen
            %h4
              Suffering succotash!
              %span.subtitle We're sorry your #{@bikes.last.type} was stolen, but hopefully, with everyone able to search for it, you'll get it back.
          - else
            %h4
              Awesome!
              %span.subtitle
                We're pumped that you added a #{@bikes.last.type} to the Index.
          %ul
            - if @bikes.last.stolen
              %li
                %p
                  Add more information about the 
                  %span.stolen-color
                    villainous theft
                  of the #{link_to @bikes.first.type, edit_bike_url(@bikes.first)} and add some details to the #{@bikes.last.type} as well.
            - else
              %li
                #{ link_to "Add a bit more information", edit_bike_url(@bikes.first)} about your #{@bikes.first.type}. What's it made of? What size is it? How many gears does it have? Upload some pictures of it.
            %li
              Tell us more about #{link_to "yourself", my_account_url}.
            
        - else
          %h4
            Welcome
            %span.subtitle
              to the Bike Index. Thanks for signing up!
          

          %p Curious about what to do now?

          %ul
            %li
              Update
              = link_to "your profile.", my_account_url
            %li
              Visit 
              = link_to "where to register", where_url
              to find the closest shop to register your bikes.
      = render "/shared/bike_token_list"  


.user-homepage.receptacle
  .inner-recep
    - if @bikes.any?
      %header.with-subtitle
        %h3
          Your Bikes
        - if current_user.show_bikes
          %p
            = link_to "Your public page", "/users/#{current_user.username}"
      - if @bikes.count > 5
        = render partial: "/bikes/bike_table", :locals => {target: "edit"}
      - else
        %ul.bike-boxes
          = render partial: "/bikes/bike", collection: @bikes, :locals => {target: "edit" }
          
    - else
      %h3
        You don't have any bikes on the Index yet.
      .padded
        = link_to "Register one now!", choose_registration_path, class: "button-green"

  .locks-well
    .well
      = render "locks/lock_home"

<commit_msg>Remove free bike token from user home because people keep clicking it and confusing themselves<commit_after>.receptacle.overfloating
  .inner-recep
    %h1.user-home-title
      Hello
      - if current_user.name.present?
        #{current_user.name},
      - else
        #{current_user.email},
    .notifications-holder
      .notification
        - if @bikes.count > 0
          - if @bikes.last.stolen
            %h4
              Suffering succotash!
              %span.subtitle We're sorry your #{@bikes.last.type} was stolen, but hopefully, with everyone able to search for it, you'll get it back.
          - else
            %h4
              Awesome!
              %span.subtitle
                We're pumped that you added a #{@bikes.last.type} to the Index.
          %ul
            - if @bikes.last.stolen
              %li
                %p
                  Add more information about the 
                  %span.stolen-color
                    villainous theft
                  of the #{link_to @bikes.first.type, edit_bike_url(@bikes.first)} and add some details to the #{@bikes.last.type} as well.
            - else
              %li
                #{ link_to "Add a bit more information", edit_bike_url(@bikes.first)} about your #{@bikes.first.type}. What's it made of? What size is it? How many gears does it have? Upload some pictures of it.
            %li
              Tell us more about #{link_to "yourself", my_account_url}.
            
        - else
          %h4
            Welcome
            %span.subtitle
              to the Bike Index. Thanks for signing up!
          

          %p Curious about what to do now?

          %ul
            %li
              Update
              = link_to "your profile.", my_account_url
            %li
              Visit 
              = link_to "where to register", where_url
              to find the closest shop to register your bikes.
      


.user-homepage.receptacle
  .inner-recep
    - if @bikes.any?
      %header.with-subtitle
        %h3
          Your Bikes
        - if current_user.show_bikes
          %p
            = link_to "Your public page", "/users/#{current_user.username}"
      - if @bikes.count > 5
        = render partial: "/bikes/bike_table", :locals => {target: "edit"}
      - else
        %ul.bike-boxes
          = render partial: "/bikes/bike", collection: @bikes, :locals => {target: "edit" }
          
    - else
      %h3
        You don't have any bikes on the Index yet.
      .padded
        = link_to "Register one now!", choose_registration_path, class: "button-green"

  .locks-well
    .well
      = render "locks/lock_home"


{'fraction_non_alphanumeric': 0.09135802469135802, 'fraction_numerical': 0.0030389363722697054, 'mean_word_length': 1.4618980832164563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3088752', 'n_tokens_mistral': 1554, 'n_tokens_neox': 1502, 'n_words': 454}