Source:
Local role: Result container for feasibility checks between a goal and a projected state.
Fields:
- reachable: bool
- confidence: float
- matching_keys: list[str]
- metadata: dict
Methods:
to_dict() -> dict
Example:
feas_tool = DefaultGoalFeasibilityTool()
result = feas_tool.evaluate(goal, projected_state)
print(result.reachable) # True | False
print(result.confidence) # float in [0, 1]
print(result.matching_keys) # target_condition keys that matched
data = result.to_dict()
See also:
