<commit_before>import yaml
from time import time as time                   # used in: time_stamp()
from datetime import datetime as datetime       # used in: time_stamp()
import json

__author__ = '<NAME>'


def merge_dict(d1, d2):
    """
    Merge 2 dictionaries together, keeping every element with unique key sequence.
    Relies on recursion.<commit_msg>added list case in merge_dict<commit_after>import yaml
from time import time as time                   # used in: time_stamp()
from datetime import datetime as datetime       # used in: time_stamp()

__author__ = '<NAME>'


def merge_dict(d1, d2):
    """
    Merge 2 dictionaries together, keeping every element with unique key sequence.
    Relies on recursion.
{'fraction_non_alphanumeric': 0.07202216066481995, 'fraction_numerical': 0.008310249307479225, 'mean_word_length': 3.179190751445087, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2832085', 'n_tokens_mistral': 207, 'n_tokens_neox': 192, 'n_words': 83}