<commit_before><%@ page import="com.github.davidmoten.logan.config.Marshaller" %>
<%@ page import="com.github.davidmoten.logan.servlet.State" %>
<html>
<head>
<title>Configuration</title>
</head>
<body>

<p>Num records = <%= State.instance().getData().getNumEntries() %></p>
<p>Num records added = <%= State.instance().getData().getNumEntriesAdded() %></p>
<p>Oldest record time = <%= State.instance().getData().oldestTime() %></p>
<p>Num files being tailed = <%= State.instance().getWatcher().getNumTailers() %></p>

<form action="/configuration" method="post">
<textarea name="configuration" rows="30" style="width:100%">
<%= new Marshaller().marshal(State.instance().getConfiguration()) %>
</textarea>
<input type="submit" value="Reload"/>
</form>

</body>
</html><commit_msg>add heading<commit_after><%@ page import="com.github.davidmoten.logan.config.Marshaller" %>
<%@ page import="com.github.davidmoten.logan.servlet.State" %>
<html>
<head>
<title>Administration</title>
</head>
<body>
<h3>Administration</h3>

<p>Num records = <%= State.instance().getData().getNumEntries() %></p>
<p>Num records added = <%= State.instance().getData().getNumEntriesAdded() %></p>
<p>Oldest record time = <%= State.instance().getData().oldestTime() %></p>
<p>Num files being tailed = <%= State.instance().getWatcher().getNumTailers() %></p>

<form action="/configuration" method="post">
<textarea name="configuration" rows="30" style="width:100%">
<%= new Marshaller().marshal(State.instance().getConfiguration()) %>
</textarea>
<input type="submit" value="Reload"/>
</form>

</body>
</html>
{'fraction_non_alphanumeric': 0.2333965844402277, 'fraction_numerical': 0.007590132827324478, 'mean_word_length': 6.91, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '6324460', 'n_tokens_mistral': 561, 'n_tokens_neox': 528, 'n_words': 93}