<commit_before>- @active_top_nav_link = :participate

.row.reset-layout{ style: 'background-color: rgb(207, 226, 248)'}

.survey-report-container.panel
  - question = @survey.questions.where(slug: 'sex').first
  - answer = @answer_session.answers.where(question_id: question.id).first
  - table_data = Report.frequency_data('sex', 1..2)
  .survey-report-question.rounded-top
    %h3= question.text
  .survey-report-answer
    %p
      Your answer:
      %span.f500= answer.show_value
  .survey-report-info
    .row.reset-layout
      .col-xs-3.col-xs-offset-3
        = image_tag 'myapnea/surveys/about-me/male_color.png', class: 'img-responsive'
        %p.lead= "#{table_data[1][:text]}: #{table_data[1][:freq].round(1)}%"
      .col-xs-3
        = image_tag 'myapnea/surveys/about-me/female_color.png', class: 'img-responsive'
        %p.lead= "#{table_data[2][:text]}: #{table_data[2][:freq].round(1)}%"
    %p.lead
      Members of either sex can develop sleep apnea. Men are 2-to-3 times more likely to have sleep apnea, but as women reach menopause their risk increases.

.survey-report-container.panel
  - question = @survey.questions.where(slug: 'race').first
  - answer = @answer_session.answers.where(question_id: question.id).first
  - table_data = Report.frequency_data('race', 1..5)
  .survey-report-question.rounded-top
    %h3= question.text
  .survey-report-answer
    %p
      Your answer:
      %span.f500= answer.show_value
  .survey-report-info
    .row.reset-layout
      .col-sm-4
        = image_tag 'myapnea/surveys/about-me/globe.png', class: 'img-responsive'
      .col-sm-8
        %br
        %p.lead.text-left
          Sleep apnea occurs in all races of people. Understanding associations between sleep apnea and race may help shed light on the genes and environmental risk factors that influence sleep apnea.
          %br
          %br
          Recent research shows that<commit_msg>Fixed sizing of globe image for about me survey, closes #529<commit_after>- @active_top_nav_link = :participate

.row.reset-layout{ style: 'background-color: rgb(207, 226, 248)'}

.survey-report-container.panel
  - question = @survey.questions.where(slug: 'sex').first
  - answer = @answer_session.answers.where(question_id: question.id).first
  - table_data = Report.frequency_data('sex', 1..2)
  .survey-report-question.rounded-top
    %h3= question.text
  .survey-report-answer
    %p
      Your answer:
      %span.f500= answer.show_value
  .survey-report-info
    .row.reset-layout
      .col-xs-3.col-xs-offset-3
        = image_tag 'myapnea/surveys/about-me/male_color.png', class: 'img-responsive'
        %p.lead= "#{table_data[1][:text]}: #{table_data[1][:freq].round(1)}%"
      .col-xs-3
        = image_tag 'myapnea/surveys/about-me/female_color.png', class: 'img-responsive'
        %p.lead= "#{table_data[2][:text]}: #{table_data[2][:freq].round(1)}%"
    %p.lead
      Members of either sex can develop sleep apnea. Men are 2-to-3 times more likely to have sleep apnea, but as women reach menopause their risk increases.

.survey-report-container.panel
  - question = @survey.questions.where(slug: 'race').first
  - answer = @answer_session.answers.where(question_id: question.id).first
  - table_data = Report.frequency_data('race', 1..5)
  .survey-report-question.rounded-top
    %h3= question.text
  .survey-report-answer
    %p
      Your answer:
      %span.f500= answer.show_value
  .survey-report-info
    .row.reset-layout
      .col-lg-3.col-sm-4.col-sm-offset-0.col-xs-6.col-xs-offset-3
        = image_tag 'myapnea/surveys/about-me/globe.png', class: 'img-responsive'
      .col-sm-8.col-xs-12
        %br
        %p.lead.text-left
          Sleep apnea occurs in all races of people. Understanding associations between sleep apnea and race may help shed light on the genes and environmental risk factors that influence sleep apnea.
          %br
          %br
          Recent research shows that
{'fraction_non_alphanumeric': 0.13676731793960922, 'fraction_numerical': 0.019538188277087035, 'mean_word_length': 2.997971602434077, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1779982', 'n_tokens_mistral': 1416, 'n_tokens_neox': 1337, 'n_words': 285}