Update src/main.py
Browse files- 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
|
| 155 |
-
|
| 156 |
-
|
| 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
|