<commit_before>//
//  URLSessionRequestExecutor.swift
//  Pods
//
//  Created by Admin on 10/11/2016.
//
//

import UIKit


public class USRExecutor :NSObject,RequestExecutor, URLSessionDelegate {
    
    
    var tasks: [URLSessionDataTask] = [URLSessionDataTask]()
    var taskIdByRequestID: [String:Int] = [String:Int]()
    
    enum ResponseError: Error {
        case emptyOrIncorrectURL
        case inCorrectJSONBody
        
    }
    
    static let shared = USRExecutor()
    
    public func send(request r:Request){
        <commit_msg>expose 'shared' of usrExecuter<commit_after>//
//  URLSessionRequestExecutor.swift
//  Pods
//
//  Created by Admin on 10/11/2016.
//
//

import UIKit


public class USRExecutor :NSObject,RequestExecutor, URLSessionDelegate {
    
    
    var tasks: [URLSessionDataTask] = [URLSessionDataTask]()
    var taskIdByRequestID: [String:Int] = [String:Int]()
    
    enum ResponseError: Error {
        case emptyOrIncorrectURL
        case inCorrectJSONBody
        
    }
    
    public static let shared = USRExecutor()
    
    public func send(request r:Request){
        
{'fraction_non_alphanumeric': 0.09608540925266904, 'fraction_numerical': 0.014234875444839857, 'mean_word_length': 2.548895899053628, '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': '1861957', 'n_tokens_mistral': 369, 'n_tokens_neox': 348, 'n_words': 80}