Skip to content

Commit

Permalink
Update rdagent/core/proposal.py
Browse files Browse the repository at this point in the history
  • Loading branch information
you-n-g authored Jul 15, 2024
1 parent b32d9dd commit e559978
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rdagent/core/proposal.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def __init__(self, scen: ASpecificScen) -> None:

def get_last_experiment_info(self) -> Tuple[Hypothesis, ASpecificTask, Any]:
"""Access the last experiment result, sub-task, and the corresponding hypothesis."""
# TODO: The return value does not align with the signature.
if not self.hist:
return None
last_hypothesis, last_experiment, _ = self.hist[-1]
Expand Down

0 comments on commit e559978

Please sign in to comment.