<commit_before>$def with (models)

$var title: SmartThings HTM Bridge

<div class="jumbotron">
    <h1>SmartThings HTM Bridge</h1>
    
    <p>This is a <a href="https://github.com/rhyolight/smartthings.htm.bridge">work in progress</a>.</p>

    <p>SmartApps can <code>POST</code> data to this URL to relay it into HTM.</p>
    
</div>  

<p>This web server relays SmartThings data from a SmartApp into an <a href="https://github.com/nupic-community/htm-over-http">HTM HTTP server</a>.</p>

<h3>The following models are active in HTM:</h3>
<ul>

$for item in models:
    <li>
      $item
    </li><commit_msg>Added nav button to see charts<commit_after>$def with (models)

$var title: SmartThings HTM Bridge

<div class="jumbotron">
    <h1>SmartThings HTM Bridge</h1>
    
    <p>This is a <a href="https://github.com/rhyolight/smartthings.htm.bridge">work in progress</a>.</p>

    <p>SmartApps can <code>POST</code> data to this URL to relay it into HTM.</p>
    
    <p><a class="btn btn-primary btn-lg" href="/charts" role="button">See Charts</a></p>

</div>  

<p>This web server relays SmartThings data from a SmartApp into an <a href="https://github.com/nupic-community/htm-over-http">HTM HTTP server</a>.</p>

<h3>The following models are active in HTM:</h3>
<ul>

$for item in models:
    <li>
      $item
    </li>
{'fraction_non_alphanumeric': 0.1569811320754717, 'fraction_numerical': 0.0060377358490566035, 'mean_word_length': 3.556701030927835, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 4, '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': '4699227', 'n_tokens_mistral': 505, 'n_tokens_neox': 481, 'n_words': 137}