<commit_before>import numpy as np
import matplotlib.pyplot as pl

x = np.zeros(500)
y = np.zeros(500)
intensity = np.array(np.zeros(3))

np.zip(x, y, intensity)

# TODO: Add code<commit_msg>Simple cratering code working<commit_after>import numpy as np
import matplotlib.pyplot as pl

image = np.zeros([500, 500, 4])

def simImpacts(time):
    """"""
    time = int(time/1000)
    x = []
    y = []
    for i in range(time):
        x.append(np.random.rand()*500)
        y.append(np.random.rand()*500)
    return np.array(x), np.array(y)

impactx, impacty = simImpacts(4e6)

for i in range(len(impactx)):
    image[impactx[i]][impacty[i]][0] = 0.5
    image[impactx[i]][impacty[i]][1] = 0.5
    image[impactx[i]][impacty[i]][2] = 0.5
    image[impactx[i]][impacty[i]][3] = 1

pl.imshow(image)
pl.show()
{'fraction_non_alphanumeric': 0.18079800498753118, 'fraction_numerical': 0.046134663341645885, 'mean_word_length': 3.7797619047619047, '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': '1734669', 'n_tokens_mistral': 366, 'n_tokens_neox': 333, 'n_words': 66}