Discover Packages
github.com/magicwubiao/go-magic
internal
complexity
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 8, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package complexity provides task complexity analysis functionality.
This package is independent to avoid circular imports between agent and perception packages.
Analyzer analyzes task complexity
NewAnalyzer creates a new complexity analyzer
Analyze analyzes the complexity of a task description
ShouldDecompose returns true if the task should be decomposed
type Score struct {
Score int `json:"score"`
Factors []string `json:"factors"`
ShouldSplit bool `json:"should_split"`
}
Score represents the complexity of a task
Source Files
¶
Click to show internal directories.
Click to hide internal directories.