<commit_before>{% extends "_base_lsst.html" %}
{% load url from future %}

{% block page_title %} {{ viewParams.MON_VO }} PanDA jobs{% endblock %}
{% block title %} <a href="{% url 'index' %}">{{ viewParams.MON_VO }} PanDA monitor</a>{% endblock %}
{% block subtitle %}PanDA {{view}} dashboard{{ viewParams.selection }}
{% endblock %}
{% block body %}

{{ viewParams.header }}

{% if viewParams.MON_VO != 'ATLAS' %}

<table width=800><tr><td>
This page summarizes recent job status for VOs, clouds and sites. Click on the numbers to see job listings.
Failure rates above {{ errthreshold }}% are shown in red.
Click the cloud name in the overall summary to go to the cloud's site summary.
Click the job counts to go to job listings.
</tr></td></table>
<p>

<div class='section'>VO / Cloud / Site summary</div>
{% else %}

{% if view == 'analysis' %}
<div class='section'>Analysis jobs</div>
{% elif view == 'production' %}
<div class='section'>Production jobs</div>
{% else %}
<div class='section'>All jobs</div>
{% endif %}

{% if view != 'analysis' %}

{% if cloudview == 'region' %}

<table width=800><tr><td>
<b>Region view</b><br>
This view associates jobs with clouds on the basis of the region in which the processing site is located.
The alternative <a href="{% url 'dashProduction' %}">'cloud' view</a> associates jobs with clouds on the basis of which Tier 1 the job is assigned to (which can be different for a site participating in multi-cloud production).
Failure rates above {{ errthreshold }}% are shown in red.
Click the cloud name in the overall summary to go to the cloud's site summary.
Click the job counts to go to job listings.
</tr></td></table>
<p>

{% else %}

<table width=800><tr><td>
<b>Cloud view</b><br>
This view associates jobs with clouds on the basis of which Tier 1 the job is assigned to, which can be different from the 'home cloud' of the processing site for a site participating in multi-cloud production (MCP). Thus in this view you may see sites listed in the CA cloud which are not located in CA.
The alternative <a href="{% url 'dashProduction' %}?cloudview=region">'region' view</a> associates production jobs with clouds on the basis of the region in which the processing site is located.
Failure rates above {{ errthreshold }}% are shown in red.
Click the cloud name in the overall summary to go to the cloud's site summary.
Click the job counts to go to job listings.
</tr></td></table>
<p>
{% endif %}

{% else %}

<table width=800><tr><td>
Failure rates above {{ errthreshold }}% are shown in red.
Click the cloud name in the overall summary to go to the cloud's site summary.
Click the job counts to go to job listings.
</tr></td></table>
<p>

{% endif %}

<div class='section'>Cloud / Site summary</div>
{% endif %}

<table>

{% if viewParams.MON_VO != 'ATLAS' %}

<tr bgcolor="lightcyan">
<th> VO </th>
<th>  </th>
<th> nJobs </th>
<th> % failed </th>
<th> assigned </th>
<th> throttled </th>
<th> activated </th>
<th> sent </th>
<th> starting </th>
<th> running </th>
<th> holding </th>
<th> transferring </th>
<th> finished </th>
<th> failed </th>
<th> cancelled </th>
</tr>

{% for vo in vosummary %}
<tr height=10 colspan=12></tr>
<tr>
<th  bgcolor=whitesmoke> {{ vo.name }} </th>
<th> </th>
<th  bgcolor=whitesmoke align='right'> <a href="{% url 'jobList' %}?vo={{ vo.name }}&hours={{hours}}&jobtype={{ view }}&display_limit=100">{{ vo.count }}</a> </th>
<th  bgcolor=whitesmoke align='right'>{{ vo.pctfail|safe  }} </th>
{% for state in vo.statelist %}
<th  bgcolor=whitesmoke align='right'> <a href="{% url 'jobList' %}?vo={{ vo.name }}&jobstatus={{ state.name }}&hours={{hours}}&jobtype={{ view }}&display_limit=100"> <span class="{{ state.name }}">{{ state.count }}</span></a> </th>
{% endfor %}
</tr>
{% endfor %}
<tr height=10 colspan=12></tr>

{% endif %}


<tr bgcolor="lightcyan">
<th> Cloud </th>
<th> Status</th>
<th> nJobs </th><commit_msg>Misc improvements<commit_after>{% extends "_base_lsst.html" %}
{% load url from future %}

