<commit_before>import XCTest

class TMSession:XCTestCase
{
    
}
<commit_msg>Test loading session<commit_after>import XCTest
@testable import gattaca

class TMSession:XCTestCase
{
    private let kWaitExpectation:TimeInterval = 3
    
    func testLoad()
    {
        let sessionExpectation:XCTestExpectation = expectation(
            description:"session loaded")
        
        let session:MSession = MSession()
        session.load
        {
            sessionExpectation.fulfill()
        }
        
        waitForExpectations(timeout:kWaitExpectation)
        { (error:Error?) in
            
            XCTAssertNotNil(
                session.session,
                "model not loaded")
        }
    }
}

{'fraction_non_alphanumeric': 0.07073509015256588, 'fraction_numerical': 0.0013869625520110957, 'mean_word_length': 1.9469387755102041, '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': '3733125', 'n_tokens_mistral': 205, 'n_tokens_neox': 201, 'n_words': 37}