Update proposal.py

Updated the summarize function to include more inputs
This commit is contained in:
Xisen Wang
2024-07-05 18:14:48 +08:00
committed by GitHub
parent f2745c3cc0
commit 4b3739c5e8
+1 -2
View File
@@ -88,11 +88,10 @@ class Hypothesis2Experiment(ABC, Generic[ASpecificExp]):
# Boolean, Reason, Confidence, etc.
class Experiment2Feedback:
""" "Generated(summarize) feedback from **Executed** Implementation"""
def summarize(self, ti: Experiment) -> HypothesisFeedback:
def summarize(self, ti: Experiment, hypothesis: Hypothesis, trace: Trace) -> HypothesisFeedback:
"""
The `ti` should be executed and the results should be included.
For example: `mlflow` of Qlib will be included.