fix: consistent metric naming for accept rate

add-more-languages
Meng Zhang 2023-04-03 23:28:28 +08:00
parent 500466aca9
commit 59bbe0391b
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ def plot_summary():
with col2:
st.metric("Acceptances", sum_acceptances)
with col3:
st.metric("Accept Ratio", f"{round(ratio)} %")
st.metric("Accept Rate", f"{round(ratio)} %")
plot_summary()
@ -54,7 +54,7 @@ def plot_charts():
st.markdown("### Completion Events")
st.line_chart(df, x="Date")
st.markdown("### Acceptance Rate")
st.markdown("### Accept Rate")
df["Acceptance Rate"] = df["Acceptances"] / df["Views"]
st.line_chart(df, x="Date", y="Acceptance Rate")