chore: ui bug fix (#884)

* bug fix

* bug fix

* test ci

* bug fix

* ci fix

* ci fix
This commit is contained in:
XianBW
2025-05-18 11:08:41 +08:00
committed by GitHub
parent 2c11752a54
commit fe11ee92e6
2 changed files with 3 additions and 4 deletions
+2
View File
@@ -19,6 +19,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- run: env | sort
- run: make dev
- name: CI Dependency Patch
run: pip install cryptography==44.0.2
- name: lint test docs and build
run: make lint docs-gen test-offline # test docs build
strategy:
+1 -4
View File
@@ -61,7 +61,6 @@ def get_sota_exp_stat(log_path: Path):
final_trace = pickle.load(f)
if hasattr(final_trace, "sota_exp_to_submit"):
st.toast("Using sota_exp_to_submit")
sota_exp = final_trace.sota_exp_to_submit
else:
sota_exp = final_trace.sota_experiment()
@@ -257,9 +256,7 @@ def get_summary_df(log_folders: list[str]) -> tuple[dict, pd.DataFrame]:
base_df["SOTA Exp"] = base_df["SOTA Exp"].replace("", pd.NA)
base_df["SOTA Exp Score (valid)"] = (
base_df["SOTA Exp Score (valid)"].replace("Not Calculated", 0).replace("Not Computed", 0)
)
base_df.loc[base_df["SOTA Exp Score (valid)"].apply(lambda x: isinstance(x, str)), "SOTA Exp Score (valid)"] = 0.0
base_df = base_df.astype(
{
"Total Loops": int,