<commit_before><!-- ACCORDION -->
<div class="accordion-group">
    <ul class="vertical menu" data-accordion-menu>
    {% for pathway in site.pathways %}
	    <li class="accordion-group-tab">
	        <a href="{{ pathway.title }}">{{ pathway.title }} </a>
	          <ul class="menu vertical nested">
	  			{% assign sorted = (site.courses | sort: 'number') %}
	  			<!-- Set writeheaderbool = true -->
  				{% assign writeheaderbool = true %}
	  			{% for course in sorted %}
		  			{% if course.pathway-list contains pathway.title and course.number contains 'ART' %}
		  			<!-- Check if writeheaderbool is true -->
			  			{% if writeheaderbool == true %}
				  			<!-- If True -> write href header -->
	          				<li class="accordion-group-tab">
				  			<a href="#">ART Requirements</a>
		            		<ul class="menu vertical nested">
				  			<!-- Set writeheaderbool to false -->
		      				{% assign writeheaderbool = false %}
		  				{% endif %}
		  				<li>
					        <h3><a href="{{ course.bulletin-link }}"> {{ course.number }} </a></h3>
					        <h4> {{ course.title }} </h4>
					        <p> {{ course.description }}</p>
		      			</li>
		  			{% endif %}
	  			{% endfor %}
	  				</ul>
				</li>
				<li class="accordion-group-tab">
          		<a href="#">COMM Requirements</a>
            		<ul class="menu vertical nested">
		  			{% assign sorted = (site.courses | sort: 'number') %}
		  			{% for course in sorted %}
		  			{% if course.pathway-list contains pathway.title and course.number contains 'COMM' %}
		      			<li>
					        <h3><a href="{{ course.bulletin-link }}"> {{ course.number }} </a></h3>
					        <h4> {{ course.title }} </h4>
					        <p> {{ course.description }}</p>
		      			</li>
		  			{% endif %}
		  			{% endfor %}
					</ul>
				</li>
				<li class="accordion-group-tab">
          		<a href="#">IST Requirements</a>
            		<ul class="menu vertical nested">
		  			{% assign sorted = (site.courses | sort: 'number') %}
		  			{% for course in sorted %}
		  			{% if course.pathway-list contains pathway.title and course.number contains 'IST' %}
		      			<li>
					        <h3><a href="{{ course.bulletin-link }}"> {{ course.number }} </a></h3>
					        <h4> {{ course.title }} </h4>
					        <p> {{ course.description }}</p>
		      			</li>
		  			{% endif %}
		  			{% endfor %}
					</ul>
				</li>
			</ul>
		</li>
	{% endfor %}
	</ul>
</div>
<commit_msg>Hides requirements that don’t exist…things seem to be embedding within the first pathway though, and I’m not sure why.<commit_after><!-- ACCORDION -->
<div class="accordion-group">
    <ul class="vertical menu" data-accordion-menu>
    	<!--this stupid part is being stupid... -->
	    <li class="accordion-group-tab">
    	{% for pathway in site.pathways %}
	        <a href="{{ pathway.title }}">{{ pathway.title }} </a>
	          <ul class="menu vertical nested">
	  			{% assign sorted = (site.courses | sort: 'number') %}
	  			<!-- Set writeheaderbool = true -->
  				{% assign writeheaderbool = true %}
	  			{% for course in sorted %}
		  			{% if course.pathway-list contains pathway.title and course.number contains 'ART' %}
		  			<!-- Check if writeheaderbool is true -->
	          		<li class="accordion-group-tab">
			  			{% if writeheaderbool == true %}
				  			<!-- If True -> write href header -->
				  			<a href="#">ART Requirements</a>
		            		<ul class="menu vertical nested">
				  			<!-- Set writeheaderbool to false -->
		      				{% assign writeheaderbool = false %}
		  				{% endif %}
		  				<li>
					        <h3><a href="{{ course.bulletin-link }}"> {{ course.number }} </a></h3>
					        <h4> {{ course.title }} </h4>
					        <p> {{ course.description }}</p>
		      			</li>
		  			{% endif %}
	  			{% endfor %}
	  			{% if writeheadbool == true %}
	  				</ul>
					</li>
				{% endif %}
	  			<!-- Set writeheaderbool = true -->
  				{% assign writeheaderbool = true %}
	  			{% for course in sorted %}
		  			{% if course.pathway-list contains pathway.title and course.number contains 'COMM' %}
		  			<!-- Check if writeheaderbool is true -->
	          				<li class="accordion-group-tab">
			  			{% if writeheaderbool == true %}
				  			<!-- If True -> write href header -->
				  			<a href="#">COMM Requirements</a>
		            		<ul class="menu vertical nested">
				  			<!-- Set writeheaderbool to false -->
		      				{% assign writeheaderbool = false %}
		  				{% endif %}
		  				<li>
					        <h3><a href="{{ course.bulletin-link }}"> {{ course.number }} </a></h3>
					        <h4> {{ course.title }} </h4>
					        <p> {{ course.description }}</p>
		      			</li>
		  			{% endif %}
	  			{% endfor %}
	  			{% if writeheadbool == true %}
	  				</ul>
					</li>
				{% endif %}
	  			<!-- Set writeheaderbool = true -->
  				{% assign writeheaderbool = true %}
	  			{% for course in sorted %}
		  			{% if course.pathway-list contains pathway.title and course.number contains 'IST' %}
		  			<!-- Check if writeheaderbool is true -->
	          				<li class="accordion-group-tab">
			  			{% if writeheaderbool == true %}
				  			<!-- If True -> write href header -->
				  			<a href="#">IST Requirements</a>
		            		<ul class="menu vertical nested">
				  			<!-- Set writeheaderbool to false -->
		      				{% assign writeheaderbool = false %}
		  				{% endif %}
		  				<li>
					        <h3><a href="{{ course.bulletin-link }}"> {{ course.number }} </a></h3>
					        <h4> {{ course.title }} </h4>
					        <p> {{ course.description }}</p>
		      			</li>
		  			{% endif %}
	  			{% endfor %}
	  			{% if writeheadbool == true %}
	  				</ul>
					</li>
				{% endif %}
			</ul>
		{% endfor %}
		</li>
	</ul>
</div>

{'fraction_non_alphanumeric': 0.17834944751381215, 'fraction_numerical': 0.004143646408839779, 'mean_word_length': 1.7704447632711622, 'pattern_counts': {'":': 0, '<': 138, '<?xml version=': 0, '>': 142, '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': '1977565', 'n_tokens_mistral': 2399, 'n_tokens_neox': 1804, 'n_words': 448}