{% extends "base.html" %} {% block title %}Dataset {{ dataset_num }} - IceProd{% end %} {% block description %}{{ dataset["description"] }}{% end %} {% block sidebar %}

Submit New Dataset

Submit Dataset like Current

{% end %} {% block page_title %}Dataset {{ dataset_num }} Details{% end %} {% block body %}
View Config Edit Config

Settings

{% for k in dataset %} {% end %}
{{ k }} {% if (k == "priority") %} {% if (current_user) %}
{% raw xsrf_form_html() %}
{% else %}{{ dataset[k] }}{% end %} {% else %}{{ dataset[k] }}{% end %}
{% if (current_user) %} {% set action_url = f'/dataset/{url_escape(dataset_id)}/actions' %}
{% if dataset.get('status') == 'obsolete' %} {% module ActionForm(url=action_url, action='suspend', label='Restore', confirm_msg='Restore this dataset? It will be set to suspended.') %} {% else %} {% module ActionForm(url=action_url, action='reset', label='Reset', confirm_msg='Reset all incomplete jobs and tasks in this dataset? Running tasks will be restarted.') %} {% module ActionForm(url=action_url, action='hard_reset', label='Hard Reset', confirm_msg='Hard reset all jobs and tasks in this dataset?') %} {% module ActionForm(url=action_url, action='suspend', label='Suspend', confirm_msg='Suspend this dataset?') %} {% module ActionForm(url=action_url, action='truncate', label='Truncate', confirm_msg='Truncate this dataset?') %} {% module ActionForm(url=action_url, action='obsolete', label='Mark Obsolete', confirm_msg='Mark this dataset obsolete? Running jobs and tasks will be suspended, and it will be hidden from the dataset list.') %} {% end %} {% module ActionForm(url=action_url, action='delete_logs', label='Delete Logs', confirm_msg='Delete all logs for this dataset? This cannot be undone.') %}
{% end %}

Jobs

{% for s in jobs %}
{{ s }}
{{ jobs[s] }}
{% end %}

Tasks

{% for s in tasks %}
{{ s }}
{{ tasks[s] }}
{% end %}

Task Status by Task Name

{% if task_info %} {% for key in list(task_info.values())[0] %} {% end %} {% for t in task_info %} {% for value in task_info[t].values() %} {% end %} {% end %}
{{ key.capitalize() }}
{{ value }}
{% end %}

Completion Statistics

{% for t in task_stats %} {% if 'avg_hrs' in task_stats[t] and task_stats[t]['avg_hrs'] is not None and 'stddev_hrs' in task_stats[t] and task_stats[t]['stddev_hrs'] is not None %} {% end %} {% end %}
Name Avg/stddev (hours) Max/min (hours) Eff
{{ t }} {{ '{:0.2f}'.format(task_stats[t]['avg_hrs']) }} / {{ '{:0.2f}'.format(task_stats[t]['stddev_hrs']) }} {{ '{:0.2f}'.format(task_stats[t]['max_hrs']) }} / {{ '{:0.2f}'.format(task_stats[t]['min_hrs']) }} {{ '{:d}'.format(int(task_stats[t]['efficiency']*100)) }}%
{% end %}