<commit_before>function check_system -d 'Display short system name (OSX, Linux, Win, NA)'
  set -l osname (uname | tr '[:upper:]' '[:lower:]' 2>/dev/null); or set -l osname (fish -c "uname | tr '[:upper:]' '[:lower:]'"); or set -l osname (/usr/bin/uname | tr '[:upper:]' '[:lower:]' 2>/dev/null)
  # fix for lacking MSYS2 path; 2nd needed for WSL as regular commands fails (bug https://github.com/Microsoft/BashOnWindows/issues/1210)
  if test "$osname" = darwin
    echo OSX
  else if begin
      test (echo "$osname" | grep -E msys_nt 2>/dev/null)
      or test (echo "$osname" | grep -E mingw32_nt 2>/dev/null)
      or test (echo "$osname" | grep -E mingw64_nt 2>/dev/null)
    end
    echo Win
  else if test "$osname" = linux
    echo Linux
  else
    echo NA
  end
end
<commit_msg>Add Windows Subsystem for Linux separately as WinLinux<commit_after>function check_system -d 'Display short system name (OSX, Linux, Win, NA)'
  set -l osname (uname | tr '[:upper:]' '[:lower:]' 2>/dev/null); or set -l osname (fish -c "uname | tr '[:upper:]' '[:lower:]'"); or set -l osname (/usr/bin/uname | tr '[:upper:]' '[:lower:]' 2>/dev/null)
  # fix for lacking MSYS2 path; 2nd needed for WSL as regular commands fails (bug https://github.com/Microsoft/BashOnWindows/issues/1210)
  if test -e /mnt/c/Windows/System32/cmd.exe
		set osname winlinux
	end
  if test "$osname" = darwin
    echo OSX
  else if begin
      test (echo "$osname" | grep -E msys_nt 2>/dev/null)
      or test (echo "$osname" | grep -E mingw32_nt 2>/dev/null)
      or test (echo "$osname" | grep -E mingw64_nt 2>/dev/null)
    end
    echo Win
  else if test "$osname" = linux
    echo Linux
  else if test "$osname" = winlinux
    echo WinLinux
  else
    echo NA
  end
end

{'fraction_non_alphanumeric': 0.1474469305794607, 'fraction_numerical': 0.01835915088927137, 'mean_word_length': 3.1523809523809523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '7290889', 'n_tokens_mistral': 676, 'n_tokens_neox': 624, 'n_words': 222}