{#- The fact label of the whole dataset (dataset_label.py), under its files (dataset.view.sections): what the labels of its models say together, in the look of a label, and its JSON. -#} {% from "hooks/_dataset_label_rows.html" import spread_row with context %}

{{ _('Dataset fact label') }}

{{ _('What the fact labels of its %(n)s models say together.', n=label.models.analysed) }}

{{ icon('download', size=16) }}{{ _('Download the JSON') }}
{% if label.models.failed %}{% endif %} {% if label.models.pending %}{% endif %} {% for key, count in label.language.items() %} {% endfor %}
{{ _('Models') }}
{{ _('Models') }}{{ label.models.total }}
{{ _('Analysed') }}{{ label.models.analysed }}
{{ _('Could not be read') }}{{ label.models.failed }}
{{ _('Waiting for analysis') }}{{ label.models.pending }}
{{ _('UVL language') }}
{{ language_names[key] }}{{ count }}
{{ spread_row(_('Features'), label.size.features) }} {{ spread_row(_('Leaf features'), label.size.leaf_features) }} {{ spread_row(_('Cross-tree constraints'), label.size.cross_tree_constraints) }} {{ spread_row(_('Depth of the tree'), label.size.depth) }} {{ spread_row(_('Groups'), label.size.feature_groups) }}
{{ _('Size and structure') }}
{{ _('Size and structure') }}{{ _('Least') }}{{ _('Median') }}{{ _('Most') }}{{ _('Total') }}
{% set conf = label.analysis.configurations %} {% if conf %} {% if conf.min == conf.max %} {% else %} {% endif %} {% endif %} {% if label.variability.total_variability %}{% endif %} {% if label.variability.homogeneity %}{% endif %}
{{ _('Analysis') }}
{{ _('Analysis') }}
{{ _('Satisfiable') }}{{ label.analysis.satisfiable }} / {{ label.analysis.satisfiable + label.analysis.unsatisfiable }}
{{ _('With dead features') }}{{ label.analysis.with_dead_features }}
{{ _('With false optional features') }}{{ label.analysis.with_false_optional_features }}
{{ _('Configurations') }}{{ conf.min | configurations }}
{{ _('Configurations') }}{{ conf.min | configurations }} … {{ conf.max | configurations }}
{{ _('Median') }}{{ conf.median | configurations }}
{{ _('Variability') }}
{{ _('Total variability') }}{{ label.variability.total_variability.mean }} %
{{ _('Homogeneity') }}{{ label.variability.homogeneity.mean }} %