<commit_before>//
//  PyroTransactionParameter.swift
//  Pyrobase
//
//  Created by <NAME> on 16/06/2017.
//  Copyright © 2017 Ner. All rights reserved.
//

struct Parameter {
    
    let parentPath: String
    let childKey: String
    let mutator: (Any) -> Any
    let completion: (RequestResult) -> Void
    
    init(parentPath: String, childKey: String, mutator: @escaping (Any) -> Any, completion: @escaping (RequestResult) -> Void) {
        self.parentPath = parentPath
        self.childKey = childKey
        self.mutator = mutator
        self.completion = completion
    }
}<commit_msg>Refactored completion and constructor.<commit_after>//
//  PyroTransactionParameter.swift
//  Pyrobase
//
//  Created by <NAME> on 16/06/2017.
//  Copyright © 2017 Ner. All rights reserved.
//

struct Parameter {
    
    let parentPath: String
    let childKey: String
    let mutator: (Any) -> Any
    let completion: (PyroTransactionResult) -> Void
    
    init(parentPath: String, childKey: String, mutator: @escaping (Any) -> Any, completion: @escaping (PyroTransactionResult) -> Void) {
        self.parentPath = parentPath
        self.childKey = childKey
        self.mutator = mutator
        self.completion = completion
    }
}
{'fraction_non_alphanumeric': 0.11236863379143087, 'fraction_numerical': 0.019401778496362168, 'mean_word_length': 2.6519174041297937, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '7305925', 'n_tokens_mistral': 400, 'n_tokens_neox': 366, 'n_words': 105}