<commit_before>//
//  AppDelegate.swift
//  BlenderX
//
//  Created by <NAME> on 8/13/15.
//  Copyright (c) 2015 Majesty Software. All rights reserved.
//

import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {



    func applicationDidFinishLaunching(aNotification: NSNotification) {
        // Insert code here to initialize your application
    }

    func applicationWillTerminate(aNotification: NSNotification) {
        // Insert code here to tear down your application
    }


}
<commit_msg>Exit app when window is closed<commit_after>//
//  AppDelegate.swift
//  BlenderX
//
//  Created by <NAME> on 8/13/15.
//  Copyright (c) 2015 Majesty Software. All rights reserved.
//

import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {



    func applicationDidFinishLaunching(aNotification: NSNotification) {
        // Insert code here to initialize your application
    }

    func applicationWillTerminate(aNotification: NSNotification) {
        // Insert code here to tear down your application
    }

    func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
        return true
    }
}

{'fraction_non_alphanumeric': 0.0829145728643216, 'fraction_numerical': 0.01507537688442211, 'mean_word_length': 3.2077464788732395, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '4707725', 'n_tokens_mistral': 348, 'n_tokens_neox': 313, 'n_words': 100}