Skip to content

Commit 5d6a927

Browse files
authored
fix: properly assign sota_exp_fb before None comparison (microsoft#1037)
1 parent 4fa5886 commit 5d6a927

File tree

1 file changed

+1
-1
lines changed
  • rdagent/scenarios/data_science/proposal/exp_gen

1 file changed

+1
-1
lines changed

rdagent/scenarios/data_science/proposal/exp_gen/proposal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ def gen(
823823
]
824824
)
825825

826-
if sota_exp_fb := trace.sota_experiment_fb() is None:
826+
if (sota_exp_fb := trace.sota_experiment_fb()) is None:
827827
sota_exp, fb_to_sota_exp = None, None
828828
else:
829829
sota_exp, fb_to_sota_exp = sota_exp_fb

0 commit comments

Comments
 (0)