<commit_before>@function golden-ratio($value, $increment) {
  @if $increment > 0 {
    @for $i from 1 through $increment {
      $value: ($value * 1.618);
    }
  }
  @if $increment < 0 {
    $increment: abs($increment);
    @for $i from 1 through $increment {
      $value: ($value / 1.618);
    }
  }
  @if $increment == 0 {
    @warn "Increment value cannot be zero; must be ...-3, -2, -1, 1, 2, 3...";
  }
  @return $value;
}

//  div {
//                      Increment Up GR with positive value
//    font-size:        golden-ratio(14px,  1);    // returns: 22.652px
//
//                      Increment Down GR with negative value
//    font-size:        golden-ratio(14px, -1);    // returns: 8.653px
//
//                     Can be used with ceil(round up) or floor(round down)
//    font-size: floor( golden-ratio(14px,  1) );  // returns: 22px
//    font-size:  ceil( golden-ratio(14px,  1) );  // returns: 23px
//  }
//
// modularscale.com
// goldenratiocalculator.com<commit_msg>Removed the warning from the golden-ratio function<commit_after>@function golden-ratio($value, $increment) {
  @if $increment > 0 {
    @for $i from 1 through $increment {
      $value: ($value * 1.618);
    }
  }

  @if $increment < 0 {
    $increment: abs($increment);
    @for $i from 1 through $increment {
      $value: ($value / 1.618);
    }
  }

  @return $value;
}

//  div {
//                      Increment Up GR with positive value
//    font-size:        golden-ratio(14px,  1);    // returns: 22.652px
//
//                      Increment Down GR with negative value
//    font-size:        golden-ratio(14px, -1);    // returns: 8.653px
//
//                     Can be used with ceil(round up) or floor(round down)
//    font-size: floor( golden-ratio(14px,  1) );  // returns: 22px
//    font-size:  ceil( golden-ratio(14px,  1) );  // returns: 23px
//  }
//
// modularscale.com
// goldenratiocalculator.com
{'fraction_non_alphanumeric': 0.15954118873826903, 'fraction_numerical': 0.04223149113660062, 'mean_word_length': 1.8770614692653673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5038731', 'n_tokens_mistral': 716, 'n_tokens_neox': 651, 'n_words': 177}