<commit_before>%section.edit-settings
  %h2 Display options
  %fieldset
    .form-group{'ng-if' => 'settings.style === "experimental"'}
      %label.label-control{for:'showThumbnails'} Show thumbnails
      .form-control
        %input#showThumbnails.form-control{type:'checkbox', 'ng-model' => 'settings.showThumbnails'}
    .form-group
      %label.label-control{for: 'style'} Style
      .form-control
        %select#style{'ng-model' => 'settings.style'}
          %option{value:'default'} Default
          %option{value:'experimental'} Experimental

  %h2 Ranking options
  %fieldset
    .form-group
      %label.label-control{for:'sortOrder'} Default sort order
      .form-control
        %select#sortOrder{'ng-model' => 'settings.defaultSort'}
          %option{value: 'byDate'} Most Recent First
          %option{value: 'byPopularity'} Most Popular First
    .form-group
      %label.label-control{for:'dateRange'} Default date range
      .form-control
        %select#dateRange{'ng-model' => 'settings.defaultDateRange'}
          %option{value: 'last24h'} Last 24h
          %option{value: 'pastWeek'} Past Week
          %option{value: 'pastMonth'} Past Month
          %option{value: 'all'} Forever

  %h2 Your options
  %fieldset
    .form-group
      %label.label-control{for: 'login'} Your HN login
      .form-control
        %input#login.form-control{type: 'text','ng-model' => 'settings.login'}<commit_msg>Only display the personal option if experimental<commit_after>%section.edit-settings
  %h2 Display options
  %fieldset
    .form-group{'ng-if' => 'settings.style === "experimental"'}
      %label.label-control{for:'showThumbnails'} Show thumbnails
      .form-control
        %input#showThumbnails.form-control{type:'checkbox', 'ng-model' => 'settings.showThumbnails'}
    .form-group
      %label.label-control{for: 'style'} Style
      .form-control
        %select#style{'ng-model' => 'settings.style'}
          %option{value:'default'} Default
          %option{value:'experimental'} Experimental

  %h2 Ranking options
  %fieldset
    .form-group
      %label.label-control{for:'sortOrder'} Default sort order
      .form-control
        %select#sortOrder{'ng-model' => 'settings.defaultSort'}
          %option{value: 'byDate'} Most Recent First
          %option{value: 'byPopularity'} Most Popular First
    .form-group
      %label.label-control{for:'dateRange'} Default date range
      .form-control
        %select#dateRange{'ng-model' => 'settings.defaultDateRange'}
          %option{value: 'last24h'} Last 24h
          %option{value: 'pastWeek'} Past Week
          %option{value: 'pastMonth'} Past Month
          %option{value: 'all'} Forever

  %div{'ng-if' => 'settings.style === "experimental"'}
    %h2 Your options
    %fieldset
      .form-group
        %label.label-control{for: 'login'} Your HN login
        .form-control
          %input#login.form-control{type: 'text','ng-model' => 'settings.login'}
{'fraction_non_alphanumeric': 0.145368492224476, 'fraction_numerical': 0.004732927653820149, 'mean_word_length': 3.0313351498637604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '5816937', 'n_tokens_mistral': 911, 'n_tokens_neox': 889, 'n_words': 178}