<commit_before>#!/usr/bin/env python

import os
import subprocess
import sys


SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))


def main():
  if sys.platform == 'darwin':
    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'Atom.app',
                              'Contents', 'MacOS', 'Atom')
  else:
    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom.exe')

  subprocess.check_call([atom_shell, os.path.join(SOURCE_ROOT, 'spec')])


if __name__ == '__main__':
  sys.exit(main())<commit_msg>[Win] Pass relative path in the test script.<commit_after>#!/usr/bin/env python

import os
import subprocess
import sys


SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))


def main():
  os.chdir(SOURCE_ROOT)

  if sys.platform == 'darwin':
    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'Atom.app',
                              'Contents', 'MacOS', 'Atom')
  else:
    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom.exe')

  subprocess.check_call([atom_shell, 'spec'])


if __name__ == '__main__':
  sys.exit(main())
{'fraction_non_alphanumeric': 0.16862037871956717, 'fraction_numerical': 0.0, 'mean_word_length': 3.6443514644351462, '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': '4773672', 'n_tokens_mistral': 407, 'n_tokens_neox': 392, 'n_words': 78}