<commit_before>
import Foundation
import CoreData

extension NSManagedObjectContext {

    public var childBackgroundContext: NSManagedObjectContext {
        
        get {
        
            let childContext = NSManagedObjectContext(concurrencyType: NSManagedObjectContextConcurrencyType.privateQueueConcurrencyType)
        
            childContext.parent = self
        
            return childContext
        }
    }
}<commit_msg>Add automatically merge to parent context for child context<commit_after>
import Foundation
import CoreData

extension NSManagedObjectContext {

    public var childBackgroundContext: NSManagedObjectContext {
        
        get {
        
            let childContext = NSManagedObjectContext(concurrencyType: NSManagedObjectContextConcurrencyType.privateQueueConcurrencyType)
        
            childContext.parent = self
            childContext.automaticallyMergesChangesFromParent = true

            return childContext
        }
    }
}
{'fraction_non_alphanumeric': 0.03654822335025381, 'fraction_numerical': 0.0, 'mean_word_length': 2.6383763837638377, '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': '6078796', 'n_tokens_mistral': 220, 'n_tokens_neox': 216, 'n_words': 50}