{% extends "base.html" %}{% from "_macros.html" import csrf, flash, page_head %} {% block title %}Lab{% endblock %} {% block content %} {% include "_lab_nav.html" %} {{ page_head("Lab", "Test the model and the trading strategies before money is at risk. Everything here prices with a hard as-of cutoff (no future data); forecasts launched here are scenarios and only change live prices when promoted.") }} {{ flash(msg) }}
  1. Run a job: a strategy sweep replays a season on recorded prices; a backtest scores the model against results.
  2. Jobs shows it running and when it's done.
  3. Edge Finder (below) compares the saved sweeps weekend by weekend.
{% if is_demo(user) %}

Demo sessions can compare saved runs and change Edge Finder selections for this session; launching jobs is off.

{% endif %} {% if brier and brier.win and brier.grid %}
F1 model vs grid-only (win, after quali)
{{ "%+.4f"|format(brier.win - brier.grid) }}
Brier difference, lower is better
{% endif %}
{% include "lab_edge.html" %}
{# The other sections load on demand: each box fetches /lab/section/ the first time it is opened (app.js fires its "open" event; the jobs box reloads on every open, since whose jobs it shows is a browser setting). #}
{% for key, label in sections %}{% endfor %}
{% for key, label in sections %} {% endfor %}
{% endblock %}