<commit_before>//
//  XCTestCase+KIFTester.swift
//  GoCubsKIFTests
//
//  Created by <NAME> on 10/13/15.
//  Copyright © 2015 Designated Nerd Software. All rights reserved.
//

import KIF

extension XCTestCase {
    func tester(_ file: StaticString = #file, _ line: UInt = #line) -> KIFUITestActor {
        return KIFUITestActor(inFile: String(describing: file), atLine: Int(line), delegate: self)
    }
    
    func system(_ file: StaticString = #file, _ line: UInt = #line) -> KIFSystemTestActor {
        return KIFSystemTestActor(inFile: String(describing: file), atLine: Int(line), delegate: self)
    }
}

extension KIFTestActor {
    func tester(_ file: StaticString = #file, _ line: UInt = #line) -> KIFUITestActor {
        return KIFUITestActor(inFile: String(describing: file), atLine: Int(line), delegate: self)
    }
    
    func system(_ file: StaticString = #file, _ line: UInt = #line) -> KIFSystemTestActor {
        return KIFSystemTestActor(inFile: String(describing: file), atLine: Int(line), delegate: self)
    }
}

extension KIFUITestActor {
    
    @discardableResult
    func waitForView(withAccessibilityIdentifier accessibilityIdentifier: String, tappable: Bool = false) -> UIView? {
        var view: UIView? = nil

        let waitStart = Date()
        
        self.wait(for: nil,
            view: &view,
            withIdentifier: accessibilityIdentifier,
            tappable: tappable)
        
        NSLog("Waited \(-waitStart.timeIntervalSinceNow) seconds")
        return view;
    }
}

<commit_msg>remove log<commit_after>//
//  XCTestCase+KIFTester.swift
//  GoCubsKIFTests
//
//  Created by <NAME> on 10/13/15.
//  Copyright © 2015 Designated Nerd Software. All rights reserved.
//

import KIF

extension XCTestCase {
    func tester(_ file: StaticString = #file, _ line: UInt = #line) -> KIFUITestActor {
        return KIFUITestActor(inFile: String(describing: file), atLine: Int(line), delegate: self)
    }
    
    func system(_ file: StaticString = #file, _ line: UInt = #line) -> KIFSystemTestActor {
        return KIFSystemTestActor(inFile: String(describing: file), atLine: Int(line), delegate: self)
    }
}

extension KIFTestActor {
    func tester(_ file: StaticString = #file, _ line: UInt = #line) -> KIFUITestActor {
        return KIFUITestActor(inFile: String(describing: file), atLine: Int(line), delegate: self)
    }
    
    func system(_ file: StaticString = #file, _ line: UInt = #line) -> KIFSystemTestActor {
        return KIFSystemTestActor(inFile: String(describing: file), atLine: Int(line), delegate: self)
    }
}

extension KIFUITestActor {
    
    @discardableResult
    func waitForView(withAccessibilityIdentifier accessibilityIdentifier: String, tappable: Bool = false) -> UIView? {
        var view: UIView? = nil
        self.wait(for: nil,
            view: &view,
            withIdentifier: accessibilityIdentifier,
            tappable: tappable)
        return view;
    }
}


{'fraction_non_alphanumeric': 0.11178451178451178, 'fraction_numerical': 0.006734006734006734, 'mean_word_length': 3.053206002728513, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '2637193', 'n_tokens_mistral': 984, 'n_tokens_neox': 925, 'n_words': 239}