<commit_before>.fileIconImage(@fileType: '', @extension: 'svg') {
  background-image: url('atom://xatom/icons/@{fileType}.@{extension}'),
                    url("atom://xatom/icons/file.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0!important;
}

.fileIconContainer(@width, @height) {
  font-family: initial;
  content: ' '!important;
  vertical-align: baseline;
  width: @width;
  height: @height!important;
  top: (100%-@height)/2;
  bottom: (100%-@height)/2;
  margin-left: -(@width + 4px);
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.fileIconFromExtension(@extension: '', @fileType: 'type/@{extension}') {
  &[data-name$='.@{extension}']::before {
    .fileIconImage(@fileType);
  }
}

.fileIcon (@width: 20px, @height: 84%) {
  position: relative;
  padding-left: (@width + 4px)!important;
  &::before {
    .fileIconContainer(@width, @height);
    // -webkit-filter: grayscale(80%);
  }
  &.icon-file-directory::before {
    background-image: url("atom://xatom/icons/folder.svg");
  }
  &.icon-repo::before {
    background-image: url("atom://xatom/icons/project.svg");
  }
  &.icon-tools::before {
    background-image: url("atom://xatom/icons/settings.svg");
  }
  &.icon-file-text::before {
    .fileIconImage('type/text');
  }
  &.icon-file-media::before {
    .fileIconImage('type/media');
  }
  // Media Files
  .fileIconFromExtension('png', 'type/media');
  .fileIconFromExtension('jpg', 'type/media');
  .fileIconFromExtension('jpeg', 'type/media');
  .fileIconFromExtension('svg', 'type/media');
  // Archive Files
  .fileIconFromExtension('zip', 'archive');
  .fileIconFromExtension('rar', 'archive');
  .fileIconFromExtension('tar', 'archive');
  .fileIconFromExtension('bz2', 'archive');
  .fileIconFromExtension('tb2', 'archive');
  .fileIconFromExtension('tbz', 'archive');
  .fileIconFromExtension('tbz2', 'archive');
  .fileIconFromExtension('gz', 'archive');
  .fileIconFromExtension('tgz', 'archive');
  .fileIconFromExtension('lz', 'archive');
  .fileIconFromExtension('lzma', 'archive');
  .fileIconFromExtension('tlz', 'archive');
  .fileIconFromExtension('xz', 'archive');
  .fileIconFromExtension('txz', 'archive');
  .fileIconFromExtension('z', 'archive');
  .fileIconFromExtension('tz', 'archive');
  // Script Files
  .fileIconFromExtension('md', 'type/markdown');
  .fileIconFromExtension('swift');
  .fileIconFromExtension('rb', 'type/ruby');
  .fileIconFromExtension('py', 'type/python');
  .fileIconFromExtension('go', 'type/gopher');
  .fileIconFromExtension('java');
  .fileIconFromExtension('pdf');
  .fileIconFromExtension('html');
  .fileIconFromExtension('jade');
  .fileIconFromExtension('pug', 'type/jade');
  .fileIconFromExtension('css');
  .fileIconFromExtension('less');
  .fileIconFromExtension('sass');
  .fileIconFromExtension('scss', 'type/sass');
  .fileIconFromExtension('styl', 'type/stylus');
  .fileIconFromExtension('php');
  .fileIconFromExtension('json');
  .fileIconFromExtension('sketch');
  .fileIconFromExtension('coffee', 'type/coffeescript');
  .fileIconFromExtension('cson', 'type/coffeescript');
  .fileIconFromExtension('js', 'type/javascript');
  .fileIconFromExtension('ts', 'type/typescript');
}
<commit_msg>fix: remap files<commit_after>.fileIconImage(@fileType: '', @extension: 'svg') {
  background-image: url('atom://xatom-ui/icons/@{fileType}.@{extension}'),
                    url("atom://xatom-ui/icons/file.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0!important;
}

.fileIconContainer(@width, @height) {
  font-family: initial;
  content: ' '!important;
  vertical-align: baseline;
  width: @width;
  height: @height!important;
  top: (100%-@height)/2;
  bottom: (100%-@height)/2;
  margin-left: -(@width + 4px);
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.fileIconFromExtension(@extension: '', @fileType: 'type/@{extension}') {
  &[data-name$='.@{extension}']::before {
    .fileIconImage(@fileType);
  }
}

.fileIcon (@width: 20px, @height: 84%) {
  position: relative;
  padding-left: (@width + 4px)!important;
  &::before {
    .fileIconContainer(@width, @height);
    // -webkit-filter: grayscale(80%);
  }
  &.icon-file-directory::before {
    background-image: url("atom://xatom-ui/icons/folder.svg");
  }
  &.icon-repo::before {
    background-image: url("atom://xatom-ui/icons/project.svg");
  }
  &.icon-tools::before {
    background-image: url("atom://xatom-ui/icons/settings.svg");
  }
  &.icon-file-text::before {
    .fileIconImage('type/text');
  }
  &.icon-file-media::before {
    .fileIconImage('type/media');
  }
  // Media Files
  .fileIconFromExtension('png', 'type/media');
  .fileIconFromExtension('jpg', 'type/media');
  .fileIconFromExtension('jpeg', 'type/media');
  .fileIconFromExtension('svg', 'type/media');
  // Archive Files
  .fileIconFromExtension('zip', 'archive');
  .fileIconFromExtension('rar', 'archive');
  .fileIconFromExtension('tar', 'archive');
  .fileIconFromExtension('bz2', 'archive');
  .fileIconFromExtension('tb2', 'archive');
  .fileIconFromExtension('tbz', 'archive');
  .fileIconFromExtension('tbz2', 'archive');
  .fileIconFromExtension('gz', 'archive');
  .fileIconFromExtension('tgz', 'archive');
  .fileIconFromExtension('lz', 'archive');
  .fileIconFromExtension('lzma', 'archive');
  .fileIconFromExtension('tlz', 'archive');
  .fileIconFromExtension('xz', 'archive');
  .fileIconFromExtension('txz', 'archive');
  .fileIconFromExtension('z', 'archive');
  .fileIconFromExtension('tz', 'archive');
  // Script Files
  .fileIconFromExtension('md', 'type/markdown');
  .fileIconFromExtension('swift');
  .fileIconFromExtension('rb', 'type/ruby');
  .fileIconFromExtension('py', 'type/python');
  .fileIconFromExtension('go', 'type/gopher');
  .fileIconFromExtension('java');
  .fileIconFromExtension('pdf');
  .fileIconFromExtension('html');
  .fileIconFromExtension('jade');
  .fileIconFromExtension('pug', 'type/jade');
  .fileIconFromExtension('css');
  .fileIconFromExtension('less');
  .fileIconFromExtension('sass');
  .fileIconFromExtension('scss', 'type/sass');
  .fileIconFromExtension('styl', 'type/stylus');
  .fileIconFromExtension('php');
  .fileIconFromExtension('json');
  .fileIconFromExtension('sketch');
  .fileIconFromExtension('coffee', 'type/coffeescript');
  .fileIconFromExtension('cson', 'type/coffeescript');
  .fileIconFromExtension('js', 'type/javascript');
  .fileIconFromExtension('ts', 'type/typescript');
}

{'fraction_non_alphanumeric': 0.1988619347109913, 'fraction_numerical': 0.005989817310572028, 'mean_word_length': 5.184259259259259, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6774522', 'n_tokens_mistral': 2257, 'n_tokens_neox': 2200, 'n_words': 310}