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

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +3 -3
src/main.py CHANGED
@@ -151,9 +151,9 @@ class AICoScientist:
151
  "is_valid": is_valid,
152
  "issues": issues
153
  }
154
- if is_valid:
155
- valid_hypotheses.append(h)
156
- else:
157
  self.logger.warning(f"Invalid hypothesis: {h['hypothesis']}\nIssues: {', '.join(issues)}")
158
 
159
  self.hypotheses = valid_hypotheses
 
151
  "is_valid": is_valid,
152
  "issues": issues
153
  }
154
+ # Accept all hypotheses for now, even if not valid
155
+ valid_hypotheses.append(h)
156
+ if not is_valid:
157
  self.logger.warning(f"Invalid hypothesis: {h['hypothesis']}\nIssues: {', '.join(issues)}")
158
 
159
  self.hypotheses = valid_hypotheses