Skip to content

Commit

Permalink
hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrckd committed Dec 20, 2024
1 parent 027b391 commit d7bcbf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/demo_streamlit/views/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ def display_experiment_results(exp_id):
if experiment["experiment_status"] != "finished":
st.warning(f"Experiment {exp_id} is not finished yet...")

if experiment["num_success"].sum() != experiment["num_try"].sum():
if experiment["num_success"] != experiment["num_try"]:
st.warning("Warning: some experiments are failed.")
if experiment["num_observation_sucess"].sum() != experiment["num_observation_try"].sum():
if experiment["num_observation_sucess"] != experiment["num_observation_try"]:
st.warning("Warning: some metrics are failed.")

results_df = process_experiment_results(experiment)
Expand Down

0 comments on commit d7bcbf2

Please sign in to comment.