<commit_before>---
layout: lab
num: lab04
ready: true
desc: "if/else, nested for loop and if/else logic, ASCII art, tdd"
submit_cs: https://submit.cs.ucsb.edu/form/project/533
---

<div markdown="1">

<h1>CS16: Programming Assignment 04</h1>
<h2>Introduction -- Important: Read this!</h2>
<commit_msg>Update lab04.md<commit_after>---
layout: lab
num: lab04
ready: true
desc: "if/else, nested for loop and if/else logic, ASCII art, tdd"
submit_cs: https://submit.cs.ucsb.edu/form/project/814
---

<div markdown="1">

<h1>CS16: Programming Assignment 04</h1>
<h2>Introduction -- Important: Read this!</h2>

{'fraction_non_alphanumeric': 0.1672185430463576, 'fraction_numerical': 0.04966887417218543, 'mean_word_length': 4.45045045045045, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '5472229', 'n_tokens_mistral': 248, 'n_tokens_neox': 226, 'n_words': 61}