{% block page_title %} {{ viewParams.MON_VO }} PanDA jobs{% endblock %}
{% block title %} <a href="{% url 'index' %}">{{ viewParams.MON_VO }} PanDA monitor</a>{% endblock %}
{% block subtitle %}PanDA {{view}} dashboard{{ viewParams.selection }}
{% endblock %}
{% block body %}

{{ viewParams.header }}

{% if viewParams.MON_VO != 'ATLAS' %}

<table width=800><tr><td>
This page summarizes recent job status for VOs, clouds and sites. Click on the numbers to see job listings.
Failure rates above {{ errthreshold }}% are shown in red.
Click the cloud name in the overall summary to go to the cloud's site summary.
Click the job counts to go to job listings.
</tr></td></table>
<p>

<div class='section'>VO / Cloud / Site summary</div>
{% else %}

{% if view == 'analysis' %}
<div class='section'>Analysis jobs</div>
{% elif view == 'production' %}
<div class='section'>Production jobs</div>
{% else %}
<div class='section'>All jobs</div>
{% endif %}

{% if view != 'analysis' %}

{% if cloudview == 'region' %}

<table width=800><tr><td>
<b>Region view</b><br>
This view associates jobs with clouds on the basis of the region in which the processing site is located.
The alternative <a href="{% url 'dashProduction' %}">'cloud' view</a> associates jobs with clouds on the basis of which Tier 1 the job is assigned to (which can be different for a site participating in multi-cloud production).
Failure rates above {{ errthreshold }}% are shown in red.
Click the cloud name in the overall summary to go to the cloud's site summary.
Click the job counts to go to job listings.
</tr></td></table>
<p>

{% else %}

<table width=800><tr><td>
<b>Cloud view</b><br>
This view associates jobs with clouds on the basis of which Tier 1 the job is assigned to, which can be different from the 'home cloud' of the processing site for a site participating in multi-cloud production (MCP). Thus in this view you may see sites listed in the CA cloud which are not located in CA.
The alternative <a href="{% url 'dashProduction' %}?cloudview=region">'region' view</a> associates production jobs with clouds on the basis of the region in which the processing site is located.
Failure rates above {{ errthreshold }}% are shown in red.
Click the cloud name in the overall summary to go to the cloud's site summary.
Click the job counts to go to job listings.
</tr></td></table>
<p>
{% endif %}

{% else %}

<table width=800><tr><td>
Failure rates above {{ errthreshold }}% are shown in red.
Click the cloud name in the overall summary to go to the cloud's site summary.
Click the job counts to go to job listings.
</tr></td></table>
<p>

{% endif %}

<div class='section'>Cloud / Site summary</div>
{% endif %}

<table>

{% if viewParams.MON_VO != 'ATLAS' %}

<tr bgcolor="lightcyan">
<th> VO </th>
<th>  </th>
<th> nJobs </th>
<th> % failed </th>
<th> assigned </th>
<th> throttled </th>
<th> activated </th>
<th> sent </th>
<th> starting </th>
<th> running </th>
<th> holding </th>
<th> transferring </th>
<th> finished </th>
<th> failed </th>
<th> cancelled </th>
</tr>

{% for vo in vosummary %}
<tr height=10 colspan=12></tr>
<tr>
<th  bgcolor=whitesmoke> {{ vo.name }} </th>
<th bgcolor=whitesmoke> </th>
<th  bgcolor=whitesmoke align='right'> <a href="{% url 'jobList' %}?vo={{ vo.name }}&hours={{hours}}&jobtype={{ view }}&display_limit=100">{{ vo.count }}</a> </th>
<th  bgcolor=whitesmoke align='right'>{{ vo.pctfail|safe  }} </th>
{% for state in vo.statelist %}
<th  bgcolor=whitesmoke align='right'> <a href="{% url 'jobList' %}?vo={{ vo.name }}&jobstatus={{ state.name }}&hours={{hours}}&jobtype={{ view }}&display_limit=100"> <span class="{{ state.name }}">{{ state.count }}</span></a> </th>
{% endfor %}
</tr>
{% endfor %}
<tr height=10 colspan=12></tr>

{% endif %}


<tr bgcolor="lightcyan">
<th> Cloud </th>
<th> Status</th>
<th> nJobs </th>
{'fraction_non_alphanumeric': 0.17183314198239572, 'fraction_numerical': 0.007143768337798189, 'mean_word_length': 4.556343019135365, 'pattern_counts': {'":': 0, '<': 227, '<?xml version=': 0, '>': 227, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4379905', 'n_tokens_mistral': 2733, 'n_tokens_neox': 2501, 'n_words': 1009}