{% extends layout or "body.html" %} {% block content %}
Congratulation {{ data.submit.user_mail | safe }},

you have successfully submitted the {{ data.data_type == 'jet' and 'JET' or 'correlation' | safe }} output report ({{ data.submit.uploaded_fname | safe }}).

{% if data.submit.status_random != 2 %} The zip file {{ data.submit.attachment | safe }}, that you will receive attached to the confirmation email, contains:
The DICE receipt hash is the following:

{{ data.submit.hash | safe }}

{% if data.data_type == 'co2mpas' %}{% if data.submit.status_random == 0 %} The random number is {{ data.submit.random | safe}} for the submitted vehicle family id ({{ data.submit.vehicle_family_id | safe }}). {% elif data.submit.status_random == 1 %} The random number is not present in the DICE Receipt, because the submitted vehicle family id {{ data.submit.vehicle_family_id | safe }} is linked to {{ data.submit.parent_vehicle_family_id | safe }} - i.e., DICE Receipt {{ splitext(data.submit.parent[1])[0] | safe }}.dice. {% elif data.submit.status_random == 3 %} The random number is not present in the DICE Receipt, because the submitted vehicle family id {{ data.submit.vehicle_family_id | safe }} is hybrid. {% elif data.submit.status_random == 4 %} The random number is not present in the DICE Receipt, because you have corrected just the vehicle family id of the previous submission - i.e., DICE Receipt {{ splitext(data.submit.prev_valid[1])[0] | safe }}.dice. {% elif data.submit.status_random == 5 %} The random number is not present in the DICE Receipt, because you have corrected the target NEDC values of the previous submission - i.e., DICE Receipt {{ splitext(data.submit.prev_valid[1])[0] | safe }}.dice. Therefore, a physical NEDC test should be performed. {% elif data.submit.status_random == 6 %} The random number is not present in the DICE Receipt, because you have submitted a wltp-retest = 'a' that is linked to the previous submission - i.e., DICE Receipt {{ splitext(data.submit.prev_valid[1])[0] | safe }}.dice. {% elif data.submit.status_random == 7 %} The random number is not present in the DICE Receipt, because you have submitted a correction that does not change CO2MPAS output in respect to the previous submission - i.e., DICE Receipt {{ splitext(data.submit.prev_valid[1])[0] | safe }}.dice. {% endif %} {% if data.submit.status_random != 3 %} The CO2MPAS deviations are the following:

{{ pd.DataFrame(data.submit.deviations[1:], columns=data.submit.deviations[0]).to_html( index=False, table_id='deviations' ) | safe }}
{% endif %}{% endif %} To validate the DICE Receipt and generate the COMPLETE {{ data.data_type == 'co2mpas' and 'CORRELATION' or 'DICE' | safe }} FILE you have to unzip the attached file (that is sent to you in the confirmation email) and follow the instructions written in the README.rst. {% elif data.submit.status_random == 2 %} Since the vehicle is a bi-fuel, to complete the submission procedure you have to submit a second {{ data.data_type == 'co2mpas' and 'correlation' or 'JET' | safe }} output report with the second fuel type. {% endif %}

{% endblock %}