mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
Update rdagent/core/proposal.py
This commit is contained in:
@@ -56,6 +56,7 @@ class Trace(Generic[ASpecificScen]):
|
||||
|
||||
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]
|
||||
|
||||
Reference in New Issue
Block a user