MCPcopy Create free account
hub / github.com/Claw-AI-Lab/Claw-AI-Lab / SolutionNode

Class SolutionNode

backend/agent/researchclaw/pipeline/code_agent.py:85–99  ·  view source on GitHub ↗

One candidate solution in the search tree.

Source from the content-addressed store, hash-verified

83
84@dataclass
85class SolutionNode:
86 """One candidate solution in the search tree."""
87
88 node_id: str
89 files: dict[str, str]
90 parent_id: str | None = None
91 depth: int = 0
92 # Evaluation
93 runs_ok: bool = False
94 returncode: int = -1
95 stdout: str = ""
96 stderr: str = ""
97 metrics: dict[str, Any] = field(default_factory=dict)
98 score: float = 0.0
99 generation_method: str = "initial"
100
101
102@dataclass

Callers 5

generateMethod · 0.85
_phase3_tree_searchMethod · 0.85

Calls

no outgoing calls

Tested by 3