Package org.ek9lang.compiler.support.inputvariety
package org.ek9lang.compiler.support.inputvariety
-
ClassDescriptionThe built-in-type seed for the input-variation metric's denominator: the
TypeClassModel(class count + confidence) for each EK9 built-in.How trustworthy a type's value-class set is — the honesty tag for the input-variation metric.Derives a type'sTypeVariety— its value-class count + confidence — for the input-variation denominator (design §11.1).The input-variation figures for one public construct, computed over its flattened leaf dimensions (records decompose to fields; receiver-p0 included) — design §4.1 / §4.6.Computes a public construct's input-variationInputVarietyDenominator— the pairwise opportunity space of its parameters (design §4.1).One field step in aLeafPath— everything a backend needs to load that field from the value on the stack, with no further symbol lookup.One scalar leaf dimension of a callable's input space, together with the field path walked to reach it from the declared parameter (design EK9_INPUT_VARIATION_METRIC_DESIGN.md §4.5/§4.6).A type's metric-side model for the input-variation denominator: its ordered set of distinctValueClassIds and how trustworthy that set is (ClassConfidence).The denominator input for a single parameter type: how many distinct value-classes it admits and how trustworthy that count is.THE shared value-class vocabulary for the input-variation metric — one taxonomy, three consumers (docs/implementation/EK9_INPUT_VARIATION_CLASS_TAXONOMY.md): the denominator counter (EquivalenceClassModel) — counts distinct ids per type for the static opportunity space; the runtime classifier (INPUT_CLASS_PROBErecorder) — places an actual runtime value into one of these ids for the dynamic numerator (design §5); the generator (EdgeValuePool, compiler-services) — holds representative literals per id forek9_generate_edge_case_tests.