<commit_before>- content_for :title do
  = [@project.name, @project.season.try(:name)].compact.join(' – ')

nav.page
  .back-nav
    ul
      li = icon('chevron-left')
      - if current_user && current_user.admin?
        li = link_to 'All Projects', orga_projects_path, class: 'back'
      - else
        li = link_to 'All Projects', projects_path, class: 'back'

= content_tag :h1, @project.name

- if can? :edit, @project
  nav.btn-group
    = link_to 'Edit', edit_project_path(@project), class: 'edit btn btn-default btn-small'
    = link_to 'Destroy', project_path(@project), method: :delete, data: { confirm: 'This action cannot be undone. Are you sure?' }, class: 'edit btn btn-default btn-small'
  p

table.table.table-striped.table-bordered
  tr
    th Mentor
    td
      = @project.mentor_name
      = " ("
      = link_to @project.mentor_github_handle, "https://github.com/#{@project.mentor_github_handle}", class: 'github'
      |)
  tr
    th Project Website
    td = link_to @project.url, @project.url
  tr
    th Project Repository
    td = link_to @project.source_url, @project.source_url
  tr
    th Suitable for Beginners?
    td = @project.beginner_friendly? ? 'yes' : 'no'
  tr
    th Tags
    td = project_tags @project
  tr
    th State
    td = project_status(@project)
  tr
    th Applications (1st Choice)
    td = @project.first_choice_application_drafts.count
  tr
    th Applications (2nd Choice)
    td = @project.second_choice_application_drafts.count
  tr
    th Code of Conduct 
    td = link_to @project.code_of_conduct, @project.code_of_conduct
  tr
    th License
    td = @project.license

h2.header<commit_msg>Added the link to Mentor's profile on the Teams app<commit_after>- content_for :title do
  = [@project.name, @project.season.try(:name)].compact.join(' – ')

nav.page
  .back-nav
    ul
      li = icon('chevron-left')
      - if current_user && current_user.admin?
        li = link_to 'All Projects', orga_projects_path, class: 'back'
      - else
        li = link_to 'All Projects', projects_path, class: 'back'

= content_tag :h1, @project.name

- if can? :edit, @project
  nav.btn-group
    = link_to 'Edit', edit_project_path(@project), class: 'edit btn btn-default btn-small'
    = link_to 'Destroy', project_path(@project), method: :delete, data: { confirm: 'This action cannot be undone. Are you sure?' }, class: 'edit btn btn-default btn-small'
  p

table.table.table-striped.table-bordered
  tr
    th Mentor
    td
      = link_to @project.mentor_name, @project.mentor rescue @project.mentor_name
      = " ("
      = link_to @project.mentor_github_handle, "https://github.com/#{@project.mentor_github_handle}", class: 'github'
      |)
  tr
    th Project Website
    td = link_to @project.url, @project.url
  tr
    th Project Repository
    td = link_to @project.source_url, @project.source_url
  tr
    th Suitable for Beginners?
    td = @project.beginner_friendly? ? 'yes' : 'no'
  tr
    th Tags
    td = project_tags @project
  tr
    th State
    td = project_status(@project)
  tr
    th Applications (1st Choice)
    td = @project.first_choice_application_drafts.count
  tr
    th Applications (2nd Choice)
    td = @project.second_choice_application_drafts.count
  tr
    th Code of Conduct
    td = link_to @project.code_of_conduct, @project.code_of_conduct
  tr
    th License
    td = @project.license

h2.header
{'fraction_non_alphanumeric': 0.11393152302243212, 'fraction_numerical': 0.0023612750885478157, 'mean_word_length': 3.117861482381531, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5374642', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1132, 'n_words': 300}