Skip to main content

character_traits_warrior_capability/
meta_capability.rs

1// ---------------- [ File: character-traits-warrior-capability/src/meta_capability.rs ]
2crate::ix!();
3
4#[derive(Copy,EnumIter,Debug, Clone, PartialEq, Eq, Hash)]
5pub enum WarriorMetaCapability {
6    /// Chosen for entities symbolizing universal warrior principles and ideals, serving as archetypal references or inspirational symbols.
7    RepresentsAbstractWarriorEssence,
8
9    /// Selected when defining entities with latent abilities or unknown capacities intended to develop significantly over time or narrative progression.
10    UndefinedFutureWarriorPotential,
11
12    /// Suited for entities exemplifying the adaptability and evolution of warrior traits in response to shifting combat paradigms or eras.
13    RepresentsAdaptiveWarriorEvolution,
14
15    /// Appropriate for symbolic entities representing the conceptual boundary between martial discipline and broader existential themes.
16    EmbodiesWarriorPhilosophicalIdeals,
17
18    /// Preferred for characters whose primary role involves reflecting or critiquing conventional warrior archetypes rather than actively embodying them.
19    SymbolizesWarriorArchetypeCritique,
20
21    /// Chosen to signify characters or entities representing potential fusions or syntheses of warrior capabilities, especially in speculative contexts.
22    RepresentsPotentialCapabilityFusion,
23
24    /// Useful for conceptual entities signifying how traditional warrior traits might integrate with futuristic or non-human paradigms.
25    AbstractWarriorConceptualIntegration,
26}
27
28impl WarriorMetaCapability {
29    /// Return the fully‑specified **intrinsic dimension ratings** for the given
30    /// [`WarriorMetaCapability`] variant.
31    ///
32    /// * Every field is assigned on the canonical **0.0 – 1.0** scale.
33    /// * Ratings were derived with the domain guidelines you provided
34    ///   (baseline presence = `0.25`, salient strengths elevated to `0.50 – 1.00`,
35    ///   muted/latent facets at `0.00`).
36    /// * A `tracing` span is emitted for observability.
37    #[instrument(level = "info", skip(self))]
38    pub fn intrinsic_dimension_ratings(&self) -> WarriorCapabilityIntrinsicDimensionRatings {
39        use WarriorMetaCapability::*;
40
41        let ratings = match self {
42            /* ------------------------------------------------------------------
43               Represents Abstract Warrior Essence
44               – Core ideals: moral_alignment, virtue_resonance, honor, bravery
45            ------------------------------------------------------------------ */
46            RepresentsAbstractWarriorEssence => wc_ratings!(
47                /*   1‑10  */ 0.50,0.25,0.50,0.50,0.25,0.25,0.25,0.25,0.75,0.25,
48                /*  11‑20  */ 0.50,0.75,0.25,0.25,0.25,0.75,0.25,0.25,0.75,0.25,
49                /*  21‑30  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
50                /*  31‑40  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
51                /*  41‑50  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
52                /*  51‑60  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
53                /*  61‑70  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
54                /*  71‑80  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
55                /*  81‑90  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
56                /*  91‑100 */ 0.75,0.25,0.50,0.25,0.50,0.50,0.75,0.75,0.50,0.25,
57                /* 101‑110 */ 0.25,0.25,0.25,0.25,0.25,0.25,0.50,0.25,0.50,0.25,
58                /* 111‑115 */ 0.25,0.25,0.25,0.25,0.25
59            ),
60
61            /* ------------------------------------------------------------------
62               Undefined Future Warrior Potential
63               – Minimal present ability, maximal emergent_potential
64            ------------------------------------------------------------------ */
65            UndefinedFutureWarriorPotential => wc_ratings!(
66                /*   1‑10  */ 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.50,0.25,
67                /*  11‑20  */ 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.25,0.00,
68                /*  21‑30  */ 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.50,0.00,
69                /*  31‑40  */ 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
70                /*  41‑50  */ 0.00,0.00,0.00,0.00,0.00,0.50,0.00,0.00,0.00,0.00,
71                /*  51‑60  */ 0.00,0.00,0.00,0.00,0.50,0.00,0.00,0.00,0.00,0.00,
72                /*  61‑70  */ 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
73                /*  71‑80  */ 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
74                /*  81‑90  */ 0.00,0.00,0.00,0.50,0.00,0.00,0.00,0.00,0.00,0.00,
75                /*  91‑100 */ 0.50,0.00,0.50,0.00,0.25,0.00,0.00,0.00,0.00,0.00,
76                /* 101‑110 */ 0.00,0.00,0.00,0.00,0.00,0.00,0.50,0.00,0.75,1.00,
77                /* 111‑115 */ 0.00,0.00,0.00,0.00,0.00
78            ),
79
80            /* ------------------------------------------------------------------
81               Represents Adaptive Warrior Evolution
82               – High adaptability, innovation_velocity, adaptive_resilience
83            ------------------------------------------------------------------ */
84            RepresentsAdaptiveWarriorEvolution => wc_ratings!(
85                /*   1‑10  */ 0.25,0.25,0.75,0.25,0.25,0.25,0.25,0.75,0.25,0.50,
86                /*  11‑20  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.50,0.25,0.25,0.25,
87                /*  21‑30  */ 0.25,0.25,0.25,0.25,0.75,0.25,0.25,0.50,0.25,0.25,
88                /*  31‑40  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
89                /*  41‑50  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.75,0.25,0.25,0.25,
90                /*  51‑60  */ 0.25,0.25,0.25,0.25,0.75,0.25,0.25,0.25,0.50,0.25,
91                /*  61‑70  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.75,0.75,0.25,0.25,
92                /*  71‑80  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
93                /*  81‑90  */ 0.25,0.25,0.25,0.75,0.25,0.25,0.25,0.25,0.25,0.25,
94                /*  91‑100 */ 0.25,0.25,0.75,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
95                /* 101‑110 */ 0.25,0.25,0.25,0.25,0.25,0.25,0.75,0.60,0.50,0.75,
96                /* 111‑115 */ 0.25,0.25,0.25,0.25,0.25
97            ),
98
99            /* ------------------------------------------------------------------
100               Embodies Warrior Philosophical Ideals
101               – Moral/ethical excellence, deep abstraction, respect cultivation
102            ------------------------------------------------------------------ */
103            EmbodiesWarriorPhilosophicalIdeals => wc_ratings!(
104                /*   1‑10  */ 0.50,0.25,0.25,0.50,0.25,0.25,0.25,0.25,0.75,0.25,
105                /*  11‑20  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.75,0.25,
106                /*  21‑30  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
107                /*  31‑40  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
108                /*  41‑50  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
109                /*  51‑60  */ 0.25,0.25,0.25,0.25,0.75,0.25,0.25,0.25,0.50,0.25,
110                /*  61‑70  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
111                /*  71‑80  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
112                /*  81‑90  */ 0.25,0.25,0.25,0.75,0.25,0.25,0.25,0.25,0.25,0.25,
113                /*  91‑100 */ 0.25,0.25,0.75,0.50,0.75,0.75,0.75,0.50,0.50,0.75,
114                /* 101‑110 */ 0.75,0.75,0.60,0.75,0.75,0.75,0.50,0.25,0.50,0.25,
115                /* 111‑115 */ 0.75,0.50,0.75,0.25,0.25
116            ),
117
118            /* ------------------------------------------------------------------
119               Symbolizes Warrior Archetype Critique
120               – High perceptual_subversion & deception; reflective stance
121            ------------------------------------------------------------------ */
122            SymbolizesWarriorArchetypeCritique => wc_ratings!(
123                /*   1‑10  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.40,0.25,
124                /*  11‑20  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
125                /*  21‑30  */ 0.25,0.25,0.50,0.60,0.25,0.25,0.25,0.50,0.25,0.25,
126                /*  31‑40  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
127                /*  41‑50  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
128                /*  51‑60  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
129                /*  61‑70  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
130                /*  71‑80  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
131                /*  81‑90  */ 0.25,0.25,0.25,0.50,0.25,0.60,0.25,0.60,0.25,0.25,
132                /*  91‑100 */ 0.25,0.25,0.75,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
133                /* 101‑110 */ 0.25,0.50,0.50,0.60,0.50,0.40,0.25,0.25,0.50,0.60,
134                /* 111‑115 */ 0.25,0.25,0.50,0.50,0.25
135            ),
136
137            /* ------------------------------------------------------------------
138               Represents Potential Capability Fusion
139               – High capability_scope & emergent_potential, plus techno‑&‑arcane blend
140            ------------------------------------------------------------------ */
141            RepresentsPotentialCapabilityFusion => wc_ratings!(
142                /*   1‑10  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.50,0.75,0.25,0.25,
143                /*  11‑20  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
144                /*  21‑30  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.50,0.25,0.25,
145                /*  31‑40  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
146                /*  41‑50  */ 0.50,0.50,0.25,0.25,0.25,0.25,0.75,0.25,0.25,0.25,
147                /*  51‑60  */ 0.25,0.25,0.25,0.25,0.75,0.25,0.25,0.25,0.25,0.25,
148                /*  61‑70  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.50,0.25,0.50,0.50,
149                /*  71‑80  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
150                /*  81‑90  */ 0.25,0.25,0.25,0.50,0.25,0.25,0.25,0.25,0.25,0.25,
151                /*  91‑100 */ 0.25,0.25,0.75,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
152                /* 101‑110 */ 0.25,0.25,0.50,0.50,0.50,0.25,0.75,0.50,0.75,1.00,
153                /* 111‑115 */ 0.25,0.25,0.50,0.50,0.25
154            ),
155
156            /* ------------------------------------------------------------------
157               Abstract Warrior Conceptual Integration
158               – Futuristic/non‑human integration, cyber resilience, deep abstraction
159            ------------------------------------------------------------------ */
160            AbstractWarriorConceptualIntegration => wc_ratings!(
161                /*   1‑10  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.75,0.25,0.25,
162                /*  11‑20  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
163                /*  21‑30  */ 0.25,0.25,0.25,0.25,0.50,0.25,0.25,0.50,0.25,0.25,
164                /*  31‑40  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
165                /*  41‑50  */ 0.25,0.25,0.25,0.25,0.25,0.40,0.25,0.25,0.25,0.40,
166                /*  51‑60  */ 0.25,0.25,0.25,0.25,0.75,0.25,0.25,0.25,0.50,0.25,
167                /*  61‑70  */ 0.25,0.25,0.25,0.25,0.25,0.40,0.25,0.25,0.25,0.40,
168                /*  71‑80  */ 0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
169                /*  81‑90  */ 0.25,0.25,0.75,0.75,0.50,0.25,0.25,0.25,0.25,0.25,
170                /*  91‑100 */ 0.25,0.25,0.75,0.25,0.25,0.25,0.25,0.25,0.25,0.25,
171                /* 101‑110 */ 0.25,0.25,0.25,0.25,0.25,0.25,0.75,0.60,0.50,0.75,
172                /* 111‑115 */ 0.25,0.25,0.25,0.25,0.25
173            ),
174        };
175
176        info!(
177            target: "warrior_meta::intrinsic_dimension",
178            ?self,
179            "Computed intrinsic dimension ratings."
180        );
181        ratings
182    }
183}