<commit_before><a name="s-[% server.ip %]"></a>
<span id="server_[% server.id %]">
<form method="post" action="/manage/server/update/server">

[% IF server.hostname %]Hostname: <b>[% server.hostname | html %]</b><br />[% END %]
IP: <b>[% server.ip | html %]</b><br />
[% IF server.deletion_on %]
This server is <span class="deletion">scheduled for deletion</span>
on [% server.deletion_on.strftime("%B %d, %Y") %].
<br/>
[% END %]
Current score: <b>[% server.score %]</b><br />
[% IF server.stratum %]Stratum: <b>[% server.stratum %]</b><br/>[% END %]

Zones:
<span id="zones_[% server.id %]">
[% FOR zone = server.zones_display %]
<a href="[% zone.url %]">[% zone.name %]</a>
[% END  %]
</span>
<br />

<input type="hidden" name="server" value="[% server.id %]">
<input type="hidden" name="noscript" value="1">

<a href="#netspeed">Net speed</a>:
<span  id="netspeed_[% server.id %]">[% server.netspeed_human %]
</span>
<!-- <img id="netspeed_checkmark_[% server.id %]" src="/images/checkmark.png" style="visibility:hidden;" > -->
 | 
<select name="netspeed" onchange="update_netspeed('[% server.id %]', this.value); return false;">
<option value="">Set connection speed</option>
[% FOR speed = [256, 512, 768, 1000, 1500, 3000, 10000, 25000, 50000, 100000, 1000000] %]
<option value="[% speed %]">[% combust.netspeed_human(speed) %]</option>
[%- END %]
</select>
<noscript>
<input type="submit" name="Update" value="Update">
</noscript>

[% IF server.deletion_on %]
<input type="submit" name="Delete" value="Cancel Deletion">
[% ELSE %]
<input type="submit" name="Delete" value="Delete">
[% END %]


<br/>

<a href="/scores/[% server.ip | uri %]">Trend</a>: <img src="/scores/[% server.ip %]/spark" /><br/>
<br />

</form>
</span><commit_msg>only show server trend line for IPv4 servers<commit_after><a name="s-[% server.ip %]"></a>
<span id="server_[% server.id %]">
<form method="post" action="/manage/server/update/server">

[% IF server.hostname %]Hostname: <b>[% server.hostname | html %]</b><br />[% END %]
IP: <b>[% server.ip | html %]</b><br />
[% IF server.deletion_on %]
This server is <span class="deletion">scheduled for deletion</span>
on [% server.deletion_on.strftime("%B %d, %Y") %].
<br/>
[% END %]
Current score: <b>[% server.score %]</b><br />
[% IF server.stratum %]Stratum: <b>[% server.stratum %]</b><br/>[% END %]

Zones:
<span id="zones_[% server.id %]">
[% FOR zone = server.zones_display %]
<a href="[% zone.url %]">[% zone.name %]</a>
[% END  %]
</span>
<br />

<input type="hidden" name="server" value="[% server.id %]">
<input type="hidden" name="noscript" value="1">

<a href="#netspeed">Net speed</a>:
<span  id="netspeed_[% server.id %]">[% server.netspeed_human %]
</span>
<!-- <img id="netspeed_checkmark_[% server.id %]" src="/images/checkmark.png" style="visibility:hidden;" > -->
 | 
<select name="netspeed" onchange="update_netspeed('[% server.id %]', this.value); return false;">
<option value="">Set connection speed</option>
[% FOR speed = [256, 512, 768, 1000, 1500, 3000, 10000, 25000, 50000, 100000, 1000000] %]
<option value="[% speed %]">[% combust.netspeed_human(speed) %]</option>
[%- END %]
</select>
<noscript>
<input type="submit" name="Update" value="Update">
</noscript>

[% IF server.deletion_on %]
<input type="submit" name="Delete" value="Cancel Deletion">
[% ELSE %]
<input type="submit" name="Delete" value="Delete">
[% END %]


<br/>
[% IF server.ip_version == 'v4' %]
  <a href="/scores/[% server.ip | uri %]">Trend</a>: <img src="/scores/[% server.ip %]/spark" /><br/>
  <br />
[% END %]

</form>
</span>
{'fraction_non_alphanumeric': 0.25539669189795344, 'fraction_numerical': 0.028595458368376788, 'mean_word_length': 5.1200686106346485, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, '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': '3380157', 'n_tokens_mistral': 1524, 'n_tokens_neox': 1376, 'n_words': 312}