<jupyter_start><jupyter_text>Welcome to your assignment! Do the questions and write the answers in the code cells provided below. Here's a bit of setup for you.<jupyter_code>%pylab inline
import numpy as np<jupyter_output><empty_output><jupyter_text>Question 1: Create a 100 x 100 numpy array filled with random floats and assign it to the variable `a`.<jupyter_code># shape is deliberately wrong to demo failing test
a = np.random.uniform(size=(100,99))<jupyter_output><empty_output><jupyter_text>Question 2: multiply all values in `a` by 10 and assign the result to a variable `b`.<jupyter_code>b = a*10<jupyter_output><empty_output><jupyter_text>Question 3: plot `b` as a scatterplot.<jupyter_code>plt.plot(*b, 'o', color='black');<jupyter_output><empty_output><jupyter_text>Question 4: here is some code that should not be changed.<jupyter_code>c = 10<jupyter_output><empty_output><jupyter_text>Question 4: define a variable `d` that is equal to 10 times `c`.<jupyter_code>d = # Syntax error here! Question left blank.<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10076045627376426, 'fraction_numerical': 0.022813688212927757, 'mean_word_length': 7.2265625, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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}}
{'chain_length': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '660335', 'license': 'MIT', 'n_tokens_mistral': 374, 'n_tokens_neox': 349, 'n_words': 112, 'path': 'db/data/autotest_files/jupyter/student_files/submission.ipynb', 'repo_name': 'therealfake/Markus', 'size': '1052'}