<commit_before>- current_page.data.extra_css ||= []
- current_page.data.extra_css += ['salary-calculator.css']

- current_page.data.extra_js ||= []
- current_page.data.extra_js += ['salary-calculator.js']

- job= data.jobs.select{|p| p.title.downcase == title.downcase }
- if job.length == 1 and job[0].salary
  .salary-container.col-xs-12{data: {salary: job[0].salary}}
    %h2{:id => 'compensation'} Compensation
    .col-sm-8
      .col-sm-6
        .dropdown.level
          %button.dropdown-menu-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
            %span.title Level
            %span.subtitle
            %i.fa.fa-chevron-down
          %ul.dropdown-menu.dropdown-scroll
            %li
              %span.key Junior
              %span.value 0.8
            %li
              %span.key Intermediate
              %span.value 1.0
            %li
              %span.key Senior
              %span.value 1.2
            %li
              %span.key Lead
              %span.value 1.4
      .col-sm-6
        .dropdown.experience
          %button.dropdown-menu-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
            %span.title Experience in your level
            %span.subtitle
            %i.fa.fa-chevron-down
          %ul.dropdown-menu.dropdown-scroll
            %li
              %span.key Experience range
              %span.value 0.8 to 1.2
            %li
              %span.key Little experience
              %span.value 0.8 to 1.0
            %li
              %span.key Average experience
              %span.value 0.9 to 1.1
            %li
              %span.key A lot of experience
              %span.value 1.0 to 1.2
      .col-sm-6
        .dropdown.country
          %button.dropdown-menu-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
            %span.title Country
            %i.fa.fa-chevron-down
          %ul.dropdown-menu.dropdown-scroll
            - data.numbeo.uniq(&:country).sort_by(&:country).each do |p|
              %li
                %span.key= p.country
      .col-sm-6
        .dropdown.city
          %button.dropdown-menu-toggle.disabled.btn{type: 'button', 'data-toggle' => 'dropdown'}
            %span.title City
            %span.subtitle
            %i.fa.fa-chevron-down
          %ul.dropdown-menu.dropdown-scroll
            - data.numbeo.sort_by(&:city).each do |p|
              %li.hidden{'data-country' => p.country}
                %span.key= p.city
                %span.display-value= sprintf('%0.2f', (p.rentIndex*0.01).round(2))
    .col-sm-4
      .compensation
        .title Annual Compensation
        .amount --
    .col-sm-12.note
      Learn about our
      = succeed '.' do
        %a{:href => '/handbook/people-operations/global-compensation-framework#contract-type-factors'} contract types
      We expect you will be
      %span.contract-type-container
        %span.grammer a
        %strong.contract-type contractor
        at GitLab
        %span.company-type BV.
    .col-sm-12.formula-container
      %h4 How did we calculate your compensation?
      .formula
        .variable-group
          .variable.benchmark
            %span.name Benchmark
            %span.value= "$#{number_with_delimiter(job[0].salary, :delimiter => ',')}"
        .symbol.multiplication x
        .variable-group
          .symbol (
          .variable.rentIndex
            %span.name Rent Index
            %span.value --
          .symbol +
          .constant 0.25
          .symbol )
        .symbol.multiplication x
        .variable-group
          .variable.level
            %span.name Level
            %span.value --
        .symbol.multiplication x
        .variable-group
          .variable.experience
            %span.name Experience
            %span.value --
        .symbol.multiplication x
        .variable-group
          .variable.contractType
            %span.name Contract Type
            %span.value --
      .explanation
      Find out
      = succeed '.' do
        %a{:href => '/handbook/people-operations/global-compensation-framework#compensation-calculator'} how our calculator works<commit_msg>Add link to stock options and benefits<commit_after>- current_page.data.extra_css ||= []
- current_page.data.extra_css += ['salary-calculator.css']

- current_page.data.extra_js ||= []
- current_page.data.extra_js += ['salary-calculator.js']

