(self, problem: str, config: Dict[str, Any])
| 40 | """Shared workspace for agent collaboration and solution tracking""" |
| 41 | |
| 42 | def __init__(self, problem: str, config: Dict[str, Any]): |
| 43 | self.problem = problem |
| 44 | self.config = config |
| 45 | self.solutions: List[AgentSolution] = [] |
| 46 | self.verification_results: List[VerificationResult] = [] |
| 47 | self.synthesis_attempts: List[Dict] = [] |
| 48 | self.final_solution: Optional[str] = None |
| 49 | self.iteration_count = 0 |
| 50 | self.total_reasoning_tokens = 0 |
| 51 | |
| 52 | logger.info(f"Initialized MARS workspace for problem: {problem[:100]}...") |
| 53 | |
| 54 | def add_solution(self, agent_solution: AgentSolution) -> str: |
| 55 | """Add a new agent solution to the workspace""" |
nothing calls this directly
no outgoing calls
no test coverage detected