<commit_before># Pad an Array

# I worked on this challenge <NAME>

# I spent 2.5 hours on this challenge.


# Complete each step below according to the challenge directions and
# include it in this file. Also make sure everything that isn't code
# is commented in the file.



# 0. Pseudocode

# What is the input?
# array: given group of values
# min_size: minimum amount of values in list
# value = nil: if length of array is less than minimum, add value to array until it reaches minimum

# What is the output? (i.e. What should the code return?)
# pad! returns a new list, which will either be the input array (if it's longer than input min_size),
# or the input array with input value added until it reaches min_size

# pad print out the same output as above, but does not permanently modify any of the inputs

# What are the steps needed to solve the problem?

# 2 scenarios:
# 1. length of array < min_size
# add value as new element of array
# repeat this process until length = min_size
# 2. length >= min_size
# return array

<commit_msg>Update reflection<commit_after># Pad an Array

# I worked on this challenge <NAME>

# I spent 3 hours on this challenge.


# Complete each step below according to the challenge directions and
# include it in this file. Also make sure everything that isn't code
# is commented in the file.



# 0. Pseudocode

# What is the input?
# array: given group of values
# min_size: minimum amount of values in list
# value = nil: if length of array is less than minimum, add value to array until it reaches minimum

# What is the output? (i.e. What should the code return?)
# pad! returns a new list, which will either be the input array (if it's longer than input min_size),
# or the input array with input value added until it reaches min_size

# pad print out the same output as above, but does not permanently modify any of the inputs

# What are the steps needed to solve the problem?

# 2 scenarios:
# 1. length of array < min_size
# add value as new element of array
# repeat this process until length = min_size
# 2. length >= min_size
# return array


{'fraction_non_alphanumeric': 0.056666666666666664, 'fraction_numerical': 0.005238095238095238, 'mean_word_length': 3.807780320366133, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6252161', 'n_tokens_mistral': 584, 'n_tokens_neox': 558, 'n_words': 343}