- job= data.jobs.select{|p| p.title.downcase == title.downcase }
- if job.length == 1 and job[0].salary
  .salary-container.col-xs-12{data: {salary: job[0].salary}}
    %h2{:id => 'compensation'} Compensation
    .col-sm-8
      .col-sm-6
        .dropdown.level
          %button.dropdown-menu-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
            %span.title Level
            %span.subtitle
            %i.fa.fa-chevron-down
          %ul.dropdown-menu.dropdown-scroll
            %li
              %span.key Junior
              %span.value 0.8
            %li
              %span.key Intermediate
              %span.value 1.0
            %li
              %span.key Senior
              %span.value 1.2
            %li
              %span.key Lead
              %span.value 1.4
      .col-sm-6
        .dropdown.experience
          %button.dropdown-menu-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
            %span.title Experience in your level
            %span.subtitle
            %i.fa.fa-chevron-down
          %ul.dropdown-menu.dropdown-scroll
            %li
              %span.key Experience range
              %span.value 0.8 to 1.2
            %li
              %span.key Little experience
              %span.value 0.8 to 1.0
            %li
              %span.key Average experience
              %span.value 0.9 to 1.1
            %li
              %span.key A lot of experience
              %span.value 1.0 to 1.2
      .col-sm-6
        .dropdown.country
          %button.dropdown-menu-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
            %span.title Country
            %i.fa.fa-chevron-down
          %ul.dropdown-menu.dropdown-scroll
            - data.numbeo.uniq(&:country).sort_by(&:country).each do |p|
              %li
                %span.key= p.country
      .col-sm-6
        .dropdown.city
          %button.dropdown-menu-toggle.disabled.btn{type: 'button', 'data-toggle' => 'dropdown'}
            %span.title City
            %span.subtitle
            %i.fa.fa-chevron-down
          %ul.dropdown-menu.dropdown-scroll
            - data.numbeo.sort_by(&:city).each do |p|
              %li.hidden{'data-country' => p.country}
                %span.key= p.city
                %span.display-value= sprintf('%0.2f', (p.rentIndex*0.01).round(2))
    .col-sm-4
      .compensation
        .title Annual Compensation
        .amount --
    .col-sm-12.note
      Learn about our
      = succeed '.' do
        %a{:href => '/handbook/people-operations/global-compensation-framework#contract-type-factors'} contract types
      We expect you will be
      %span.contract-type-container
        %span.grammer a
        %strong.contract-type contractor
        at GitLab
        %span.company-type BV.
    .col-sm-12.formula-container
      %h4 How did we calculate your compensation?
      .formula
        .variable-group
          .variable.benchmark
            %span.name Benchmark
            %span.value= "$#{number_with_delimiter(job[0].salary, :delimiter => ',')}"
        .symbol.multiplication x
        .variable-group
          .symbol (
          .variable.rentIndex
            %span.name Rent Index
            %span.value --
          .symbol +
          .constant 0.25
          .symbol )
        .symbol.multiplication x
        .variable-group
          .variable.level
            %span.name Level
            %span.value --
        .symbol.multiplication x
        .variable-group
          .variable.experience
            %span.name Experience
            %span.value --
        .symbol.multiplication x
        .variable-group
          .variable.contractType
            %span.name Contract Type
            %span.value --
      .explanation
      Find out
      = succeed '.' do
        %a{:href => '/handbook/people-operations/global-compensation-framework#compensation-calculator'} how our calculator works
      You are also eligible for
      %a{:href => '/handbook/stock-options/'} stock options
      and
      = succeed '.' do
        %a{:href => '/handbook/benefits/'} other benefits
{'fraction_non_alphanumeric': 0.12269721303731695, 'fraction_numerical': 0.012045347189418989, 'mean_word_length': 1.5197857780422492, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '1550583', 'n_tokens_mistral': 2572, 'n_tokens_neox': 2470, 'n_words': 483}