One candidate solution in the search tree.
| 83 | |
| 84 | @dataclass |
| 85 | class 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 |
no outgoing calls