You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'How often a constraint is Boolean, arithmetic (integer/real attributes) or string. Disabled levels always score 0. Active values must add up to 1.') }}
<divclass="text-gray-600 fs-7">Min must be ≤ Max.</div>
39
+
<divclass="text-gray-600 fs-7 mb-5">Min must be ≤ Max.</div>
40
+
41
+
{{ section('Attribute type distribution',
42
+
'When sampling each attribute, how likely is each UVL type to be chosen. Integer/Real are only active with the Arithmetic level; String is only active with the Type level. Active values must add up to 1.') }}
43
+
44
+
<divclass="row g-3 mb-2">
45
+
{{ probability_field('dist_boolean', 'Boolean',
46
+
'Probability of a boolean attribute.',
47
+
values, errors, default=0.7, symbol='B') }}
48
+
{{ probability_field('dist_integer', 'Integer',
49
+
'Probability of an integer attribute. Requires Arithmetic level.',
50
+
values, errors, default=0.1, symbol='ℤ',
51
+
disabled=(not arithmetic_level)) }}
52
+
{{ probability_field('dist_real', 'Real',
53
+
'Probability of a real-valued attribute. Requires Arithmetic level.',
54
+
values, errors, default=0.1, symbol='ℝ',
55
+
disabled=(not arithmetic_level)) }}
56
+
{{ probability_field('dist_string', 'String',
57
+
'Probability of a string attribute. Requires Type level.',
58
+
values, errors, default=0.1, symbol='S',
59
+
disabled=(not type_level)) }}
60
+
</div>
61
+
{{ sum_badge('attr_dist_sum', 'Sum of active type probabilities', initial=values.get('attr_dist_sum', '1.0000')) }}
0 commit comments