Crate capability_skeleton_string

Source

Structs§

AggregateChildSpec
Use this object to specify per-child optionality and toggle probability for a model branch within an Aggregate node.
AggregateChildSpecBuilder
Builder for AggregateChildSpec.
AiTreeBranchingConfidenceConfiguration
This struct should define how AI confidence modifies branching factor:
AiTreeBranchingConfidenceConfigurationBuilder
Builder for AiTreeBranchingConfidenceConfiguration.
CapstoneGenerationConfiguration
In the context of our tree-generation system, a capstone node is a special type of leaf node that represents a culminating skill, concept, or endpoint of a hierarchical branch.
CapstoneGenerationConfigurationBuilder
Builder for CapstoneGenerationConfiguration.
DepthBasedNodeVariantPolicy
This picks which variant to use based on current depth.
DepthBasedNodeVariantPolicyBuilder
Builder for DepthBasedNodeVariantPolicy.
DispatchChildSpec
Use this object to configure per-child selection probability within a Dispatch node
DispatchChildSpecBuilder
Builder for DispatchChildSpec.
GrowerTreeConfiguration
We set the GrowerTreeConfiguration to refine the shape of our model trees:
GrowerTreeConfigurationBuilder
Builder for GrowerTreeConfiguration.
JustifiedAggregateChildSpec
JustifiedAiTreeBranchingConfidenceConfiguration
JustifiedCapstoneGenerationConfiguration
JustifiedDepthBasedNodeVariantPolicy
JustifiedDispatchChildSpec
JustifiedGrowerTreeConfiguration
JustifiedLevelSkippingConfiguration
JustifiedNodeVariantLevelWeights
JustifiedNodeVariantPhaseRange
JustifiedPhasedNodeVariantPolicy
JustifiedScriptedNodeVariantPolicy
JustifiedStringSkeleton
JustifiedTreeLevelSpecificConfiguration
JustifiedWeightedBranchingConfiguration
JustifiedWeightedNodeVariantPolicy
JustifiedWeightedNodeVariantPolicyWithLimits
LevelSkippingConfiguration
This struct should define how you skip certain levels early, turning them into leaves based on probabilities.
LevelSkippingConfigurationBuilder
Builder for LevelSkippingConfiguration.
NodeVariantLevelWeights
A single “probability triple” used in ScriptedNodeVariantPolicy.levels, specifying aggregator/dispatch/leaf probabilities at that level.
NodeVariantLevelWeightsBuilder
Builder for NodeVariantLevelWeights.
NodeVariantPhaseRange
A single phase range used in PhasedNodeVariantPolicy.phases.
NodeVariantPhaseRangeBuilder
Builder for NodeVariantPhaseRange.
PhasedNodeVariantPolicy
A list of “phases,” each specifying a start depth plus aggregator/dispatch/leaf weights. Once you pass a phase’s start_level, you use those weights until the next phase’s start_level or the end of the tree.
PhasedNodeVariantPolicyBuilder
Builder for PhasedNodeVariantPolicy.
ScriptedNodeVariantPolicy
A direct “per-level” approach using a map of level => aggregator/dispatch/leaf probabilities.
ScriptedNodeVariantPolicyBuilder
Builder for ScriptedNodeVariantPolicy.
StringSkeleton
Use this object to specify our whole tree of generated data.
StringSkeletonBuilder
Builder for StringSkeleton.
TreeLevelSpecificConfiguration
This struct should define level-specific overrides for breadth and density at each tree layer.
TreeLevelSpecificConfigurationBuilder
Builder for TreeLevelSpecificConfiguration.
WeightedBranchingConfiguration
This struct should define a mean ± variance approach for branching factor, letting you generate more natural/organic trees rather than uniform child counts.
WeightedBranchingConfigurationBuilder
Builder for WeightedBranchingConfiguration.
WeightedNodeVariantPolicy
Probability-based selection among aggregator/dispatch/leaf, with no extra constraints.
WeightedNodeVariantPolicyBuilder
Builder for WeightedNodeVariantPolicy.
WeightedNodeVariantPolicyWithLimits
This policy is the same as Weighted, but with built-in depth constraints to forbid aggregator or dispatch nodes beyond a certain depth. We can use it to forbid leaves before a certain depth.
WeightedNodeVariantPolicyWithLimitsBuilder
Builder for WeightedNodeVariantPolicyWithLimits.

Enums§

AggregateChildSpecBuilderError
Error type for AggregateChildSpecBuilder
AiTreeBranchingConfidenceConfigurationBuilderError
Error type for AiTreeBranchingConfidenceConfigurationBuilder
CapstoneGenerationConfigurationBuilderError
Error type for CapstoneGenerationConfigurationBuilder
CapstoneMode
This enum should specify how we generate “capstone” nodes per tree.
ConfigurationComplexity
This enum should be set to reflect the overall complexity vs. usability level.
DepthBasedNodeVariantPolicyBuilderError
Error type for DepthBasedNodeVariantPolicyBuilder
DispatchChildSpecBuilderError
Error type for DispatchChildSpecBuilder
GrowerTreeConfigurationBuilderError
Error type for GrowerTreeConfigurationBuilder
GrowerTreeConfigurationError
JustifiedCapstoneMode
JustifiedConfigurationComplexity
JustifiedStringSkeletonNode
JustifiedSubBranchOrdering
JustifiedTreeExpansionPolicy
LevelSkippingConfigurationBuilderError
Error type for LevelSkippingConfigurationBuilder
NodeVariantLevelWeightsBuilderError
Error type for NodeVariantLevelWeightsBuilder
NodeVariantPhaseRangeBuilderError
Error type for NodeVariantPhaseRangeBuilder
PhasedNodeVariantPolicyBuilderError
Error type for PhasedNodeVariantPolicyBuilder
ScriptedNodeVariantPolicyBuilderError
Error type for ScriptedNodeVariantPolicyBuilder
StringSkeletonBuilderError
Error type for StringSkeletonBuilder
StringSkeletonError
Errors that may arise when converting between string-based skeleton and numeric skeleton.
StringSkeletonNode
Set this object to configure a single node in the string skeleton, tagged by its role.
SubBranchOrdering
This enum indicates how we want to sort sub-branches:
TreeExpansionPolicy
This structure is the primary enum for controlling how we choose among Dispatch, Aggregate, and LeafHolder nodes at each level of the tree generation procedure.
TreeLevelSpecificConfigurationBuilderError
Error type for TreeLevelSpecificConfigurationBuilder
WeightedBranchingConfigurationBuilderError
Error type for WeightedBranchingConfigurationBuilder
WeightedNodeVariantPolicyBuilderError
Error type for WeightedNodeVariantPolicyBuilder
WeightedNodeVariantPolicyWithLimitsBuilderError
Error type for WeightedNodeVariantPolicyWithLimitsBuilder

Functions§

flatten_all_fields
Iteratively flattens all nested "fields" objects in this map (and any sub-objects), so that any key-value pairs inside "fields" get merged into the map that contains them. Avoids infinite recursion using BFS plus a pointer-based visited set.
unify_complex_enum_single_variant_inplace
Finally, the single public function you call on the entire Value: