{% extends "generator/index.html" %} {% from "generator/_macros.html" import info, section, range_field, probability_field, sum_badge %} {% block title %}Generate random feature models{% endblock %} {% block wizard_content %} {% if errors.get('global') %}
{{ errors['global'] }}
{% endif %}
{{ section('Attributes', 'Decide whether attributes are sampled randomly or if you want to define each one by hand.') }}
{{ range_field('min_attributes', 'max_attributes', 'Number of attributes', 'Min / Max number of attributes sampled per model when the random mode is on.', values, errors, default_min=1, default_max=5, hard_min=1, hard_max=10000) }}
Min must be ≤ Max.
{{ section('Attribute type distribution', 'When sampling each attribute, how likely is each UVL type to be chosen. Drag the handles OR type exact values — both stay in sync. Integer/Real need Arithmetic level, String needs Type level; disabled types score 0.') }}
{% if arithmetic_level %}
{% else %} {% endif %} {% if type_level %}
{% else %} {% endif %}
{% if errors.get('attr_dist_sum') %}
{{ errors['attr_dist_sum'] }}
{% endif %}
{% endblock %}