Update src/main.py
Browse files- src/main.py +3 -3
src/main.py
CHANGED
|
@@ -221,20 +221,20 @@ class AICoScientist:
|
|
| 221 |
for j, hypothesis in enumerate(refined_hypotheses):
|
| 222 |
# Get feedback from reflection agent
|
| 223 |
feedback = reflection_agent.review_hypothesis(
|
| 224 |
-
hypothesis
|
| 225 |
self.research_goal
|
| 226 |
)
|
| 227 |
|
| 228 |
# Evolve hypothesis based on feedback
|
| 229 |
evolved = evolution_agent.evolve_hypothesis(
|
| 230 |
-
hypothesis
|
| 231 |
feedback,
|
| 232 |
self.research_goal
|
| 233 |
)
|
| 234 |
|
| 235 |
# Check proximity to research goal
|
| 236 |
proximity_result = proximity_agent.evaluate_proximity(
|
| 237 |
-
evolved
|
| 238 |
self.research_goal
|
| 239 |
)
|
| 240 |
|
|
|
|
| 221 |
for j, hypothesis in enumerate(refined_hypotheses):
|
| 222 |
# Get feedback from reflection agent
|
| 223 |
feedback = reflection_agent.review_hypothesis(
|
| 224 |
+
hypothesis.get("hypothesis", hypothesis.get("statement")),
|
| 225 |
self.research_goal
|
| 226 |
)
|
| 227 |
|
| 228 |
# Evolve hypothesis based on feedback
|
| 229 |
evolved = evolution_agent.evolve_hypothesis(
|
| 230 |
+
hypothesis.get("hypothesis", hypothesis.get("statement")),
|
| 231 |
feedback,
|
| 232 |
self.research_goal
|
| 233 |
)
|
| 234 |
|
| 235 |
# Check proximity to research goal
|
| 236 |
proximity_result = proximity_agent.evaluate_proximity(
|
| 237 |
+
evolved.get("hypothesis", evolved.get("statement")),
|
| 238 |
self.research_goal
|
| 239 |
)
|
| 240 |
|