{% extends "base.html" %} {% block title %}Scenario Lab{% endblock %} {% block content %}
Challenge the assumptions

Scenario Lab

Compare fixed merchandising strategies and observe how different business priorities change product rankings.
{% if weeks %}{% endif %}

Merchandising strategies

Fixed and repeatable presets; rankings change with the uploaded data.

{% for s in scenario_list %}{% set preset = (preset_scenarios | selectattr('name','equalto',s.name) | first) %}
{{ s.name }}Ready to compare
{% if preset %}
{{ preset.description }}
{% endif %}
CVR {{ (s.weights.cvr*100)|int }}% · Stock {{ (s.weights.stock*100)|int }}% · Demand {{ (s.weights.popularity*100)|int }}% · Price {{ (s.weights.price*100)|int }}%
{% else %}
Upload a valid workbook to generate strategy rankings.
{% endfor %}
Largest rank movements first
{% for r in comparison %}{% else %}{% endfor %}
Product{{ compare_a }}{{ compare_b }}Rank changeScore change
{{ r.product_name }}{{ r.rank_a }}{{ r.rank_b }}{{ '+' if r.rank_change > 0 else '' }}{{ r.rank_change }}{{ '%.3f'|format(r.score_change) }}
{% if scenario_list %}Choose two different strategies to compare their rankings.{% else %}Upload data before comparing strategies.{% endif %}
{% endblock %}