Leon4gr45 commited on
Commit
013a35e
·
verified ·
1 Parent(s): d151a2f

Update src/main.py

Browse files
Files changed (1) hide show
  1. 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["hypothesis"],
225
  self.research_goal
226
  )
227
 
228
  # Evolve hypothesis based on feedback
229
  evolved = evolution_agent.evolve_hypothesis(
230
- hypothesis["hypothesis"],
231
  feedback,
232
  self.research_goal
233
  )
234
 
235
  # Check proximity to research goal
236
  proximity_result = proximity_agent.evaluate_proximity(
237
- evolved["hypothesis"],
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