<commit_before># -*- coding: utf-8 -*-
##Pyslvs - Open Source Planar Linkage Mechanism Simulation and Dimensional Synthesis System.
##Copyright (C) 2016-2017 <NAME> [<EMAIL>]
from core import (
    ImportTest,
    INFO, args,
    startRep,
    QApplication, MainWindow, Pyslvs_Splash
)

if __name__=='__main__':
    if args.server:
        startRep(args.server)
        exit(0)<commit_msg>Get 'sys.exit' function back, because it will be lost in PyInstaller.<commit_after># -*- coding: utf-8 -*-
##Pyslvs - Open Source Planar Linkage Mechanism Simulation and Dimensional Synthesis System.
##Copyright (C) 2016-2017 <NAME> [<EMAIL>]
from sys import exit
from core import (
    ImportTest,
    INFO, args,
    startRep,
    QApplication, MainWindow, Pyslvs_Splash
)

if __name__=='__main__':
    if args.server:
        startRep(args.server)
        exit(0)
{'fraction_non_alphanumeric': 0.11578947368421053, 'fraction_numerical': 0.023391812865497075, 'mean_word_length': 3.5291005291005293, 'pattern_counts': {'":': 0, '<': 7, '<?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': '458916', 'n_tokens_mistral': 301, 'n_tokens_neox': 273, 'n_words': 83}