<commit_before><c:forEach items="${results.records}" var="record" varStatus="i">
    <li class="record highlightCorresponding h${record.id}" data-id="row${b.index}.h${record.id}">
        <h2>Record ${i.index + results.pageInfo.recordStart}</h2>
        <div class="details">
            <c:forEach items="${record.allMeta}" var="entry">
                <c:if test="${!(fn:startsWith(entry.value, '[{') || fn:startsWith(entry.value, '{'))}">
                  <div class="keyValue"><span class="key">${entry.key}</span>:
                      <span class="value">${entry.value }</span></div>
                </c:if>
                <c:if test="${fn:startsWith(entry.value, '[{') || fn:startsWith(entry.value, '[{')}">
                    <div class="keyValue"><span class="key">${entry.key}</span>:
                        <span class="value reformatJson">${entry.value }</span></div>
                </c:if>
            </c:forEach>
            <c:forEach items="${record.allMeta}" var="entry">
                <c:if test="${fn:contains(entry.key, 'image') or fn:endsWith(fn:toLowerCase(entry.value), '.jpg') or fn:endsWith(fn:toLowerCase(entry.value), '.jpeg') or fn:endsWith(fn:toLowerCase(entry.value), '.png') or fn:endsWith(fn:toLowerCase(entry.value), '.gif')}">
                    ${entry.key}:
                    <img style="display: inline-block; max-width: 200px; max-height: 200px; margin: 5px;" src="${entry.value}"/>
                </c:if>
            </c:forEach>
        </div>
    </li>
</c:forEach><commit_msg>Incorporated Olya's changes to display nested attributes up to 5 levels<commit_after><c:forEach items="${results.records}" var="record" varStatus="i">
    <li class="record highlightCorresponding h${record.id}" data-id="row${b.index}.h${record.id}">
        <h2>Record ${i.index + results.pageInfo.recordStart}</h2>
        <div class="details">
        	<ul>
		<c:forEach items="${record.allMeta}" var="entry"> 
			<c:if test="${!(fn:startsWith(entry.value, '[{') || fn:startsWith(entry.value, '{'))}">
				<li><b>${entry.key}:</b> ${entry.value}</li>	
			</c:if>
			<c:if test="${fn:startsWith(entry.value, '[{') || fn:startsWith(entry.value, '[{')}">
				<li><b>${entry.key}:</b> ${entry.value }</li>
			</c:if>
			<c:if test="${fn:startsWith(entry.value, '{')}">
				<ul>
				<c:forEach items="${entry.value}" var="entry2">
					<c:if test="${!(fn:startsWith(entry2.value, '[{') || fn:startsWith(entry2.value, '{'))}">
						<li><b>${entry.key}.${entry2.key}:</b> ${entry2.value}</li>
					</c:if>
					<c:if test="${fn:startsWith(entry2.value, '{')}">
						<ul>
						<c:forEach items="${entry2.value}" var="entry3">
							<c:if test="${!(fn:startsWith(entry3.value, '[{') || fn:startsWith(entry3.value, '{'))}">
								<li><b>${entry.key}.${entry2.key}.${entry3.key}:</b> ${entry3.value}</li>
							</c:if>						
							<c:if test="${fn:startsWith(entry3.value, '{') || fn:startsWith(entry3.value, '[{') }">
								<ul>
								<c:forEach items="${entry3.value}" var="entry4">
									<c:if test="${fn:startsWith(entry4, '{') || fn:startsWith(entry4, '[{') }">
										<c:forEach items="${entry4}" var="entry5">
											<li><b>${entry.key}.${entry2.key}.${entry3.key}.${entry5.key}:</b> ${entry5.value}</li>
										</c:forEach>										
									</c:if>
									<c:if test="${!(fn:startsWith(entry4, '[{') || fn:startsWith(entry4, '{'))}">
										<li><b>${entry.key}.${entry2.key}.${entry3.key}.${entry4.key}:</b> ${entry4}</li>				
									</c:if>
								</c:forEach>
								</ul>
							</c:if>
						</c:forEach>
						</ul>
				
					</c:if>
				</c:forEach>
				</ul>
			</c:if>
		</c:forEach>
		<c:forEach items="${record.allMeta}" var="entry">
			<c:if test="${fn:contains(entry.key, 'image') or fn:endsWith(fn:toLowerCase(entry.value), '.jpg') or fn:endsWith(fn:toLowerCase(entry.value), '.jpeg') or fn:endsWith(fn:toLowerCase(entry.value), '.png') or fn:endsWith(fn:toLowerCase(entry.value), '.gif')}">
				${entry.key}:
				<img style="display: inline-block; max-width: 200px; max-height: 200px; margin: 5px;" src="${entry.value}"/>
			</c:if>
		</c:forEach>
		</ul>
        </div>
    </li>
</c:forEach>

{'fraction_non_alphanumeric': 0.25035936751317683, 'fraction_numerical': 0.011978917105893628, 'mean_word_length': 3.081133919843597, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '1872285', 'n_tokens_mistral': 1723, 'n_tokens_neox': 1492, 'n_words': 205}