aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-09-13 15:33:26 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-09-13 15:33:26 +0100
commit200354a2b87dac9257f86b0335675a2819af6928 (patch)
treeab14e68a6992824cc1a16240bdce41ca19f46ed9
parentMinor comments (diff)
downloadAnnotateChange-200354a2b87dac9257f86b0335675a2819af6928.tar.gz
AnnotateChange-200354a2b87dac9257f86b0335675a2819af6928.zip
Wording
-rw-r--r--app/main/demo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/main/demo.py b/app/main/demo.py
index 3be8258..035a3ff 100644
--- a/app/main/demo.py
+++ b/app/main/demo.py
@@ -328,6 +328,7 @@ DEMO_DATA = {
def demo_performance(user_id):
+ """ Demo performance is measured by average F1 score """
score = 0
for demo_id in DEMO_DATA:
dataset = Dataset.query.filter_by(
@@ -369,9 +370,9 @@ def redirect_user(demo_id, phase_id):
if demo_performance(current_user.id) < 0.75:
flash(
"Unfortunately your performance on the introduction "
- "datasets was not as high as we would like. Please go "
+ "datasets was not as good as we would like. Please go "
"through the introduction one more time to make sure "
- "that you understand and are comfortable with change "
+ "that you fully understand and are comfortable with change "
"point detection."
)
return redirect(url_for("main.index"))