summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-21 17:43:30 +0200
committerPatrick Simianer <p@simianer.de>2016-06-21 17:43:30 +0200
commit88879ebcd230e7ace8c7819e8d02f83a7273d9a8 (patch)
treebfbdff3a20f28fa0eecb85221e0a06810d775809 /views
parentaf01bff529f5b70e2e552ddd98b980e8222a1876 (diff)
hide summary link, more logging, bugfix, hter, s->min
Diffstat (limited to 'views')
-rw-r--r--views/summary.haml16
1 files changed, 12 insertions, 4 deletions
diff --git a/views/summary.haml b/views/summary.haml
index f5ff4b3..671f1b5 100644
--- a/views/summary.haml
+++ b/views/summary.haml
@@ -31,13 +31,19 @@
TER
%td
%strong
- Keystrokes
+ MT
%td
%strong
- Mouse actions
+ HTER
%td
%strong
- Duration
+ Key.
+ %td
+ %strong
+ M.a.
+ %td
+ %strong
+ Dur.
- data["post_edits"].each_with_index do |pe,j|
%tr
%td.center #{j+1}.
@@ -46,8 +52,10 @@
%td #{data["references"][j]}
%td.center #{(BLEU::per_sentence_bleu(pe, [data["references"][j]], 4, 0)*100).round 2}%
%td.center #{ter_scores[j]}
+ %td #{data["mt_raw"][j]}
+ %td.center #{hter_scores[j]}
%td.center #{data["count_kbd"][j]}
%td.center #{data["count_click"][j]}
- %td.center #{(data["durations"][j]/1000).round 1}s
+ %td.center #{((data["durations"][j]/1000.0)/60.0).round 1} min