<commit_before>/**
 * Remove all false and null values from $list
 * -------------------------------------------------------------------------------
 * @example first( (a, null, b, false, c, null) ) => a, b, c
 * @example first( (a, b, c) )                    => a, b, c
 * -------------------------------------------------------------------------------
 * @param $list [List] : list
 * -------------------------------------------------------------------------------
 * @return [List]
 */
@function purge($list) {
  $result: ();
  
  @each $item in $list {
    @if $item != null or $item != false {
      $result: append($result, $item);
    }
  }
  
  @return $result;<commit_msg>Fixed purge() doc<commit_after>/**
 * Remove all false and null values from $list
 * -------------------------------------------------------------------------------
 * @example purge( (a, null, b, false, c, null) ) => a, b, c
 * @example purge( (a, b, c) )                    => a, b, c
 * -------------------------------------------------------------------------------
 * @param $list [List] : list
 * -------------------------------------------------------------------------------
 * @return [List]
 */
@function purge($list) {
  $result: ();
  
  @each $item in $list {
    @if $item != null or $item != false {
      $result: append($result, $item);
    }
  }
  
  @return $result;
{'fraction_non_alphanumeric': 0.47291361639824303, 'fraction_numerical': 0.0, 'mean_word_length': 0.8348993288590604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4505971', 'n_tokens_mistral': 337, 'n_tokens_neox': 328, 'n_words': 105}