MCPcopy Create free account
hub / github.com/HKUDS/OpenSpace / EvolutionType

Class EvolutionType

openspace/skill_engine/types.py:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26class EvolutionType(str, Enum):
27 FIX = "fix" # Repair broken / outdated skill instructions
28 DERIVED = "derived" # Enhance / specialize an existing skill
29 CAPTURED = "captured" # Capture a novel reusable pattern
30
31 def to_origin(self) -> "SkillOrigin":
32 """Convert this evolution action to the corresponding SkillOrigin."""
33 return _EVOLUTION_TO_ORIGIN[self]
34
35
36class SkillOrigin(str, Enum):

Callers 2

_parse_analysisMethod · 0.85
from_dictMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected