app.py
CHANGED
@@ -182,7 +182,7 @@ def show_avg(base_fn, model_name, patent_claim_num, show_pick=False):
|
|
182 |
s = 'model: %s\n' \
|
183 |
'Autocomplete Effectiveness: %.1f%% (keystrokes saved)\n' \
|
184 |
'Total keystrokes: %s (with autocomplete), %s (without autocomplete)\n' \
|
185 |
-
'Keystroke distribution:
|
186 |
st.text(s)
|
187 |
st.markdown(color_msg, unsafe_allow_html=True)
|
188 |
st.markdown(result, unsafe_allow_html=True)
|
|
|
182 |
s = 'model: %s\n' \
|
183 |
'Autocomplete Effectiveness: %.1f%% (keystrokes saved)\n' \
|
184 |
'Total keystrokes: %s (with autocomplete), %s (without autocomplete)\n' \
|
185 |
+
'Keystroke distribution: rank 1~10: %s (rank 1: %s), out of top 10: %s' % (model_name, saved_ratio, keys_with_auto, keys_without_auto, sum_pick, sum_hit_1, sum_outscope_len)
|
186 |
st.text(s)
|
187 |
st.markdown(color_msg, unsafe_allow_html=True)
|
188 |
st.markdown(result, unsafe_allow_html=True)
|