{% extends "base.html" %}
{% block title %}factory funnel{% endblock %}
{% block body %}
{% if c %}
<p>cycle <b>{{ c.cycle_id }}</b> · global hypotheses tested: <b>{{ c.global_trials }}</b></p>
<table><thead><tr><th>stage</th><th>count</th></tr></thead><tbody>
  <tr><td>proposed</td><td>{{ c.proposed }}</td></tr>
  <tr><td>tested</td><td>{{ c.tested }}</td></tr>
  <tr><td>gauntlet-survived</td><td>{{ c.survived }}</td></tr>
  <tr><td>forward</td><td>{{ c.forward }}</td></tr>
  <tr><td>deployed</td><td>{{ c.deployed }}</td></tr>
  <tr><td>retired</td><td>{{ c.retired }}</td></tr>
</tbody></table>
<h3>deployed book — HRP weights</h3>
<table><thead><tr><th>sleeve</th><th>weight</th></tr></thead><tbody>
{% for a in alloc %}<tr><td>{{ a.strategy_id }}</td><td>{{ '%.1f'|format(100*a.weight) }}%</td></tr>{% endfor %}
</tbody></table>
{% else %}<p class="muted">no factory cycle recorded yet</p>{% endif %}
{% endblock %}
