{% extends "base.html" %} {% load crispy_forms_tags %} {% load url %} {% block title %} {{ object|yesno:"Update,Create"}} Algorithm {% if request.resolver_match.view_name == 'algorithms:update' %} Settings {% elif request.resolver_match.view_name == 'algorithms:description-update' %} Description {% elif request.resolver_match.view_name == 'evaluation:phase-algorithm-create' %} for Challenge {% endif %}- {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

{{ object|yesno:"Update,Create" }} Algorithm{% if request.resolver_match.view_name == 'algorithms:update' %} Settings {% elif request.resolver_match.view_name == 'algorithms:description-update' %} Description {% elif request.resolver_match.view_name == 'evaluation:phase-algorithm-create' %} for Challenge {% endif %}

{% if request.resolver_match.view_name == 'evaluation:phase-algorithm-create' %} {% if hide_form %} {% if user_algorithm_count < max_num_algorithms %}

Are you sure you want to create a new algorithm?

You have created {{ user_algorithm_count }} out of {{ max_num_algorithms }} possible algorithms for this phase.

{% else %}

You have created the maximum number of allowed algorithms for this phase!

{% endif %}

Instead of creating a new algorithm, you can upload a new container or reactivate an old container version for one of your existing algorithm(s) here:

{% if user_algorithm_count < max_num_algorithms %}

If you are sure that you want to create a new algorithm, confirm by clicking the below button:

Yes, I want to create an entirely new algorithm. {% endif %} {% else %}

You have created {{ user_algorithm_count }} out of {{ max_num_algorithms }} possible algorithms for this phase. Use the below form to create a new algorithm.

Since you can only create a limited number of algorithms, please make the title of your algorithm meaningful and avoid titles that include the words "test", "debug" etc. In principle you will only need to create 1 algorithm for this phase. Once created, you can upload new container images for it as you improve your code and even switch back to older container images as you see fit.

{% crispy form %} {% endif %} {% else %} {% crispy form %} {% endif %} {% endblock %}